Share via


WESL_UserSetting.SetDefaultShell (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the WESL_UserSetting.SetDefaultShell method for Windows Embedded 8.1 Industry (Industry 8.1).

This method sets the default Shell Launcher configuration.

Syntax

[Static] uint32 SetDefaultShell (
    [In, Required] string Shell,
    [In, Required] sint32 DefaultAction
);

Parameters

  • Shell
    [in, required] The application or executable that Shell Launcher starts as the shell.
  • DefaultAction
    [in, required] The default action that Shell Launcher takes when the Shell application exits.

    The possible actions are defined in the following table:

    Value

    Description

    0

    Restarts the shell application.

    1

    Restarts the device.

    2

    Shuts down the device.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

Shell Launcher uses the default configuration when the security identifier (SID) of the user who is currently signed in does not match any custom defined Shell Launcher configurations.

See Also

Reference

WESL_UserSetting

Concepts

Shell Launcher