Declare Integer GetDC in win32api Integer Declare Integer GetDeviceCaps in win32api Integer, Integer ?GetDeviceCaps(GetDC(0), 24)