Partager via


IMLangFontLink2::GetFontCodePages

This method retrieves the set of code pages whose characters can be output by the given font on the given device context.

HRESULT GetFontCodePages( 
  HDC hDC,
  HFONT hFont,
  DWORD* pdwCodePages
);

Parameters

  • hDC
    [in] Handle to a device context.
  • hFont
    [in] Handle to a font object.
  • pdwCodePages
    [out] Pointer to the buffer where the address of a set of code pages will be returned.

Return Values

Returns S_OK if successful or E_FAIL if an error occurs.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.