ioctl12.hlp (Topic list)
PRT_VERIFYFONT (1.2)
                                                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_DOSDEVIOCTL
 
USHORT DosDevIOCtl(pbFontInfo, pbCommand, 0x006A, 0x0005, hDevice)
PBYTE pbFontInfo;    /* points to structure for font info */
PBYTE pbCommand;     /* points to byte with command info  */
HFILE hDevice;       /* device handle                     */
 
The PRT_VERIFYFONT function verifies that a particular code page and font
are available for the specified printer.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
pbFontInfo  Points to the FONTINFO structure that receives information for
            the available font.
 
pbCommand   Points to a reserved 8-bit value. The value must be zero.
 
hDevice     Identifies the printer that receives the device-control
            function. The handle must have been created previously by using
            the DosOpen function.
 
Return Value
 
The return value is zero if the function is successful or an error value if
an error occurs.
 
See Also
 
DosOpen, PRT_ACTIVATEFONT, FONTINFO