Leaked source code of windows server 2003
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.

39 lines
928 B

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORP., 2000
  4. *
  5. * TITLE: handler.h
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: ByronC
  10. *
  11. * DATE: 15 Nov, 2000
  12. *
  13. * DESCRIPTION:
  14. * Declarations and definitions for the WIA messsage handler class.
  15. * This class gets called from the Service control function on PnP and Power
  16. * event notifications, and informas the device manager to take the appropriate
  17. * action.
  18. *
  19. *******************************************************************************/
  20. #pragma once
  21. class CMsgHandler {
  22. public:
  23. HRESULT HandlePnPEvent(
  24. DWORD dwEventType,
  25. PVOID pEventData);
  26. DWORD HandlePowerEvent(
  27. DWORD dwEventType,
  28. PVOID pEventData);
  29. HRESULT HandleCustomEvent(
  30. DWORD dwEventType);
  31. HRESULT Initialize();
  32. private:
  33. };