| 2063 | // Processes any waiting messages |
| 2064 | #define MAX_MESSAGES 10 // max messages to process during a message deferral |
| 2065 | void DeferMessages(void) { |
| 2066 | MSG msg; |
| 2067 | for (int MsgCount = MAX_MESSAGES; MsgCount && PeekMessage(&msg, NULL, 0, 0, PM_REMOVE); MsgCount--) { |
| 2068 | TranslateMessage(&msg); |
| 2069 | DispatchMessage(&msg); |
| 2070 | } |
| 2071 | } |
| 2072 | |
| 2073 | // Log file handles |
| 2074 | CFILE *remaining_log_file = NULL; |
no outgoing calls
no test coverage detected