DOCERR: Parameters for fnOEMGetFontCmd

ID: Q151866


The information in this article applies to:
  • Microsoft Windows 95 Driver Development Kit (DDK)


SUMMARY

The Windows 95 DDK documentation for the minidriver callback function, fnOEMGetFontCmd, has been incorrectly documented.


MORE INFORMATION

The Help file for the UNITOOL in the \ddk\printer\bin directory documents the definition of the fnOEMGetFontCmd callback function as:


   BOOL FAR PASCAL fnOEMGetFontCmd(LPDV lpdv, WORD wCmdCbId,
       LPFONT lpFont, BOOL fSelect, LPBYTE lpBuf, LPWORD lpwSize); 
The third parameter is stated incorrectly. LPFONT should actually be LPFONTINFO. The correct definition for the function follows:

   BOOL FAR PASCAL fnOEMGetFontCmd(LPDV lpdv, WORD wCmdCbId,
       LPFONTINFO lpFont, BOOL fSelect, LPBYTE lpBuf, LPWORD lpwSize); 

Additional query words:

Keywords : kbDDK kbPrinting
Version : Win95:
Platform : Win95
Issue type :


Last Reviewed: October 13, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.