I'm working on a printer program and I want to see all of the values of all of the device capabilities, but I cannot find anywhere that lists these values.
For example, I see code like this:
Local $vPageWidth = _WinAPI_GetDeviceCaps($hPrintDc, 8) ; Const HORZRES= 8
Local $vPageHeight = _WinAPI_GetDeviceCaps($hPrintDc, 10) ; Const VERTRES = 10
Local $vPaperWidth = _WinAPI_GetDeviceCaps($hPrintDc, 110) ; Const PHYSICALWIDTH = 110
Local $vPaperHeight = _WinAPI_GetDeviceCaps($hPrintDc, 111) ; Const PHYSICALHEIGHT = 111
When I look at the MSDN library page, I see a list of all capabilities, but they give only the names, not the actual values. In AutoIT, it's preferable to have defined values, so there isn't much chance to get them wrong; however when supplying just numbers, there's more of a chance of errors.
Does anyone know where all of them are listed?