[][src]Function fenestroj::winuser::get_message

pub unsafe fn get_message(
    msg: &mut MSG,
    hwnd: HWND,
    min: u32,
    max: u32
) -> Result<bool, ErrorCode>

Returns Ok(keep_going) or Err(code).

  • Blocks until a message can be pulled from the message queue and written to the *&mut MSG given.
  • On success, the bool value is true for any message type other than WM_QUIT.

See GetMessageW