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.

74 lines
3.0 KiB

  1. #define PUT_PROPERTY_LONG(this, Property) \
  2. RRETURN(put_LONG_Property( \
  3. (IADs *)this, \
  4. TEXT(#Property), \
  5. l##Property \
  6. ))
  7. #define GET_PROPERTY_LONG(this, Property) \
  8. RRETURN(get_LONG_Property( \
  9. (IADs *)this, \
  10. TEXT(#Property), \
  11. retval \
  12. ))
  13. #define PUT_PROPERTY_BSTR(this, Property) \
  14. RRETURN(put_BSTR_Property( \
  15. (IADs *)this, \
  16. TEXT(#Property), \
  17. bstr##Property \
  18. ))
  19. #define GET_PROPERTY_BSTR(this, Property) \
  20. RRETURN(get_BSTR_Property( \
  21. (IADs *)this, \
  22. TEXT(#Property), \
  23. retval \
  24. ))
  25. #define PUT_PROPERTY_VARIANT_BOOL(this, Property) \
  26. RRETURN(put_VARIANT_BOOL_Property( \
  27. (IADs *)this, \
  28. TEXT(#Property), \
  29. f##Property\
  30. ))
  31. #define GET_PROPERTY_VARIANT_BOOL(this, Property) \
  32. RRETURN(get_VARIANT_BOOL_Property( \
  33. (IADs *)this, \
  34. TEXT(#Property), \
  35. retval \
  36. ))
  37. #define PUT_PROPERTY_DATE(this, Property) \
  38. RRETURN(put_DATE_Property( \
  39. (IADs *)this, \
  40. TEXT(#Property), \
  41. da##Property \
  42. ))
  43. #define GET_PROPERTY_DATE(this, Property) \
  44. RRETURN(get_DATE_Property( \
  45. (IADs *)this, \
  46. TEXT(#Property), \
  47. retval \
  48. ))
  49. #define PUT_PROPERTY_VARIANT(this, Property) \
  50. RRETURN(put_VARIANT_Property( \
  51. (IADs *)this, \
  52. TEXT(#Property), \
  53. v##Property \
  54. ))
  55. #define GET_PROPERTY_VARIANT(this, Property) \
  56. RRETURN(get_VARIANT_Property( \
  57. (IADs *)this, \
  58. TEXT(#Property), \
  59. retval \
  60. ))