ls_IconInfo = DWord( 1 ) + replicate( c0, 16 )to prepare the ICONINFO structure. While the first part is the logical TRUE for Querying an icon not a cursor
*-- IconInfo-Structure: *-- typedef struct _ICONINFO { *-- BOOL fIcon; *-- DWORD xHotspot; *-- DWORD yHotspot; *-- HBITMAP hbmMask; *-- HBITMAP hbmColor; *-- } ICONINFO; *--Will that work if I have a DWord instead?