Lines Matching defs:g_pIEventSystem
49 static IEventSystem *g_pIEventSystem = NULL; /**< Pointer to IEventSystem interface. */
196 HRESULT hr = CoCreateInstance(CLSID_CEventSystem, 0, CLSCTX_SERVER, IID_IEventSystem, (void**)&g_pIEventSystem);
216 && g_pIEventSystem)
275 hr = g_pIEventSystem->Store(PROGID_EventSubscription, (IUnknown*)pIEventSubscription);
294 if (g_pIEventSystem)
296 g_pIEventSystem->Release();
297 g_pIEventSystem = NULL;
310 if (g_pIEventSystem)
312 g_pIEventSystem->Release();
313 g_pIEventSystem = NULL;
319 CLSCTX_SERVER, IID_IEventSystem, (void**)&g_pIEventSystem);
321 && g_pIEventSystem)
342 hr = g_pIEventSystem->Remove(PROGID_EventSubscription, pwszTemp,
357 g_pIEventSystem->Release();
358 g_pIEventSystem = NULL;