Austin English : ntdsapi: Add stubs for DsBindA/W.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 8 14:09:28 CDT 2014


Module: wine
Branch: master
Commit: 35b90ece93aeaec2affc571b1420a9ec569125f4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=35b90ece93aeaec2affc571b1420a9ec569125f4

Author: Austin English <austinenglish at gmail.com>
Date:   Tue Oct  7 11:46:05 2014 -0500

ntdsapi: Add stubs for DsBindA/W.

---

 dlls/ntdsapi/ntdsapi.c    | 18 ++++++++++++++++++
 dlls/ntdsapi/ntdsapi.spec |  4 ++--
 2 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdsapi/ntdsapi.c b/dlls/ntdsapi/ntdsapi.c
index 1ffbd9d..4ca3b09 100644
--- a/dlls/ntdsapi/ntdsapi.c
+++ b/dlls/ntdsapi/ntdsapi.c
@@ -48,6 +48,24 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
 }
 
 /***********************************************************************
+ *             DsBindA (NTDSAPI.@)
+ */
+DWORD WINAPI DsBindA(LPCSTR controller, LPCSTR domain, HANDLE *handle)
+ {
+    FIXME("(%s,%s, %p): stub!\n", debugstr_a(controller), debugstr_a(domain), handle);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
+ *             DsBindW (NTDSAPI.@)
+ */
+DWORD WINAPI DsBindW(LPCWSTR controller, LPCWSTR domain, HANDLE *handle)
+ {
+    FIXME("(%s,%s, %p): stub!\n", debugstr_w(controller), debugstr_w(domain), handle);
+    return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+/***********************************************************************
  *             DsMakeSpnW (NTDSAPI.@)
  */
 DWORD WINAPI DsMakeSpnW(LPCWSTR svc_class, LPCWSTR svc_name,
diff --git a/dlls/ntdsapi/ntdsapi.spec b/dlls/ntdsapi/ntdsapi.spec
index f4ae6f8..b3ed8be 100644
--- a/dlls/ntdsapi/ntdsapi.spec
+++ b/dlls/ntdsapi/ntdsapi.spec
@@ -1,7 +1,7 @@
 @ stub DsAddSidHistoryA
 @ stub DsAddSidHistoryW
-@ stub DsBindA
-@ stub DsBindW
+@ stdcall DsBindA(str str ptr)
+@ stdcall DsBindW(wstr wstr ptr)
 @ stub DsBindWithCredA
 @ stub DsBindWithCredW
 @ stub DsBindWithSpnA




More information about the wine-cvs mailing list