BufferDisposalFlag (Compact 2013)
3/26/2014
This feature is being deprecated for this release. Refer to this component: Windows Imaging Component.
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
Nothing should be done to the memory buffer when the image object is released.
- BufferDisposalFlagGlobalFree
The memory buffer should be released with GlobalFree. Use this when the memory is defined with the HGLOBAL data type.
- BufferDisposalFlagCoTaskMemFree
The memory buffer should be released with CoTaskMemFree.
- BufferDisposalFlagUnmapView
The memory buffer should be released with UnmapViewOfFile.
Requirements
Header |
imaging.h |