#[repr(C)]pub struct ObjectAttributes {
pub length: u32,
pub root_directory: HANDLE,
pub object_name: *mut UNICODE_STRING,
pub attributes: u32,
pub security_descriptor: HANDLE,
pub security_quality_of_service: HANDLE,
}Expand description
Windows OBJECT_ATTRIBUTES - passed to NT APIs to name objects and set security.
Fields§
§length: u32§root_directory: HANDLE§object_name: *mut UNICODE_STRING§attributes: u32§security_descriptor: HANDLE§security_quality_of_service: HANDLEImplementations§
Source§impl ObjectAttributes
impl ObjectAttributes
pub fn empty() -> Self
pub fn with_attributes( attributes: u32, object_name: *mut UNICODE_STRING, ) -> Self
Auto Trait Implementations§
impl !Send for ObjectAttributes
impl !Sync for ObjectAttributes
impl Freeze for ObjectAttributes
impl RefUnwindSafe for ObjectAttributes
impl Unpin for ObjectAttributes
impl UnsafeUnpin for ObjectAttributes
impl UnwindSafe for ObjectAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more