WICBitmapCreateCacheOption enumeration (wincodec.h)

Specifies the desired cache usage.

Syntax

typedef enum WICBitmapCreateCacheOption {
  WICBitmapNoCache,
  WICBitmapCacheOnDemand,
  WICBitmapCacheOnLoad,
  WICBITMAPCREATECACHEOPTION_FORCE_DWORD
} ;

Constants

Name Description
WICBitmapNoCache Do not cache the bitmap.
WICBitmapCacheOnDemand Cache the bitmap when needed.
WICBitmapCacheOnLoad Cache the bitmap at initialization.
WICBITMAPCREATECACHEOPTION_FORCE_DWORD

Remarks

The CreateBitmap of the IWICImagingFactory interface does not support WICBitmapNoCache when the pixelFormat is a native pixel format provided by Windows Imaging Component (WIC).

Requirements

   
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Header wincodec.h