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.

58 lines
977 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. EventCallback.h
  5. Abstract:
  6. Author:
  7. Hakki T. Bostanci (hakkib) 06-Apr-2000
  8. Revision History:
  9. --*/
  10. #ifndef _EVENTCALLBACK_H_
  11. #define _EVENTCALLBACK_H_
  12. //////////////////////////////////////////////////////////////////////////
  13. //
  14. //
  15. //
  16. class CEventCallback : public IWiaEventCallback
  17. {
  18. public:
  19. CEventCallback();
  20. ~CEventCallback();
  21. // IUnknown interface
  22. STDMETHOD(QueryInterface)(REFIID iid, LPVOID *ppvObj);
  23. STDMETHOD_(ULONG, AddRef)();
  24. STDMETHOD_(ULONG, Release)();
  25. // IWiaEventCallback interface
  26. STDMETHOD(ImageEventCallback)(
  27. LPCGUID pEventGUID,
  28. BSTR bstrEventDescription,
  29. BSTR bstrDeviceID,
  30. BSTR bstrDeviceDescription,
  31. DWORD dwDeviceType,
  32. BSTR bstrFullItemName,
  33. ULONG *pulEventType,
  34. ULONG ulReserved
  35. );
  36. private:
  37. LONG m_cRef;
  38. };
  39. #endif //_EVENTCALLBACK_H_