' PBXA64 V23 helper macros. Function-like only to avoid case-insensitive typedef macro collisions.
#IF NOT %DEF(PBX_WIN_MACROS_PBI)
#DEFINE PBX_WIN_MACROS_PBI

MACRO RGB(r,g,b) = ((r) + ((g) * 256) + ((b) * 65536))
MACRO GET_X_LPARAM(lp) = ((lp) MOD 65536)
MACRO GET_Y_LPARAM(lp) = (((lp) / 65536) MOD 65536)
MACRO MAKEINTRESOURCEA(id) = (id)
MACRO MAKEINTRESOURCEW(id) = (id)
MACRO LOWORD(x) = ((x) MOD 65536)
MACRO HIWORD(x) = (((x) / 65536) MOD 65536)

#ENDIF
