MCPcopy Create free account
hub / github.com/ammaarreshi/Generals-Mac-iOS-iPad / DispatchEvents

Function DispatchEvents

Core/Tools/PATCHGET/CHATAPI.cpp:666–678  ·  view source on GitHub ↗

Dispatch pending windows events

Source from the content-addressed store, hash-verified

664// Dispatch pending windows events
665//
666void DispatchEvents(void)
667{
668 MSG msg;
669 int counter=0;
670 while(PeekMessage(&msg,nullptr,0,0, PM_REMOVE))
671 {
672 TranslateMessage(&msg);
673 DispatchMessage(&msg);
674 counter++;
675 if (counter==256) // just in case
676 break;
677 }
678}
679
680//
681// Check for patches

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected