source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/comadmin.idl@ 1186

Last change on this file since 1186 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 22.7 KB
RevLine 
[1166]1cpp_quote("/**")
2cpp_quote(" * This file is part of the mingw-w64 runtime package.")
3cpp_quote(" * No warranty is given; refer to the file DISCLAIMER within this package.")
4cpp_quote(" */")
5cpp_quote("")
6
7#include "winerror.h"
8import "unknwn.idl";
9import "oaidl.idl";
10
11cpp_quote("#include <winapifamily.h>")
12cpp_quote("")
13cpp_quote("#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)")
14cpp_quote("")
15cpp_quote("#include <objbase.h>")
16cpp_quote("")
17
18typedef enum COMAdminInUse {
19 COMAdminNotInUse = 0,
20 COMAdminInUseByCatalog = 1,
21 COMAdminInUseByRegistryUnknown = 2,
22 COMAdminInUseByRegistryProxyStub = 3,
23 COMAdminInUseByRegistryTypeLib = 4,
24 COMAdminInUseByRegistryClsid = 5
25} COMAdminInUse;
26
27typedef enum COMAdminErrorCodes {
28 COMAdminErrObjectErrors = COMADMIN_E_OBJECTERRORS,
29 COMAdminErrObjectInvalid = COMADMIN_E_OBJECTINVALID,
30 COMAdminErrKeyMissing = COMADMIN_E_KEYMISSING,
31 COMAdminErrAlreadyInstalled = COMADMIN_E_ALREADYINSTALLED,
32 COMAdminErrAppFileWriteFail = COMADMIN_E_APP_FILE_WRITEFAIL,
33 COMAdminErrAppFileReadFail = COMADMIN_E_APP_FILE_READFAIL,
34 COMAdminErrAppFileVersion = COMADMIN_E_APP_FILE_VERSION,
35 COMAdminErrBadPath = COMADMIN_E_BADPATH,
36 COMAdminErrApplicationExists = COMADMIN_E_APPLICATIONEXISTS,
37 COMAdminErrRoleExists = COMADMIN_E_ROLEEXISTS,
38 COMAdminErrCantCopyFile = COMADMIN_E_CANTCOPYFILE,
39 COMAdminErrNoUser = COMADMIN_E_NOUSER,
40 COMAdminErrInvalidUserids = COMADMIN_E_INVALIDUSERIDS,
41 COMAdminErrNoRegistryCLSID = COMADMIN_E_NOREGISTRYCLSID,
42 COMAdminErrBadRegistryProgID = COMADMIN_E_BADREGISTRYPROGID,
43 COMAdminErrAuthenticationLevel = COMADMIN_E_AUTHENTICATIONLEVEL,
44 COMAdminErrUserPasswdNotValid = COMADMIN_E_USERPASSWDNOTVALID,
45 COMAdminErrCLSIDOrIIDMismatch = COMADMIN_E_CLSIDORIIDMISMATCH,
46 COMAdminErrRemoteInterface = COMADMIN_E_REMOTEINTERFACE,
47 COMAdminErrDllRegisterServer = COMADMIN_E_DLLREGISTERSERVER,
48 COMAdminErrNoServerShare = COMADMIN_E_NOSERVERSHARE,
49 COMAdminErrDllLoadFailed = COMADMIN_E_DLLLOADFAILED,
50 COMAdminErrBadRegistryLibID = COMADMIN_E_BADREGISTRYLIBID,
51 COMAdminErrAppDirNotFound = COMADMIN_E_APPDIRNOTFOUND,
52 COMAdminErrRegistrarFailed = COMADMIN_E_REGISTRARFAILED,
53 COMAdminErrCompFileDoesNotExist = COMADMIN_E_COMPFILE_DOESNOTEXIST,
54 COMAdminErrCompFileLoadDLLFail = COMADMIN_E_COMPFILE_LOADDLLFAIL,
55 COMAdminErrCompFileGetClassObj = COMADMIN_E_COMPFILE_GETCLASSOBJ,
56 COMAdminErrCompFileClassNotAvail = COMADMIN_E_COMPFILE_CLASSNOTAVAIL,
57 COMAdminErrCompFileBadTLB = COMADMIN_E_COMPFILE_BADTLB,
58 COMAdminErrCompFileNotInstallable = COMADMIN_E_COMPFILE_NOTINSTALLABLE,
59 COMAdminErrNotChangeable = COMADMIN_E_NOTCHANGEABLE,
60 COMAdminErrNotDeletable = COMADMIN_E_NOTDELETEABLE,
61 COMAdminErrSession = COMADMIN_E_SESSION,
62 COMAdminErrCompMoveLocked = COMADMIN_E_COMP_MOVE_LOCKED,
63 COMAdminErrCompMoveBadDest = COMADMIN_E_COMP_MOVE_BAD_DEST,
64 COMAdminErrRegisterTLB = COMADMIN_E_REGISTERTLB,
65 COMAdminErrSystemApp = COMADMIN_E_SYSTEMAPP,
66 COMAdminErrCompFileNoRegistrar = COMADMIN_E_COMPFILE_NOREGISTRAR,
67 COMAdminErrCoReqCompInstalled = COMADMIN_E_COREQCOMPINSTALLED,
68 COMAdminErrServiceNotInstalled = COMADMIN_E_SERVICENOTINSTALLED,
69 COMAdminErrPropertySaveFailed = COMADMIN_E_PROPERTYSAVEFAILED,
70 COMAdminErrObjectExists = COMADMIN_E_OBJECTEXISTS,
71 COMAdminErrComponentExists = COMADMIN_E_COMPONENTEXISTS,
72 COMAdminErrRegFileCorrupt = COMADMIN_E_REGFILE_CORRUPT,
73 COMAdminErrPropertyOverflow = COMADMIN_E_PROPERTY_OVERFLOW,
74 COMAdminErrNotInRegistry = COMADMIN_E_NOTINREGISTRY,
75 COMAdminErrObjectNotPoolable = COMADMIN_E_OBJECTNOTPOOLABLE,
76 COMAdminErrApplidMatchesClsid = COMADMIN_E_APPLID_MATCHES_CLSID,
77 COMAdminErrRoleDoesNotExist = COMADMIN_E_ROLE_DOES_NOT_EXIST,
78 COMAdminErrStartAppNeedsComponents = COMADMIN_E_START_APP_NEEDS_COMPONENTS,
79 COMAdminErrRequiresDifferentPlatform = COMADMIN_E_REQUIRES_DIFFERENT_PLATFORM,
80 COMAdminErrQueuingServiceNotAvailable = COMQC_E_QUEUING_SERVICE_NOT_AVAILABLE,
81 COMAdminErrObjectParentMissing = COMADMIN_E_OBJECT_PARENT_MISSING,
82 COMAdminErrObjectDoesNotExist = COMADMIN_E_OBJECT_DOES_NOT_EXIST,
83 COMAdminErrCanNotExportAppProxy = COMADMIN_E_CAN_NOT_EXPORT_APP_PROXY,
84 COMAdminErrCanNotStartApp = COMADMIN_E_CAN_NOT_START_APP,
85 COMAdminErrCanNotExportSystemApp = COMADMIN_E_CAN_NOT_EXPORT_SYS_APP,
86 COMAdminErrCanNotSubscribeToComponent = COMADMIN_E_CANT_SUBSCRIBE_TO_COMPONENT,
87 COMAdminErrAppNotRunning = COMADMIN_E_APP_NOT_RUNNING,
88 COMAdminErrEventClassCannotBeSubscriber = COMADMIN_E_EVENTCLASS_CANT_BE_SUBSCRIBER,
89 COMAdminErrLibAppProxyIncompatible = COMADMIN_E_LIB_APP_PROXY_INCOMPATIBLE,
90 COMAdminErrBasePartitionOnly = COMADMIN_E_BASE_PARTITION_ONLY,
91 COMAdminErrDuplicatePartitionName = COMADMIN_E_CAT_DUPLICATE_PARTITION_NAME,
92 COMAdminErrPartitionInUse = COMADMIN_E_CAT_PARTITION_IN_USE,
93 COMAdminErrImportedComponentsNotAllowed = COMADMIN_E_CAT_IMPORTED_COMPONENTS_NOT_ALLOWED,
94 COMAdminErrRegdbNotInitialized = COMADMIN_E_REGDB_NOTINITIALIZED,
95 COMAdminErrRegdbNotOpen = COMADMIN_E_REGDB_NOTOPEN,
96 COMAdminErrRegdbSystemErr = COMADMIN_E_REGDB_SYSTEMERR,
97 COMAdminErrRegdbAlreadyRunning = COMADMIN_E_REGDB_ALREADYRUNNING,
98 COMAdminErrMigVersionNotSupported = COMADMIN_E_MIG_VERSIONNOTSUPPORTED,
99 COMAdminErrMigSchemaNotFound = COMADMIN_E_MIG_SCHEMANOTFOUND,
100 COMAdminErrCatBitnessMismatch = COMADMIN_E_CAT_BITNESSMISMATCH,
101 COMAdminErrCatUnacceptableBitness = COMADMIN_E_CAT_UNACCEPTABLEBITNESS,
102 COMAdminErrCatWrongAppBitnessBitness = COMADMIN_E_CAT_WRONGAPPBITNESS,
103 COMAdminErrCatPauseResumeNotSupported = COMADMIN_E_CAT_PAUSE_RESUME_NOT_SUPPORTED,
104 COMAdminErrCatServerFault = COMADMIN_E_CAT_SERVERFAULT,
105 COMAdminErrCantRecycleLibraryApps = COMADMIN_E_CANTRECYCLELIBRARYAPPS,
106 COMAdminErrCantRecycleServiceApps = COMADMIN_E_CANTRECYCLESERVICEAPPS,
107 COMAdminErrProcessAlreadyRecycled = COMADMIN_E_PROCESSALREADYRECYCLED,
108 COMAdminErrPausedProcessMayNotBeRecycled = COMADMIN_E_PAUSEDPROCESSMAYNOTBERECYCLED,
109 COMAdminErrInvalidPartition = COMADMIN_E_INVALID_PARTITION,
110 COMAdminErrPartitionMsiOnly = COMADMIN_E_PARTITION_MSI_ONLY,
111 COMAdminErrStartAppDisabled = COMADMIN_E_START_APP_DISABLED,
112 COMAdminErrCompMoveSource = COMADMIN_E_COMP_MOVE_SOURCE,
113 COMAdminErrCompMoveDest = COMADMIN_E_COMP_MOVE_DEST,
114 COMAdminErrCompMovePrivate = COMADMIN_E_COMP_MOVE_PRIVATE,
115 COMAdminErrCannotCopyEventClass = COMADMIN_E_CANNOT_ALIAS_EVENTCLASS
116} COMAdminErrorCodes;
117
118typedef enum COMAdminComponentType {
119 COMAdmin32BitComponent = 0x1,
120 COMAdmin64BitComponent = 0x2
121} COMAdminComponentType;
122
123typedef enum COMAdminApplicationInstallOptions {
124 COMAdminInstallNoUsers = 0,
125 COMAdminInstallUsers = 1,
126 COMAdminInstallForceOverwriteOfFiles = 2
127} COMAdminApplicationInstallOptions;
128
129typedef enum COMAdminApplicationExportOptions {
130 COMAdminExportNoUsers = 0x0,
131 COMAdminExportUsers = 0x1,
132 COMAdminExportApplicationProxy = 0x2,
133 COMAdminExportForceOverwriteOfFiles = 0x4,
134 COMAdminExportIn10Format = 0x10
135} COMAdminApplicationExportOptions;
136
137typedef enum COMAdminThreadingModels {
138 COMAdminThreadingModelApartment = 0,
139 COMAdminThreadingModelFree = 1,
140 COMAdminThreadingModelMain = 2,
141 COMAdminThreadingModelBoth = 3,
142 COMAdminThreadingModelNeutral = 4,
143 COMAdminThreadingModelNotSpecified = 5
144} COMAdminThreadingModels;
145
146typedef enum COMAdminTransactionOptions {
147 COMAdminTransactionIgnored = 0,
148 COMAdminTransactionNone = 1,
149 COMAdminTransactionSupported = 2,
150 COMAdminTransactionRequired = 3,
151 COMAdminTransactionRequiresNew = 4,
152} COMAdminTransactionOptions;
153
154typedef enum COMAdminTxIsolationLevelOptions {
155 COMAdminTxIsolationLevelAny = 0,
156 COMAdminTxIsolationLevelReadUnCommitted,
157 COMAdminTxIsolationLevelReadCommitted,
158 COMAdminTxIsolationLevelRepeatableRead,
159 COMAdminTxIsolationLevelSerializable,
160} COMAdminTxIsolationLevelOptions;
161
162typedef enum COMAdminSynchronizationOptions {
163 COMAdminSynchronizationIgnored = 0,
164 COMAdminSynchronizationNone = 1,
165 COMAdminSynchronizationSupported = 2,
166 COMAdminSynchronizationRequired = 3,
167 COMAdminSynchronizationRequiresNew = 4
168} COMAdminSynchronizationOptions;
169
170typedef enum COMAdminActivationOptions {
171 COMAdminActivationInproc = 0,
172 COMAdminActivationLocal = 1
173} COMAdminActivationOptions;
174
175typedef enum COMAdminAccessChecksLevelOptions {
176 COMAdminAccessChecksApplicationLevel = 0,
177 COMAdminAccessChecksApplicationComponentLevel = 1
178} COMAdminAccessChecksLevelOptions;
179
180typedef enum COMAdminAuthenticationLevelOptions {
181 COMAdminAuthenticationDefault = 0,
182 COMAdminAuthenticationNone = 1,
183 COMAdminAuthenticationConnect = 2,
184 COMAdminAuthenticationCall = 3,
185 COMAdminAuthenticationPacket = 4,
186 COMAdminAuthenticationIntegrity = 5,
187 COMAdminAuthenticationPrivacy = 6
188} COMAdminAuthenticationLevelOptions;
189
190typedef enum COMAdminImpersonationLevelOptions {
191 COMAdminImpersonationAnonymous = 1,
192 COMAdminImpersonationIdentify = 2,
193 COMAdminImpersonationImpersonate = 3,
194 COMAdminImpersonationDelegate = 4
195} COMAdminImpersonationLevelOptions;
196
197typedef enum COMAdminAuthenticationCapabilitiesOptions {
198 COMAdminAuthenticationCapabilitiesNone = 0x0,
199 COMAdminAuthenticationCapabilitiesSecureReference = 0x2,
200 COMAdminAuthenticationCapabilitiesStaticCloaking = 0x20,
201 COMAdminAuthenticationCapabilitiesDynamicCloaking = 0x40
202} COMAdminAuthenticationCapabilitiesOptions;
203
204typedef enum COMAdminOS {
205 COMAdminOSNotInitialized = 0,
206 COMAdminOSWindows3_1 = 1,
207 COMAdminOSWindows9x = 2,
208 COMAdminOSWindows2000 = 3,
209 COMAdminOSWindows2000AdvancedServer = 4,
210 COMAdminOSWindows2000Unknown = 5,
211 COMAdminOSUnknown = 6,
212 COMAdminOSWindowsXPPersonal = 11,
213 COMAdminOSWindowsXPProfessional = 12,
214 COMAdminOSWindowsNETStandardServer = 13,
215 COMAdminOSWindowsNETEnterpriseServer = 14,
216 COMAdminOSWindowsNETDatacenterServer = 15,
217 COMAdminOSWindowsNETWebServer = 16,
218 COMAdminOSWindowsLonghornPersonal = 17,
219 COMAdminOSWindowsLonghornProfessional = 18,
220 COMAdminOSWindowsLonghornStandardServer = 19,
221 COMAdminOSWindowsLonghornEnterpriseServer = 20,
222 COMAdminOSWindowsLonghornDatacenterServer = 21,
223 COMAdminOSWindowsLonghornWebServer = 22,
224 COMAdminOSWindows7Personal = 23,
225 COMAdminOSWindows7Professional = 24,
226 COMAdminOSWindows7StandardServer = 25,
227 COMAdminOSWindows7EnterpriseServer = 26,
228 COMAdminOSWindows7DatacenterServer = 27,
229 COMAdminOSWindows7WebServer = 28,
230 COMAdminOSWindows8Personal = 29,
231 COMAdminOSWindows8Professional = 30,
232 COMAdminOSWindows8StandardServer = 31,
233 COMAdminOSWindows8EnterpriseServer = 32,
234 COMAdminOSWindows8DatacenterServer = 33,
235 COMAdminOSWindows8WebServer = 34
236} COMAdminOS;
237
238typedef enum COMAdminServiceOptions {
239 COMAdminServiceLoadBalanceRouter = 1
240} COMAdminServiceOptions;
241
242typedef enum COMAdminServiceStatusOptions {
243 COMAdminServiceStopped = 0,
244 COMAdminServiceStartPending,
245 COMAdminServiceStopPending,
246 COMAdminServiceRunning,
247 COMAdminServiceContinuePending,
248 COMAdminServicePausePending,
249 COMAdminServicePaused,
250 COMAdminServiceUnknownState
251} COMAdminServiceStatusOptions;
252
253typedef enum COMAdminComponentFlags {
254 COMAdminCompFlagTypeInfoFound = 0x1,
255 COMAdminCompFlagCOMPlusPropertiesFound = 0x2,
256 COMAdminCompFlagProxyFound = 0x4,
257 COMAdminCompFlagInterfacesFound = 0x8,
258 COMAdminCompFlagAlreadyInstalled = 0x10,
259 COMAdminCompFlagNotInApplication = 0x20
260} COMAdminComponentFlags;
261
262typedef enum COMAdminQCMessageAuthenticateOptions {
263 COMAdminQCMessageAuthenticateSecureApps = 0,
264 COMAdminQCMessageAuthenticateOff = 1,
265 COMAdminQCMessageAuthenticateOn = 2
266} COMAdminQCMessageAuthenticateOptions;
267
268typedef enum COMAdminFileFlags {
269 COMAdminFileFlagLoadable = 0x1,
270 COMAdminFileFlagCOM = 0x2,
271 COMAdminFileFlagContainsPS = 0x4,
272 COMAdminFileFlagContainsComp = 0x8,
273 COMAdminFileFlagContainsTLB = 0x10,
274 COMAdminFileFlagSelfReg = 0x20,
275 COMAdminFileFlagSelfUnReg = 0x40,
276 COMAdminFileFlagUnloadableDLL = 0x80,
277 COMAdminFileFlagDoesNotExist = 0x100,
278 COMAdminFileFlagAlreadyInstalled = 0x200,
279 COMAdminFileFlagBadTLB = 0x400,
280 COMAdminFileFlagGetClassObjFailed = 0x800,
281 COMAdminFileFlagClassNotAvailable = 0x1000,
282 COMAdminFileFlagRegistrar = 0x2000,
283 COMAdminFileFlagNoRegistrar = 0x4000,
284 COMAdminFileFlagDLLRegsvrFailed = 0x8000,
285 COMAdminFileFlagRegTLBFailed = 0x10000,
286 COMAdminFileFlagRegistrarFailed = 0x20000,
287 COMAdminFileFlagError = 0x40000
288} COMAdminFileFlags;
289
290[object, uuid (DD662187-DFC2-11d1-a2cf-00805fc79235), dual, pointer_default (unique)]
291interface ICOMAdminCatalog : IDispatch {
292 [id (1)] HRESULT GetCollection ([in] BSTR bstrCollName,[out, retval] IDispatch **ppCatalogCollection);
293 [id (2)] HRESULT Connect ([in] BSTR bstrCatalogServerName,[out, retval] IDispatch **ppCatalogCollection);
294 [propget, id (3)] HRESULT MajorVersion ([out, retval] long *plMajorVersion);
295 [propget, id (4)] HRESULT MinorVersion ([out, retval] long *plMinorVersion);
296 [id (5)] HRESULT GetCollectionByQuery ([in] BSTR bstrCollName,[in] SAFEARRAY (VARIANT) *ppsaVarQuery,[out, retval] IDispatch **ppCatalogCollection);
297 [id (6)] HRESULT ImportComponent ([in] BSTR bstrApplIDOrName,[in] BSTR bstrCLSIDOrProgID);
298 [id (7)] HRESULT InstallComponent ([in] BSTR bstrApplIDOrName,[in] BSTR bstrDLL,[in] BSTR bstrTLB,[in] BSTR bstrPSDLL);
299 [id (8)] HRESULT ShutdownApplication ([in] BSTR bstrApplIDOrName);
300 [id (9)] HRESULT ExportApplication ([in] BSTR bstrApplIDOrName,[in] BSTR bstrApplicationFile,[in] long lOptions);
301 [id (10)] HRESULT InstallApplication ([in] BSTR bstrApplicationFile,[in, optional] BSTR bstrDestinationDirectory,[in, optional] long lOptions,[in, optional] BSTR bstrUserId,[in, optional] BSTR bstrPassword,[in, optional] BSTR bstrRSN);
302 [id (11)] HRESULT StopRouter ();
303 [id (12)] HRESULT RefreshRouter ();
304 [id (13)] HRESULT StartRouter ();
305 [id (14)] HRESULT Reserved1 ();
306 [id (15)] HRESULT Reserved2 ();
307 [id (16)] HRESULT InstallMultipleComponents ([in] BSTR bstrApplIDOrName,[in] SAFEARRAY (VARIANT) *ppsaVarFileNames,[in] SAFEARRAY (VARIANT) *ppsaVarCLSIDs);
308 [id (17)] HRESULT GetMultipleComponentsInfo ([in] BSTR bstrApplIdOrName,[in] SAFEARRAY (VARIANT) *ppsaVarFileNames,[out] SAFEARRAY (VARIANT) *ppsaVarCLSIDs,[out] SAFEARRAY (VARIANT) *ppsaVarClassNames,[out] SAFEARRAY (VARIANT) *ppsaVarFileFlags,[out] SAFEARRAY (VARIANT) *ppsaVarComponentFlags);
309 [id (18)] HRESULT RefreshComponents ();
310 [id (19)] HRESULT BackupREGDB ([in] BSTR bstrBackupFilePath);
311 [id (20)] HRESULT RestoreREGDB ([in] BSTR bstrBackupFilePath);
312 [id (21)] HRESULT QueryApplicationFile ([in] BSTR bstrApplicationFile,[out] BSTR *pbstrApplicationName,[out] BSTR *pbstrApplicationDescription,[out] VARIANT_BOOL *pbHasUsers,[out] VARIANT_BOOL *pbIsProxy,[out] SAFEARRAY (VARIANT) *ppsaVarFileNames);
313 [id (22)] HRESULT StartApplication ([in] BSTR bstrApplIdOrName);
314 [id (23)] HRESULT ServiceCheck ([in] long lService,[out, retval] long *plStatus);
315 [id (24)] HRESULT InstallMultipleEventClasses ([in] BSTR bstrApplIdOrName,[in] SAFEARRAY (VARIANT) *ppsaVarFileNames,[in] SAFEARRAY (VARIANT) *ppsaVarCLSIDS);
316 [id (25)] HRESULT InstallEventClass ([in] BSTR bstrApplIdOrName,[in] BSTR bstrDLL,[in] BSTR bstrTLB,[in] BSTR bstrPSDLL);
317 [id (26)] HRESULT GetEventClassesForIID ([in] BSTR bstrIID,[out] SAFEARRAY (VARIANT) *ppsaVarCLSIDs,[out] SAFEARRAY (VARIANT) *ppsaVarProgIDs,[out] SAFEARRAY (VARIANT) *ppsaVarDescriptions);
318}
319
320[object, uuid (790c6e0b-9194-4cc9-9426-A48A63185696), dual, pointer_default (unique)]
321interface ICOMAdminCatalog2 : ICOMAdminCatalog {
322 [id (27)] HRESULT GetCollectionByQuery2 ([in] BSTR bstrCollectionName,[in] VARIANT *pVarQueryStrings,[out, retval] IDispatch **ppCatalogCollection);
323 [id (28)] HRESULT GetApplicationInstanceIDFromProcessID ([in] long lProcessID,[out, retval] BSTR *pbstrApplicationInstanceID);
324 [id (29)] HRESULT ShutdownApplicationInstances ([in] VARIANT *pVarApplicationInstanceID);
325 [id (30)] HRESULT PauseApplicationInstances ([in] VARIANT *pVarApplicationInstanceID);
326 [id (31)] HRESULT ResumeApplicationInstances ([in] VARIANT *pVarApplicationInstanceID);
327 [id (32)] HRESULT RecycleApplicationInstances ([in] VARIANT *pVarApplicationInstanceID,[in] long lReasonCode);
328 [id (33)] HRESULT AreApplicationInstancesPaused ([in] VARIANT *pVarApplicationInstanceID,[out, retval] VARIANT_BOOL *pVarBoolPaused);
329 [id (34)] HRESULT DumpApplicationInstance ([in] BSTR bstrApplicationInstanceID,[in] BSTR bstrDirectory,[in] long lMaxImages,[out, retval] BSTR *pbstrDumpFile);
330 [propget, id (35)] HRESULT IsApplicationInstanceDumpSupported ([out, retval] VARIANT_BOOL *pVarBoolDumpSupported);
331 [id (36)] HRESULT CreateServiceForApplication ([in] BSTR bstrApplicationIDOrName,[in] BSTR bstrServiceName,[in] BSTR bstrStartType,[in] BSTR bstrErrorControl,[in] BSTR bstrDependencies,[in] BSTR bstrRunAs,[in] BSTR bstrPassword,[in] VARIANT_BOOL bDesktopOk);
332 [id (37)] HRESULT DeleteServiceForApplication ([in] BSTR bstrApplicationIDOrName);
333 [id (38)] HRESULT GetPartitionID ([in] BSTR bstrApplicationIDOrName,[out, retval] BSTR *pbstrPartitionID);
334 [id (39)] HRESULT GetPartitionName ([in] BSTR bstrApplicationIDOrName,[out, retval] BSTR *pbstrPartitionName);
335 [propput, id (40)] HRESULT CurrentPartition ([in] BSTR bstrPartitionIDOrName);
336 [propget, id (41)] HRESULT CurrentPartitionID ([out, retval] BSTR *pbstrPartitionID);
337 [propget, id (42)] HRESULT CurrentPartitionName ([out, retval] BSTR *pbstrPartitionName);
338 [propget, id (43)] HRESULT GlobalPartitionID ([out, retval] BSTR *pbstrGlobalPartitionID);
339 [id (44)] HRESULT FlushPartitionCache ();
340 [id (45)] HRESULT CopyApplications ([in] BSTR bstrSourcePartitionIDOrName,[in] VARIANT *pVarApplicationID,[in] BSTR bstrDestinationPartitionIDOrName);
341 [id (46)] HRESULT CopyComponents ([in] BSTR bstrSourceApplicationIDOrName,[in] VARIANT *pVarCLSIDOrProgID,[in] BSTR bstrDestinationApplicationIDOrName);
342 [id (47)] HRESULT MoveComponents ([in] BSTR bstrSourceApplicationIDOrName,[in] VARIANT *pVarCLSIDOrProgID,[in] BSTR bstrDestinationApplicationIDOrName);
343 [id (48)] HRESULT AliasComponent ([in] BSTR bstrSrcApplicationIDOrName,[in] BSTR bstrCLSIDOrProgID,[in] BSTR bstrDestApplicationIDOrName,[in] BSTR bstrNewProgId,[in] BSTR bstrNewClsid);
344 [id (49)] HRESULT IsSafeToDelete ([in] BSTR bstrDllName,[out, retval] COMAdminInUse *pCOMAdminInUse);
345 [id (50)] HRESULT ImportUnconfiguredComponents ([in] BSTR bstrApplicationIDOrName,[in] VARIANT *pVarCLSIDOrProgID,[in, optional] VARIANT *pVarComponentType);
346 [id (51)] HRESULT PromoteUnconfiguredComponents ([in] BSTR bstrApplicationIDOrName,[in] VARIANT *pVarCLSIDOrProgID,[in, optional] VARIANT *pVarComponentType);
347 [id (52)] HRESULT ImportComponents ([in] BSTR bstrApplicationIDOrName,[in] VARIANT *pVarCLSIDOrProgID,[in, optional] VARIANT *pVarComponentType);
348 [propget, id (53)] HRESULT Is64BitCatalogServer ([out, retval] VARIANT_BOOL *pbIs64Bit);
349 [id (54)] HRESULT ExportPartition ([in] BSTR bstrPartitionIDOrName,[in] BSTR bstrPartitionFileName,[in] long lOptions);
350 [id (55)] HRESULT InstallPartition ([in] BSTR bstrFileName,[in] BSTR bstrDestDirectory,[in] long lOptions,[in] BSTR bstrUserID,[in] BSTR bstrPassword,[in] BSTR bstrRSN);
351 [id (56)] HRESULT QueryApplicationFile2 ([in] BSTR bstrApplicationFile,[out, retval] IDispatch **ppFilesForImport);
352 [id (57)] HRESULT GetComponentVersionCount ([in] BSTR bstrCLSIDOrProgID,[out, retval] long *plVersionCount);
353}
354
355[object, uuid (6eb22871-8a19-11d0-81b6-00a0c9231c29), dual, pointer_default (unique)]
356interface ICatalogObject : IDispatch {
357 [propget, id (1)] HRESULT Value ([in] BSTR bstrPropName,[out, retval] VARIANT *pvarRetVal);
358 [propput, id (1)] HRESULT Value ([in] BSTR bstrPropName,[in] VARIANT val);
359 [propget, id (2)] HRESULT Key ([out, retval] VARIANT *pvarRetVal);
360 [propget, id (3)] HRESULT Name ([out, retval] VARIANT *pvarRetVal);
361 [id (4)] HRESULT IsPropertyReadOnly ([in] BSTR bstrPropName,[out, retval] VARIANT_BOOL *pbRetVal);
362 [propget, id (5)] HRESULT Valid ([out, retval] VARIANT_BOOL *pbRetVal);
363 [id (6)] HRESULT IsPropertyWriteOnly ([in] BSTR bstrPropName,[out, retval] VARIANT_BOOL *pbRetVal);
364}
365
366[object, uuid (6eb22872-8a19-11d0-81b6-00a0c9231c29), dual, pointer_default (unique)]
367interface ICatalogCollection : IDispatch {
368 [propget, restricted, id (DISPID_NEWENUM)] HRESULT _NewEnum ([out, retval] IUnknown **ppEnumVariant);
369 [propget, id (1)] HRESULT Item ([in] long lIndex,[out, retval] IDispatch **ppCatalogObject);
370 [propget] HRESULT Count ([out, retval] long *plObjectCount);
371 HRESULT Remove ([in] long lIndex);
372 HRESULT Add ([out, retval] IDispatch **ppCatalogObject);
373 [id (2)] HRESULT Populate ();
374 [id (3)] HRESULT SaveChanges ([out, retval] long *pcChanges);
375 [id (4)] HRESULT GetCollection ([in] BSTR bstrCollName,[in] VARIANT varObjectKey,[out, retval] IDispatch **ppCatalogCollection);
376 [propget, id (6)] HRESULT Name ([out, retval] VARIANT *pVarNamel);
377 [propget, id (7)] HRESULT AddEnabled ([out, retval] VARIANT_BOOL *pVarBool);
378 [propget, id (8)] HRESULT RemoveEnabled ([out, retval] VARIANT_BOOL *pVarBool);
379 [id (9)] HRESULT GetUtilInterface ([out, retval] IDispatch **ppIDispatch);
380 [propget, id (10)] HRESULT DataStoreMajorVersion ([out, retval] long *plMajorVersion);
381 [propget, id (11)] HRESULT DataStoreMinorVersion ([out, retval] long *plMinorVersionl);
382 [id (12)] HRESULT PopulateByKey ([in] SAFEARRAY (VARIANT) psaKeys);
383 [id (13)] HRESULT PopulateByQuery ([in] BSTR bstrQueryString,[in] long lQueryType);
384}
385
386[uuid (f618c513-dfb8-11d1-a2cf-00805fc79235), version (1.0)]
387library COMAdmin {
388 importlib ("stdole32.tlb");
389
390 [uuid (f618c514-dfb8-11d1-a2cf-00805fc79235)]
391 coclass COMAdminCatalog {
392 [default] interface ICOMAdminCatalog2;
393 }
394
395 [noncreatable, uuid (f618c515-dfb8-11d1-a2cf-00805fc79235)]
396 coclass COMAdminCatalogObject {
397 [default] interface ICatalogObject;
398 }
399
400 [noncreatable, uuid (f618c516-dfb8-11d1-a2cf-00805fc79235)]
401 coclass COMAdminCatalogCollection {
402 [default] interface ICatalogCollection;
403 }
404
405 const wchar_t *COMAdminCollectionRoot = "Root";
406 const wchar_t *COMAdminCollectionApplications = "Applications";
407 const wchar_t *COMAdminCollectionComponents = "Components";
408 const wchar_t *COMAdminCollectionComputerList = "ComputerList";
409 const wchar_t *COMAdminCollectionApplicationCluster = "ApplicationCluster";
410 const wchar_t *COMAdminCollectionLocalComputer = "LocalComputer";
411 const wchar_t *COMAdminCollectionInprocServers = "InprocServers";
412 const wchar_t *COMAdminCollectionRelatedCollectionInfo = "RelatedCollectionInfo";
413 const wchar_t *COMAdminCollectionPropertyInfo = "PropertyInfo";
414 const wchar_t *COMAdminCollectionRoles = "Roles";
415 const wchar_t *COMAdminCollectionErrorInfo = "ErrorInfo";
416 const wchar_t *COMAdminCollectionInterfacesForComponent = "InterfacesForComponent";
417 const wchar_t *COMAdminCollectionRolesForComponent = "RolesForComponent";
418 const wchar_t *COMAdminCollectionMethodsForInterface = "MethodsForInterface";
419 const wchar_t *COMAdminCollectionRolesForInterface = "RolesForInterface";
420 const wchar_t *COMAdminCollectionRolesForMethod = "RolesForMethod";
421 const wchar_t *COMAdminCollectionUsersInRole = "UsersInRole";
422 const wchar_t *COMAdminCollectionDCOMProtocols = "DCOMProtocols";
423 const wchar_t *COMAdminCollectionPartitions = "Partitions";
424
425}
426
427cpp_quote("#endif")
Note: See TracBrowser for help on using the repository browser.