Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/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 |