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.

1042 lines
47 KiB

  1. // comadmin.idl : IDL source for comadmin.dll
  2. //
  3. // This file will be processed by the MIDL tool to
  4. // produce the type library (comadmin.tlb) and marshalling code.
  5. //
  6. cpp_quote("// ----------------------------------------------------------------------- ")
  7. cpp_quote("// comadmin.h -- COM Administration Programming Interfaces ")
  8. cpp_quote("// ")
  9. cpp_quote("// This file provides the prototypes for the APIs and COM interfaces ")
  10. cpp_quote("// used by Microsoft COM applications. ")
  11. cpp_quote("// ")
  12. cpp_quote("// Copyright (c) 1995-2001 Microsoft Corporation. All Rights Reserved. ")
  13. cpp_quote("// ----------------------------------------------------------------------- ")
  14. cpp_quote("#include <objbase.h>")
  15. cpp_quote("#ifndef DECLSPEC_UUID")
  16. cpp_quote("#if (_MSC_VER >= 1100) && defined (__cplusplus)")
  17. cpp_quote("#define DECLSPEC_UUID(x) __declspec(uuid(x))")
  18. cpp_quote("#else")
  19. cpp_quote("#define DECLSPEC_UUID(x)")
  20. cpp_quote("#endif")
  21. cpp_quote("#endif")
  22. #include "winerror.h"
  23. import "unknwn.idl";
  24. // ICOMAdminCatalog
  25. [
  26. object,
  27. uuid(DD662187-DFC2-11d1-A2CF-00805FC79235),
  28. dual,
  29. helpstring("ICOMAdminCatalog Interface"),
  30. pointer_default(unique)
  31. ]
  32. interface ICOMAdminCatalog : IDispatch
  33. {
  34. import "oaidl.idl";
  35. [ id(1), helpstring("Gets a collection on the local catalog - without reading any objects from the catalog data store") ]
  36. HRESULT GetCollection(
  37. [in] BSTR bstrCollName,
  38. [out, retval] IDispatch ** ppCatalogCollection);
  39. [ id(2), helpstring("Connect to a catalog server and get the Root Collection") ]
  40. HRESULT Connect(
  41. [in] BSTR bstrCatalogServerName,
  42. [out, retval] IDispatch ** ppCatalogCollection);
  43. [ propget, id(3), helpstring("Gets the major version number of the COM Admin objects") ]
  44. HRESULT MajorVersion([out, retval] long * plMajorVersion);
  45. [ propget, id(4), helpstring("Gets the minor version number of the COM Admin objects") ]
  46. HRESULT MinorVersion([out, retval] long * plMinorVersion);
  47. [ id(5), helpstring("---")]
  48. HRESULT GetCollectionByQuery(
  49. [in] BSTR bstrCollName,
  50. [in] SAFEARRAY(VARIANT) * ppsaVarQuery,
  51. [out, retval] IDispatch ** ppCatalogCollection);
  52. [ id(6), helpstring("Imports a component that is already registered as an InProc server") ]
  53. HRESULT ImportComponent([in] BSTR bstrApplIDOrName, [in] BSTR bstrCLSIDOrProgID);
  54. [ id(7), helpstring("Installs a component into an application") ]
  55. HRESULT InstallComponent(
  56. [in] BSTR bstrApplIDOrName,
  57. [in] BSTR bstrDLL,
  58. [in] BSTR bstrTLB,
  59. [in] BSTR bstrPSDLL);
  60. [ id(8), helpstring("Initiates shutdown of an application server process") ]
  61. HRESULT ShutdownApplication([in] BSTR bstrApplIDOrName);
  62. [ id(9), helpstring("Exports an application or client application to be installed on a different machine") ]
  63. HRESULT ExportApplication(
  64. [in] BSTR bstrApplIDOrName,
  65. [in] BSTR bstrApplicationFile,
  66. [in] long lOptions);
  67. // Turn off warning about how optional params should be of type VARIANT. This interface
  68. // has shipped so we can't fix it correctly, unfortunately.
  69. midl_pragma warning( disable : 2400)
  70. [ id(10), helpstring("Imports an application from a file") ]
  71. HRESULT InstallApplication(
  72. [in] BSTR bstrApplicationFile,
  73. [in, optional] BSTR bstrDestinationDirectory,
  74. [in, optional] long lOptions,
  75. [in, optional] BSTR bstrUserId,
  76. [in, optional] BSTR bstrPassword,
  77. [in, optional] BSTR bstrRSN);
  78. // Turn default behavior back on for this warning:
  79. midl_pragma warning( default : 2400)
  80. [ id(11), helpstring("Stops the router service") ]
  81. HRESULT StopRouter();
  82. [ id(12), helpstring("Refreshes the data being used by the router service") ]
  83. HRESULT RefreshRouter();
  84. [ id(13), helpstring("Starts the router service") ]
  85. HRESULT StartRouter();
  86. [ id(14), helpstring("Reserved method 1") ]
  87. HRESULT Reserved1();
  88. [ id(15), helpstring("Reserved method 2") ]
  89. HRESULT Reserved2();
  90. [ id(16), helpstring("Installs components into an application from multiple files") ]
  91. HRESULT InstallMultipleComponents(
  92. [in] BSTR bstrApplIDOrName,
  93. [in] SAFEARRAY(VARIANT) * ppsaVarFileNames,
  94. [in] SAFEARRAY(VARIANT) * ppsaVarCLSIDs);
  95. [ id(17), helpstring("Returns information about components found in the files") ]
  96. HRESULT GetMultipleComponentsInfo(
  97. [in] BSTR bstrApplIdOrName,
  98. [in] SAFEARRAY(VARIANT) * ppsaVarFileNames,
  99. [out] SAFEARRAY(VARIANT) * ppsaVarCLSIDs,
  100. [out] SAFEARRAY(VARIANT) * ppsaVarClassNames,
  101. [out] SAFEARRAY(VARIANT) * ppsaVarFileFlags,
  102. [out] SAFEARRAY(VARIANT) * ppsaVarComponentFlags);
  103. [ id(18), helpstring("Refreshes all component registration information") ]
  104. HRESULT RefreshComponents();
  105. [ id(19), helpstring("Registration database backup") ]
  106. HRESULT BackupREGDB([in] BSTR bstrBackupFilePath);
  107. [ id(20), helpstring("Registration database restore (must reboot after)") ]
  108. HRESULT RestoreREGDB([in] BSTR bstrBackupFilePath);
  109. [ id(21), helpstring("Returns information about an application that is about to be installed") ]
  110. HRESULT QueryApplicationFile(
  111. [in] BSTR bstrApplicationFile,
  112. [out] BSTR * pbstrApplicationName,
  113. [out] BSTR * pbstrApplicationDescription,
  114. [out] VARIANT_BOOL * pbHasUsers,
  115. [out] VARIANT_BOOL * pbIsProxy,
  116. [out] SAFEARRAY(VARIANT) * ppsaVarFileNames);
  117. [ id(22), helpstring("Launches application server process") ]
  118. HRESULT StartApplication([in] BSTR bstrApplIdOrName);
  119. [ id(23), helpstring("Checks the status of a COM+ related service") ]
  120. HRESULT ServiceCheck([in] long lService, [out, retval] long * plStatus);
  121. [ id(24), helpstring("Installs multiple event classes into an application") ]
  122. HRESULT InstallMultipleEventClasses(
  123. [in] BSTR bstrApplIdOrName,
  124. [in] SAFEARRAY(VARIANT) * ppsaVarFileNames,
  125. [in] SAFEARRAY(VARIANT) * ppsaVarCLSIDS);
  126. [ id(25), helpstring("Installs a event class into an application (if one is provided)") ]
  127. HRESULT InstallEventClass(
  128. [in] BSTR bstrApplIdOrName,
  129. [in] BSTR bstrDLL,
  130. [in] BSTR bstrTLB,
  131. [in] BSTR bstrPSDLL);
  132. [ id(26), helpstring("Gets a list of event classes that implement a specified interface") ]
  133. HRESULT GetEventClassesForIID(
  134. [in] BSTR bstrIID,
  135. [out] SAFEARRAY(VARIANT) * ppsaVarCLSIDs,
  136. [out] SAFEARRAY(VARIANT) * ppsaVarProgIDs,
  137. [out] SAFEARRAY(VARIANT) * ppsaVarDescriptions);
  138. }
  139. typedef[ helpstring("InUse values for IsSafeToDelete") ]
  140. enum COMAdminInUse
  141. {
  142. COMAdminNotInUse = 0x00000000,
  143. COMAdminInUseByCatalog = 0x00000001,
  144. COMAdminInUseByRegistryUnknown = 0x00000002,
  145. COMAdminInUseByRegistryProxyStub = 0x00000003,
  146. COMAdminInUseByRegistryTypeLib = 0x00000004,
  147. COMAdminInUseByRegistryClsid = 0x00000005,
  148. } COMAdminInUse;
  149. // ICOMAdminCatalog2 -- new in Windows XP (Whistler)
  150. [
  151. object,
  152. uuid(790C6E0B-9194-4cc9-9426-A48A63185696),
  153. //uuid(c6a4e9ef-432e-4f32-9107-71d2b6fd2c33),
  154. dual,
  155. helpstring("ICOMAdminCatalog2 Interface"),
  156. pointer_default(unique)
  157. ]
  158. interface ICOMAdminCatalog2 : ICOMAdminCatalog
  159. {
  160. [ id(27), helpstring("Get a catalog collection") ]
  161. HRESULT GetCollectionByQuery2(
  162. [in] BSTR bstrCollectionName,
  163. [in] VARIANT * pVarQueryStrings, // VT_BSTR or array of VT_BSTRs
  164. [out, retval] IDispatch ** ppCatalogCollection);
  165. [ id(28), helpstring("Get an Application Instance ID from a Process ID") ]
  166. HRESULT GetApplicationInstanceIDFromProcessID(
  167. [in] long lProcessID,
  168. [out, retval] BSTR * pbstrApplicationInstanceID);
  169. // Shutdown, Pause, Resume, Recycle, IsApplicationInstancePaused accept
  170. // a VT_BSTR of ApplicationInstanceID, or VT_ARRAY of VT_VARIANT BSTRs
  171. // of ApplicationInstanceIDs, or VT_DISPATCH/VT_UNKNOWN of an
  172. // ICatalogObject or an ICatalogCollection collection
  173. [ id(29), helpstring("Initiate shutdown of the specified application server processes") ]
  174. HRESULT ShutdownApplicationInstances(
  175. [in] VARIANT * pVarApplicationInstanceID); // single VT_BSTR or an array
  176. [ id(30), helpstring("Pause one or more application server processes") ]
  177. HRESULT PauseApplicationInstances(
  178. [in] VARIANT * pVarApplicationInstanceID); // single VT_BSTR or an array
  179. [ id(31), helpstring("Resume one or more application server processes") ]
  180. HRESULT ResumeApplicationInstances(
  181. [in] VARIANT * pVarApplicationInstanceID); // single VT_BSTR or an array
  182. [ id(32), helpstring("Recycle one or more application server processes") ]
  183. HRESULT RecycleApplicationInstances(
  184. [in] VARIANT * pVarApplicationInstanceID, // single VT_BSTR or an array
  185. [in] long lReasonCode);
  186. [ id(33), helpstring("Return VARIANT_TRUE if ANY application instances are paused") ]
  187. HRESULT AreApplicationInstancesPaused(
  188. [in] VARIANT * pVarApplicationInstanceID, // single VT_BSTR or an array
  189. [out, retval] VARIANT_BOOL * pVarBoolPaused); // true iff ANY are paused
  190. [ id(34), helpstring("Dump an image of this application process to disk") ]
  191. HRESULT DumpApplicationInstance(
  192. [in] BSTR bstrApplicationInstanceID, // one process only
  193. [in] BSTR bstrDirectory,
  194. [in] long lMaxImages,
  195. [out, retval] BSTR * pbstrDumpFile);
  196. [ propget, id(35), helpstring("Is the application process dump feature supported on this server")]
  197. HRESULT IsApplicationInstanceDumpSupported([out, retval] VARIANT_BOOL * pVarBoolDumpSupported);
  198. [ id(36), helpstring("Configure an application to run as an NT service") ]
  199. HRESULT CreateServiceForApplication(
  200. [in] BSTR bstrApplicationIDOrName,
  201. [in] BSTR bstrServiceName,
  202. [in] BSTR bstrStartType,
  203. [in] BSTR bstrErrorControl,
  204. [in] BSTR bstrDependencies,
  205. [in] BSTR bstrRunAs,
  206. [in] BSTR bstrPassword,
  207. [in] VARIANT_BOOL bDesktopOk);
  208. [ id(37), helpstring("Un-configure an application running as an NT service") ]
  209. HRESULT DeleteServiceForApplication([in] BSTR bstrApplicationIDOrName);
  210. [ id(38), helpstring("Return the Partition ID for the specified Application") ]
  211. HRESULT GetPartitionID(
  212. [in] BSTR bstrApplicationIDOrName,
  213. [out, retval] BSTR * pbstrPartitionID);
  214. [ id(39), helpstring("Return the Partition name for the specified Application") ]
  215. HRESULT GetPartitionName(
  216. [in] BSTR bstrApplicationIDOrName,
  217. [out, retval] BSTR * pbstrPartitionName);
  218. [ propput, id(40), helpstring("Set the current destination Partition") ]
  219. HRESULT CurrentPartition([in] BSTR bstrPartitionIDOrName);
  220. [ propget, id(41), helpstring("Get the current Partition ID") ]
  221. HRESULT CurrentPartitionID([out, retval] BSTR * pbstrPartitionID);
  222. [ propget, id(42), helpstring("Get the current Partition name") ]
  223. HRESULT CurrentPartitionName([out, retval] BSTR * pbstrPartitionName );
  224. [ propget, id(43), helpstring("Get the Global Partition ID") ]
  225. HRESULT GlobalPartitionID([out,retval] BSTR * pbstrGlobalPartitionID);
  226. [ id(44), helpstring("Flush the user-to-default Partition cache") ]
  227. HRESULT FlushPartitionCache();
  228. [ id(45), helpstring("Copy one or more Applications from Partition to Partition") ]
  229. HRESULT CopyApplications(
  230. [in] BSTR bstrSourcePartitionIDOrName,
  231. [in] VARIANT * pVarApplicationID, // not application names, just GUIDs
  232. [in] BSTR bstrDestinationPartitionIDOrName);
  233. [ id(46), helpstring("Copy one or more components from one Application to an Application in a different Partition") ]
  234. HRESULT CopyComponents(
  235. [in] BSTR bstrSourceApplicationIDOrName,
  236. [in] VARIANT * pVarCLSIDOrProgID, // VT_BSTR or array of VT_BSTR
  237. [in] BSTR bstrDestinationApplicationIDOrName);
  238. [ id(47), helpstring("Move one or more components from an Application to another Application in a different Partition") ]
  239. HRESULT MoveComponents(
  240. [in] BSTR bstrSourceApplicationIDOrName,
  241. [in] VARIANT * pVarCLSIDOrProgID, // VT_BSTR or array of VT_BSTR
  242. [in] BSTR bstrDestinationApplicationIDOrName);
  243. [ id(48), helpstring("Create an alias for component configuration while retaining the implementation") ]
  244. HRESULT AliasComponent(
  245. [in] BSTR bstrSrcApplicationIDOrName,
  246. [in] BSTR bstrCLSIDOrProgID,
  247. [in] BSTR bstrDestApplicationIDOrName, // NULL for same as src
  248. [in] BSTR bstrNewProgId,
  249. [in] BSTR bstrNewClsid); // may be a NULL string
  250. [ id(49), helpstring("Checks whether a DLL is in use by catalog or registry") ]
  251. HRESULT IsSafeToDelete(
  252. [in] BSTR bstrDllName,
  253. [out, retval] COMAdminInUse * pCOMAdminInUse);
  254. [ id(50), helpstring("Import the specified classes as non-configured components") ]
  255. HRESULT ImportUnconfiguredComponents(
  256. [in] BSTR bstrApplicationIDOrName,
  257. [in] VARIANT * pVarCLSIDOrProgID, // VT_BSTR or an array of VT_BSTR
  258. [in, optional] VARIANT * pVarComponentType); // 1=32-bit, 2-64-bit, omitted = natural bitness for platform
  259. [ id(51), helpstring("Promote the specified classes to become configured COM+ components") ]
  260. HRESULT PromoteUnconfiguredComponents(
  261. [in] BSTR bstrApplicationIDOrName,
  262. [in] VARIANT * pVarCLSIDOrProgID, // VT_BSTR or an array of VT_BSTR
  263. [in, optional] VARIANT * pVarComponentType); // 1=32-bit, 2-64-bit, omitted = natural bitness for platform
  264. [ id(52), helpstring("Import one or more components that are already registered as an inproc server in the 32 or 64 bit registry") ]
  265. HRESULT ImportComponents(
  266. [in] BSTR bstrApplicationIDOrName,
  267. [in] VARIANT * pVarCLSIDOrProgID, // VT_BSTR or an array of VT_BSTR
  268. [in, optional] VARIANT * pVarComponentType); // 1=32-bit, 2=64-bit, omitted = natural bitness for platform
  269. [ propget, id(53), helpstring("Determine if the target catalog server is 64 bit") ]
  270. HRESULT Is64BitCatalogServer([out, retval] VARIANT_BOOL * pbIs64Bit);
  271. [ id(54), helpstring("Export a Partition to be installed on another machine") ]
  272. HRESULT ExportPartition(
  273. [in] BSTR bstrPartitionIDOrName,
  274. [in] BSTR bstrPartitionFileName,
  275. [in] long lOptions);
  276. [ id(55), helpstring("Import a Partition from a file") ]
  277. HRESULT InstallPartition(
  278. [in] BSTR bstrFileName,
  279. [in] BSTR bstrDestDirectory,
  280. [in] long lOptions,
  281. [in] BSTR bstrUserID,
  282. [in] BSTR bstrPassword,
  283. [in] BSTR bstrRSN);
  284. [ id(56), helpstring("Return information about an application that is about to be installed") ]
  285. HRESULT QueryApplicationFile2(
  286. [in] BSTR bstrApplicationFile,
  287. [out, retval] IDispatch **ppFilesForImport);
  288. [ id(57), helpstring("Return the number of Partitions in which a specified component is installed")]
  289. HRESULT GetComponentVersionCount(
  290. [in] BSTR bstrCLSIDOrProgID,
  291. [out, retval] long *plVersionCount);
  292. }
  293. // ICatalogObject
  294. [
  295. object,
  296. uuid(6eb22871-8a19-11d0-81b6-00a0c9231c29),
  297. dual,
  298. helpstring("ICatalogObject Interface"),
  299. pointer_default(unique)
  300. ]
  301. interface ICatalogObject : IDispatch
  302. {
  303. import "oaidl.idl";
  304. [ propget, id(1), helpstring("Gets a property value") ]
  305. HRESULT Value([in] BSTR bstrPropName, [out, retval] VARIANT * pvarRetVal);
  306. [ propput, id(1), helpstring("Sets a property value") ]
  307. HRESULT Value([in] BSTR bstrPropName, [in] VARIANT val);
  308. [ propget, id(2), helpstring("Gets the value of the key property") ]
  309. HRESULT Key([out, retval] VARIANT * pvarRetVal);
  310. [ propget, id(3), helpstring("Gets the name of the object") ]
  311. HRESULT Name([out, retval] VARIANT * pvarRetVal);
  312. [ id(4), helpstring("True if the property cannot be set") ]
  313. HRESULT IsPropertyReadOnly([in] BSTR bstrPropName, [out, retval] VARIANT_BOOL * pbRetVal);
  314. [ propget, id(5), helpstring("True if all properties were successfully read from the catalog data store") ]
  315. HRESULT Valid([out, retval] VARIANT_BOOL * pbRetVal);
  316. [ id(6), helpstring("True if the property cannot be read") ]
  317. HRESULT IsPropertyWriteOnly([in] BSTR bstrPropName, [out, retval] VARIANT_BOOL * pbRetVal);
  318. }
  319. // ICatalogCollection
  320. [
  321. object,
  322. uuid(6eb22872-8a19-11d0-81b6-00a0c9231c29),
  323. dual,
  324. helpstring("ICatalogCollection Interface"),
  325. pointer_default(unique)
  326. ]
  327. interface ICatalogCollection : IDispatch
  328. {
  329. import "oaidl.idl";
  330. [ propget, restricted, id(DISPID_NEWENUM) ] // Must be propget.
  331. HRESULT _NewEnum([out, retval] IUnknown ** ppEnumVariant);
  332. [ propget, id(1), helpstring("Returns an object by index") ]
  333. HRESULT Item( [in] long lIndex, [out, retval] IDispatch ** ppCatalogObject);
  334. [ propget, helpstring("Returns number of objects in the collection") ]
  335. HRESULT Count([out, retval] long* plObjectCount);
  336. [ helpstring("Removes an item, given the index") ]
  337. HRESULT Remove([in] long lIndex);
  338. [ helpstring("Adds an object to the collection - returns the new object") ]
  339. HRESULT Add([out, retval] IDispatch ** ppCatalogObject);
  340. [ id(2), helpstring("Reads all the collection objects from the catalog data store") ]
  341. HRESULT Populate();
  342. [ id(3), helpstring("Saves changes made to the collection into the catalog data store") ]
  343. HRESULT SaveChanges([out, retval] long *pcChanges);
  344. [ id(4), helpstring("Gets a collection related to a specific object - without reading any objects from the catalog data store") ]
  345. HRESULT GetCollection(
  346. [in] BSTR bstrCollName,
  347. [in] VARIANT varObjectKey,
  348. [out, retval] IDispatch ** ppCatalogCollection);
  349. [ propget, id(6), helpstring("Gets the name of the collection") ]
  350. HRESULT Name([out, retval] VARIANT * pVarNamel);
  351. [ propget, id(7), helpstring("Returns VARIANT_TRUE if Add is enabled") ]
  352. HRESULT AddEnabled([out, retval] VARIANT_BOOL * pVarBool);
  353. [ propget, id(8), helpstring("Returns VARIANT_TRUE if Remove is enabled") ]
  354. HRESULT RemoveEnabled([out, retval] VARIANT_BOOL * pVarBool);
  355. [ id(9), helpstring("Gets the utility interface") ]
  356. HRESULT GetUtilInterface([out, retval] IDispatch ** ppIDispatch);
  357. [ propget, id(10), helpstring("Gets the major version number of the Catalog data store") ]
  358. HRESULT DataStoreMajorVersion([out, retval] long * plMajorVersion);
  359. [ propget, id(11), helpstring("Gets the minor version number of the Catalog data store") ]
  360. HRESULT DataStoreMinorVersion([out, retval] long * plMinorVersionl);
  361. [ id(12), helpstring("Reads selected objects from the catalog data store") ]
  362. HRESULT PopulateByKey([in] SAFEARRAY(VARIANT) psaKeys);
  363. [ id(13), helpstring("Reserved for future use") ]
  364. HRESULT PopulateByQuery([in] BSTR bstrQueryString, [in] long lQueryType);
  365. }
  366. [
  367. uuid(F618C513-DFB8-11d1-A2CF-00805FC79235),
  368. version(1.0),
  369. helpstring("COM + 1.0 Admin Type Library")
  370. ]
  371. library COMAdmin
  372. {
  373. importlib("stdole32.tlb");
  374. [
  375. uuid(F618C514-DFB8-11d1-A2CF-00805FC79235),
  376. helpstring("COM Admin Class")
  377. ]
  378. coclass COMAdminCatalog
  379. {
  380. [default] interface ICOMAdminCatalog2;
  381. }
  382. [
  383. uuid(F618C515-DFB8-11d1-A2CF-00805FC79235),
  384. helpstring("COM Admin Catalog Object Class")
  385. ]
  386. coclass COMAdminCatalogObject
  387. {
  388. [default] interface ICatalogObject;
  389. }
  390. [
  391. uuid(F618C516-DFB8-11d1-A2CF-00805FC79235),
  392. helpstring("COM Admin Catalog Collection Class")
  393. ]
  394. coclass COMAdminCatalogCollection
  395. {
  396. [default] interface ICatalogCollection;
  397. }
  398. typedef[helpstring("ComponentType values for ImportComponentAsLegacy")]
  399. enum COMAdminComponentType
  400. {
  401. COMAdmin32BitComponent = 0x00000001,
  402. COMAdmin64BitComponent = 0x00000002
  403. } COMAdminComponentType;
  404. typedef[helpstring("Application install options - these options can be or'ed together")]
  405. enum COMAdminApplicationInstallOptions
  406. {
  407. COMAdminInstallNoUsers = 0, //Default
  408. COMAdminInstallUsers = 1,
  409. COMAdminInstallForceOverwriteOfFiles = 2
  410. } COMAdminApplicationInstallOptions;
  411. typedef[helpstring("Application export options - these options can be or'ed together")]
  412. enum COMAdminApplicationExportOptions
  413. {
  414. COMAdminExportNoUsers = 0, //Default
  415. COMAdminExportUsers = 1,
  416. COMAdminExportApplicationProxy = 2,
  417. COMAdminExportForceOverwriteOfFiles = 4,
  418. COMAdminExportIn10Format = 16
  419. } COMAdminApplicationExportOptions;
  420. typedef[helpstring("Threading Model Enumerations")]
  421. enum COMAdminThreadingModels
  422. {
  423. COMAdminThreadingModelApartment = 0,
  424. COMAdminThreadingModelFree = 1,
  425. COMAdminThreadingModelMain = 2,
  426. COMAdminThreadingModelBoth = 3,
  427. COMAdminThreadingModelNeutral = 4,
  428. COMAdminThreadingModelNotSpecified = 5
  429. } COMAdminThreadingModels;
  430. typedef[helpstring("Transaction Settings Enumerations")]
  431. enum COMAdminTransactionOptions
  432. {
  433. COMAdminTransactionIgnored = 0,
  434. COMAdminTransactionNone = 1,
  435. COMAdminTransactionSupported = 2,
  436. COMAdminTransactionRequired = 3,
  437. COMAdminTransactionRequiresNew = 4,
  438. } COMAdminTransactionOptions;
  439. typedef[helpstring("Transaction Isolation Level Enumerations")]
  440. // If these values are changed, also change TxIsolationLevelOption in CatQCS.idl.
  441. enum COMAdminTxIsolationLevelOptions
  442. {
  443. COMAdminTxIsolationLevelAny = 0,
  444. COMAdminTxIsolationLevelReadUnCommitted, // translates to ISOLATIONLEVEL_READUNCOMMITTED
  445. COMAdminTxIsolationLevelReadCommitted, // translates to ISOLATIONLEVEL_READCOMMITTED
  446. COMAdminTxIsolationLevelRepeatableRead, // translates to ISOLATIONLEVEL_REPEATABLEREAD
  447. COMAdminTxIsolationLevelSerializable, // translates to ISOLATIONLEVEL_SERIALIZABLE
  448. } COMAdminTxIsolationLevelOptions;
  449. typedef[helpstring("Synchronization Settings Enumerations")]
  450. enum COMAdminSynchronizationOptions
  451. {
  452. COMAdminSynchronizationIgnored = 0,
  453. COMAdminSynchronizationNone = 1,
  454. COMAdminSynchronizationSupported = 2,
  455. COMAdminSynchronizationRequired = 3,
  456. COMAdminSynchronizationRequiresNew = 4
  457. } COMAdminSynchronizationOptions;
  458. typedef[helpstring("Activation Settings Enumerations")]
  459. enum COMAdminActivationOptions
  460. {
  461. COMAdminActivationInproc = 0,
  462. COMAdminActivationLocal = 1
  463. } COMAdminActivationOptions;
  464. typedef[helpstring("Access Level Settings Enumerations")]
  465. enum COMAdminAccessChecksLevelOptions
  466. {
  467. COMAdminAccessChecksApplicationLevel = 0,
  468. COMAdminAccessChecksApplicationComponentLevel = 1
  469. } COMAdminAccessChecksLevelOptions;
  470. typedef[helpstring("Authentication Level Settings Enumerations")]
  471. enum COMAdminAuthenticationLevelOptions
  472. {
  473. COMAdminAuthenticationDefault = 0,
  474. COMAdminAuthenticationNone = 1,
  475. COMAdminAuthenticationConnect = 2,
  476. COMAdminAuthenticationCall = 3,
  477. COMAdminAuthenticationPacket = 4,
  478. COMAdminAuthenticationIntegrity = 5,
  479. COMAdminAuthenticationPrivacy = 6
  480. } COMAdminAuthenticationLevelOptions;
  481. typedef[helpstring("Impersonation Level Settings Enumerations")]
  482. enum COMAdminImpersonationLevelOptions
  483. {
  484. COMAdminImpersonationAnonymous = 1,
  485. COMAdminImpersonationIdentify = 2,
  486. COMAdminImpersonationImpersonate = 3,
  487. COMAdminImpersonationDelegate = 4
  488. } COMAdminImpersonationLevelOptions;
  489. typedef[helpstring("Authentication Capabilities Settings Enumerations")]
  490. enum COMAdminAuthenticationCapabilitiesOptions
  491. {
  492. COMAdminAuthenticationCapabilitiesNone = 0x0,
  493. COMAdminAuthenticationCapabilitiesSecureReference = 0x2,
  494. COMAdminAuthenticationCapabilitiesStaticCloaking = 0x20,
  495. COMAdminAuthenticationCapabilitiesDynamicCloaking = 0x40
  496. } COMAdminAuthenticationCapabilitiesOptions;
  497. typedef[helpstring("Operating System Enumerations")]
  498. enum COMAdminOS
  499. {
  500. COMAdminOSNotInitialized = 0,
  501. COMAdminOSWindows3_1 = 1,
  502. COMAdminOSWindows9x = 2,
  503. COMAdminOSWindows2000 = 3,
  504. COMAdminOSWindows2000AdvancedServer = 4,
  505. COMAdminOSWindows2000Unknown = 5,
  506. COMAdminOSUnknown = 6,
  507. COMAdminOSWindowsXPPersonal = 11,
  508. COMAdminOSWindowsXPProfessional = 12,
  509. COMAdminOSWindowsNETStandardServer = 13,
  510. COMAdminOSWindowsNETEnterpriseServer = 14,
  511. COMAdminOSWindowsNETDatacenterServer = 15,
  512. COMAdminOSWindowsNETWebServer = 16,
  513. COMAdminOSWindowsLonghornPersonal = 17,
  514. COMAdminOSWindowsLonghornProfessional = 18,
  515. COMAdminOSWindowsLonghornStandardServer = 19,
  516. COMAdminOSWindowsLonghornEnterpriseServer = 20,
  517. COMAdminOSWindowsLonghornDatacenterServer = 21,
  518. COMAdminOSWindowsLonghornWebServer = 22
  519. } COMAdminOS;
  520. typedef[helpstring("Service Enumerations")]
  521. enum COMAdminServiceOptions
  522. {
  523. COMAdminServiceLoadBalanceRouter = 1
  524. } COMAdminServiceOptions;
  525. typedef[helpstring("Service Status Enumerations")]
  526. enum COMAdminServiceStatusOptions
  527. {
  528. COMAdminServiceStopped = 0,
  529. COMAdminServiceStartPending,
  530. COMAdminServiceStopPending,
  531. COMAdminServiceRunning,
  532. COMAdminServiceContinuePending,
  533. COMAdminServicePausePending,
  534. COMAdminServicePaused,
  535. COMAdminServiceUnknownState,
  536. } COMAdminServiceStatusOptions;
  537. typedef[helpstring("Queued Components Message Authenticate Enumeration")]
  538. enum COMAdminQCMessageAuthenticateOptions {
  539. [helpstring("Require authenticated messages if available from MSMQ and application Authentication Level For Calls is other than NONE")]
  540. COMAdminQCMessageAuthenticateSecureApps = 0,
  541. [helpstring("Do not require MSMQ message authentication")]
  542. COMAdminQCMessageAuthenticateOff = 1,
  543. [helpstring("Require authenticated messages")]
  544. COMAdminQCMessageAuthenticateOn = 2
  545. } COMAdminQCMessageAuthenticateOptions;
  546. typedef[helpstring("File Flags")]
  547. enum COMAdminFileFlags
  548. {
  549. [helpstring("File is Loadable")]
  550. COMAdminFileFlagLoadable = 0x00000001,
  551. [helpstring("File contains COM Objects")]
  552. COMAdminFileFlagCOM = 0x00000002,
  553. [helpstring("File contains a proxy stub")]
  554. COMAdminFileFlagContainsPS = 0x00000004,
  555. [helpstring("File contains a component")]
  556. COMAdminFileFlagContainsComp = 0x00000008,
  557. [helpstring("File contains a typelibrary")]
  558. COMAdminFileFlagContainsTLB = 0x00000010,
  559. [helpstring("File contains self registration code")]
  560. COMAdminFileFlagSelfReg = 0x00000020,
  561. [helpstring("File contains self un-registration code")]
  562. COMAdminFileFlagSelfUnReg = 0x00000040,
  563. [helpstring("File is unloadable")]
  564. COMAdminFileFlagUnloadableDLL = 0x00000080,
  565. [helpstring("File does not exist")]
  566. COMAdminFileFlagDoesNotExist = 0x00000100,
  567. [helpstring("File is already installed")]
  568. COMAdminFileFlagAlreadyInstalled = 0x00000200,
  569. [helpstring("File contains a bad typelibrary")]
  570. COMAdminFileFlagBadTLB = 0x00000400,
  571. [helpstring("GetClassObj call failed on file")]
  572. COMAdminFileFlagGetClassObjFailed = 0x00000800,
  573. [helpstring("Class is not available")]
  574. COMAdminFileFlagClassNotAvailable = 0x00001000,
  575. [helpstring("File uses a registrar to register")]
  576. COMAdminFileFlagRegistrar = 0x00002000,
  577. [helpstring("File does not use a registrar to register")]
  578. COMAdminFileFlagNoRegistrar = 0x00004000,
  579. [helpstring("Regsvr call on file failed")]
  580. COMAdminFileFlagDLLRegsvrFailed = 0x00008000,
  581. [helpstring("Register typelibrary call on file failed")]
  582. COMAdminFileFlagRegTLBFailed = 0x00010000,
  583. [helpstring("Registrar failed to register file")]
  584. COMAdminFileFlagRegistrarFailed = 0x00020000,
  585. [helpstring("Generic file error ocurred")]
  586. COMAdminFileFlagError = 0x00040000
  587. } COMAdminFileFlags;
  588. typedef[helpstring("Component Flags")]
  589. enum COMAdminComponentFlags
  590. {
  591. [helpstring("Component type information not found")]
  592. COMAdminCompFlagTypeInfoFound = 0x00000001,
  593. [helpstring("COM Plus Properties Found")]
  594. COMAdminCompFlagCOMPlusPropertiesFound = 0x00000002,
  595. [helpstring("Proxy Found")]
  596. COMAdminCompFlagProxyFound = 0x00000004,
  597. [helpstring("Interfaces Found")]
  598. COMAdminCompFlagInterfacesFound = 0x00000008,
  599. [helpstring("Component is already installed")]
  600. COMAdminCompFlagAlreadyInstalled = 0x00000010,
  601. [helpstring("Component is not in application")]
  602. COMAdminCompFlagNotInApplication = 0x00000020
  603. } COMAdminComponentFlags;
  604. const wchar_t *COMAdminCollectionRoot = "Root";
  605. const wchar_t *COMAdminCollectionApplications = "Applications";
  606. const wchar_t *COMAdminCollectionComponents = "Components";
  607. const wchar_t *COMAdminCollectionComputerList = "ComputerList";
  608. const wchar_t *COMAdminCollectionApplicationCluster = "ApplicationCluster";
  609. const wchar_t *COMAdminCollectionLocalComputer = "LocalComputer";
  610. const wchar_t *COMAdminCollectionInprocServers = "InprocServers";
  611. const wchar_t *COMAdminCollectionRelatedCollectionInfo = "RelatedCollectionInfo";
  612. const wchar_t *COMAdminCollectionPropertyInfo = "PropertyInfo";
  613. const wchar_t *COMAdminCollectionRoles = "Roles";
  614. const wchar_t *COMAdminCollectionErrorInfo = "ErrorInfo";
  615. const wchar_t *COMAdminCollectionInterfacesForComponent = "InterfacesForComponent";
  616. const wchar_t *COMAdminCollectionRolesForComponent = "RolesForComponent";
  617. const wchar_t *COMAdminCollectionMethodsForInterface = "MethodsForInterface";
  618. const wchar_t *COMAdminCollectionRolesForInterface = "RolesForInterface";
  619. const wchar_t *COMAdminCollectionRolesForMethod = "RolesForMethod";
  620. const wchar_t *COMAdminCollectionUsersInRole = "UsersInRole";
  621. const wchar_t *COMAdminCollectionDCOMProtocols = "DCOMProtocols";
  622. const wchar_t *COMAdminCollectionPartitions = "Partitions";
  623. // VB style error codes
  624. typedef[helpstring("Error codes (HRESULTS)")]
  625. enum COMAdminErrorCodes
  626. {
  627. [helpstring("Errors occurred accessing one or more objects - the ErrorInfo collection may have more detail")]
  628. COMAdminErrObjectErrors = COMADMIN_E_OBJECTERRORS,
  629. [helpstring("One or more of the object's properties are missing or invalid")]
  630. COMAdminErrObjectInvalid = COMADMIN_E_OBJECTINVALID,
  631. [helpstring("The object was not found in the catalog")]
  632. COMAdminErrKeyMissing = COMADMIN_E_KEYMISSING,
  633. [helpstring("The object is already registered")]
  634. COMAdminErrAlreadyInstalled = COMADMIN_E_ALREADYINSTALLED,
  635. [helpstring("Error occurred writing to the application file")]
  636. COMAdminErrAppFileWriteFail = COMADMIN_E_APP_FILE_WRITEFAIL,
  637. [helpstring("Error occurred reading the application file")]
  638. COMAdminErrAppFileReadFail = COMADMIN_E_APP_FILE_READFAIL,
  639. [helpstring("Invalid version number in application file")]
  640. COMAdminErrAppFileVersion = COMADMIN_E_APP_FILE_VERSION,
  641. [helpstring("The file path is invalid")]
  642. COMAdminErrBadPath = COMADMIN_E_BADPATH,
  643. [helpstring("The application is already installed")]
  644. COMAdminErrApplicationExists = COMADMIN_E_APPLICATIONEXISTS,
  645. [helpstring("The role already exists")]
  646. COMAdminErrRoleExists = COMADMIN_E_ROLEEXISTS,
  647. [helpstring("An error occurred copying the file")]
  648. COMAdminErrCantCopyFile = COMADMIN_E_CANTCOPYFILE,
  649. [helpstring("One or more users are not valid")]
  650. COMAdminErrNoUser = COMADMIN_E_NOUSER,
  651. [helpstring("One or more users in the application file are not valid")]
  652. COMAdminErrInvalidUserids = COMADMIN_E_INVALIDUSERIDS,
  653. [helpstring("The component's CLSID is missing or corrupt")]
  654. COMAdminErrNoRegistryCLSID = COMADMIN_E_NOREGISTRYCLSID,
  655. [helpstring("The component's progID is missing or corrupt")]
  656. COMAdminErrBadRegistryProgID = COMADMIN_E_BADREGISTRYPROGID,
  657. [helpstring("Unable to set required authentication level for update request")]
  658. COMAdminErrAuthenticationLevel = COMADMIN_E_AUTHENTICATIONLEVEL,
  659. [helpstring("The identity or password set on the application is not valid")]
  660. COMAdminErrUserPasswdNotValid = COMADMIN_E_USERPASSWDNOTVALID,
  661. [helpstring("Application file CLSIDs or IIDs do not match corresponding DLLs")]
  662. COMAdminErrCLSIDOrIIDMismatch = COMADMIN_E_CLSIDORIIDMISMATCH,
  663. [helpstring("Interface information is either missing or changed")]
  664. COMAdminErrRemoteInterface = COMADMIN_E_REMOTEINTERFACE,
  665. [helpstring("DllRegisterServer failed on component install")]
  666. COMAdminErrDllRegisterServer = COMADMIN_E_DLLREGISTERSERVER,
  667. [helpstring("No server file share available")]
  668. COMAdminErrNoServerShare = COMADMIN_E_NOSERVERSHARE,
  669. [helpstring("DLL could not be loaded")]
  670. COMAdminErrDllLoadFailed = COMADMIN_E_DLLLOADFAILED,
  671. [helpstring("The registered TypeLib ID is not valid")]
  672. COMAdminErrBadRegistryLibID = COMADMIN_E_BADREGISTRYLIBID,
  673. [helpstring("Application install directory not found")]
  674. COMAdminErrAppDirNotFound = COMADMIN_E_APPDIRNOTFOUND,
  675. [helpstring("Errors occurred while in the component registrar")]
  676. COMAdminErrRegistrarFailed = COMADMIN_E_REGISTRARFAILED,
  677. [helpstring("The file does not exist")]
  678. COMAdminErrCompFileDoesNotExist = COMADMIN_E_COMPFILE_DOESNOTEXIST,
  679. [helpstring("The DLL could not be loaded")]
  680. COMAdminErrCompFileLoadDLLFail = COMADMIN_E_COMPFILE_LOADDLLFAIL,
  681. [helpstring("GetClassObject failed in the DLL")]
  682. COMAdminErrCompFileGetClassObj = COMADMIN_E_COMPFILE_GETCLASSOBJ,
  683. [helpstring("The DLL does not support the components listed in the TypeLib")]
  684. COMAdminErrCompFileClassNotAvail = COMADMIN_E_COMPFILE_CLASSNOTAVAIL,
  685. [helpstring("The TypeLib could not be loaded")]
  686. COMAdminErrCompFileBadTLB = COMADMIN_E_COMPFILE_BADTLB,
  687. [helpstring("The file does not contain components or component information")]
  688. COMAdminErrCompFileNotInstallable = COMADMIN_E_COMPFILE_NOTINSTALLABLE,
  689. [helpstring("Changes to this object and its sub-objects have been disabled")]
  690. COMAdminErrNotChangeable = COMADMIN_E_NOTCHANGEABLE,
  691. [helpstring("The delete function has been disabled for this object")]
  692. COMAdminErrNotDeletable = COMADMIN_E_NOTDELETEABLE,
  693. [helpstring("The server catalog version is not supported")]
  694. COMAdminErrSession = COMADMIN_E_SESSION,
  695. [helpstring("The component move was disallowed, because the source or destination application is either a system application or currently locked against changes")]
  696. COMAdminErrCompMoveLocked = COMADMIN_E_COMP_MOVE_LOCKED,
  697. [helpstring("The component move failed because the destination package no longer exists")]
  698. COMAdminErrCompMoveBadDest = COMADMIN_E_COMP_MOVE_BAD_DEST,
  699. [helpstring("The system was unable to register the TypeLib")]
  700. COMAdminErrRegisterTLB = COMADMIN_E_REGISTERTLB,
  701. [helpstring("This operation can not be performed on the system application")]
  702. COMAdminErrSystemApp = COMADMIN_E_SYSTEMAPP,
  703. [helpstring("The component registrar referenced in this file is not available")]
  704. COMAdminErrCompFileNoRegistrar = COMADMIN_E_COMPFILE_NOREGISTRAR,
  705. [helpstring("A component in the same DLL is already installed")]
  706. COMAdminErrCoReqCompInstalled = COMADMIN_E_COREQCOMPINSTALLED,
  707. [helpstring("The service is not installed")]
  708. COMAdminErrServiceNotInstalled = COMADMIN_E_SERVICENOTINSTALLED,
  709. [helpstring("One or more property settings are either invalid or in conflict with each other")]
  710. COMAdminErrPropertySaveFailed = COMADMIN_E_PROPERTYSAVEFAILED,
  711. [helpstring("The object you are attempting to add or rename already exists")]
  712. COMAdminErrObjectExists = COMADMIN_E_OBJECTEXISTS,
  713. [helpstring("The component you are attempting to add or rename already exists")]
  714. COMAdminErrComponentExists = COMADMIN_E_COMPONENTEXISTS,
  715. [helpstring("The registration file is corrupt")]
  716. COMAdminErrRegFileCorrupt = COMADMIN_E_REGFILE_CORRUPT,
  717. [helpstring("The property value is too large")]
  718. COMAdminErrPropertyOverflow = COMADMIN_E_PROPERTY_OVERFLOW,
  719. [helpstring("Object was not found in registry")]
  720. COMAdminErrNotInRegistry = COMADMIN_E_NOTINREGISTRY,
  721. [helpstring("This object is not poolable")]
  722. COMAdminErrObjectNotPoolable = COMADMIN_E_OBJECTNOTPOOLABLE,
  723. [helpstring("A CLSID with the same GUID as the new application ID is already installed on this machine")]
  724. COMAdminErrApplidMatchesClsid = COMADMIN_E_APPLID_MATCHES_CLSID,
  725. [helpstring("A role assigned to a component, interface, or method did not exist in the application")]
  726. COMAdminErrRoleDoesNotExist = COMADMIN_E_ROLE_DOES_NOT_EXIST,
  727. [helpstring("You must have components in an application in order to start the application.")]
  728. COMAdminErrStartAppNeedsComponents = COMADMIN_E_START_APP_NEEDS_COMPONENTS,
  729. [helpstring("This operation is not enabled on this platform.")]
  730. COMAdminErrRequiresDifferentPlatform = COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM,
  731. [helpstring("The queuing service is not installed")]
  732. COMAdminErrQueuingServiceNotAvailable = COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE,
  733. [helpstring("One of the objects being inserted or updated does not belong to a valid parent collection")]
  734. COMAdminErrObjectParentMissing = COMADMIN_E_OBJECT_PARENT_MISSING,
  735. [helpstring("One of the objects being updated or worked on does not exist")]
  736. COMAdminErrObjectDoesNotExist = COMADMIN_E_OBJECT_DOES_NOT_EXIST,
  737. [helpstring("Application Proxy is not exportable")]
  738. COMAdminErrCanNotExportAppProxy = COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY,
  739. [helpstring("Failed to start application because it is either a library application or an application proxy")]
  740. COMAdminErrCanNotStartApp = COMADMIN_E_CAN_NOT_START_APP,
  741. [helpstring("System application is not exportable")]
  742. COMAdminErrCanNotExportSystemApp = COMADMIN_E_CAN_NOT_EXPORT_SYS_APP,
  743. [helpstring("Can not subscribe to this component (the component may have been imported)")]
  744. COMAdminErrCanNotSubscribeToComponent = COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT,
  745. [helpstring("The specified application is not currently running")]
  746. COMAdminErrAppNotRunning = COMADMIN_E_APP_NOT_RUNNING,
  747. [helpstring("An event class cannot also be a subscriber component")]
  748. COMAdminErrEventClassCannotBeSubscriber = COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER,
  749. [helpstring("Library applications and application proxies are incompatible")]
  750. COMAdminErrLibAppProxyIncompatible = COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE,
  751. [helpstring("This function is valid for the base partition only")]
  752. COMAdminErrBasePartitionOnly = COMADMIN_E_BASE_PARTITION_ONLY,
  753. [helpstring("The specified partition name is already in use on this computer")]
  754. COMAdminErrDuplicatePartitionName = COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME,
  755. [helpstring("The partition cannot be deleted because it is the default partition for one or more users")]
  756. COMAdminErrPartitionInUse = COMADMIN_E_CAT_PARTITION_IN_USE,
  757. [helpstring("Applications that contain one or more imported components cannot be installed into a partition")]
  758. COMAdminErrImportedComponentsNotAllowed = COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED,
  759. [helpstring("The COM+ registry database has not been initialized")]
  760. COMAdminErrRegdbNotInitialized = COMADMIN_E_REGDB_NOTINITIALIZED,
  761. [helpstring("The COM+ registry database is not open")]
  762. COMAdminErrRegdbNotOpen = COMADMIN_E_REGDB_NOTOPEN,
  763. [helpstring("The COM+ registry database detected a system error")]
  764. COMAdminErrRegdbSystemErr = COMADMIN_E_REGDB_SYSTEMERR,
  765. [helpstring("The COM+ registry database is already running")]
  766. COMAdminErrRegdbAlreadyRunning = COMADMIN_E_REGDB_ALREADYRUNNING,
  767. [helpstring("This version of the COM+ registry database cannot be migrated")]
  768. COMAdminErrMigVersionNotSupported = COMADMIN_E_MIG_VERSIONNOTSUPPORTED,
  769. [helpstring("The schema version to be migrated could not be found in the COM+ registry database")]
  770. COMAdminErrMigSchemaNotFound = COMADMIN_E_MIG_SCHEMANOTFOUND,
  771. [helpstring("There was a type mismatch between binaries")]
  772. COMAdminErrCatBitnessMismatch = COMADMIN_E_CAT_BITNESSMISMATCH,
  773. [helpstring("A binary of unknown or invalid type was provided")]
  774. COMAdminErrCatUnacceptableBitness = COMADMIN_E_CAT_UNACCEPTABLEBITNESS,
  775. [helpstring("There was a type mismatch between a binary and an application")]
  776. COMAdminErrCatWrongAppBitnessBitness = COMADMIN_E_CAT_WRONGAPPBITNESS,
  777. [helpstring("The application cannot be paused or resumed")]
  778. COMAdminErrCatPauseResumeNotSupported = COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED,
  779. [helpstring("The COM+ Catalog Server threw an exception during execution")]
  780. COMAdminErrCatServerFault = COMADMIN_E_CAT_SERVERFAULT,
  781. [helpstring("Library applications may not be recycled")]
  782. COMAdminErrCantRecycleLibraryApps = COMADMIN_E_CANTRECYCLELIBRARYAPPS,
  783. [helpstring("Applications running as NT services may not be recycled")]
  784. COMAdminErrCantRecycleServiceApps = COMADMIN_E_CANTRECYCLESERVICEAPPS,
  785. [helpstring("The process has already been recycled")]
  786. COMAdminErrProcessAlreadyRecycled = COMADMIN_E_PROCESSALREADYRECYCLED,
  787. [helpstring("A paused process may not be recycled")]
  788. COMAdminErrPausedProcessMayNotBeRecycled = COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED,
  789. [helpstring("The specified partition does not exist or access to it is denied")]
  790. COMAdminErrInvalidPartition = COMADMIN_E_INVALID_PARTITION,
  791. [helpstring("Only Application Files (*.MSI files) can be installed into partitions")]
  792. COMAdminErrPartitionMsiOnly = COMADMIN_E_PARTITION_MSI_ONLY,
  793. [helpstring("You cannot start an application that has been disabled")]
  794. COMAdminErrStartAppDisabled = COMADMIN_E_START_APP_DISABLED,
  795. [helpstring("A component cannot be moved (or copied) from the System Application, an application proxy or a non-changeable application")]
  796. COMAdminErrCompMoveSource = COMADMIN_E_COMP_MOVE_SOURCE,
  797. [helpstring("A component cannot be moved (or copied) to the System Application, an application proxy or a non-changeable application")]
  798. COMAdminErrCompMoveDest = COMADMIN_E_COMP_MOVE_DEST,
  799. [helpstring("A private component cannot be moved (or copied) to a library application or to the base partition")]
  800. COMAdminErrCompMovePrivate = COMADMIN_E_COMP_MOVE_PRIVATE,
  801. [helpstring("Event Class components cannot be aliased.")]
  802. COMAdminErrCannotCopyEventClass = COMADMIN_E_CANNOT_ALIAS_EVENTCLASS
  803. } COMAdminErrorCodes;
  804. }