IWICImagingFactory_CreateBitmapFromSource_Proxy function

Proxy function for the CreateBitmapFromSource method.

Syntax

HRESULT IWICImagingFactory_CreateBitmapFromSource_Proxy(
  _In_  IWICImagingFactory         *pFactory,
  _In_  IWICBitmapSource           *pIBitmapSource,
  _In_  WICBitmapCreateCacheOption option,
  _Out_ IWICBitmap                 **ppIBitmap
);

Parameters

pFactory [in]

Type: IWICImagingFactory*

pIBitmapSource [in]

Type: IWICBitmapSource*

The IWICBitmapSource to create the bitmap from.

option [in]

Type: WICBitmapCreateCacheOption

The cache options of the new bitmap.

ppIBitmap [out]

Type: IWICBitmap**

A pointer that receives a pointer to the new bitmap.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Windowscodecs.dll;
Wincodec.lib