pub unsafe extern "system" fn NtDuplicateToken(
    existingtokenhandle: HANDLE,
    desiredaccess: u32,
    objectattributes: *const OBJECT_ATTRIBUTES,
    effectiveonly: BOOLEAN,
    tokentype: TOKEN_TYPE,
    newtokenhandle: *mut HANDLE
) -> NTSTATUS
Expand description

Required features: "Wdk_Foundation", "Win32_Foundation", "Win32_Security"