MCPcopy Create free account
hub / github.com/ZDoom/Raze / Win32TimerCallback

Function Win32TimerCallback

libraries/ZWidget/src/window/win32/win32window.cpp:671–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

669}
670
671static void CALLBACK Win32TimerCallback(HWND handle, UINT message, UINT_PTR timerID, DWORD timestamp)
672{
673 auto it = Win32Window::Timers.find(timerID);
674 if (it != Win32Window::Timers.end())
675 {
676 it->second();
677 }
678}
679
680void* Win32Window::StartTimer(int timeoutMilliseconds, std::function<void()> onTimer)
681{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected