ID: Q151866
The Windows 95 DDK documentation for the minidriver callback function, fnOEMGetFontCmd, has been incorrectly documented.
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 : 4.0
Platform : WINDOWS
Last Reviewed: June 26, 1998