msdaps: Clear *pcPropertySets value in IDBProperties_GetProperties_Stub to fix a test.

This commit is contained in:
Rob Shearman 2009-11-16 14:37:14 +00:00 committed by Alexandre Julliard
parent da9c52371e
commit 36dae82a68
2 changed files with 1 additions and 1 deletions

View File

@ -122,6 +122,7 @@ HRESULT __RPC_STUB IDBProperties_GetProperties_Stub(IDBProperties* This, ULONG c
TRACE("(%p, %d, %p, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets,
prgPropertySets, ppErrorInfoRem);
*pcPropertySets = 0;
*ppErrorInfoRem = NULL;
hr = IDBProperties_GetProperties(This, cPropertyIDSets, rgPropertyIDSets,
pcPropertySets, prgPropertySets);

View File

@ -165,7 +165,6 @@ static HRESULT WINAPI Test_DBProperties_GetProperties(
DBPROPSET **prgPropertySets)
{
ok(cPropertyIDSets == 0, "Expected cPropertyIDSets to be 0 instead of %d\n", cPropertyIDSets);
todo_wine
ok(*pcPropertySets == 0, "Expected *pcPropertySets to be 0 instead of %d\n", *pcPropertySets);
*pcPropertySets = 1;
*prgPropertySets = CoTaskMemAlloc(sizeof(DBPROPSET));