Louis Lenders : activeds: Add stub for ADsGetLastError.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 09:42:57 CST 2010


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Fri Mar  5 12:00:37 2010 +0100

activeds: Add stub for ADsGetLastError.

---

 dlls/activeds/activeds.spec   |    2 +-
 dlls/activeds/activeds_main.c |    9 +++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/dlls/activeds/activeds.spec b/dlls/activeds/activeds.spec
index 63625d5..2b45834 100644
--- a/dlls/activeds/activeds.spec
+++ b/dlls/activeds/activeds.spec
@@ -6,7 +6,7 @@
 8 stub ADsBuildVarArrayInt
 9 stdcall ADsOpenObject(wstr wstr wstr long ptr ptr)
 12 stub ADsSetLastError
-13 stub ADsGetLastError
+13 stdcall ADsGetLastError(ptr ptr long ptr long)
 14 stub AllocADsMem
 15 stdcall FreeADsMem(ptr)
 16 stub ReallocADsMem
diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c
index 9c03ac1..2fa4ec7 100644
--- a/dlls/activeds/activeds_main.c
+++ b/dlls/activeds/activeds_main.c
@@ -95,6 +95,15 @@ HRESULT WINAPI ADsOpenObject(LPCWSTR lpszPathName, LPCWSTR lpszUserName, LPCWSTR
 }
 
 /*****************************************************
+ * ADsGetLastError    [ACTIVEDS.13]
+ */
+HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbuflen, LPWSTR namebuf, DWORD namebuflen)
+{
+    FIXME("(%p,%p,%d,%p,%d)!stub\n", perror, errorbuf, errorbuflen, namebuf, namebuflen);
+    return E_NOTIMPL;
+}
+
+/*****************************************************
  * FreeADsMem             [ACTIVEDS.15]
  */
 BOOL WINAPI FreeADsMem(LPVOID pMem)




More information about the wine-cvs mailing list