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.

73 lines
1.8 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation
  4. Module Name:
  5. IASIPAttributeEditor.h
  6. Abstract:
  7. Declaration of the CIASIPAttributeEditor class.
  8. This class is the C++ implementation of the IIASAttributeEditor interface on
  9. the IP Attribute Editor COM object.
  10. See IASIPAttributeEditor.cpp for implementation.
  11. Revision History:
  12. mmaguire 06/25/98 - created
  13. --*/
  14. //////////////////////////////////////////////////////////////////////////////
  15. #if !defined(_IP_ATTRIBUTE_EDITOR_H_)
  16. #define _IP_ATTRIBUTE_EDITOR_H_
  17. #pragma once
  18. //////////////////////////////////////////////////////////////////////////////
  19. // BEGIN INCLUDES
  20. //
  21. // where we can find what this class derives from:
  22. //
  23. #include "IASAttributeEditor.h"
  24. //
  25. // where we can find what this class has or uses:
  26. //
  27. //
  28. // END INCLUDES
  29. //////////////////////////////////////////////////////////////////////////////
  30. /////////////////////////////////////////////////////////////////////////////
  31. // CIASIPAttributeEditor
  32. class ATL_NO_VTABLE CIASIPAttributeEditor :
  33. public CComObjectRootEx<CComSingleThreadModel>,
  34. public CComCoClass<CIASIPAttributeEditor, &CLSID_IASIPAttributeEditor>,
  35. public CIASAttributeEditor
  36. {
  37. public:
  38. CIASIPAttributeEditor()
  39. {
  40. }
  41. DECLARE_NO_REGISTRY()
  42. BEGIN_COM_MAP(CIASIPAttributeEditor)
  43. COM_INTERFACE_ENTRY(IIASAttributeEditor)
  44. COM_INTERFACE_ENTRY(IDispatch)
  45. END_COM_MAP()
  46. // IIASAttributeEditor overrides
  47. protected:
  48. STDMETHOD(SetAttributeValue)(VARIANT *pValue);
  49. STDMETHOD(ShowEditor)( /*[in, out]*/ BSTR *pReserved );
  50. STDMETHOD(get_ValueAsString)(/*[out, retval]*/ BSTR *pVal);
  51. };
  52. #endif // _IP_ATTRIBUTE_EDITOR_H_