Share via


BufferDisposalFlag (Windows CE 5.0)

Send Feedback

This enumeration provides values that are used to describe how a memory buffer should be released when a task is completed.

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

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.

See Also

Imaging Enumerations | IImagingFactory::CreateImageFromBuffer

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.