WICBitmapCreateCacheOption enumeration

Specifies the desired cache usage.

Syntax


typedef enum WICBitmapCreateCacheOption { 
  WICBitmapNoCache        = 0x00000000,
  WICBitmapCacheOnDemand  = 0x00000001,
  WICBitmapCacheOnLoad    = 0x00000002
} WICBitmapCreateCacheOption;

Constants

WICBitmapNoCache

Do not cache the bitmap.

WICBitmapCacheOnDemand

Cache the bitmap when needed.

WICBitmapCacheOnLoad

Cache the bitmap at initialization.

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 | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodec.h

IDL

Wincodec.idl

 

 

Show: