return (NULL != *ppEnum ) ? S_OK : E_OUTOFMEMORY;\r
};\r
\r
-void VLCConnectionPoint::fireEvent(DISPID dispId, LCID lcid, DISPPARAMS* pDispParams)\r
+void VLCConnectionPoint::fireEvent(DISPID dispId, DISPPARAMS* pDispParams)\r
{\r
vector<CONNECTDATA>::iterator end = _connections.end();\r
vector<CONNECTDATA>::iterator iter = _connections.begin();\r
IDispatch *pDisp;\r
if( SUCCEEDED(cd.pUnk->QueryInterface(IID_IDispatch, (LPVOID *)&pDisp)) )\r
{\r
- unsigned int puArgErr;\r
- VARIANT vRes;\r
-\r
- if( SUCCEEDED(pDisp->Invoke(dispId, IID_NULL, lcid, DISPATCH_METHOD, pDispParams, &vRes, NULL, &puArgErr)) )\r
- {\r
- VariantClear(&vRes);\r
- }\r
+ pDisp->Invoke(dispId, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, pDispParams, NULL, NULL, NULL);\r
pDisp->Release();\r
}\r
}\r
return NOERROR;\r
};\r
\r
-void VLCConnectionPointContainer::fireEvent(DISPID dispId, LCID lcid, DISPPARAMS* pDispParams)\r
+void VLCConnectionPointContainer::fireEvent(DISPID dispId, DISPPARAMS* pDispParams)\r
{\r
- _p_events->fireEvent(dispId,lcid, pDispParams);\r
+ _p_events->fireEvent(dispId, pDispParams);\r
};\r
\r
void VLCConnectionPointContainer::firePropChangedEvent(DISPID dispId)\r