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.

43 lines
1.7 KiB

  1. // --------------------------------------------------------------------------
  2. // Module Name: BadApplicationDispatcher.h
  3. //
  4. // Copyright (c) 2000, Microsoft Corporation
  5. //
  6. // This file contains a class to implement bad application manager API
  7. // request dispatch handling.
  8. //
  9. // History: 2000-08-25 vtan created
  10. // 2000-12-04 vtan moved to separate file
  11. // --------------------------------------------------------------------------
  12. #ifndef _BadApplicationDispatcher_
  13. #define _BadApplicationDispatcher_
  14. #include "APIDispatcher.h"
  15. #include "PortMessage.h"
  16. // --------------------------------------------------------------------------
  17. // CBadApplicationDispatcher
  18. //
  19. // Purpose: This sub-class implements CAPIDispatcher::QueueRequest to
  20. // create a CBadApplicationRequest which knows how to handle
  21. // API requests for the bad application manager.
  22. //
  23. // History: 2000-08-25 vtan created
  24. // 2000-12-04 vtan moved to separate file
  25. // --------------------------------------------------------------------------
  26. class CBadApplicationDispatcher : public CAPIDispatcher
  27. {
  28. private:
  29. CBadApplicationDispatcher (void);
  30. public:
  31. CBadApplicationDispatcher (HANDLE hClientProcess);
  32. virtual ~CBadApplicationDispatcher (void);
  33. virtual NTSTATUS CreateAndQueueRequest (const CPortMessage& portMessage);
  34. virtual NTSTATUS CreateAndExecuteRequest (const CPortMessage& portMessage);
  35. };
  36. #endif /* _BadApplicationDispatcher_ */