C:\Program Files\Microsoft SDKs\Windows\v6.0\Include\WinGDI.h
#define CLR_INVALID 0xFFFFFFFF
C:\MASM32\Include\windows.inc
CLR_INVALID equ 0FFFFh
is this a problem in new version?
PS. i'm still on the old version.
FFFFFFFF must be the right value, as it is used for the transparent colour
FFFF is a valid colour - bright yellow
When GetBkColor and similar functions fail they return CLR_INVALID. So if I pass GetBkColor an invalid DC, it returns FFFFFFFFh.
invoke GetBkColor, -1
print uhex$(eax),"h",13,10,13,10