banner

Language.get_RebootState method

Specifies whether to restart after language changes.

Syntax

iRebootState = window.external.Language.get_RebootState();

Parameters None
Return Values Integer. The type of reboot needed if applicable.
Value Description
0 No reboot needed.
1 Reboot needed now (after the region and keyboard layout are set).
2 Reboot needed after the end user completes Windows Welcome.

Use the value of get_RebootState to determine if you need to call windows.external.PowerDown.

Applies To window.external.Language
Example
iRState = window.external.Language.get_RebootState();