24 typedef unsigned __int64 XM_ULONG_PTR;
25 #elif defined(ENV32BIT) 26 typedef unsigned long XM_ULONG_PTR;
28 #error "Must define either ENV32BIT or ENV64BIT" 37 #define XM_LOBYTE(w) ((xms::XM_BYTE)(((xms::XM_DWORD_PTR)(w)) & 0xff)) 38 #define XmsGetRValue(rgb) (XM_LOBYTE(rgb)) 39 #define XmsGetGValue(rgb) (XM_LOBYTE(((xms::XM_WORD)(rgb)) >> 8)) 40 #define XmsGetBValue(rgb) (XM_LOBYTE((rgb) >> 16)) 41 #define XmsRGB(r, g, b) \ 42 ((xms::XM_COLORREF)(((xms::XM_BYTE)(r) | ((xms::XM_WORD)((xms::XM_BYTE)(g)) << 8)) | \ 43 (((xms::XM_WORD)(xms::XM_BYTE)(b)) << 16))) unsigned long XM_DWORD
DWORD rename.
XM_ULONG_PTR XM_DWORD_PTR
DWORD_PTR rename.
XM_DWORD XM_COLORREF
COLORREF rename.
unsigned short XM_WORD
WORD rename.
unsigned char XM_BYTE
BYTE rename rename.