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.9 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation
  4. Module Name:
  5. IASMultivaluedAttributeEditor.h
  6. Abstract:
  7. Declaration of the CIASMultivaluedAttributeEditor class.
  8. This class is the C++ implementation of the IIASAttributeEditor interface on
  9. the Multivalued Attribute Editor COM object.
  10. See IASMultivaluedAttributeEditor.cpp for implementation.
  11. Revision History:
  12. mmaguire 06/25/98 - created
  13. --*/
  14. //////////////////////////////////////////////////////////////////////////////
  15. #if !defined(_MULTIVALUED_ATTRIBUTE_EDITOR_H_)
  16. #define _MULTIVALUED_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. // CIASMultivaluedAttributeEditor
  32. class ATL_NO_VTABLE CIASMultivaluedAttributeEditor :
  33. public CComObjectRootEx<CComSingleThreadModel>,
  34. public CComCoClass<CIASMultivaluedAttributeEditor, &CLSID_IASMultivaluedAttributeEditor>,
  35. public CIASAttributeEditor
  36. {
  37. public:
  38. CIASMultivaluedAttributeEditor()
  39. {
  40. }
  41. DECLARE_NO_REGISTRY()
  42. BEGIN_COM_MAP(CIASMultivaluedAttributeEditor)
  43. COM_INTERFACE_ENTRY(IIASAttributeEditor)
  44. COM_INTERFACE_ENTRY(IDispatch)
  45. END_COM_MAP()
  46. // IIASAttributeEditor overrides
  47. public:
  48. STDMETHOD(SetAttributeValue)(VARIANT *pValue);
  49. STDMETHOD(ShowEditor)( /*[in, out]*/ BSTR *pReserved );
  50. STDMETHOD(get_ValueAsString)(/*[out, retval]*/ BSTR *pVal);
  51. };
  52. #endif // _MULTIVALUED_ATTRIBUTE_EDITOR_H_