PCSignOut Icon
PCSignOut

PC Sign Out

Core API Hook: ExitWindowsEx (User32.dll / Win32)

Immediately exit the current Windows user login session and return to the login interface.

Configuration Parameters

Parameter Type Description
No custom parameters required for this module.

config.json Mapping

{
  "Type": "PCSignOut",
  "Name": "Logout Active User"
}

Save inside database layout actions configuration map.

Native Execution Hook

// PCSignOut execution logic
[DllImport("user32.dll", SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool ExitWindowsEx(uint uFlags, uint dwReason);

// Flag EWX_LOGOFF = 0
ExitWindowsEx(0, 0);

Executed within IsoCore remapping runtime loop.

← Back to Actions Directory IsoKey Module: PCSignOut