Function winapi::um::securitybaseapi::DuplicateTokenEx [−][src]
pub unsafe extern "system" fn DuplicateTokenEx(
hExistingToken: HANDLE,
dwDesiredAccess: DWORD,
lpTokenAttributes: LPSECURITY_ATTRIBUTES,
ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL,
TokenType: TOKEN_TYPE,
phNewToken: PHANDLE
) -> BOOL