IMLangFontLink2::GetFontCodePages method

Gets the set of code pages whose characters can be output by the specified font on the given device context.

Syntax

HRESULT GetFontCodePages(
  [in]  HDC   hDC,
  [in]  HFONT hFont,
  [out] DWORD *pdwCodePages
);

Parameters

  • hDC [in]
    A handle to a device context.

  • hFont [in]
    A handle to a font object.

  • pdwCodePages [out]
    A pointer to the buffer where the address of a set of code pages is returned.

Return value

Returns S_OK if successful, or E_FAIL if an error occurs.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMLangFontLink2