https://git.reactos.org/?p=reactos.git;a=commitdiff;h=33bcb8c53a3524faa9f3f…
commit 33bcb8c53a3524faa9f3f25fbdaee807d8060917
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Mon Jun 4 03:43:22 2018 +0100
Commit: Amine Khaldi <amine.khaldi(a)reactos.org>
CommitDate: Mon Jun 4 03:43:22 2018 +0100
[NTDSAPI] Sync with Wine Staging 3.9. CORE-14656
---
dll/win32/ntdsapi/ntdsapi.c | 23 +++++++++++++++++++++++
dll/win32/ntdsapi/ntdsapi.spec | 4 ++--
media/doc/README.WINE | 2 +-
3 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/dll/win32/ntdsapi/ntdsapi.c b/dll/win32/ntdsapi/ntdsapi.c
index ee0c8379c3..003b1a2361 100644
--- a/dll/win32/ntdsapi/ntdsapi.c
+++ b/dll/win32/ntdsapi/ntdsapi.c
@@ -204,6 +204,9 @@ DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR
ServiceClas
return ERROR_CALL_NOT_IMPLEMENTED;
}
+/***********************************************************************
+ * DsClientMakeSpnForTargetServerW (NTDSAPI.@)
+ */
DWORD WINAPI DsClientMakeSpnForTargetServerW(LPCWSTR class, LPCWSTR name, DWORD *buflen,
LPWSTR buf)
{
DWORD len;
@@ -229,3 +232,23 @@ DWORD WINAPI DsClientMakeSpnForTargetServerW(LPCWSTR class, LPCWSTR
name, DWORD
return ERROR_SUCCESS;
}
+
+/***********************************************************************
+ * DsCrackNamesA (NTDSAPI.@)
+ */
+DWORD WINAPI DsCrackNamesA(HANDLE handle, DS_NAME_FLAGS flags, DS_NAME_FORMAT offered,
DS_NAME_FORMAT desired,
+ DWORD num, const CHAR **names, PDS_NAME_RESULTA *result)
+{
+ FIXME("(%p %u %u %u %u %p %p stub\n", handle, flags, offered, desired, num,
names, result);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ * DsCrackNamesW (NTDSAPI.@)
+ */
+DWORD WINAPI DsCrackNamesW(HANDLE handle, DS_NAME_FLAGS flags, DS_NAME_FORMAT offered,
DS_NAME_FORMAT desired,
+ DWORD num, const WCHAR **names, PDS_NAME_RESULTW *result)
+{
+ FIXME("(%p %u %u %u %u %p %p stub\n", handle, flags, offered, desired, num,
names, result);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
diff --git a/dll/win32/ntdsapi/ntdsapi.spec b/dll/win32/ntdsapi/ntdsapi.spec
index 925cb71358..bc7827d232 100644
--- a/dll/win32/ntdsapi/ntdsapi.spec
+++ b/dll/win32/ntdsapi/ntdsapi.spec
@@ -8,8 +8,8 @@
@ stub DsBindWithSpnW
@ stub DsClientMakeSpnForTargetServerA
@ stdcall DsClientMakeSpnForTargetServerW(wstr wstr ptr ptr)
-@ stub DsCrackNamesA
-@ stub DsCrackNamesW
+@ stdcall DsCrackNamesA(ptr long long long long ptr ptr)
+@ stdcall DsCrackNamesW(ptr long long long long ptr ptr)
@ stub DsCrackSpn2A
@ stub DsCrackSpn2W
@ stub DsCrackSpn3W
diff --git a/media/doc/README.WINE b/media/doc/README.WINE
index 080c7c8341..969d46559e 100644
--- a/media/doc/README.WINE
+++ b/media/doc/README.WINE
@@ -135,7 +135,7 @@ reactos/dll/win32/msxml6 # Synced to WineStaging-3.3
reactos/dll/win32/nddeapi # Synced to WineStaging-3.3
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
reactos/dll/win32/npptools # Synced to WineStaging-3.3
-reactos/dll/win32/ntdsapi # Synced to WineStaging-3.3
+reactos/dll/win32/ntdsapi # Synced to WineStaging-3.9
reactos/dll/win32/objsel # Synced to WineStaging-3.3
reactos/dll/win32/odbc32 # Synced to WineStaging-3.3. Depends on port of
Linux ODBC.
reactos/dll/win32/odbccp32 # Synced to WineStaging-3.3