MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / ConsoleHandler

Function ConsoleHandler

src/render/rd_app.cpp:935–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

933
934 static std::function<BOOL(DWORD)> s_ctrl_handler;
935 static BOOL ConsoleHandler(DWORD signal) {
936 if (s_ctrl_handler) {
937 return s_ctrl_handler(signal);
938 }
939 return FALSE;
940 }
941
942 void WinApplication::CaptureControlC() {
943 s_ctrl_handler = [this](DWORD signal) -> BOOL {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected