DOCERR: Return Value for DrvSetPrinterData |
Q141206
The Windows 95 DDK documentation for DrvSetPrinterData incorrectly states that:
DrvSetPrinterData returns TRUE if successful; otherwise, returns FALSE.The DrvSetPrinterData returns FALSE if successful, otherwise, it returns TRUE.
The return value that the driver should be checking after the DrvSetPrinterData() call is ERROR_SUCCESS which is defined in WINDOWS.H in the \DDK\INC16 directory. For more information regarding the usage of this function in a printer driver refer to the HPPLOT sample in the Windows 95 DDK. The source for the driver can be found in the \DDK\PRINTER\SAMPLES\HPPLOT directory.
Additional query words:
Keywords : kbDDK kbPrinting
Issue type :
Technology : kbAudDeveloper kbWin95search kbWin95DDKSearch kbWinDDKSearch kbWin95DDK
|
Last Reviewed: October 14, 1999 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |