Lines Matching defs:pIEventSubscription
218 IEventSubscription *pIEventSubscription;
225 hr = CoCreateInstance(CLSID_CEventSubscription, 0, CLSCTX_SERVER, IID_IEventSubscription, (LPVOID*)&pIEventSubscription);
229 hr = pIEventSubscription->put_EventClassID(L"{d5978630-5b9f-11d1-8dd2-00aa004abd5e}" /* SENSGUID_EVENTCLASS_LOGON */);
233 hr = pIEventSubscription->put_SubscriberInterface((IUnknown*)g_pISensLogon);
241 hr = pIEventSubscription->put_MethodName(pwszTemp);
252 hr = pIEventSubscription->put_SubscriptionName(pwszTemp);
263 hr = pIEventSubscription->put_SubscriptionID(pwszTemp);
271 hr = pIEventSubscription->put_PerUser(TRUE);
275 hr = g_pIEventSystem->Store(PROGID_EventSubscription, (IUnknown*)pIEventSubscription);
279 pIEventSubscription->Release();
280 pIEventSubscription = NULL;
287 if (pIEventSubscription != NULL)
288 pIEventSubscription->Release();