Microsoft KB Archive/151866

{|
 * width="100%"|

DOCERR: Parameters for fnOEMGetFontCmd

 * }

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

Issue type :

Technology : kbAudDeveloper kbWin95search kbWin95DDKSearch kbWinDDKSearch kbWin95DDK