IFont::get_Name method (ocidl.h)
Retrieves the name of the font family.
Syntax
HRESULT get_Name(
[out] BSTR *pName
);
Parameters
[out] 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.
Return value
The method supports the standard return value E_UNEXPECTED, as well as the following values.
Return code | Description |
---|---|
|
The name was returned successfully. |
|
The address in the pname parameter is not valid. For example, it may be NULL. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |