pub fn run() -> Result<usize>Expand description
Runs a message loop, ignoring custom thread messages.
If successful, returns the exit code received via WM_QUIT from PostQuitMessage() that the process should return. If unsuccessful and you can handle the error, the function can be rerun in a loop.