pub fn run_till_thread_msg() -> Result<MSG>Expand description
Runs a message loop until a thread message is received.
In most programs, the only thread message will be WM_QUIT (sent via PostQuitMessage()). But others are possible via PostThreadMessageW() and PostMessageW().