GETFACENAME

  #define GETFACENAME 513    

  short Control(lpDevice, GETFACENAME, NULL, lpFaceName)    
  LPPDEVICE lpDevice;    
  LPSTR lpFaceName;    

The GETFACENAME escape gets the name of the current physical font.

Parameters

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.