Compartilhar via


IMultiLanguage2::GetCodePageDescription method

Gets the code page description that corresponds to uiCodePage.

Syntax

HRESULT GetCodePageDescription(
  [in]      UINT   uiCodePage,
  [in]      LCID   lcid,
  [in, out] LPWSTR lpWideCharStr,
  [in]      int    cchWideChar
);

Parameters

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

  • lcid [in]
    The local Language Identifier (LCID) that specifies the user-preferred language.

  • lpWideCharStr [in, out]
    A pointer to a Unicode character string for which the client is requesting the code page description.

  • cchWideChar [in]
    A value indicating the number of characters in lpWideCharStr.

Return value

Returns one of the following values.

Return code Description
S_OK

Success.

S_FALSE

The method cannot validate the code page.

E_FAIL

An error occurred.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage2