Compartilhar via


IMultiLanguage2::GetCodePageInfo method

[GetCodePageInfo is available for use in the operating systems specified in the Requirements section. It not available within an app container on Windows 8 and will always return E_FAIL.]

Gets the MIMECPINFO structure corresponding to the specified code page.

Syntax

HRESULT GetCodePageInfo(
  [in]  UINT        uiCodePage,
  [in]  LANGID      LangId,
  [out] PMIMECPINFO pCodePageInfo
);

Parameters

  • uiCodePage [in]
    An unsigned integer value that contains the code page identifier value for which the caller wants to get the information.

  • LangId [in]
    A LANGID that specifies the language of the code page.

  • pCodePageInfo [out]
    A pointer to a buffer to receive the MIMECPINFO structure containing the information about the code page.

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.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage2