Source code of Windows XP (NT5)
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.

67 lines
1.5 KiB

  1. //////////////////////////////////////////////////////////////////////////////
  2. /*++
  3. Copyright (C) Microsoft Corporation, 1998 - 1999
  4. Module Name:
  5. IASAttributeInfo.h
  6. Abstract:
  7. Declaration of the CAttributeInfo class.
  8. This class is the C++ implementation of the IIASAttributeInfo interface on
  9. the AttributeInfo COM object.
  10. See IASAttributeInfo.cpp for implementation.
  11. Revision History:
  12. mmaguire 06/25/98 - created
  13. --*/
  14. //////////////////////////////////////////////////////////////////////////////
  15. #if !defined(_SCHEMA_ATTRIBUTE_H_)
  16. #define _SCHEMA_ATTRIBUTE_H_
  17. //////////////////////////////////////////////////////////////////////////////
  18. // BEGIN INCLUDES
  19. //
  20. // where we can find what this class derives from:
  21. //
  22. #include "IASBaseAttributeInfo.h"
  23. //
  24. // where we can find what this class has or uses:
  25. //
  26. //
  27. // END INCLUDES
  28. //////////////////////////////////////////////////////////////////////////////
  29. /////////////////////////////////////////////////////////////////////////////
  30. // CAttributeInfo
  31. class ATL_NO_VTABLE CAttributeInfo :
  32. public CComObjectRootEx<CComSingleThreadModel>,
  33. public CComCoClass<CAttributeInfo, &CLSID_IASAttributeInfo>,
  34. // Already in CBaseAttributeInfo: public IDispatchImpl<IIASAttributeInfo, &IID_IIASAttributeInfo, &LIBID_NAPMMCLib>
  35. public CBaseAttributeInfo
  36. {
  37. public:
  38. DECLARE_REGISTRY_RESOURCEID(IDR_NAPSNAPIN)
  39. BEGIN_COM_MAP(CAttributeInfo)
  40. COM_INTERFACE_ENTRY(IIASAttributeInfo)
  41. COM_INTERFACE_ENTRY(IDispatch)
  42. END_COM_MAP()
  43. // STDMETHOD(get_Clone)(LPUNKNOWN * pVal);
  44. };
  45. #endif // _SCHEMA_ATTRIBUTE_H_