Function winsafe::PostThreadMessage

source ·
pub unsafe fn PostThreadMessage<M>(thread_id: u32, msg: M) -> SysResult<()>
where M: MsgSend + Send + Copy + 'static,
Available on crate feature user only.
Expand description

PostThreadMessage function.

§Safety

Messages manipulate pointers, copies and window states. Improper use may lead to undefined behavior.