adsldp: Implement IDirectorySearch::FreeColumn().

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Dmitry Timoshkov 2020-03-30 15:58:04 +08:00 committed by Alexandre Julliard
parent 7f98809173
commit 21959bf00a
2 changed files with 7 additions and 3 deletions

View File

@ -1446,8 +1446,13 @@ exit:
static HRESULT WINAPI search_FreeColumn(IDirectorySearch *iface, PADS_SEARCH_COLUMN col)
{
FIXME("%p,%p: stub\n", iface, col);
return E_NOTIMPL;
TRACE("%p,%p\n", iface, col);
if (!col) return E_ADS_BAD_PARAMETER;
heap_free(col->pADsValues);
return S_OK;
}
static HRESULT WINAPI search_CloseSearchHandle(IDirectorySearch *iface, ADS_SEARCH_HANDLE res)

View File

@ -386,7 +386,6 @@ todo_wine
}
hr = IDirectorySearch_FreeColumn(ds, &col);
todo_wine
ok(hr == S_OK, "got %#x\n", hr);
}