IFont::get_Name  Y2FCX.

Returns a copy of the name of the font family.

HRESULT get_Name(

    BSTR* pname

//Pointer to the name of the font family

   );

 

 

Parameters

pname

[out] Pointer to the caller-allocated variable that receives the copy of the name. This name must be freed with SysFreeString when it is no longer needed.

 

Return Values

The method supports the standard return value E_UNEXPECTED, as well as the following:

S_OK

The name was returned successfully.

E_POINTER

The address in pname is not valid. For example, it may be NULL.

 

Remarks

Notes to Callers

The caller is responsible for freeing the memory allocated for the name with SysFreeString.

See Also

IFont::put_Name