5 public ATL::IConnectionPointImpl<T, &__uuidof(_IdaeEvents)>
11 T * pThis =
static_cast<T *
>(
this);
12 int cConnections = m_vec.GetSize();
14 for (
int iConnection = 0; iConnection < cConnections; iConnection++)
17 CComPtr<IUnknown> punkConnection = m_vec.GetAt(iConnection);
20 IDispatch * pConnection =
static_cast<IDispatch *
>(punkConnection.p);
24 CComVariant avarParams[1];
25 avarParams[0] = run_state;
26 avarParams[0].vt = VT_BSTR;
27 DISPPARAMS params = { avarParams, NULL, 1, 0 };
28 hr = pConnection->Invoke(1, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, ¶ms, NULL, NULL, NULL);
HRESULT Fire_OnRunStateChange(BSTR run_state)