IMultiLanguage::GetFamilyCodePage method

Gets the family code page identifier value corresponding to uiCodePage.

Syntax

HRESULT GetFamilyCodePage(
  [in]  UINT uiCodePage,
  [out] UINT *puiFamilyCodePage
);

Parameters

  • uiCodePage [in]
    The code page identifier value that the caller wants the information for.

  • puiFamilyCodePage [out]
    The 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 (see MIMECPINFO) with uiCodePage. If no such Windows code page exists for uiCodePage, puiFamilyCodePage is set to uiCodePage.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage