DOC: Error in DEVMODEW StructureID: Q126125 |
The information in this article applies to:
- Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 3.5
SUMMARY
In the online documentation for the DEVMODEW structure, which is used for both Win32 display drivers and Win32 printer drivers, there is an error in the DEVMODEW structure in certain field sizes. The corrected structure should look like this:
WCHAR dmDeviceName[CCHDEVICENAME]; WORD dmSpecVersion; WORD dmDriverVersion; WORD dmSize; WORD dmDriverExtra; DWORD dmFields; short dmOrientation; short dmPaperSize; short dmPaperLength; short dmPaperWidth; short dmScale; short dmCopies; short dmDefaultSource; short dmPrintQuality; short dmColor; short dmDuplex; short dmYResolution; short dmTTOption; short dmCollate; WCHAR dmFormName[CCHFORMNAME]; WORD dmLogPixels; DWORD dmBitsPerPel; DWORD dmPelsWidth; DWORD dmPelsHeight; DWORD dmDisplayFlags; DWORD dmDisplayFrequency;
The correct prototype for this structure can be found in WINGDI.H. The field functionality remains unchanged.
This documentation error is corrected in the Win32 DDK version 3.51 online documentation.
Additional query words: 3.50 3.51 docerr
Keywords : kbdocfix Version : 3.50 Platform : NT WINDOWS Issue type :
Last Reviewed: March 1, 1999