Function windows_sys::Win32::Security::DuplicateTokenEx
pub unsafe extern "system" fn DuplicateTokenEx(
hexistingtoken: HANDLE,
dwdesiredaccess: TOKEN_ACCESS_MASK,
lptokenattributes: *const SECURITY_ATTRIBUTES,
impersonationlevel: SECURITY_IMPERSONATION_LEVEL,
tokentype: TOKEN_TYPE,
phnewtoken: *mut HANDLE
) -> BOOL
Expand description
Required features: "Win32_Foundation"