IMultiLanguage2::ValidateCodePageEx method
Validates the code page and installs a language pack, if required.
Syntax
HRESULT ValidateCodePageEx( [in] UINT uiCodePage, [in] HWND hwnd, [in] DWORD dwfIODControl );
Parameters
- uiCodePage [in]
-
An unsigned integer identifier of 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.
- dwfIODControl [in]
-
Any combination of the following flags, or zero.
Return value
Returns one of the following values, or an error otherwise.
| Return code | Description |
|---|---|
|
Success. |
|
The codepage is not valid or installable. |
Requirements
|
Minimum supported client | Windows XP |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also