Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMultiLanguage2::ValidateCodePage method

Validates the code page and installs a language pack, if required.

Syntax


HRESULT ValidateCodePage(
  [in]  UINT uiCodePage,
  [in]  HWND hwnd
);

Parameters

uiCodePage [in]

An unsigned integer identifier for the code page to validate.

hwnd [in]

A handle to the parent window that hosts the language pack installation dialog box, if required. Specify NULL to use the current foreground window.

Return value

Returns one of the following values, or an error otherwise.

Return codeDescription
S_OK

Success.

S_FALSE

The codepage is not valid or installable.

 

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage2

 

 

Build date: 11/17/2013

Show:
© 2014 Microsoft