Function windows::Wdk::Storage::FileSystem::NtDuplicateToken

pub unsafe fn NtDuplicateToken<P0, P1>(
    existingtokenhandle: P0,
    desiredaccess: u32,
    objectattributes: Option<*const OBJECT_ATTRIBUTES>,
    effectiveonly: P1,
    tokentype: TOKEN_TYPE,
    newtokenhandle: *mut HANDLE,
) -> NTSTATUS
where P0: Param<HANDLE>, P1: Param<BOOLEAN>,