Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1997 - 1999
  3. Module Name:
  4. csubchng.hxx
  5. Abstract:
  6. Header file containing SENS's IEventObjectChange definition.
  7. Author:
  8. Gopal Parupudi <GopalP>
  9. [Notes:]
  10. optional-notes
  11. Revision History:
  12. GopalP 1/26/1998 Start.
  13. --*/
  14. #ifndef __CSUBCHNG_HXX__
  15. #define __CSUBCHNG_HXX__
  16. class CImpIEventObjectChange : public IEventObjectChange
  17. {
  18. public:
  19. CImpIEventObjectChange(void);
  20. ~CImpIEventObjectChange(void);
  21. //
  22. // IUnknown
  23. //
  24. STDMETHOD (QueryInterface) (REFIID, LPVOID *);
  25. STDMETHOD_(ULONG, AddRef) (void);
  26. STDMETHOD_(ULONG, Release) (void);
  27. //
  28. // IEventObjectChange
  29. //
  30. STDMETHOD (ChangedSubscription) (EOC_ChangeType, BSTR);
  31. STDMETHOD (ChangedEventClass) (EOC_ChangeType, BSTR);
  32. STDMETHOD (ChangedPublisher) (EOC_ChangeType, BSTR);
  33. private:
  34. LONG m_cRef;
  35. };
  36. typedef CImpIEventObjectChange FAR * LPCIMPIEVENTOBJECTCHANGE;
  37. HRESULT
  38. GetDestinationNameFromSubscription(
  39. BSTR bstrSubscriptionID,
  40. BSTR *pbstrDestinationName
  41. );
  42. #endif // __CSUBCHNG_HXX__