https://bugs.winehq.org/show_bug.cgi?id=54913
Bug ID: 54913 Summary: ntdll: NtDuplicateToken has wrong prototype Product: Wine Version: 8.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: ake.rehnman@gmail.com Distribution: ---
Created attachment 74424 --> https://bugs.winehq.org/attachment.cgi?id=74424 patch attempt
NtDuplicateToken should take BOOLEAN EffectiveOnly as 4:th argument and not SECURITY_IMPERSONATION_LEVEL.
See: https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntifs/nf-ntif...