Trait winsafe::prelude::user_Hprocess

source ·
pub trait user_Hprocess: kernel_Hprocess {
    // Provided methods
    unsafe fn SetUserObjectInformation<T>(
        &self,
        index: UOI,
        pv_info: &mut T
    ) -> SysResult<()> { ... }
    fn WaitForInputIdle(&self, milliseconds: u32) -> SysResult<SuccessTimeout> { ... }
}
Available on crate features kernel and user only.
Expand description

This trait is enabled with the user feature, and provides methods for HPROCESS.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

unsafe fn SetUserObjectInformation<T>( &self, index: UOI, pv_info: &mut T ) -> SysResult<()>

SetUserObjectInformation function.

§Safety

The pv_info type varies according to index. If you set it wrong, you’re likely to cause a buffer overrun.

source

fn WaitForInputIdle(&self, milliseconds: u32) -> SysResult<SuccessTimeout>

WaitForInputIdle function.

Object Safety§

This trait is not object safe.

Implementors§