MCPcopy Create free account
hub / github.com/cafali/SnapKey / RestartSnapKey

Function RestartSnapKey

SnapKey.cpp:94–99  ·  view source on GitHub ↗

restart

Source from the content-addressed store, hash-verified

92
93// restart
94void RestartSnapKey() {
95 TCHAR szExeFileName[MAX_PATH];
96 GetModuleFileName(NULL, szExeFileName, MAX_PATH);
97 ShellExecute(NULL, NULL, szExeFileName, NULL, NULL, SW_SHOWNORMAL);
98 PostQuitMessage(0);
99}
100
101// Main entry
102int main() {

Callers 1

WndProcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected