Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the desired cache usage.
Syntax
typedef enum WICBitmapCreateCacheOption {
WICBitmapNoCache = 0,
WICBitmapCacheOnDemand = 0x1,
WICBitmapCacheOnLoad = 0x2,
WICBITMAPCREATECACHEOPTION_FORCE_DWORD = 0x7fffffff
} ;
Constants
WICBitmapNoCache Value: 0 Do not cache the bitmap. |
WICBitmapCacheOnDemand Value: 0x1 Cache the bitmap when needed. |
WICBitmapCacheOnLoad Value: 0x2 Cache the bitmap at initialization. |
WICBITMAPCREATECACHEOPTION_FORCE_DWORD Value: 0x7fffffff |
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
Requirement | Value |
---|---|
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 |