Compartir a través de


IMultiLanguage::GetFamilyCodePage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

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 wszFixedWidthFont and wszProportionalFont with uiCodePage. For more information, see MIMECPINFO. If no such Windows code page exists for uiCodePage, puiFamilyCodePage is 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