This is helpful to the tests for comparing tokens created by NtFilterToken and CreateRestrictedToken. Also for checking DuplicateToken* functions, if it were implemented in wine, but windows exports it. I made a small test for NtFilterToken using NtCompareToken, its crashing in wine.
On Fri, May 3, 2019 at 6:54 PM Zebediah Figura z.figura12@gmail.com wrote:
On 05/03/2019 11:30 AM, Vijay Kiran Kamuju wrote:
This is available and documented since Windows XP
Signed-off-by: Vijay Kiran Kamuju infyquest@gmail.com
dlls/ntdll/ntdll.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index 292b0f6a9f1..76412ceb407 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -127,7 +127,7 @@ @ stdcall NtClose(long) @ stub NtCloseObjectAuditAlarm # @ stub NtCompactKeys -# @ stub NtCompareTokens +@ stub NtCompareTokens @ stdcall NtCompleteConnectPort(ptr) # @ stub NtCompressKey @ stdcall NtConnectPort(ptr ptr ptr ptr ptr ptr ptr ptr)
What is this fixing?