mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 23:27:17 +00:00
msdaps: Clear *pcPropertySets value in IDBProperties_GetProperties_Stub to fix a test.
This commit is contained in:
parent
da9c52371e
commit
36dae82a68
|
@ -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,
|
TRACE("(%p, %d, %p, %p, %p, %p)\n", This, cPropertyIDSets, rgPropertyIDSets, pcPropertySets,
|
||||||
prgPropertySets, ppErrorInfoRem);
|
prgPropertySets, ppErrorInfoRem);
|
||||||
|
*pcPropertySets = 0;
|
||||||
*ppErrorInfoRem = NULL;
|
*ppErrorInfoRem = NULL;
|
||||||
hr = IDBProperties_GetProperties(This, cPropertyIDSets, rgPropertyIDSets,
|
hr = IDBProperties_GetProperties(This, cPropertyIDSets, rgPropertyIDSets,
|
||||||
pcPropertySets, prgPropertySets);
|
pcPropertySets, prgPropertySets);
|
||||||
|
|
|
@ -165,7 +165,6 @@ static HRESULT WINAPI Test_DBProperties_GetProperties(
|
||||||
DBPROPSET **prgPropertySets)
|
DBPROPSET **prgPropertySets)
|
||||||
{
|
{
|
||||||
ok(cPropertyIDSets == 0, "Expected cPropertyIDSets to be 0 instead of %d\n", cPropertyIDSets);
|
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);
|
ok(*pcPropertySets == 0, "Expected *pcPropertySets to be 0 instead of %d\n", *pcPropertySets);
|
||||||
*pcPropertySets = 1;
|
*pcPropertySets = 1;
|
||||||
*prgPropertySets = CoTaskMemAlloc(sizeof(DBPROPSET));
|
*prgPropertySets = CoTaskMemAlloc(sizeof(DBPROPSET));
|
||||||
|
|
Loading…
Reference in a new issue