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.

228 lines
5.4 KiB

  1. /*++
  2. Copyright (c) 1994-1998 Microsoft Corporation
  3. Module Name :
  4. guids.cpp
  5. Abstract:
  6. GUIDs as used by IIS snapin
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. --*/
  13. //
  14. // Include Files
  15. //
  16. #include "stdafx.h"
  17. //
  18. // Internal private clipboard format
  19. //
  20. const wchar_t * ISM_SNAPIN_INTERNAL = L"ISM_SNAPIN_INTERNAL";
  21. //
  22. // Published formats
  23. //
  24. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  25. const wchar_t * MYCOMPUT_MACHINE_NAME = L"MMC_SNAPIN_MACHINE_NAME";
  26. const wchar_t * ISM_SNAPIN_MACHINE_NAME = L"ISM_SNAPIN_MACHINE_NAME";
  27. const wchar_t * ISM_SNAPIN_SERVICE = L"ISM_SNAPIN_SERVICE";
  28. const wchar_t * ISM_SNAPIN_INSTANCE = L"ISM_SNAPIN_INSTANCE";
  29. const wchar_t * ISM_SNAPIN_PARENT_PATH = L"ISM_SNAPIN_PARENT_PATH";
  30. const wchar_t * ISM_SNAPIN_NODE = L"ISM_SNAPIN_NODE";
  31. const wchar_t * ISM_SNAPIN_META_PATH = L"ISM_SNAPIN_META_PATH";
  32. //
  33. // GUIDs
  34. //
  35. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  36. //
  37. // Snapin GUID
  38. //
  39. // {A841B6C2-7577-11d0-BB1F-00A0C922E79C}
  40. //
  41. //const CLSID CLSID_Snapin = {0xa841b6c2, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  42. //
  43. // About GUID
  44. //
  45. // {A841B6D2-7577-11d0-BB1F-00A0C922E79C}
  46. //
  47. //const CLSID CLSID_About = {0xa841b6d2, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  48. //
  49. // IIS Object GUIDS
  50. //
  51. // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  52. //
  53. // Internet Root Node GUID
  54. //
  55. extern "C" const GUID cInternetRootNode
  56. = {0xa841b6c3, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  57. //
  58. // Machine Node GUID
  59. //
  60. extern "C" const GUID cMachineNode
  61. = {0xa841b6c4, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  62. //
  63. // Service Collector Node GUID
  64. //
  65. extern "C" const GUID cServiceCollectorNode
  66. = {0xa841b6c5, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  67. //
  68. // Instance Collector Node GUID
  69. //
  70. extern "C" const GUID cInstanceCollectorNode
  71. = {0xa841b6c6, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  72. //
  73. // Instance Node GUID
  74. //
  75. extern "C" const GUID cInstanceNode
  76. = {0xa841b6c7, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  77. //
  78. // Child Node GUID
  79. //
  80. extern "C" const GUID cChildNode
  81. = {0xa841b6c8, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  82. //
  83. // File Node GUID
  84. //
  85. extern "C" const GUID cFileNode
  86. = {0xa841b6c9, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  87. //
  88. // AppPools container Node GUID
  89. //
  90. extern "C" const GUID cAppPoolsNode
  91. = {0xa841b6ca, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  92. //
  93. // AppPool Node GUID
  94. //
  95. extern "C" const GUID cAppPoolNode
  96. = {0xa841b6cb, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  97. //
  98. // Application Node GUID
  99. //
  100. extern "C" const GUID cApplicationNode
  101. = {0xa841b6cc, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  102. //
  103. // cWebServiceExtension container Node GUID
  104. //
  105. extern "C" const GUID cWebServiceExtensionContainer
  106. = {0xa841b6cd, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  107. //
  108. // cWebServiceExtension Node GUID
  109. //
  110. extern "C" const GUID cWebServiceExtension
  111. = {0xa841b6ce, 0x7577, 0x11d0, { 0xbb, 0x1f, 0x0, 0xa0, 0xc9, 0x22, 0xe7, 0x9c}};
  112. //
  113. // CompMgnt node that we are extending
  114. //
  115. extern "C" const GUID cCompMgmtService
  116. = {0x476e6449, 0xaaff, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0}};
  117. BOOL GetFriendlyGuidName(GUID InputGUID, CString & strReturnedString)
  118. {
  119. if (InputGUID == cInternetRootNode)
  120. {
  121. strReturnedString = _T("cInternetRootNode");
  122. return TRUE;
  123. }
  124. if (InputGUID == cMachineNode)
  125. {
  126. strReturnedString = _T("cMachineNode");
  127. return TRUE;
  128. }
  129. if (InputGUID == cServiceCollectorNode)
  130. {
  131. strReturnedString = _T("cServiceCollectorNode");
  132. return TRUE;
  133. }
  134. if (InputGUID == cInstanceCollectorNode)
  135. {
  136. strReturnedString = _T("cInstanceCollectorNode");
  137. return TRUE;
  138. }
  139. if (InputGUID == cInstanceNode)
  140. {
  141. strReturnedString = _T("cInstanceNode");
  142. return TRUE;
  143. }
  144. if (InputGUID == cChildNode)
  145. {
  146. strReturnedString = _T("cChildNode");
  147. return TRUE;
  148. }
  149. if (InputGUID == cFileNode)
  150. {
  151. strReturnedString = _T("cFileNode");
  152. return TRUE;
  153. }
  154. if (InputGUID == cAppPoolsNode)
  155. {
  156. strReturnedString = _T("cAppPoolsNode");
  157. return TRUE;
  158. }
  159. if (InputGUID == cAppPoolNode)
  160. {
  161. strReturnedString = _T("cAppPoolNode");
  162. return TRUE;
  163. }
  164. if (InputGUID == cWebServiceExtensionContainer)
  165. {
  166. strReturnedString = _T("cWebServiceExtensionContainer");
  167. return TRUE;
  168. }
  169. if (InputGUID == cWebServiceExtension)
  170. {
  171. strReturnedString = _T("cWebServiceExtension");
  172. return TRUE;
  173. }
  174. if (InputGUID == cCompMgmtService)
  175. {
  176. strReturnedString = _T("cCompMgmtService ");
  177. return TRUE;
  178. }
  179. return FALSE;
  180. }
  181. #include <initguid.h>
  182. #include "iwamreg.h"