Function windows::Win32::Security::DuplicateTokenEx
pub unsafe fn DuplicateTokenEx<P0>(
hexistingtoken: P0,
dwdesiredaccess: TOKEN_ACCESS_MASK,
lptokenattributes: Option<*const SECURITY_ATTRIBUTES>,
impersonationlevel: SECURITY_IMPERSONATION_LEVEL,
tokentype: TOKEN_TYPE,
phnewtoken: *mut HANDLE,
) -> Result<()>where
P0: Param<HANDLE>,