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.

52 lines
719 B

  1. /*
  2. Copyright (c) 1997-1999 Microsoft Corporation
  3. Module Name:
  4. sdpatt.h
  5. Abstract:
  6. Author:
  7. */
  8. #ifndef __SDP_ATTRIBUTE__
  9. #define __SDP_ATTRIBUTE__
  10. #include "sdpcommo.h"
  11. #include "sdpval.h"
  12. #include "sdpsatt.h"
  13. class _DllDecl SDP_ATTRIBUTE_LIST :
  14. public SDP_VALUE_LIST,
  15. public SDP_ATTRIBUTE_SAFEARRAY
  16. {
  17. public:
  18. inline SDP_ATTRIBUTE_LIST(
  19. IN const CHAR *TypeString
  20. );
  21. virtual SDP_VALUE *CreateElement();
  22. protected:
  23. const CHAR * const m_TypeString;
  24. };
  25. inline
  26. SDP_ATTRIBUTE_LIST::SDP_ATTRIBUTE_LIST(
  27. IN const CHAR *TypeString
  28. )
  29. : SDP_ATTRIBUTE_SAFEARRAY(*this),
  30. m_TypeString(TypeString)
  31. {
  32. }
  33. #endif // __SDP_ATTRIBUTE__