pub trait user_Hprocess: kernel_Hprocess {
    // Provided method
    unsafe fn SetUserObjectInformation<T>(
        &self,
        index: UOI,
        pv_info: &mut T
    ) -> SysResult<()> { ... }
}
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.

Object Safety§

This trait is not object safe.

Implementors§