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.

100 lines
4.7 KiB

  1. //---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1997
  5. //
  6. // File: iisext.h
  7. //
  8. // Contents: Macros for ADSI IIS Extension methods
  9. //
  10. // History: 25-Feb-97 SophiaC Created.
  11. //
  12. //----------------------------------------------------------------------------
  13. #define IIS_LIBIID_IISExt 2a56ea30-afeb-11d1-9868-00a0c922e703
  14. #define IIS_IID_IISApp 46FBBB80-0192-11d1-9C39-00A0C922E703
  15. #define IIS_IID_IISApp2 603DCBEA-7350-11d2-A7BE-0000F8085B95
  16. #define IIS_IID_IISApp3 2812B639-8FAC-4510-96C5-71DDBD1F54FC
  17. #define IIS_IID_IISComputer CF87A2E0-078B-11d1-9C3D-00A0C922E703
  18. #define IIS_IID_IISComputer2 63d89839-5762-4a68-b1b9-3507ea76cbbf
  19. #define IIS_IID_IISDsCrMap edcd6a60-b053-11d0-a62f-00a0c922e752
  20. #define IIS_IID_IISApplicationPool 0B3CB1E1-829A-4c06-8B09-F56DA1894C88
  21. #define IIS_IID_IISApplicationPools 587F123F-49B4-49dd-939E-F4547AA3FA75
  22. #define IIS_IID_IISWebService EE46D40C-1B38-4a02-898D-358E74DFC9D2
  23. #define IIS_CLSID_IISExtApp b4f34438-afec-11d1-9868-00a0c922e703
  24. #define IIS_CLSID_IISExtComputer 91ef9258-afec-11d1-9868-00a0c922e703
  25. #define IIS_CLSID_IISExtServer c3b32488-afec-11d1-9868-00a0c922e703
  26. #define IIS_CLSID_IISExtDsCrMap bc36cde8-afeb-11d1-9868-00a0c922e703
  27. #define IIS_CLSID_IISExtApplicationPool E99F9D0C-FB39-402b-9EEB-AA185237BD34
  28. #define IIS_CLSID_IISExtApplicationPools 95863074-A389-406a-A2D7-D98BFC95B905
  29. #define IIS_CLSID_IISExtWebService 40B8F873-B30E-475d-BEC5-4D0EBB0DBAF3
  30. #define PROPERTY_RO(name,type, prid) \
  31. [propget, id(prid)] \
  32. HRESULT name([out, retval] type * retval);
  33. #define PROPERTY_LONG_RW(name, prid) \
  34. [propget, id(prid)] \
  35. HRESULT name([out, retval] long * retval); \
  36. \
  37. [propput, id(prid)] \
  38. HRESULT name([in] long ln##name);
  39. #define PROPERTY_LONG_RO(name, prid) \
  40. [propget, id(prid)] \
  41. HRESULT name([out, retval] long * retval);
  42. #define PROPERTY_BSTR_RW(name, prid) \
  43. [propget, id(prid)] \
  44. HRESULT name([out, retval] BSTR * retval); \
  45. \
  46. [propput, id(prid)] \
  47. HRESULT name([in] BSTR bstr##name);
  48. #define PROPERTY_BSTR_RO(name, prid) \
  49. [propget, id(prid)] \
  50. HRESULT name([out, retval] BSTR * retval);
  51. #define PROPERTY_VARIANT_BOOL_RW(name, prid) \
  52. [propget, id(prid)] \
  53. HRESULT name([out, retval] VARIANT_BOOL * retval); \
  54. \
  55. [propput, id(prid)] \
  56. HRESULT name([in] VARIANT_BOOL f##name);
  57. #define PROPERTY_VARIANT_BOOL_RO(name, prid) \
  58. [propget, id(prid)] \
  59. HRESULT name([out, retval] VARIANT_BOOL * retval);
  60. #define PROPERTY_VARIANT_RW(name, prid) \
  61. [propget, id(prid)] \
  62. HRESULT name([out, retval] VARIANT * retval); \
  63. \
  64. [propput, id(prid)] \
  65. HRESULT name([in] VARIANT v##name);
  66. #define PROPERTY_VARIANT_RO(name, prid) \
  67. [propget, id(prid)] \
  68. HRESULT name([out, retval] VARIANT * retval); \
  69. #define PROPERTY_DATE_RW(name, prid) \
  70. [propget, id(prid)] \
  71. HRESULT name([out, retval] DATE * retval); \
  72. \
  73. [propput, id(prid)] \
  74. HRESULT name([in] DATE da##name);
  75. #define PROPERTY_DATE_RO(name, prid) \
  76. [propget, id(prid)] \
  77. HRESULT name([out, retval] DATE * retval);
  78. #define PROPERTY_DISPATCH_RW(name, prid) \
  79. [propget, id(prid)] \
  80. HRESULT name([out, retval] IDispatch ** retval); \
  81. \
  82. [propput, id(prid)] \
  83. HRESULT name([in] IDispatch * p##name);