firehazard 0.0.0-2022-09-10

Unopinionated low level API bindings focused on soundness, safety, and stronger types over raw FFI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::*;
use winapi::um::winnt::*;
use core::marker::PhantomData;



/// \[[docs.microsoft.com](https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-security_descriptor)\]
/// SECURITY_DESCRIPTOR
#[repr(transparent)] pub struct Descriptor<'b> {
    pub(super) desc:    SECURITY_DESCRIPTOR,
    pub(super) phantom: PhantomData<(sid::Ptr<'b>, acl::Ptr<'b>)>,
}