IFont::get_Charset

Returns the character set used in the font. The character set can be any of those defined for Windows fonts.

HRESULT get_Charset(
  short* pcharset  //Pointer to the character set
);
 

Parameters

pcharset
[out] Pointer to the caller-allocated short variable that receives the character set value.

Return Values

S_OK
The character set was retrieved successfully.
E_POINTER
The address in pcharset is not valid. For example, it may be NULL.

QuickInfo

  Windows NT: Use version 4.0 or later.
  Windows: Use Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in ocidl.h.

See Also

IFont::put_Charset