Dmitry Timoshkov : activeds: Implement AllocADsMem and FreeADsMem.

Alexandre Julliard julliard at winehq.org
Wed Feb 12 16:21:06 CST 2020


Module: wine
Branch: master
Commit: f6425471ef592f91465ac07b9c6b7039e41fd218
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f6425471ef592f91465ac07b9c6b7039e41fd218

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Wed Feb 12 18:17:40 2020 +0800

activeds: Implement AllocADsMem and FreeADsMem.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/activeds/activeds_main.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/dlls/activeds/activeds_main.c b/dlls/activeds/activeds_main.c
index 8ff587e332..72cfd4d83f 100644
--- a/dlls/activeds/activeds_main.c
+++ b/dlls/activeds/activeds_main.c
@@ -213,8 +213,7 @@ HRESULT WINAPI ADsGetLastError(LPDWORD perror, LPWSTR errorbuf, DWORD errorbufle
  */
 LPVOID WINAPI AllocADsMem(DWORD cb)
 {
-    FIXME("(%d)!stub\n",cb);
-    return NULL;
+    return HeapAlloc(GetProcessHeap(), 0, cb);
 }
 
 /*****************************************************
@@ -222,8 +221,7 @@ LPVOID WINAPI AllocADsMem(DWORD cb)
  */
 BOOL WINAPI FreeADsMem(LPVOID pMem)
 {
-    FIXME("(%p)!stub\n",pMem);
-    return FALSE;
+    return HeapFree(GetProcessHeap(), 0, pMem);
 }
 
 /*****************************************************




More information about the wine-cvs mailing list