Function windows::Win32::Security::CreateRestrictedToken

pub unsafe fn CreateRestrictedToken<P0>(
    existingtokenhandle: P0,
    flags: CREATE_RESTRICTED_TOKEN_FLAGS,
    sidstodisable: Option<&[SID_AND_ATTRIBUTES]>,
    privilegestodelete: Option<&[LUID_AND_ATTRIBUTES]>,
    sidstorestrict: Option<&[SID_AND_ATTRIBUTES]>,
    newtokenhandle: *mut HANDLE,
) -> Result<()>
where P0: Param<HANDLE>,