IFont::get_Name method (ocidl.h)
Retrieves the name of the font family.
HRESULT get_Name( BSTR *pName );
A pointer to the caller-allocated variable that receives the name. This string must be freed with SysFreeString when it is no longer needed.
The method supports the standard return value E_UNEXPECTED, as well as the following values.
||The name was returned successfully.|
||The address in the pname parameter is not valid. For example, it may be NULL.|
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|