AFX_GLOBAL_DATA::GetWICFactory
Returns a pointer to the IWICImagingFactory interface that is stored in the global data. If the interface is not initialized, it is created and has the default parameters.
IWICImagingFactory* GetWICFactory();
Return Value
A pointer to IWICImagingFactory interface if creation of a factory succeeds, or NULL if creation fails or current Operation System don't have WIC support.
Requirements
Header: afxglobals.h