A handle to the icon or cursor. To retrieve information about a standard icon or cursor, specify one of the following values.
Standard arrow and small hourglass cursor.
Standard arrow cursor.
Arrow and question mark cursor.
Slashed circle cursor.
Four-pointed arrow cursor pointing north, south, east, and west.
Double-pointed arrow cursor pointing northeast and southwest.
Double-pointed arrow cursor pointing north and south.
Double-pointed arrow cursor pointing northwest and southeast.
Double-pointed arrow cursor pointing west and east.
Vertical arrow cursor.
Exclamation point icon.
Stop sign icon.
Windows 2000: Windows logo icon.
When this method returns, contains a pointer to an ICONINFOEX structure. The function fills in the structure's members.
TRUE indicates success, FALSE indicates failure.
GetIconInfoEx creates bitmaps for the hbmMask and hbmCol or members of ICONINFOEX. The calling application must manage these bitmaps and delete them when they are no longer necessary.
This API does not participate in DPI virtualization. The output returned is not affected by the DPI of the calling thread.
The winuser.h header defines GetIconInfoEx as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.