Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 3126 of file ordinal.c.
Referenced by IUnknown_CPContainerOnChanged().
{ IEnumConnections *lpEnum; HRESULT hRet = E_NOINTERFACE; TRACE("(%p,0x%8X)\n", lpCP, dispID); /* Get an enumerator for the connections */ if (lpCP) hRet = IConnectionPoint_EnumConnections(lpCP, &lpEnum); if (SUCCEEDED(hRet)) { IPropertyNotifySink *lpSink; CONNECTDATA connData; ULONG ulFetched; /* Call OnChanged() for every notify sink in the connection point */ while (IEnumConnections_Next(lpEnum, 1, &connData, &ulFetched) == S_OK) { if (SUCCEEDED(IUnknown_QueryInterface(connData.pUnk, &IID_IPropertyNotifySink, (void**)&lpSink)) && lpSink) { IPropertyNotifySink_OnChanged(lpSink, dispID); IPropertyNotifySink_Release(lpSink); } IUnknown_Release(connData.pUnk); } IEnumConnections_Release(lpEnum); } return hRet; }