Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
GETFACENAME
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define GETFACENAME 513 
short Control(lpDevice, GETFACENAME, NULL, lpFaceName)
LPPDEVICE lpDevice;
LPSTR lpFaceName;
 
The GETFACENAME escape gets the name of the current physical font.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
lpDevice    Points to a PDEVICE structure specifying the destination
            device.
 
lpFaceName  Points to the buffer that receives the name.
 
Return Value
 
The return value is positive if successful. It is zero if the escape is not
implemented, and negative if an error occurs.
 
See Also
 
PDEVICE