IFont::get_Charset method (ocidl.h)

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

Syntax

HRESULT get_Charset(
  [out] SHORT *pCharset
);

Parameters

[out] pCharset

A pointer to the caller-allocated variable that receives the character set value.

Return value

This method can return one of these values.

Return code Description
S_OK
The character set was retrieved successfully.
E_POINTER
The address in the pCharset 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

See also

IFont

IFont::put_Charset