activeds: Implement AllocADsMem and FreeADsMem.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2020-02-12 18:17:40 +08:00 committed by Alexandre Julliard
parent af0d92364e
commit f6425471ef
1 changed files with 2 additions and 4 deletions

View File

@ -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);
}
/*****************************************************