GETFACENAME

Syntax

short Escape(hDC, GETFACENAME, NULL, NULL,lpFaceName)

This escape retrieves the face name of the current physical font.

Parameter Type/Description  

hDC HDC Identifies the device context.  
lpFaceName LPSTR Points to a buffer of characters to receive the face name. This buffer must be at least 60 bytes in length.  

Return Value

The return value is positive if the escape was successful, zero if the escape is not implemented, or negative if an error occurred.