Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
CPIOD_PEEK (0x40000000)
Do not install the feature, just check for it.
CPIOD_FORCE_PROMPT (0x80000000)
Always display the feature installation dialog box.
Return value
Returns one of the following values, or an error otherwise.
Return code | Description |
---|---|
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 |