int GetTextFace( int nCount, const char FAR* lpFacename ) const;
nCount
Specifies the size of the buffer (in bytes). If the typeface name is longer than the number of bytes specified by this parameter, the name is truncated.
lpFacename
Points to the buffer for the typeface name.
Copies the typeface name of the current font into a buffer. The typeface name is copied as a null-terminated string.
The number of bytes copied to the buffer. It is 0 if an error occurs.
CDC::GetTextMetrics, CDC::SetTextAlign, CDC::TextOut, ::GetTextFace