IWICImagingFactory _ _ fonction proxy CreateBitmapFromHICON

Fonction proxy pour la méthode CreateBitmapFromHICON .

Syntaxe

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

Paramètres

pFactory [ dans]

Type : IWICImagingFactory*

HICON [ dans]

Type : HICON

Handle d’icône à partir duquel créer la nouvelle bitmap.

ppIBitmap [ à]

Type : IWICBitmap**

Pointeur qui reçoit un pointeur vers la nouvelle bitmap.

Valeur retournée

Type : HRESULT

Si cette fonction est correctement exécutée, elle retourne la valeur _ OK. Sinon, elle retourne un code d’erreur HRESULT .

Notes

Spécifications

Condition requise Valeur
Client minimal pris en charge
Windows XP avec SP2, Windows les [ applications de bureau Vista uniquement]
Serveur minimal pris en charge
Windows Serveur 2008 [ applications de bureau uniquement]
DLL
Windowscodecs.dll ;
Wincodec. lib