DOC: Error in DEVMODEW StructureLast reviewed: January 8, 1997Article ID: Q126125 |
The information in this article applies to:
SUMMARYIn 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.
|
KBCategory: kbref kbdocerr kbdocfix
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |