MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1797–1800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1795 case lock: result = LockWorkStation(); break;
1796 case signout: result = ExitWindowsEx(EWX_LOGOFF, SHTDN_REASON_MAJOR_APPLICATION); break;
1797 case shutdown: result = ExitWindowsEx(EWX_POWEROFF, SHTDN_REASON_MAJOR_APPLICATION); break;
1798 case reboot: result = ExitWindowsEx(EWX_REBOOT, SHTDN_REASON_MAJOR_APPLICATION); break;
1799 }
1800 return static_cast<bool>(result);
1801 }
1802};
1803/*

Callers

nothing calls this directly

Calls 1

cpuBaseClockMethod · 0.80

Tested by

no test coverage detected