shlwapi: Initialise id field of ConPt object in connection point tests.
This commit is contained in:
parent
3d0f56fb37
commit
7da10bca33
|
@ -1095,6 +1095,7 @@ static HRESULT WINAPI Contain_FindConnectionPoint(
|
||||||
pt->sinkCount = 0;
|
pt->sinkCount = 0;
|
||||||
pt->sink = NULL;
|
pt->sink = NULL;
|
||||||
pt->container = iface;
|
pt->container = iface;
|
||||||
|
pt->id = IID_IDispatch;
|
||||||
|
|
||||||
if (iface->ptCount == 0)
|
if (iface->ptCount == 0)
|
||||||
iface->pt =HeapAlloc(GetProcessHeap(),0,sizeof(IUnknown*));
|
iface->pt =HeapAlloc(GetProcessHeap(),0,sizeof(IUnknown*));
|
||||||
|
|
Loading…
Reference in New Issue