Retrieves the set of code pages whose characters can be output by the given font on the given device context.
Syntax
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] Address of the buffer where the address of a set of code pages will be returned.
Return Value
Returns S_OK if successful, or E_FAIL if an error occurs.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0