shlwapi: Initialise id field of ConPt object in connection point tests.

This commit is contained in:
Rob Shearman 2009-12-30 13:15:08 +00:00 committed by Alexandre Julliard
parent 3d0f56fb37
commit 7da10bca33
1 changed files with 1 additions and 0 deletions

View File

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