Commit 16d2f3c8 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

ntdll: Add NtCompareTokens() stub.

SQL Native Client ODBC driver fails to load if GetProcAddress("NtCompareTokens") returns NULL, however it never calls it. Signed-off-by: 's avatarDmitry Timoshkov <dmitry@baikal.ru>
parent ba664e10
......@@ -161,7 +161,7 @@
@ stdcall -syscall NtCommitTransaction(long long)
# @ stub NtCompactKeys
@ stdcall -syscall NtCompareObjects(ptr ptr)
# @ stub NtCompareTokens
@ stdcall -syscall NtCompareTokens(ptr ptr ptr)
@ stdcall -syscall NtCompleteConnectPort(ptr)
# @ stub NtCompressKey
@ stdcall -syscall NtConnectPort(ptr ptr ptr ptr ptr ptr ptr ptr)
......@@ -1211,7 +1211,7 @@
# @ stub ZwCloseObjectAuditAlarm
# @ stub ZwCompactKeys
@ stdcall -private -syscall ZwCompareObjects(ptr ptr) NtCompareObjects
# @ stub ZwCompareTokens
@ stdcall -private -syscall ZwCompareTokens(ptr ptr ptr) NtCompareTokens
@ stdcall -private -syscall ZwCompleteConnectPort(ptr) NtCompleteConnectPort
# @ stub ZwCompressKey
@ stdcall -private -syscall ZwConnectPort(ptr ptr ptr ptr ptr ptr ptr ptr) NtConnectPort
......
......@@ -1823,6 +1823,16 @@ NTSTATUS WINAPI NtCompareObjects( HANDLE first, HANDLE second )
/**************************************************************************
* NtCompareTokens (NTDLL.@)
*/
NTSTATUS WINAPI NtCompareTokens( HANDLE first, HANDLE second, BOOLEAN *equal )
{
FIXME( "%p,%p,%p: stub\n", first, second, equal );
return STATUS_NOT_IMPLEMENTED;
}
/**************************************************************************
* NtClose
*/
NTSTATUS WINAPI NtClose( HANDLE handle )
......
......@@ -237,6 +237,18 @@ NTSTATUS WINAPI wow64_NtFilterToken( UINT *args )
/**********************************************************************
* wow64_NtCompareTokens
*/
NTSTATUS WINAPI wow64_NtCompareTokens( UINT *args )
{
HANDLE first = get_handle( &args );
HANDLE second = get_handle( &args );
BOOLEAN *equal = get_ptr( &args );
return NtCompareTokens( first, second, equal );
}
/**********************************************************************
* wow64_NtImpersonateAnonymousToken
*/
NTSTATUS WINAPI wow64_NtImpersonateAnonymousToken( UINT *args )
......
......@@ -4367,6 +4367,7 @@ NTSYSAPI NTSTATUS WINAPI NtClose(HANDLE);
NTSYSAPI NTSTATUS WINAPI NtCloseObjectAuditAlarm(PUNICODE_STRING,HANDLE,BOOLEAN);
NTSYSAPI NTSTATUS WINAPI NtCommitTransaction(HANDLE,BOOLEAN);
NTSYSAPI NTSTATUS WINAPI NtCompareObjects(HANDLE,HANDLE);
NTSYSAPI NTSTATUS WINAPI NtCompareTokens(HANDLE,HANDLE,BOOLEAN*);
NTSYSAPI NTSTATUS WINAPI NtCompleteConnectPort(HANDLE);
NTSYSAPI NTSTATUS WINAPI NtConnectPort(PHANDLE,PUNICODE_STRING,PSECURITY_QUALITY_OF_SERVICE,PLPC_SECTION_WRITE,PLPC_SECTION_READ,PULONG,PVOID,PULONG);
NTSYSAPI NTSTATUS WINAPI NtContinue(PCONTEXT,BOOLEAN);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment