Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A version of this page is also available for
4/8/2010
This enumeration provides values that are used to describe how a memory buffer should be released when a task is completed.
Syntax
enum BufferDisposalFlag {
BufferDisposalFlagNone,
BufferDisposalFlagGlobalFree,
BufferDisposalFlagCoTaskMemFree,
BufferDisposalFlagUnmapView
};
Elements
- BufferDisposalFlagNone
Indicates that nothing should be done to the memory buffer when the image object is released.
- BufferDisposalFlagGlobalFree
Indicates that the memory buffer should be released with GlobalFree. Use this when the memory is defined with the HGLOBAL data type.
- BufferDisposalFlagCoTaskMemFree
Indicates that the memory buffer should be released with CoTaskMemFree.
- BufferDisposalFlagUnmapView
Indicates that the memory buffer should be released with UnmapViewOfFile.
Requirements
| Header | imaging.h |
| Windows Embedded CE | Windows CE 5.0 and later |
| Windows Mobile | Windows Mobile Version 5.0 and later |