Function windows_sys::Win32::Security::CreateRestrictedToken

pub unsafe extern "system" fn CreateRestrictedToken(
    existingtokenhandle: HANDLE,
    flags: CREATE_RESTRICTED_TOKEN_FLAGS,
    disablesidcount: u32,
    sidstodisable: *const SID_AND_ATTRIBUTES,
    deleteprivilegecount: u32,
    privilegestodelete: *const LUID_AND_ATTRIBUTES,
    restrictedsidcount: u32,
    sidstorestrict: *const SID_AND_ATTRIBUTES,
    newtokenhandle: *mut HANDLE,
) -> BOOL