Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method retrieves the family code page identifier value corresponding to the code page identifier specified in the uiCodePageparameter.

Syntax

HRESULT GetFamilyCodePage( 
  UINT 
uiCodePage,
  UINT* 
puiFamilyCodePage
); 

Parameters

uiCodePage

[in] Code page identifier value for which the caller wants the information.

puiFamilyCodePage

[out] Address of the buffer where the family code page identifier value is returned.

Return Value

Returns S_OK if successful or E_FAIL if either of the arguments is invalid or if the information is not found for the required code page.

Remarks

The family code page is the Windows code page that shares the MIME database attributes wszFixedWidthFontand wszProportionalFontwith uiCodePage. For more information, see MIMECPINFO. If no such Windows code page exists for uiCodePage, puiFamilyCodePageis set to uiCodePage.

Requirements

Header mlang.h, mlang.idl
Library mlang.dll
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later