Edit

IWICImagingFactory_CreateBitmapFromHICON_Proxy function

Proxy function for the CreateBitmapFromHICON method.

Syntax

HRESULT IWICImagingFactory_CreateBitmapFromHICON_Proxy(
  _In_  IWICImagingFactory *pFactory,
  _In_  HICON              hIcon,
  _Out_ IWICBitmap         **ppIBitmap
);

Parameters

pFactory [in]

Type: IWICImagingFactory*

hIcon [in]

Type: HICON

The icon handle to create the new bitmap from.

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