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.

110 lines
4.6 KiB

  1. // JonN 8/23/00 120488
  2. // filemgmt.idl : IDL source for clients of Shared Folders and Services snap-ins
  3. //
  4. // No type library is needed for MMC snap-ins
  5. //
  6. // Need to use standard UI in Cluster Admin for managing the cluster service
  7. import "oaidl.idl";
  8. [
  9. object,
  10. uuid(F62DEC25-E3CB-4D45-9E98-933DB95BCAEA),
  11. helpstring("ISvcMgmtStartStopHelper Interface"),
  12. pointer_default(unique)
  13. ]
  14. interface ISvcMgmtStartStopHelper : IUnknown
  15. {
  16. [helpstring("Starts an individual service and services on which it depends")]
  17. HRESULT StartServiceHelper(
  18. HWND hwndParent,
  19. BSTR pszMachineName,
  20. BSTR pszServiceName,
  21. DWORD dwNumServiceArgs,
  22. BSTR * lpServiceArgVectors );
  23. [helpstring("Stops/pauses/etc. an individual service and services on which it depends")]
  24. HRESULT ControlServiceHelper(
  25. HWND hwndParent,
  26. BSTR pszMachineName,
  27. BSTR pszServiceName,
  28. DWORD dwControlCode );
  29. };
  30. [
  31. uuid(325AA254-2DBA-4e50-81F7-38F646DED8E4),
  32. version(1.0),
  33. helpstring("SvcMgmt Object")
  34. ]
  35. library SvcMgmt
  36. {
  37. [
  38. uuid(863FA3AC-9D97-4560-9587-7FA58727608B),
  39. helpstring("SvcMgmt Class")
  40. ]
  41. coclass SvcMgmt
  42. {
  43. [default] interface ISvcMgmtStartStopHelper;
  44. };
  45. };
  46. // Nodetypes for the Shared Folders and
  47. // Services snap-ins
  48. // created by UUIDGEN 4/2/97 JonN
  49. cpp_quote("#define struuidNodetypeRoot \"{4e410f0e-abc1-11d0-b944-00c04fd8d5b0}\"")
  50. cpp_quote("#define struuidNodetypeShares \"{4e410f0f-abc1-11d0-b944-00c04fd8d5b0}\"")
  51. cpp_quote("#define struuidNodetypeSessions \"{4e410f10-abc1-11d0-b944-00c04fd8d5b0}\"")
  52. cpp_quote("#define struuidNodetypeResources \"{4e410f11-abc1-11d0-b944-00c04fd8d5b0}\"")
  53. cpp_quote("#define struuidNodetypeServices \"{4e410f12-abc1-11d0-b944-00c04fd8d5b0}\"")
  54. cpp_quote("#define struuidNodetypeShare \"{4e410f13-abc1-11d0-b944-00c04fd8d5b0}\"")
  55. cpp_quote("#define struuidNodetypeSession \"{4e410f14-abc1-11d0-b944-00c04fd8d5b0}\"")
  56. cpp_quote("#define struuidNodetypeResource \"{4e410f15-abc1-11d0-b944-00c04fd8d5b0}\"")
  57. cpp_quote("#define struuidNodetypeService \"{4e410f16-abc1-11d0-b944-00c04fd8d5b0}\"")
  58. cpp_quote("#define lstruuidNodetypeRoot L\"{4e410f0e-abc1-11d0-b944-00c04fd8d5b0}\"")
  59. cpp_quote("#define lstruuidNodetypeShares L\"{4e410f0f-abc1-11d0-b944-00c04fd8d5b0}\"")
  60. cpp_quote("#define lstruuidNodetypeSessions L\"{4e410f10-abc1-11d0-b944-00c04fd8d5b0}\"")
  61. cpp_quote("#define lstruuidNodetypeResources L\"{4e410f11-abc1-11d0-b944-00c04fd8d5b0}\"")
  62. cpp_quote("#define lstruuidNodetypeServices L\"{4e410f12-abc1-11d0-b944-00c04fd8d5b0}\"")
  63. cpp_quote("#define lstruuidNodetypeShare L\"{4e410f13-abc1-11d0-b944-00c04fd8d5b0}\"")
  64. cpp_quote("#define lstruuidNodetypeSession L\"{4e410f14-abc1-11d0-b944-00c04fd8d5b0}\"")
  65. cpp_quote("#define lstruuidNodetypeResource L\"{4e410f15-abc1-11d0-b944-00c04fd8d5b0}\"")
  66. cpp_quote("#define lstruuidNodetypeService L\"{4e410f16-abc1-11d0-b944-00c04fd8d5b0}\"")
  67. cpp_quote("#define structuuidNodetypeRoot \
  68. { 0x4e410f0e, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  69. cpp_quote("#define structuuidNodetypeShares \
  70. { 0x4e410f0f, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  71. cpp_quote("#define structuuidNodetypeSessions \
  72. { 0x4e410f10, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  73. cpp_quote("#define structuuidNodetypeResources \
  74. { 0x4e410f11, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  75. cpp_quote("#define structuuidNodetypeServices \
  76. { 0x4e410f12, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  77. cpp_quote("#define structuuidNodetypeShare \
  78. { 0x4e410f13, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  79. cpp_quote("#define structuuidNodetypeSession \
  80. { 0x4e410f14, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  81. cpp_quote("#define structuuidNodetypeResource \
  82. { 0x4e410f15, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  83. cpp_quote("#define structuuidNodetypeService \
  84. { 0x4e410f16, 0xabc1, 0x11d0, { 0xb9, 0x44, 0x0, 0xc0, 0x4f, 0xd8, 0xd5, 0xb0 } }")
  85. /*
  86. clipboard formats common to Shared Folders, Services, Computer Management
  87. MMC_SNAPIN_MACHINE_NAME
  88. clipboard formats defined by Shared Folders:
  89. FILEMGMT_TRANSPORT
  90. FILEMGMT_SNAPIN_SHARE_NAME
  91. FILEMGMT_SNAPIN_SESSION_CLIENT_NAME
  92. FILEMGMT_SNAPIN_SESSION_USER_NAME
  93. FILEMGMT_SNAPIN_SESSION_ID
  94. FILEMGMT_SNAPIN_FILE_ID
  95. clipboard formats defined by Services:
  96. FILEMGMT_SNAPIN_SERVICE_NAME
  97. FILEMGMT_SNAPIN_SERVICE_DISPLAYNAME
  98. */