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.

84 lines
1.8 KiB

  1. //////////////////////////////////////////////////////////////////////
  2. // ExceptionPort.h : Declaration of CExceptionPort class which implements
  3. // our WMI class Nsp_ExceptionPorts
  4. // Copyright (c)1997-2001 Microsoft Corporation
  5. //
  6. // Original Create Date: 3/8/2001
  7. // Original Author: shawnwu
  8. //////////////////////////////////////////////////////////////////////
  9. #pragma once
  10. #include "globals.h"
  11. #include "IPSecBase.h"
  12. /*
  13. Class description
  14. Naming:
  15. CExceptionPort stands for Exception Ports.
  16. Base class:
  17. (1) CComObjectRootEx for threading model and IUnknown.
  18. (2) IIPSecObjectImpl which implements the common interface for all C++ classes
  19. representing WMI classes.
  20. (3) CIPSecBase, because it is a class representing a WMI object - its WMI
  21. class name is Nsp_ExceptionPorts
  22. Purpose of class:
  23. (1) Not known at this point.
  24. Design:
  25. (1) Not implemented at this time.
  26. Use:
  27. */
  28. class ATL_NO_VTABLE CExceptionPort :
  29. public CIPSecBase
  30. {
  31. protected:
  32. CExceptionPort(){}
  33. virtual ~CExceptionPort(){}
  34. public:
  35. //
  36. // IIPSecObjectImpl methods:
  37. //
  38. STDMETHOD(QueryInstance) (
  39. IN LPCWSTR pszQuery,
  40. IN IWbemContext * pCtx,
  41. IN IWbemObjectSink * pSink
  42. );
  43. STDMETHOD(DeleteInstance) (
  44. IN IWbemContext * pCtx,
  45. IN IWbemObjectSink * pSink
  46. );
  47. STDMETHOD(PutInstance) (
  48. IN IWbemClassObject * pInst,
  49. IN IWbemContext * pCtx,
  50. IN IWbemObjectSink * pSink
  51. );
  52. STDMETHOD(GetInstance) (
  53. IN IWbemContext * pCtx,
  54. IN IWbemObjectSink * pSink
  55. );
  56. private:
  57. };