https://devblogs.microsoft.com/oldnewthing/20060125-18/?p=32533
You can call MsgWaitForMultipleObjects with zero handles - The Old New Thing
Jan 25, 2006 - There is no WaitMessageTimeout function, but you can create your own with the assistance of the MsgWaitForMultipleObjects function. BOOL...
you canthe oldcall