Share via


Bitmap::GetHICON, méthode (gdiplusheaders.h)

La méthode Bitmap::GetHICON crée une icône à partir de cet objet Bitmap .

Syntaxe

Status GetHICON(
  [out] HICON *hicon
);

Paramètres

[out] hicon

Type : HICON*

Pointeur vers un HICON qui reçoit un handle vers l’icône.

Valeur retournée

Type : État

Si la méthode réussit, elle retourne Ok, qui est un élément de l’énumération Status .

Si la méthode échoue, elle retourne l’un des autres éléments de l’énumération Status .

Spécifications

   
Client minimal pris en charge Windows XP, Windows 2000 Professionnel [applications de bureau uniquement]
Serveur minimal pris en charge Windows 2000 Server [applications de bureau uniquement]
Plateforme cible Windows
En-tête gdiplusheaders.h (inclure Gdiplus.h)
Bibliothèque Gdiplus.lib
DLL Gdiplus.dll

Voir aussi

Bitmap

Image

Images, bitmaps et métafichiers

Utilisation d’images, de bitmaps et de métafichiers