comadmin.h 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196
  1. /*** Autogenerated by WIDL 7.7 from include/comadmin.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __comadmin_h__
  14. #define __comadmin_h__
  15. /* Forward declarations */
  16. #ifndef __ICOMAdminCatalog_FWD_DEFINED__
  17. #define __ICOMAdminCatalog_FWD_DEFINED__
  18. typedef interface ICOMAdminCatalog ICOMAdminCatalog;
  19. #ifdef __cplusplus
  20. interface ICOMAdminCatalog;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __ICOMAdminCatalog2_FWD_DEFINED__
  24. #define __ICOMAdminCatalog2_FWD_DEFINED__
  25. typedef interface ICOMAdminCatalog2 ICOMAdminCatalog2;
  26. #ifdef __cplusplus
  27. interface ICOMAdminCatalog2;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __ICatalogObject_FWD_DEFINED__
  31. #define __ICatalogObject_FWD_DEFINED__
  32. typedef interface ICatalogObject ICatalogObject;
  33. #ifdef __cplusplus
  34. interface ICatalogObject;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __ICatalogCollection_FWD_DEFINED__
  38. #define __ICatalogCollection_FWD_DEFINED__
  39. typedef interface ICatalogCollection ICatalogCollection;
  40. #ifdef __cplusplus
  41. interface ICatalogCollection;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __COMAdminCatalog_FWD_DEFINED__
  45. #define __COMAdminCatalog_FWD_DEFINED__
  46. #ifdef __cplusplus
  47. typedef class COMAdminCatalog COMAdminCatalog;
  48. #else
  49. typedef struct COMAdminCatalog COMAdminCatalog;
  50. #endif /* defined __cplusplus */
  51. #endif /* defined __COMAdminCatalog_FWD_DEFINED__ */
  52. #ifndef __COMAdminCatalogObject_FWD_DEFINED__
  53. #define __COMAdminCatalogObject_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class COMAdminCatalogObject COMAdminCatalogObject;
  56. #else
  57. typedef struct COMAdminCatalogObject COMAdminCatalogObject;
  58. #endif /* defined __cplusplus */
  59. #endif /* defined __COMAdminCatalogObject_FWD_DEFINED__ */
  60. #ifndef __COMAdminCatalogCollection_FWD_DEFINED__
  61. #define __COMAdminCatalogCollection_FWD_DEFINED__
  62. #ifdef __cplusplus
  63. typedef class COMAdminCatalogCollection COMAdminCatalogCollection;
  64. #else
  65. typedef struct COMAdminCatalogCollection COMAdminCatalogCollection;
  66. #endif /* defined __cplusplus */
  67. #endif /* defined __COMAdminCatalogCollection_FWD_DEFINED__ */
  68. /* Headers for imported files */
  69. #include <unknwn.h>
  70. #include <oaidl.h>
  71. #ifdef __cplusplus
  72. extern "C" {
  73. #endif
  74. /**
  75. * This file is part of the mingw-w64 runtime package.
  76. * No warranty is given; refer to the file DISCLAIMER within this package.
  77. */
  78. #include <winapifamily.h>
  79. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  80. #include <objbase.h>
  81. typedef enum COMAdminInUse {
  82. COMAdminNotInUse = 0,
  83. COMAdminInUseByCatalog = 1,
  84. COMAdminInUseByRegistryUnknown = 2,
  85. COMAdminInUseByRegistryProxyStub = 3,
  86. COMAdminInUseByRegistryTypeLib = 4,
  87. COMAdminInUseByRegistryClsid = 5
  88. } COMAdminInUse;
  89. typedef enum COMAdminErrorCodes {
  90. COMAdminErrObjectErrors = 0x80110401,
  91. COMAdminErrObjectInvalid = 0x80110402,
  92. COMAdminErrKeyMissing = 0x80110403,
  93. COMAdminErrAlreadyInstalled = 0x80110404,
  94. COMAdminErrAppFileWriteFail = 0x80110407,
  95. COMAdminErrAppFileReadFail = 0x80110408,
  96. COMAdminErrAppFileVersion = 0x80110409,
  97. COMAdminErrBadPath = 0x8011040a,
  98. COMAdminErrApplicationExists = 0x8011040b,
  99. COMAdminErrRoleExists = 0x8011040c,
  100. COMAdminErrCantCopyFile = 0x8011040d,
  101. COMAdminErrNoUser = 0x8011040f,
  102. COMAdminErrInvalidUserids = 0x80110410,
  103. COMAdminErrNoRegistryCLSID = 0x80110411,
  104. COMAdminErrBadRegistryProgID = 0x80110412,
  105. COMAdminErrAuthenticationLevel = 0x80110413,
  106. COMAdminErrUserPasswdNotValid = 0x80110414,
  107. COMAdminErrCLSIDOrIIDMismatch = 0x80110418,
  108. COMAdminErrRemoteInterface = 0x80110419,
  109. COMAdminErrDllRegisterServer = 0x8011041a,
  110. COMAdminErrNoServerShare = 0x8011041b,
  111. COMAdminErrDllLoadFailed = 0x8011041d,
  112. COMAdminErrBadRegistryLibID = 0x8011041e,
  113. COMAdminErrAppDirNotFound = 0x8011041f,
  114. COMAdminErrRegistrarFailed = 0x80110423,
  115. COMAdminErrCompFileDoesNotExist = 0x80110424,
  116. COMAdminErrCompFileLoadDLLFail = 0x80110425,
  117. COMAdminErrCompFileGetClassObj = 0x80110426,
  118. COMAdminErrCompFileClassNotAvail = 0x80110427,
  119. COMAdminErrCompFileBadTLB = 0x80110428,
  120. COMAdminErrCompFileNotInstallable = 0x80110429,
  121. COMAdminErrNotChangeable = 0x8011042a,
  122. COMAdminErrNotDeletable = 0x8011042b,
  123. COMAdminErrSession = 0x8011042c,
  124. COMAdminErrCompMoveLocked = 0x8011042d,
  125. COMAdminErrCompMoveBadDest = 0x8011042e,
  126. COMAdminErrRegisterTLB = 0x80110430,
  127. COMAdminErrSystemApp = 0x80110433,
  128. COMAdminErrCompFileNoRegistrar = 0x80110434,
  129. COMAdminErrCoReqCompInstalled = 0x80110435,
  130. COMAdminErrServiceNotInstalled = 0x80110436,
  131. COMAdminErrPropertySaveFailed = 0x80110437,
  132. COMAdminErrObjectExists = 0x80110438,
  133. COMAdminErrComponentExists = 0x80110439,
  134. COMAdminErrRegFileCorrupt = 0x8011043b,
  135. COMAdminErrPropertyOverflow = 0x8011043c,
  136. COMAdminErrNotInRegistry = 0x8011043e,
  137. COMAdminErrObjectNotPoolable = 0x8011043f,
  138. COMAdminErrApplidMatchesClsid = 0x80110446,
  139. COMAdminErrRoleDoesNotExist = 0x80110447,
  140. COMAdminErrStartAppNeedsComponents = 0x80110448,
  141. COMAdminErrRequiresDifferentPlatform = 0x80110449,
  142. COMAdminErrQueuingServiceNotAvailable = 0x80110602,
  143. COMAdminErrObjectParentMissing = 0x80110808,
  144. COMAdminErrObjectDoesNotExist = 0x80110809,
  145. COMAdminErrCanNotExportAppProxy = 0x8011044a,
  146. COMAdminErrCanNotStartApp = 0x8011044b,
  147. COMAdminErrCanNotExportSystemApp = 0x8011044c,
  148. COMAdminErrCanNotSubscribeToComponent = 0x8011044d,
  149. COMAdminErrAppNotRunning = 0x8011080a,
  150. COMAdminErrEventClassCannotBeSubscriber = 0x8011044e,
  151. COMAdminErrLibAppProxyIncompatible = 0x8011044f,
  152. COMAdminErrBasePartitionOnly = 0x80110450,
  153. COMAdminErrDuplicatePartitionName = 0x80110457,
  154. COMAdminErrPartitionInUse = 0x80110459,
  155. COMAdminErrImportedComponentsNotAllowed = 0x8011045b,
  156. COMAdminErrRegdbNotInitialized = 0x80110472,
  157. COMAdminErrRegdbNotOpen = 0x80110473,
  158. COMAdminErrRegdbSystemErr = 0x80110474,
  159. COMAdminErrRegdbAlreadyRunning = 0x80110475,
  160. COMAdminErrMigVersionNotSupported = 0x80110480,
  161. COMAdminErrMigSchemaNotFound = 0x80110481,
  162. COMAdminErrCatBitnessMismatch = 0x80110482,
  163. COMAdminErrCatUnacceptableBitness = 0x80110483,
  164. COMAdminErrCatWrongAppBitnessBitness = 0x80110484,
  165. COMAdminErrCatPauseResumeNotSupported = 0x80110485,
  166. COMAdminErrCatServerFault = 0x80110486,
  167. COMAdminErrCantRecycleLibraryApps = 0x8011080f,
  168. COMAdminErrCantRecycleServiceApps = 0x80110811,
  169. COMAdminErrProcessAlreadyRecycled = 0x80110812,
  170. COMAdminErrPausedProcessMayNotBeRecycled = 0x80110813,
  171. COMAdminErrInvalidPartition = 0x8011080b,
  172. COMAdminErrPartitionMsiOnly = 0x80110819,
  173. COMAdminErrStartAppDisabled = 0x80110451,
  174. COMAdminErrCompMoveSource = 0x8011081c,
  175. COMAdminErrCompMoveDest = 0x8011081d,
  176. COMAdminErrCompMovePrivate = 0x8011081e,
  177. COMAdminErrCannotCopyEventClass = 0x80110820
  178. } COMAdminErrorCodes;
  179. typedef enum COMAdminComponentType {
  180. COMAdmin32BitComponent = 0x1,
  181. COMAdmin64BitComponent = 0x2
  182. } COMAdminComponentType;
  183. typedef enum COMAdminApplicationInstallOptions {
  184. COMAdminInstallNoUsers = 0,
  185. COMAdminInstallUsers = 1,
  186. COMAdminInstallForceOverwriteOfFiles = 2
  187. } COMAdminApplicationInstallOptions;
  188. typedef enum COMAdminApplicationExportOptions {
  189. COMAdminExportNoUsers = 0x0,
  190. COMAdminExportUsers = 0x1,
  191. COMAdminExportApplicationProxy = 0x2,
  192. COMAdminExportForceOverwriteOfFiles = 0x4,
  193. COMAdminExportIn10Format = 0x10
  194. } COMAdminApplicationExportOptions;
  195. typedef enum COMAdminThreadingModels {
  196. COMAdminThreadingModelApartment = 0,
  197. COMAdminThreadingModelFree = 1,
  198. COMAdminThreadingModelMain = 2,
  199. COMAdminThreadingModelBoth = 3,
  200. COMAdminThreadingModelNeutral = 4,
  201. COMAdminThreadingModelNotSpecified = 5
  202. } COMAdminThreadingModels;
  203. typedef enum COMAdminTransactionOptions {
  204. COMAdminTransactionIgnored = 0,
  205. COMAdminTransactionNone = 1,
  206. COMAdminTransactionSupported = 2,
  207. COMAdminTransactionRequired = 3,
  208. COMAdminTransactionRequiresNew = 4
  209. } COMAdminTransactionOptions;
  210. typedef enum COMAdminTxIsolationLevelOptions {
  211. COMAdminTxIsolationLevelAny = 0,
  212. COMAdminTxIsolationLevelReadUnCommitted = 1,
  213. COMAdminTxIsolationLevelReadCommitted = 2,
  214. COMAdminTxIsolationLevelRepeatableRead = 3,
  215. COMAdminTxIsolationLevelSerializable = 4
  216. } COMAdminTxIsolationLevelOptions;
  217. typedef enum COMAdminSynchronizationOptions {
  218. COMAdminSynchronizationIgnored = 0,
  219. COMAdminSynchronizationNone = 1,
  220. COMAdminSynchronizationSupported = 2,
  221. COMAdminSynchronizationRequired = 3,
  222. COMAdminSynchronizationRequiresNew = 4
  223. } COMAdminSynchronizationOptions;
  224. typedef enum COMAdminActivationOptions {
  225. COMAdminActivationInproc = 0,
  226. COMAdminActivationLocal = 1
  227. } COMAdminActivationOptions;
  228. typedef enum COMAdminAccessChecksLevelOptions {
  229. COMAdminAccessChecksApplicationLevel = 0,
  230. COMAdminAccessChecksApplicationComponentLevel = 1
  231. } COMAdminAccessChecksLevelOptions;
  232. typedef enum COMAdminAuthenticationLevelOptions {
  233. COMAdminAuthenticationDefault = 0,
  234. COMAdminAuthenticationNone = 1,
  235. COMAdminAuthenticationConnect = 2,
  236. COMAdminAuthenticationCall = 3,
  237. COMAdminAuthenticationPacket = 4,
  238. COMAdminAuthenticationIntegrity = 5,
  239. COMAdminAuthenticationPrivacy = 6
  240. } COMAdminAuthenticationLevelOptions;
  241. typedef enum COMAdminImpersonationLevelOptions {
  242. COMAdminImpersonationAnonymous = 1,
  243. COMAdminImpersonationIdentify = 2,
  244. COMAdminImpersonationImpersonate = 3,
  245. COMAdminImpersonationDelegate = 4
  246. } COMAdminImpersonationLevelOptions;
  247. typedef enum COMAdminAuthenticationCapabilitiesOptions {
  248. COMAdminAuthenticationCapabilitiesNone = 0x0,
  249. COMAdminAuthenticationCapabilitiesSecureReference = 0x2,
  250. COMAdminAuthenticationCapabilitiesStaticCloaking = 0x20,
  251. COMAdminAuthenticationCapabilitiesDynamicCloaking = 0x40
  252. } COMAdminAuthenticationCapabilitiesOptions;
  253. typedef enum COMAdminOS {
  254. COMAdminOSNotInitialized = 0,
  255. COMAdminOSWindows3_1 = 1,
  256. COMAdminOSWindows9x = 2,
  257. COMAdminOSWindows2000 = 3,
  258. COMAdminOSWindows2000AdvancedServer = 4,
  259. COMAdminOSWindows2000Unknown = 5,
  260. COMAdminOSUnknown = 6,
  261. COMAdminOSWindowsXPPersonal = 11,
  262. COMAdminOSWindowsXPProfessional = 12,
  263. COMAdminOSWindowsNETStandardServer = 13,
  264. COMAdminOSWindowsNETEnterpriseServer = 14,
  265. COMAdminOSWindowsNETDatacenterServer = 15,
  266. COMAdminOSWindowsNETWebServer = 16,
  267. COMAdminOSWindowsLonghornPersonal = 17,
  268. COMAdminOSWindowsLonghornProfessional = 18,
  269. COMAdminOSWindowsLonghornStandardServer = 19,
  270. COMAdminOSWindowsLonghornEnterpriseServer = 20,
  271. COMAdminOSWindowsLonghornDatacenterServer = 21,
  272. COMAdminOSWindowsLonghornWebServer = 22,
  273. COMAdminOSWindows7Personal = 23,
  274. COMAdminOSWindows7Professional = 24,
  275. COMAdminOSWindows7StandardServer = 25,
  276. COMAdminOSWindows7EnterpriseServer = 26,
  277. COMAdminOSWindows7DatacenterServer = 27,
  278. COMAdminOSWindows7WebServer = 28,
  279. COMAdminOSWindows8Personal = 29,
  280. COMAdminOSWindows8Professional = 30,
  281. COMAdminOSWindows8StandardServer = 31,
  282. COMAdminOSWindows8EnterpriseServer = 32,
  283. COMAdminOSWindows8DatacenterServer = 33,
  284. COMAdminOSWindows8WebServer = 34
  285. } COMAdminOS;
  286. typedef enum COMAdminServiceOptions {
  287. COMAdminServiceLoadBalanceRouter = 1
  288. } COMAdminServiceOptions;
  289. typedef enum COMAdminServiceStatusOptions {
  290. COMAdminServiceStopped = 0,
  291. COMAdminServiceStartPending = 1,
  292. COMAdminServiceStopPending = 2,
  293. COMAdminServiceRunning = 3,
  294. COMAdminServiceContinuePending = 4,
  295. COMAdminServicePausePending = 5,
  296. COMAdminServicePaused = 6,
  297. COMAdminServiceUnknownState = 7
  298. } COMAdminServiceStatusOptions;
  299. typedef enum COMAdminComponentFlags {
  300. COMAdminCompFlagTypeInfoFound = 0x1,
  301. COMAdminCompFlagCOMPlusPropertiesFound = 0x2,
  302. COMAdminCompFlagProxyFound = 0x4,
  303. COMAdminCompFlagInterfacesFound = 0x8,
  304. COMAdminCompFlagAlreadyInstalled = 0x10,
  305. COMAdminCompFlagNotInApplication = 0x20
  306. } COMAdminComponentFlags;
  307. typedef enum COMAdminQCMessageAuthenticateOptions {
  308. COMAdminQCMessageAuthenticateSecureApps = 0,
  309. COMAdminQCMessageAuthenticateOff = 1,
  310. COMAdminQCMessageAuthenticateOn = 2
  311. } COMAdminQCMessageAuthenticateOptions;
  312. typedef enum COMAdminFileFlags {
  313. COMAdminFileFlagLoadable = 0x1,
  314. COMAdminFileFlagCOM = 0x2,
  315. COMAdminFileFlagContainsPS = 0x4,
  316. COMAdminFileFlagContainsComp = 0x8,
  317. COMAdminFileFlagContainsTLB = 0x10,
  318. COMAdminFileFlagSelfReg = 0x20,
  319. COMAdminFileFlagSelfUnReg = 0x40,
  320. COMAdminFileFlagUnloadableDLL = 0x80,
  321. COMAdminFileFlagDoesNotExist = 0x100,
  322. COMAdminFileFlagAlreadyInstalled = 0x200,
  323. COMAdminFileFlagBadTLB = 0x400,
  324. COMAdminFileFlagGetClassObjFailed = 0x800,
  325. COMAdminFileFlagClassNotAvailable = 0x1000,
  326. COMAdminFileFlagRegistrar = 0x2000,
  327. COMAdminFileFlagNoRegistrar = 0x4000,
  328. COMAdminFileFlagDLLRegsvrFailed = 0x8000,
  329. COMAdminFileFlagRegTLBFailed = 0x10000,
  330. COMAdminFileFlagRegistrarFailed = 0x20000,
  331. COMAdminFileFlagError = 0x40000
  332. } COMAdminFileFlags;
  333. /*****************************************************************************
  334. * ICOMAdminCatalog interface
  335. */
  336. #ifndef __ICOMAdminCatalog_INTERFACE_DEFINED__
  337. #define __ICOMAdminCatalog_INTERFACE_DEFINED__
  338. DEFINE_GUID(IID_ICOMAdminCatalog, 0xdd662187, 0xdfc2, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
  339. #if defined(__cplusplus) && !defined(CINTERFACE)
  340. MIDL_INTERFACE("dd662187-dfc2-11d1-a2cf-00805fc79235")
  341. ICOMAdminCatalog : public IDispatch
  342. {
  343. virtual HRESULT STDMETHODCALLTYPE GetCollection(
  344. BSTR bstrCollName,
  345. IDispatch **ppCatalogCollection) = 0;
  346. virtual HRESULT STDMETHODCALLTYPE Connect(
  347. BSTR bstrCatalogServerName,
  348. IDispatch **ppCatalogCollection) = 0;
  349. virtual HRESULT STDMETHODCALLTYPE get_MajorVersion(
  350. LONG *plMajorVersion) = 0;
  351. virtual HRESULT STDMETHODCALLTYPE get_MinorVersion(
  352. LONG *plMinorVersion) = 0;
  353. virtual HRESULT STDMETHODCALLTYPE GetCollectionByQuery(
  354. BSTR bstrCollName,
  355. SAFEARRAY **ppsaVarQuery,
  356. IDispatch **ppCatalogCollection) = 0;
  357. virtual HRESULT STDMETHODCALLTYPE ImportComponent(
  358. BSTR bstrApplIDOrName,
  359. BSTR bstrCLSIDOrProgID) = 0;
  360. virtual HRESULT STDMETHODCALLTYPE InstallComponent(
  361. BSTR bstrApplIDOrName,
  362. BSTR bstrDLL,
  363. BSTR bstrTLB,
  364. BSTR bstrPSDLL) = 0;
  365. virtual HRESULT STDMETHODCALLTYPE ShutdownApplication(
  366. BSTR bstrApplIDOrName) = 0;
  367. virtual HRESULT STDMETHODCALLTYPE ExportApplication(
  368. BSTR bstrApplIDOrName,
  369. BSTR bstrApplicationFile,
  370. LONG lOptions) = 0;
  371. virtual HRESULT STDMETHODCALLTYPE InstallApplication(
  372. BSTR bstrApplicationFile,
  373. BSTR bstrDestinationDirectory,
  374. LONG lOptions,
  375. BSTR bstrUserId,
  376. BSTR bstrPassword,
  377. BSTR bstrRSN) = 0;
  378. virtual HRESULT STDMETHODCALLTYPE StopRouter(
  379. ) = 0;
  380. virtual HRESULT STDMETHODCALLTYPE RefreshRouter(
  381. ) = 0;
  382. virtual HRESULT STDMETHODCALLTYPE StartRouter(
  383. ) = 0;
  384. virtual HRESULT STDMETHODCALLTYPE Reserved1(
  385. ) = 0;
  386. virtual HRESULT STDMETHODCALLTYPE Reserved2(
  387. ) = 0;
  388. virtual HRESULT STDMETHODCALLTYPE InstallMultipleComponents(
  389. BSTR bstrApplIDOrName,
  390. SAFEARRAY **ppsaVarFileNames,
  391. SAFEARRAY **ppsaVarCLSIDs) = 0;
  392. virtual HRESULT STDMETHODCALLTYPE GetMultipleComponentsInfo(
  393. BSTR bstrApplIdOrName,
  394. SAFEARRAY **ppsaVarFileNames,
  395. SAFEARRAY **ppsaVarCLSIDs,
  396. SAFEARRAY **ppsaVarClassNames,
  397. SAFEARRAY **ppsaVarFileFlags,
  398. SAFEARRAY **ppsaVarComponentFlags) = 0;
  399. virtual HRESULT STDMETHODCALLTYPE RefreshComponents(
  400. ) = 0;
  401. virtual HRESULT STDMETHODCALLTYPE BackupREGDB(
  402. BSTR bstrBackupFilePath) = 0;
  403. virtual HRESULT STDMETHODCALLTYPE RestoreREGDB(
  404. BSTR bstrBackupFilePath) = 0;
  405. virtual HRESULT STDMETHODCALLTYPE QueryApplicationFile(
  406. BSTR bstrApplicationFile,
  407. BSTR *pbstrApplicationName,
  408. BSTR *pbstrApplicationDescription,
  409. VARIANT_BOOL *pbHasUsers,
  410. VARIANT_BOOL *pbIsProxy,
  411. SAFEARRAY **ppsaVarFileNames) = 0;
  412. virtual HRESULT STDMETHODCALLTYPE StartApplication(
  413. BSTR bstrApplIdOrName) = 0;
  414. virtual HRESULT STDMETHODCALLTYPE ServiceCheck(
  415. LONG lService,
  416. LONG *plStatus) = 0;
  417. virtual HRESULT STDMETHODCALLTYPE InstallMultipleEventClasses(
  418. BSTR bstrApplIdOrName,
  419. SAFEARRAY **ppsaVarFileNames,
  420. SAFEARRAY **ppsaVarCLSIDS) = 0;
  421. virtual HRESULT STDMETHODCALLTYPE InstallEventClass(
  422. BSTR bstrApplIdOrName,
  423. BSTR bstrDLL,
  424. BSTR bstrTLB,
  425. BSTR bstrPSDLL) = 0;
  426. virtual HRESULT STDMETHODCALLTYPE GetEventClassesForIID(
  427. BSTR bstrIID,
  428. SAFEARRAY **ppsaVarCLSIDs,
  429. SAFEARRAY **ppsaVarProgIDs,
  430. SAFEARRAY **ppsaVarDescriptions) = 0;
  431. };
  432. #ifdef __CRT_UUID_DECL
  433. __CRT_UUID_DECL(ICOMAdminCatalog, 0xdd662187, 0xdfc2, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35)
  434. #endif
  435. #else
  436. typedef struct ICOMAdminCatalogVtbl {
  437. BEGIN_INTERFACE
  438. /*** IUnknown methods ***/
  439. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  440. ICOMAdminCatalog *This,
  441. REFIID riid,
  442. void **ppvObject);
  443. ULONG (STDMETHODCALLTYPE *AddRef)(
  444. ICOMAdminCatalog *This);
  445. ULONG (STDMETHODCALLTYPE *Release)(
  446. ICOMAdminCatalog *This);
  447. /*** IDispatch methods ***/
  448. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  449. ICOMAdminCatalog *This,
  450. UINT *pctinfo);
  451. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  452. ICOMAdminCatalog *This,
  453. UINT iTInfo,
  454. LCID lcid,
  455. ITypeInfo **ppTInfo);
  456. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  457. ICOMAdminCatalog *This,
  458. REFIID riid,
  459. LPOLESTR *rgszNames,
  460. UINT cNames,
  461. LCID lcid,
  462. DISPID *rgDispId);
  463. HRESULT (STDMETHODCALLTYPE *Invoke)(
  464. ICOMAdminCatalog *This,
  465. DISPID dispIdMember,
  466. REFIID riid,
  467. LCID lcid,
  468. WORD wFlags,
  469. DISPPARAMS *pDispParams,
  470. VARIANT *pVarResult,
  471. EXCEPINFO *pExcepInfo,
  472. UINT *puArgErr);
  473. /*** ICOMAdminCatalog methods ***/
  474. HRESULT (STDMETHODCALLTYPE *GetCollection)(
  475. ICOMAdminCatalog *This,
  476. BSTR bstrCollName,
  477. IDispatch **ppCatalogCollection);
  478. HRESULT (STDMETHODCALLTYPE *Connect)(
  479. ICOMAdminCatalog *This,
  480. BSTR bstrCatalogServerName,
  481. IDispatch **ppCatalogCollection);
  482. HRESULT (STDMETHODCALLTYPE *get_MajorVersion)(
  483. ICOMAdminCatalog *This,
  484. LONG *plMajorVersion);
  485. HRESULT (STDMETHODCALLTYPE *get_MinorVersion)(
  486. ICOMAdminCatalog *This,
  487. LONG *plMinorVersion);
  488. HRESULT (STDMETHODCALLTYPE *GetCollectionByQuery)(
  489. ICOMAdminCatalog *This,
  490. BSTR bstrCollName,
  491. SAFEARRAY **ppsaVarQuery,
  492. IDispatch **ppCatalogCollection);
  493. HRESULT (STDMETHODCALLTYPE *ImportComponent)(
  494. ICOMAdminCatalog *This,
  495. BSTR bstrApplIDOrName,
  496. BSTR bstrCLSIDOrProgID);
  497. HRESULT (STDMETHODCALLTYPE *InstallComponent)(
  498. ICOMAdminCatalog *This,
  499. BSTR bstrApplIDOrName,
  500. BSTR bstrDLL,
  501. BSTR bstrTLB,
  502. BSTR bstrPSDLL);
  503. HRESULT (STDMETHODCALLTYPE *ShutdownApplication)(
  504. ICOMAdminCatalog *This,
  505. BSTR bstrApplIDOrName);
  506. HRESULT (STDMETHODCALLTYPE *ExportApplication)(
  507. ICOMAdminCatalog *This,
  508. BSTR bstrApplIDOrName,
  509. BSTR bstrApplicationFile,
  510. LONG lOptions);
  511. HRESULT (STDMETHODCALLTYPE *InstallApplication)(
  512. ICOMAdminCatalog *This,
  513. BSTR bstrApplicationFile,
  514. BSTR bstrDestinationDirectory,
  515. LONG lOptions,
  516. BSTR bstrUserId,
  517. BSTR bstrPassword,
  518. BSTR bstrRSN);
  519. HRESULT (STDMETHODCALLTYPE *StopRouter)(
  520. ICOMAdminCatalog *This);
  521. HRESULT (STDMETHODCALLTYPE *RefreshRouter)(
  522. ICOMAdminCatalog *This);
  523. HRESULT (STDMETHODCALLTYPE *StartRouter)(
  524. ICOMAdminCatalog *This);
  525. HRESULT (STDMETHODCALLTYPE *Reserved1)(
  526. ICOMAdminCatalog *This);
  527. HRESULT (STDMETHODCALLTYPE *Reserved2)(
  528. ICOMAdminCatalog *This);
  529. HRESULT (STDMETHODCALLTYPE *InstallMultipleComponents)(
  530. ICOMAdminCatalog *This,
  531. BSTR bstrApplIDOrName,
  532. SAFEARRAY **ppsaVarFileNames,
  533. SAFEARRAY **ppsaVarCLSIDs);
  534. HRESULT (STDMETHODCALLTYPE *GetMultipleComponentsInfo)(
  535. ICOMAdminCatalog *This,
  536. BSTR bstrApplIdOrName,
  537. SAFEARRAY **ppsaVarFileNames,
  538. SAFEARRAY **ppsaVarCLSIDs,
  539. SAFEARRAY **ppsaVarClassNames,
  540. SAFEARRAY **ppsaVarFileFlags,
  541. SAFEARRAY **ppsaVarComponentFlags);
  542. HRESULT (STDMETHODCALLTYPE *RefreshComponents)(
  543. ICOMAdminCatalog *This);
  544. HRESULT (STDMETHODCALLTYPE *BackupREGDB)(
  545. ICOMAdminCatalog *This,
  546. BSTR bstrBackupFilePath);
  547. HRESULT (STDMETHODCALLTYPE *RestoreREGDB)(
  548. ICOMAdminCatalog *This,
  549. BSTR bstrBackupFilePath);
  550. HRESULT (STDMETHODCALLTYPE *QueryApplicationFile)(
  551. ICOMAdminCatalog *This,
  552. BSTR bstrApplicationFile,
  553. BSTR *pbstrApplicationName,
  554. BSTR *pbstrApplicationDescription,
  555. VARIANT_BOOL *pbHasUsers,
  556. VARIANT_BOOL *pbIsProxy,
  557. SAFEARRAY **ppsaVarFileNames);
  558. HRESULT (STDMETHODCALLTYPE *StartApplication)(
  559. ICOMAdminCatalog *This,
  560. BSTR bstrApplIdOrName);
  561. HRESULT (STDMETHODCALLTYPE *ServiceCheck)(
  562. ICOMAdminCatalog *This,
  563. LONG lService,
  564. LONG *plStatus);
  565. HRESULT (STDMETHODCALLTYPE *InstallMultipleEventClasses)(
  566. ICOMAdminCatalog *This,
  567. BSTR bstrApplIdOrName,
  568. SAFEARRAY **ppsaVarFileNames,
  569. SAFEARRAY **ppsaVarCLSIDS);
  570. HRESULT (STDMETHODCALLTYPE *InstallEventClass)(
  571. ICOMAdminCatalog *This,
  572. BSTR bstrApplIdOrName,
  573. BSTR bstrDLL,
  574. BSTR bstrTLB,
  575. BSTR bstrPSDLL);
  576. HRESULT (STDMETHODCALLTYPE *GetEventClassesForIID)(
  577. ICOMAdminCatalog *This,
  578. BSTR bstrIID,
  579. SAFEARRAY **ppsaVarCLSIDs,
  580. SAFEARRAY **ppsaVarProgIDs,
  581. SAFEARRAY **ppsaVarDescriptions);
  582. END_INTERFACE
  583. } ICOMAdminCatalogVtbl;
  584. interface ICOMAdminCatalog {
  585. CONST_VTBL ICOMAdminCatalogVtbl* lpVtbl;
  586. };
  587. #ifdef COBJMACROS
  588. #ifndef WIDL_C_INLINE_WRAPPERS
  589. /*** IUnknown methods ***/
  590. #define ICOMAdminCatalog_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  591. #define ICOMAdminCatalog_AddRef(This) (This)->lpVtbl->AddRef(This)
  592. #define ICOMAdminCatalog_Release(This) (This)->lpVtbl->Release(This)
  593. /*** IDispatch methods ***/
  594. #define ICOMAdminCatalog_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  595. #define ICOMAdminCatalog_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  596. #define ICOMAdminCatalog_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  597. #define ICOMAdminCatalog_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  598. /*** ICOMAdminCatalog methods ***/
  599. #define ICOMAdminCatalog_GetCollection(This,bstrCollName,ppCatalogCollection) (This)->lpVtbl->GetCollection(This,bstrCollName,ppCatalogCollection)
  600. #define ICOMAdminCatalog_Connect(This,bstrCatalogServerName,ppCatalogCollection) (This)->lpVtbl->Connect(This,bstrCatalogServerName,ppCatalogCollection)
  601. #define ICOMAdminCatalog_get_MajorVersion(This,plMajorVersion) (This)->lpVtbl->get_MajorVersion(This,plMajorVersion)
  602. #define ICOMAdminCatalog_get_MinorVersion(This,plMinorVersion) (This)->lpVtbl->get_MinorVersion(This,plMinorVersion)
  603. #define ICOMAdminCatalog_GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection) (This)->lpVtbl->GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection)
  604. #define ICOMAdminCatalog_ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID) (This)->lpVtbl->ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID)
  605. #define ICOMAdminCatalog_InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL) (This)->lpVtbl->InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL)
  606. #define ICOMAdminCatalog_ShutdownApplication(This,bstrApplIDOrName) (This)->lpVtbl->ShutdownApplication(This,bstrApplIDOrName)
  607. #define ICOMAdminCatalog_ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions) (This)->lpVtbl->ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions)
  608. #define ICOMAdminCatalog_InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN) (This)->lpVtbl->InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN)
  609. #define ICOMAdminCatalog_StopRouter(This) (This)->lpVtbl->StopRouter(This)
  610. #define ICOMAdminCatalog_RefreshRouter(This) (This)->lpVtbl->RefreshRouter(This)
  611. #define ICOMAdminCatalog_StartRouter(This) (This)->lpVtbl->StartRouter(This)
  612. #define ICOMAdminCatalog_Reserved1(This) (This)->lpVtbl->Reserved1(This)
  613. #define ICOMAdminCatalog_Reserved2(This) (This)->lpVtbl->Reserved2(This)
  614. #define ICOMAdminCatalog_InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs) (This)->lpVtbl->InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs)
  615. #define ICOMAdminCatalog_GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags) (This)->lpVtbl->GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags)
  616. #define ICOMAdminCatalog_RefreshComponents(This) (This)->lpVtbl->RefreshComponents(This)
  617. #define ICOMAdminCatalog_BackupREGDB(This,bstrBackupFilePath) (This)->lpVtbl->BackupREGDB(This,bstrBackupFilePath)
  618. #define ICOMAdminCatalog_RestoreREGDB(This,bstrBackupFilePath) (This)->lpVtbl->RestoreREGDB(This,bstrBackupFilePath)
  619. #define ICOMAdminCatalog_QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames) (This)->lpVtbl->QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames)
  620. #define ICOMAdminCatalog_StartApplication(This,bstrApplIdOrName) (This)->lpVtbl->StartApplication(This,bstrApplIdOrName)
  621. #define ICOMAdminCatalog_ServiceCheck(This,lService,plStatus) (This)->lpVtbl->ServiceCheck(This,lService,plStatus)
  622. #define ICOMAdminCatalog_InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS) (This)->lpVtbl->InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS)
  623. #define ICOMAdminCatalog_InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL) (This)->lpVtbl->InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL)
  624. #define ICOMAdminCatalog_GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions) (This)->lpVtbl->GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions)
  625. #else
  626. /*** IUnknown methods ***/
  627. static FORCEINLINE HRESULT ICOMAdminCatalog_QueryInterface(ICOMAdminCatalog* This,REFIID riid,void **ppvObject) {
  628. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  629. }
  630. static FORCEINLINE ULONG ICOMAdminCatalog_AddRef(ICOMAdminCatalog* This) {
  631. return This->lpVtbl->AddRef(This);
  632. }
  633. static FORCEINLINE ULONG ICOMAdminCatalog_Release(ICOMAdminCatalog* This) {
  634. return This->lpVtbl->Release(This);
  635. }
  636. /*** IDispatch methods ***/
  637. static FORCEINLINE HRESULT ICOMAdminCatalog_GetTypeInfoCount(ICOMAdminCatalog* This,UINT *pctinfo) {
  638. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  639. }
  640. static FORCEINLINE HRESULT ICOMAdminCatalog_GetTypeInfo(ICOMAdminCatalog* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  641. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  642. }
  643. static FORCEINLINE HRESULT ICOMAdminCatalog_GetIDsOfNames(ICOMAdminCatalog* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  644. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  645. }
  646. static FORCEINLINE HRESULT ICOMAdminCatalog_Invoke(ICOMAdminCatalog* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  647. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  648. }
  649. /*** ICOMAdminCatalog methods ***/
  650. static FORCEINLINE HRESULT ICOMAdminCatalog_GetCollection(ICOMAdminCatalog* This,BSTR bstrCollName,IDispatch **ppCatalogCollection) {
  651. return This->lpVtbl->GetCollection(This,bstrCollName,ppCatalogCollection);
  652. }
  653. static FORCEINLINE HRESULT ICOMAdminCatalog_Connect(ICOMAdminCatalog* This,BSTR bstrCatalogServerName,IDispatch **ppCatalogCollection) {
  654. return This->lpVtbl->Connect(This,bstrCatalogServerName,ppCatalogCollection);
  655. }
  656. static FORCEINLINE HRESULT ICOMAdminCatalog_get_MajorVersion(ICOMAdminCatalog* This,LONG *plMajorVersion) {
  657. return This->lpVtbl->get_MajorVersion(This,plMajorVersion);
  658. }
  659. static FORCEINLINE HRESULT ICOMAdminCatalog_get_MinorVersion(ICOMAdminCatalog* This,LONG *plMinorVersion) {
  660. return This->lpVtbl->get_MinorVersion(This,plMinorVersion);
  661. }
  662. static FORCEINLINE HRESULT ICOMAdminCatalog_GetCollectionByQuery(ICOMAdminCatalog* This,BSTR bstrCollName,SAFEARRAY **ppsaVarQuery,IDispatch **ppCatalogCollection) {
  663. return This->lpVtbl->GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection);
  664. }
  665. static FORCEINLINE HRESULT ICOMAdminCatalog_ImportComponent(ICOMAdminCatalog* This,BSTR bstrApplIDOrName,BSTR bstrCLSIDOrProgID) {
  666. return This->lpVtbl->ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID);
  667. }
  668. static FORCEINLINE HRESULT ICOMAdminCatalog_InstallComponent(ICOMAdminCatalog* This,BSTR bstrApplIDOrName,BSTR bstrDLL,BSTR bstrTLB,BSTR bstrPSDLL) {
  669. return This->lpVtbl->InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL);
  670. }
  671. static FORCEINLINE HRESULT ICOMAdminCatalog_ShutdownApplication(ICOMAdminCatalog* This,BSTR bstrApplIDOrName) {
  672. return This->lpVtbl->ShutdownApplication(This,bstrApplIDOrName);
  673. }
  674. static FORCEINLINE HRESULT ICOMAdminCatalog_ExportApplication(ICOMAdminCatalog* This,BSTR bstrApplIDOrName,BSTR bstrApplicationFile,LONG lOptions) {
  675. return This->lpVtbl->ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions);
  676. }
  677. static FORCEINLINE HRESULT ICOMAdminCatalog_InstallApplication(ICOMAdminCatalog* This,BSTR bstrApplicationFile,BSTR bstrDestinationDirectory,LONG lOptions,BSTR bstrUserId,BSTR bstrPassword,BSTR bstrRSN) {
  678. return This->lpVtbl->InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN);
  679. }
  680. static FORCEINLINE HRESULT ICOMAdminCatalog_StopRouter(ICOMAdminCatalog* This) {
  681. return This->lpVtbl->StopRouter(This);
  682. }
  683. static FORCEINLINE HRESULT ICOMAdminCatalog_RefreshRouter(ICOMAdminCatalog* This) {
  684. return This->lpVtbl->RefreshRouter(This);
  685. }
  686. static FORCEINLINE HRESULT ICOMAdminCatalog_StartRouter(ICOMAdminCatalog* This) {
  687. return This->lpVtbl->StartRouter(This);
  688. }
  689. static FORCEINLINE HRESULT ICOMAdminCatalog_Reserved1(ICOMAdminCatalog* This) {
  690. return This->lpVtbl->Reserved1(This);
  691. }
  692. static FORCEINLINE HRESULT ICOMAdminCatalog_Reserved2(ICOMAdminCatalog* This) {
  693. return This->lpVtbl->Reserved2(This);
  694. }
  695. static FORCEINLINE HRESULT ICOMAdminCatalog_InstallMultipleComponents(ICOMAdminCatalog* This,BSTR bstrApplIDOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDs) {
  696. return This->lpVtbl->InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs);
  697. }
  698. static FORCEINLINE HRESULT ICOMAdminCatalog_GetMultipleComponentsInfo(ICOMAdminCatalog* This,BSTR bstrApplIdOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDs,SAFEARRAY **ppsaVarClassNames,SAFEARRAY **ppsaVarFileFlags,SAFEARRAY **ppsaVarComponentFlags) {
  699. return This->lpVtbl->GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags);
  700. }
  701. static FORCEINLINE HRESULT ICOMAdminCatalog_RefreshComponents(ICOMAdminCatalog* This) {
  702. return This->lpVtbl->RefreshComponents(This);
  703. }
  704. static FORCEINLINE HRESULT ICOMAdminCatalog_BackupREGDB(ICOMAdminCatalog* This,BSTR bstrBackupFilePath) {
  705. return This->lpVtbl->BackupREGDB(This,bstrBackupFilePath);
  706. }
  707. static FORCEINLINE HRESULT ICOMAdminCatalog_RestoreREGDB(ICOMAdminCatalog* This,BSTR bstrBackupFilePath) {
  708. return This->lpVtbl->RestoreREGDB(This,bstrBackupFilePath);
  709. }
  710. static FORCEINLINE HRESULT ICOMAdminCatalog_QueryApplicationFile(ICOMAdminCatalog* This,BSTR bstrApplicationFile,BSTR *pbstrApplicationName,BSTR *pbstrApplicationDescription,VARIANT_BOOL *pbHasUsers,VARIANT_BOOL *pbIsProxy,SAFEARRAY **ppsaVarFileNames) {
  711. return This->lpVtbl->QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames);
  712. }
  713. static FORCEINLINE HRESULT ICOMAdminCatalog_StartApplication(ICOMAdminCatalog* This,BSTR bstrApplIdOrName) {
  714. return This->lpVtbl->StartApplication(This,bstrApplIdOrName);
  715. }
  716. static FORCEINLINE HRESULT ICOMAdminCatalog_ServiceCheck(ICOMAdminCatalog* This,LONG lService,LONG *plStatus) {
  717. return This->lpVtbl->ServiceCheck(This,lService,plStatus);
  718. }
  719. static FORCEINLINE HRESULT ICOMAdminCatalog_InstallMultipleEventClasses(ICOMAdminCatalog* This,BSTR bstrApplIdOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDS) {
  720. return This->lpVtbl->InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS);
  721. }
  722. static FORCEINLINE HRESULT ICOMAdminCatalog_InstallEventClass(ICOMAdminCatalog* This,BSTR bstrApplIdOrName,BSTR bstrDLL,BSTR bstrTLB,BSTR bstrPSDLL) {
  723. return This->lpVtbl->InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL);
  724. }
  725. static FORCEINLINE HRESULT ICOMAdminCatalog_GetEventClassesForIID(ICOMAdminCatalog* This,BSTR bstrIID,SAFEARRAY **ppsaVarCLSIDs,SAFEARRAY **ppsaVarProgIDs,SAFEARRAY **ppsaVarDescriptions) {
  726. return This->lpVtbl->GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions);
  727. }
  728. #endif
  729. #endif
  730. #endif
  731. #endif /* __ICOMAdminCatalog_INTERFACE_DEFINED__ */
  732. /*****************************************************************************
  733. * ICOMAdminCatalog2 interface
  734. */
  735. #ifndef __ICOMAdminCatalog2_INTERFACE_DEFINED__
  736. #define __ICOMAdminCatalog2_INTERFACE_DEFINED__
  737. DEFINE_GUID(IID_ICOMAdminCatalog2, 0x790c6e0b, 0x9194, 0x4cc9, 0x94,0x26, 0xa4,0x8a,0x63,0x18,0x56,0x96);
  738. #if defined(__cplusplus) && !defined(CINTERFACE)
  739. MIDL_INTERFACE("790c6e0b-9194-4cc9-9426-a48a63185696")
  740. ICOMAdminCatalog2 : public ICOMAdminCatalog
  741. {
  742. virtual HRESULT STDMETHODCALLTYPE GetCollectionByQuery2(
  743. BSTR bstrCollectionName,
  744. VARIANT *pVarQueryStrings,
  745. IDispatch **ppCatalogCollection) = 0;
  746. virtual HRESULT STDMETHODCALLTYPE GetApplicationInstanceIDFromProcessID(
  747. LONG lProcessID,
  748. BSTR *pbstrApplicationInstanceID) = 0;
  749. virtual HRESULT STDMETHODCALLTYPE ShutdownApplicationInstances(
  750. VARIANT *pVarApplicationInstanceID) = 0;
  751. virtual HRESULT STDMETHODCALLTYPE PauseApplicationInstances(
  752. VARIANT *pVarApplicationInstanceID) = 0;
  753. virtual HRESULT STDMETHODCALLTYPE ResumeApplicationInstances(
  754. VARIANT *pVarApplicationInstanceID) = 0;
  755. virtual HRESULT STDMETHODCALLTYPE RecycleApplicationInstances(
  756. VARIANT *pVarApplicationInstanceID,
  757. LONG lReasonCode) = 0;
  758. virtual HRESULT STDMETHODCALLTYPE AreApplicationInstancesPaused(
  759. VARIANT *pVarApplicationInstanceID,
  760. VARIANT_BOOL *pVarBoolPaused) = 0;
  761. virtual HRESULT STDMETHODCALLTYPE DumpApplicationInstance(
  762. BSTR bstrApplicationInstanceID,
  763. BSTR bstrDirectory,
  764. LONG lMaxImages,
  765. BSTR *pbstrDumpFile) = 0;
  766. virtual HRESULT STDMETHODCALLTYPE get_IsApplicationInstanceDumpSupported(
  767. VARIANT_BOOL *pVarBoolDumpSupported) = 0;
  768. virtual HRESULT STDMETHODCALLTYPE CreateServiceForApplication(
  769. BSTR bstrApplicationIDOrName,
  770. BSTR bstrServiceName,
  771. BSTR bstrStartType,
  772. BSTR bstrErrorControl,
  773. BSTR bstrDependencies,
  774. BSTR bstrRunAs,
  775. BSTR bstrPassword,
  776. VARIANT_BOOL bDesktopOk) = 0;
  777. virtual HRESULT STDMETHODCALLTYPE DeleteServiceForApplication(
  778. BSTR bstrApplicationIDOrName) = 0;
  779. virtual HRESULT STDMETHODCALLTYPE GetPartitionID(
  780. BSTR bstrApplicationIDOrName,
  781. BSTR *pbstrPartitionID) = 0;
  782. virtual HRESULT STDMETHODCALLTYPE GetPartitionName(
  783. BSTR bstrApplicationIDOrName,
  784. BSTR *pbstrPartitionName) = 0;
  785. virtual HRESULT STDMETHODCALLTYPE put_CurrentPartition(
  786. BSTR bstrPartitionIDOrName) = 0;
  787. virtual HRESULT STDMETHODCALLTYPE get_CurrentPartitionID(
  788. BSTR *pbstrPartitionID) = 0;
  789. virtual HRESULT STDMETHODCALLTYPE get_CurrentPartitionName(
  790. BSTR *pbstrPartitionName) = 0;
  791. virtual HRESULT STDMETHODCALLTYPE get_GlobalPartitionID(
  792. BSTR *pbstrGlobalPartitionID) = 0;
  793. virtual HRESULT STDMETHODCALLTYPE FlushPartitionCache(
  794. ) = 0;
  795. virtual HRESULT STDMETHODCALLTYPE CopyApplications(
  796. BSTR bstrSourcePartitionIDOrName,
  797. VARIANT *pVarApplicationID,
  798. BSTR bstrDestinationPartitionIDOrName) = 0;
  799. virtual HRESULT STDMETHODCALLTYPE CopyComponents(
  800. BSTR bstrSourceApplicationIDOrName,
  801. VARIANT *pVarCLSIDOrProgID,
  802. BSTR bstrDestinationApplicationIDOrName) = 0;
  803. virtual HRESULT STDMETHODCALLTYPE MoveComponents(
  804. BSTR bstrSourceApplicationIDOrName,
  805. VARIANT *pVarCLSIDOrProgID,
  806. BSTR bstrDestinationApplicationIDOrName) = 0;
  807. virtual HRESULT STDMETHODCALLTYPE AliasComponent(
  808. BSTR bstrSrcApplicationIDOrName,
  809. BSTR bstrCLSIDOrProgID,
  810. BSTR bstrDestApplicationIDOrName,
  811. BSTR bstrNewProgId,
  812. BSTR bstrNewClsid) = 0;
  813. virtual HRESULT STDMETHODCALLTYPE IsSafeToDelete(
  814. BSTR bstrDllName,
  815. COMAdminInUse *pCOMAdminInUse) = 0;
  816. virtual HRESULT STDMETHODCALLTYPE ImportUnconfiguredComponents(
  817. BSTR bstrApplicationIDOrName,
  818. VARIANT *pVarCLSIDOrProgID,
  819. VARIANT *pVarComponentType) = 0;
  820. virtual HRESULT STDMETHODCALLTYPE PromoteUnconfiguredComponents(
  821. BSTR bstrApplicationIDOrName,
  822. VARIANT *pVarCLSIDOrProgID,
  823. VARIANT *pVarComponentType) = 0;
  824. virtual HRESULT STDMETHODCALLTYPE ImportComponents(
  825. BSTR bstrApplicationIDOrName,
  826. VARIANT *pVarCLSIDOrProgID,
  827. VARIANT *pVarComponentType) = 0;
  828. virtual HRESULT STDMETHODCALLTYPE get_Is64BitCatalogServer(
  829. VARIANT_BOOL *pbIs64Bit) = 0;
  830. virtual HRESULT STDMETHODCALLTYPE ExportPartition(
  831. BSTR bstrPartitionIDOrName,
  832. BSTR bstrPartitionFileName,
  833. LONG lOptions) = 0;
  834. virtual HRESULT STDMETHODCALLTYPE InstallPartition(
  835. BSTR bstrFileName,
  836. BSTR bstrDestDirectory,
  837. LONG lOptions,
  838. BSTR bstrUserID,
  839. BSTR bstrPassword,
  840. BSTR bstrRSN) = 0;
  841. virtual HRESULT STDMETHODCALLTYPE QueryApplicationFile2(
  842. BSTR bstrApplicationFile,
  843. IDispatch **ppFilesForImport) = 0;
  844. virtual HRESULT STDMETHODCALLTYPE GetComponentVersionCount(
  845. BSTR bstrCLSIDOrProgID,
  846. LONG *plVersionCount) = 0;
  847. };
  848. #ifdef __CRT_UUID_DECL
  849. __CRT_UUID_DECL(ICOMAdminCatalog2, 0x790c6e0b, 0x9194, 0x4cc9, 0x94,0x26, 0xa4,0x8a,0x63,0x18,0x56,0x96)
  850. #endif
  851. #else
  852. typedef struct ICOMAdminCatalog2Vtbl {
  853. BEGIN_INTERFACE
  854. /*** IUnknown methods ***/
  855. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  856. ICOMAdminCatalog2 *This,
  857. REFIID riid,
  858. void **ppvObject);
  859. ULONG (STDMETHODCALLTYPE *AddRef)(
  860. ICOMAdminCatalog2 *This);
  861. ULONG (STDMETHODCALLTYPE *Release)(
  862. ICOMAdminCatalog2 *This);
  863. /*** IDispatch methods ***/
  864. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  865. ICOMAdminCatalog2 *This,
  866. UINT *pctinfo);
  867. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  868. ICOMAdminCatalog2 *This,
  869. UINT iTInfo,
  870. LCID lcid,
  871. ITypeInfo **ppTInfo);
  872. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  873. ICOMAdminCatalog2 *This,
  874. REFIID riid,
  875. LPOLESTR *rgszNames,
  876. UINT cNames,
  877. LCID lcid,
  878. DISPID *rgDispId);
  879. HRESULT (STDMETHODCALLTYPE *Invoke)(
  880. ICOMAdminCatalog2 *This,
  881. DISPID dispIdMember,
  882. REFIID riid,
  883. LCID lcid,
  884. WORD wFlags,
  885. DISPPARAMS *pDispParams,
  886. VARIANT *pVarResult,
  887. EXCEPINFO *pExcepInfo,
  888. UINT *puArgErr);
  889. /*** ICOMAdminCatalog methods ***/
  890. HRESULT (STDMETHODCALLTYPE *GetCollection)(
  891. ICOMAdminCatalog2 *This,
  892. BSTR bstrCollName,
  893. IDispatch **ppCatalogCollection);
  894. HRESULT (STDMETHODCALLTYPE *Connect)(
  895. ICOMAdminCatalog2 *This,
  896. BSTR bstrCatalogServerName,
  897. IDispatch **ppCatalogCollection);
  898. HRESULT (STDMETHODCALLTYPE *get_MajorVersion)(
  899. ICOMAdminCatalog2 *This,
  900. LONG *plMajorVersion);
  901. HRESULT (STDMETHODCALLTYPE *get_MinorVersion)(
  902. ICOMAdminCatalog2 *This,
  903. LONG *plMinorVersion);
  904. HRESULT (STDMETHODCALLTYPE *GetCollectionByQuery)(
  905. ICOMAdminCatalog2 *This,
  906. BSTR bstrCollName,
  907. SAFEARRAY **ppsaVarQuery,
  908. IDispatch **ppCatalogCollection);
  909. HRESULT (STDMETHODCALLTYPE *ImportComponent)(
  910. ICOMAdminCatalog2 *This,
  911. BSTR bstrApplIDOrName,
  912. BSTR bstrCLSIDOrProgID);
  913. HRESULT (STDMETHODCALLTYPE *InstallComponent)(
  914. ICOMAdminCatalog2 *This,
  915. BSTR bstrApplIDOrName,
  916. BSTR bstrDLL,
  917. BSTR bstrTLB,
  918. BSTR bstrPSDLL);
  919. HRESULT (STDMETHODCALLTYPE *ShutdownApplication)(
  920. ICOMAdminCatalog2 *This,
  921. BSTR bstrApplIDOrName);
  922. HRESULT (STDMETHODCALLTYPE *ExportApplication)(
  923. ICOMAdminCatalog2 *This,
  924. BSTR bstrApplIDOrName,
  925. BSTR bstrApplicationFile,
  926. LONG lOptions);
  927. HRESULT (STDMETHODCALLTYPE *InstallApplication)(
  928. ICOMAdminCatalog2 *This,
  929. BSTR bstrApplicationFile,
  930. BSTR bstrDestinationDirectory,
  931. LONG lOptions,
  932. BSTR bstrUserId,
  933. BSTR bstrPassword,
  934. BSTR bstrRSN);
  935. HRESULT (STDMETHODCALLTYPE *StopRouter)(
  936. ICOMAdminCatalog2 *This);
  937. HRESULT (STDMETHODCALLTYPE *RefreshRouter)(
  938. ICOMAdminCatalog2 *This);
  939. HRESULT (STDMETHODCALLTYPE *StartRouter)(
  940. ICOMAdminCatalog2 *This);
  941. HRESULT (STDMETHODCALLTYPE *Reserved1)(
  942. ICOMAdminCatalog2 *This);
  943. HRESULT (STDMETHODCALLTYPE *Reserved2)(
  944. ICOMAdminCatalog2 *This);
  945. HRESULT (STDMETHODCALLTYPE *InstallMultipleComponents)(
  946. ICOMAdminCatalog2 *This,
  947. BSTR bstrApplIDOrName,
  948. SAFEARRAY **ppsaVarFileNames,
  949. SAFEARRAY **ppsaVarCLSIDs);
  950. HRESULT (STDMETHODCALLTYPE *GetMultipleComponentsInfo)(
  951. ICOMAdminCatalog2 *This,
  952. BSTR bstrApplIdOrName,
  953. SAFEARRAY **ppsaVarFileNames,
  954. SAFEARRAY **ppsaVarCLSIDs,
  955. SAFEARRAY **ppsaVarClassNames,
  956. SAFEARRAY **ppsaVarFileFlags,
  957. SAFEARRAY **ppsaVarComponentFlags);
  958. HRESULT (STDMETHODCALLTYPE *RefreshComponents)(
  959. ICOMAdminCatalog2 *This);
  960. HRESULT (STDMETHODCALLTYPE *BackupREGDB)(
  961. ICOMAdminCatalog2 *This,
  962. BSTR bstrBackupFilePath);
  963. HRESULT (STDMETHODCALLTYPE *RestoreREGDB)(
  964. ICOMAdminCatalog2 *This,
  965. BSTR bstrBackupFilePath);
  966. HRESULT (STDMETHODCALLTYPE *QueryApplicationFile)(
  967. ICOMAdminCatalog2 *This,
  968. BSTR bstrApplicationFile,
  969. BSTR *pbstrApplicationName,
  970. BSTR *pbstrApplicationDescription,
  971. VARIANT_BOOL *pbHasUsers,
  972. VARIANT_BOOL *pbIsProxy,
  973. SAFEARRAY **ppsaVarFileNames);
  974. HRESULT (STDMETHODCALLTYPE *StartApplication)(
  975. ICOMAdminCatalog2 *This,
  976. BSTR bstrApplIdOrName);
  977. HRESULT (STDMETHODCALLTYPE *ServiceCheck)(
  978. ICOMAdminCatalog2 *This,
  979. LONG lService,
  980. LONG *plStatus);
  981. HRESULT (STDMETHODCALLTYPE *InstallMultipleEventClasses)(
  982. ICOMAdminCatalog2 *This,
  983. BSTR bstrApplIdOrName,
  984. SAFEARRAY **ppsaVarFileNames,
  985. SAFEARRAY **ppsaVarCLSIDS);
  986. HRESULT (STDMETHODCALLTYPE *InstallEventClass)(
  987. ICOMAdminCatalog2 *This,
  988. BSTR bstrApplIdOrName,
  989. BSTR bstrDLL,
  990. BSTR bstrTLB,
  991. BSTR bstrPSDLL);
  992. HRESULT (STDMETHODCALLTYPE *GetEventClassesForIID)(
  993. ICOMAdminCatalog2 *This,
  994. BSTR bstrIID,
  995. SAFEARRAY **ppsaVarCLSIDs,
  996. SAFEARRAY **ppsaVarProgIDs,
  997. SAFEARRAY **ppsaVarDescriptions);
  998. /*** ICOMAdminCatalog2 methods ***/
  999. HRESULT (STDMETHODCALLTYPE *GetCollectionByQuery2)(
  1000. ICOMAdminCatalog2 *This,
  1001. BSTR bstrCollectionName,
  1002. VARIANT *pVarQueryStrings,
  1003. IDispatch **ppCatalogCollection);
  1004. HRESULT (STDMETHODCALLTYPE *GetApplicationInstanceIDFromProcessID)(
  1005. ICOMAdminCatalog2 *This,
  1006. LONG lProcessID,
  1007. BSTR *pbstrApplicationInstanceID);
  1008. HRESULT (STDMETHODCALLTYPE *ShutdownApplicationInstances)(
  1009. ICOMAdminCatalog2 *This,
  1010. VARIANT *pVarApplicationInstanceID);
  1011. HRESULT (STDMETHODCALLTYPE *PauseApplicationInstances)(
  1012. ICOMAdminCatalog2 *This,
  1013. VARIANT *pVarApplicationInstanceID);
  1014. HRESULT (STDMETHODCALLTYPE *ResumeApplicationInstances)(
  1015. ICOMAdminCatalog2 *This,
  1016. VARIANT *pVarApplicationInstanceID);
  1017. HRESULT (STDMETHODCALLTYPE *RecycleApplicationInstances)(
  1018. ICOMAdminCatalog2 *This,
  1019. VARIANT *pVarApplicationInstanceID,
  1020. LONG lReasonCode);
  1021. HRESULT (STDMETHODCALLTYPE *AreApplicationInstancesPaused)(
  1022. ICOMAdminCatalog2 *This,
  1023. VARIANT *pVarApplicationInstanceID,
  1024. VARIANT_BOOL *pVarBoolPaused);
  1025. HRESULT (STDMETHODCALLTYPE *DumpApplicationInstance)(
  1026. ICOMAdminCatalog2 *This,
  1027. BSTR bstrApplicationInstanceID,
  1028. BSTR bstrDirectory,
  1029. LONG lMaxImages,
  1030. BSTR *pbstrDumpFile);
  1031. HRESULT (STDMETHODCALLTYPE *get_IsApplicationInstanceDumpSupported)(
  1032. ICOMAdminCatalog2 *This,
  1033. VARIANT_BOOL *pVarBoolDumpSupported);
  1034. HRESULT (STDMETHODCALLTYPE *CreateServiceForApplication)(
  1035. ICOMAdminCatalog2 *This,
  1036. BSTR bstrApplicationIDOrName,
  1037. BSTR bstrServiceName,
  1038. BSTR bstrStartType,
  1039. BSTR bstrErrorControl,
  1040. BSTR bstrDependencies,
  1041. BSTR bstrRunAs,
  1042. BSTR bstrPassword,
  1043. VARIANT_BOOL bDesktopOk);
  1044. HRESULT (STDMETHODCALLTYPE *DeleteServiceForApplication)(
  1045. ICOMAdminCatalog2 *This,
  1046. BSTR bstrApplicationIDOrName);
  1047. HRESULT (STDMETHODCALLTYPE *GetPartitionID)(
  1048. ICOMAdminCatalog2 *This,
  1049. BSTR bstrApplicationIDOrName,
  1050. BSTR *pbstrPartitionID);
  1051. HRESULT (STDMETHODCALLTYPE *GetPartitionName)(
  1052. ICOMAdminCatalog2 *This,
  1053. BSTR bstrApplicationIDOrName,
  1054. BSTR *pbstrPartitionName);
  1055. HRESULT (STDMETHODCALLTYPE *put_CurrentPartition)(
  1056. ICOMAdminCatalog2 *This,
  1057. BSTR bstrPartitionIDOrName);
  1058. HRESULT (STDMETHODCALLTYPE *get_CurrentPartitionID)(
  1059. ICOMAdminCatalog2 *This,
  1060. BSTR *pbstrPartitionID);
  1061. HRESULT (STDMETHODCALLTYPE *get_CurrentPartitionName)(
  1062. ICOMAdminCatalog2 *This,
  1063. BSTR *pbstrPartitionName);
  1064. HRESULT (STDMETHODCALLTYPE *get_GlobalPartitionID)(
  1065. ICOMAdminCatalog2 *This,
  1066. BSTR *pbstrGlobalPartitionID);
  1067. HRESULT (STDMETHODCALLTYPE *FlushPartitionCache)(
  1068. ICOMAdminCatalog2 *This);
  1069. HRESULT (STDMETHODCALLTYPE *CopyApplications)(
  1070. ICOMAdminCatalog2 *This,
  1071. BSTR bstrSourcePartitionIDOrName,
  1072. VARIANT *pVarApplicationID,
  1073. BSTR bstrDestinationPartitionIDOrName);
  1074. HRESULT (STDMETHODCALLTYPE *CopyComponents)(
  1075. ICOMAdminCatalog2 *This,
  1076. BSTR bstrSourceApplicationIDOrName,
  1077. VARIANT *pVarCLSIDOrProgID,
  1078. BSTR bstrDestinationApplicationIDOrName);
  1079. HRESULT (STDMETHODCALLTYPE *MoveComponents)(
  1080. ICOMAdminCatalog2 *This,
  1081. BSTR bstrSourceApplicationIDOrName,
  1082. VARIANT *pVarCLSIDOrProgID,
  1083. BSTR bstrDestinationApplicationIDOrName);
  1084. HRESULT (STDMETHODCALLTYPE *AliasComponent)(
  1085. ICOMAdminCatalog2 *This,
  1086. BSTR bstrSrcApplicationIDOrName,
  1087. BSTR bstrCLSIDOrProgID,
  1088. BSTR bstrDestApplicationIDOrName,
  1089. BSTR bstrNewProgId,
  1090. BSTR bstrNewClsid);
  1091. HRESULT (STDMETHODCALLTYPE *IsSafeToDelete)(
  1092. ICOMAdminCatalog2 *This,
  1093. BSTR bstrDllName,
  1094. COMAdminInUse *pCOMAdminInUse);
  1095. HRESULT (STDMETHODCALLTYPE *ImportUnconfiguredComponents)(
  1096. ICOMAdminCatalog2 *This,
  1097. BSTR bstrApplicationIDOrName,
  1098. VARIANT *pVarCLSIDOrProgID,
  1099. VARIANT *pVarComponentType);
  1100. HRESULT (STDMETHODCALLTYPE *PromoteUnconfiguredComponents)(
  1101. ICOMAdminCatalog2 *This,
  1102. BSTR bstrApplicationIDOrName,
  1103. VARIANT *pVarCLSIDOrProgID,
  1104. VARIANT *pVarComponentType);
  1105. HRESULT (STDMETHODCALLTYPE *ImportComponents)(
  1106. ICOMAdminCatalog2 *This,
  1107. BSTR bstrApplicationIDOrName,
  1108. VARIANT *pVarCLSIDOrProgID,
  1109. VARIANT *pVarComponentType);
  1110. HRESULT (STDMETHODCALLTYPE *get_Is64BitCatalogServer)(
  1111. ICOMAdminCatalog2 *This,
  1112. VARIANT_BOOL *pbIs64Bit);
  1113. HRESULT (STDMETHODCALLTYPE *ExportPartition)(
  1114. ICOMAdminCatalog2 *This,
  1115. BSTR bstrPartitionIDOrName,
  1116. BSTR bstrPartitionFileName,
  1117. LONG lOptions);
  1118. HRESULT (STDMETHODCALLTYPE *InstallPartition)(
  1119. ICOMAdminCatalog2 *This,
  1120. BSTR bstrFileName,
  1121. BSTR bstrDestDirectory,
  1122. LONG lOptions,
  1123. BSTR bstrUserID,
  1124. BSTR bstrPassword,
  1125. BSTR bstrRSN);
  1126. HRESULT (STDMETHODCALLTYPE *QueryApplicationFile2)(
  1127. ICOMAdminCatalog2 *This,
  1128. BSTR bstrApplicationFile,
  1129. IDispatch **ppFilesForImport);
  1130. HRESULT (STDMETHODCALLTYPE *GetComponentVersionCount)(
  1131. ICOMAdminCatalog2 *This,
  1132. BSTR bstrCLSIDOrProgID,
  1133. LONG *plVersionCount);
  1134. END_INTERFACE
  1135. } ICOMAdminCatalog2Vtbl;
  1136. interface ICOMAdminCatalog2 {
  1137. CONST_VTBL ICOMAdminCatalog2Vtbl* lpVtbl;
  1138. };
  1139. #ifdef COBJMACROS
  1140. #ifndef WIDL_C_INLINE_WRAPPERS
  1141. /*** IUnknown methods ***/
  1142. #define ICOMAdminCatalog2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1143. #define ICOMAdminCatalog2_AddRef(This) (This)->lpVtbl->AddRef(This)
  1144. #define ICOMAdminCatalog2_Release(This) (This)->lpVtbl->Release(This)
  1145. /*** IDispatch methods ***/
  1146. #define ICOMAdminCatalog2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1147. #define ICOMAdminCatalog2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1148. #define ICOMAdminCatalog2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1149. #define ICOMAdminCatalog2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1150. /*** ICOMAdminCatalog methods ***/
  1151. #define ICOMAdminCatalog2_GetCollection(This,bstrCollName,ppCatalogCollection) (This)->lpVtbl->GetCollection(This,bstrCollName,ppCatalogCollection)
  1152. #define ICOMAdminCatalog2_Connect(This,bstrCatalogServerName,ppCatalogCollection) (This)->lpVtbl->Connect(This,bstrCatalogServerName,ppCatalogCollection)
  1153. #define ICOMAdminCatalog2_get_MajorVersion(This,plMajorVersion) (This)->lpVtbl->get_MajorVersion(This,plMajorVersion)
  1154. #define ICOMAdminCatalog2_get_MinorVersion(This,plMinorVersion) (This)->lpVtbl->get_MinorVersion(This,plMinorVersion)
  1155. #define ICOMAdminCatalog2_GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection) (This)->lpVtbl->GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection)
  1156. #define ICOMAdminCatalog2_ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID) (This)->lpVtbl->ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID)
  1157. #define ICOMAdminCatalog2_InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL) (This)->lpVtbl->InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL)
  1158. #define ICOMAdminCatalog2_ShutdownApplication(This,bstrApplIDOrName) (This)->lpVtbl->ShutdownApplication(This,bstrApplIDOrName)
  1159. #define ICOMAdminCatalog2_ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions) (This)->lpVtbl->ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions)
  1160. #define ICOMAdminCatalog2_InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN) (This)->lpVtbl->InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN)
  1161. #define ICOMAdminCatalog2_StopRouter(This) (This)->lpVtbl->StopRouter(This)
  1162. #define ICOMAdminCatalog2_RefreshRouter(This) (This)->lpVtbl->RefreshRouter(This)
  1163. #define ICOMAdminCatalog2_StartRouter(This) (This)->lpVtbl->StartRouter(This)
  1164. #define ICOMAdminCatalog2_Reserved1(This) (This)->lpVtbl->Reserved1(This)
  1165. #define ICOMAdminCatalog2_Reserved2(This) (This)->lpVtbl->Reserved2(This)
  1166. #define ICOMAdminCatalog2_InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs) (This)->lpVtbl->InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs)
  1167. #define ICOMAdminCatalog2_GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags) (This)->lpVtbl->GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags)
  1168. #define ICOMAdminCatalog2_RefreshComponents(This) (This)->lpVtbl->RefreshComponents(This)
  1169. #define ICOMAdminCatalog2_BackupREGDB(This,bstrBackupFilePath) (This)->lpVtbl->BackupREGDB(This,bstrBackupFilePath)
  1170. #define ICOMAdminCatalog2_RestoreREGDB(This,bstrBackupFilePath) (This)->lpVtbl->RestoreREGDB(This,bstrBackupFilePath)
  1171. #define ICOMAdminCatalog2_QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames) (This)->lpVtbl->QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames)
  1172. #define ICOMAdminCatalog2_StartApplication(This,bstrApplIdOrName) (This)->lpVtbl->StartApplication(This,bstrApplIdOrName)
  1173. #define ICOMAdminCatalog2_ServiceCheck(This,lService,plStatus) (This)->lpVtbl->ServiceCheck(This,lService,plStatus)
  1174. #define ICOMAdminCatalog2_InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS) (This)->lpVtbl->InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS)
  1175. #define ICOMAdminCatalog2_InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL) (This)->lpVtbl->InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL)
  1176. #define ICOMAdminCatalog2_GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions) (This)->lpVtbl->GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions)
  1177. /*** ICOMAdminCatalog2 methods ***/
  1178. #define ICOMAdminCatalog2_GetCollectionByQuery2(This,bstrCollectionName,pVarQueryStrings,ppCatalogCollection) (This)->lpVtbl->GetCollectionByQuery2(This,bstrCollectionName,pVarQueryStrings,ppCatalogCollection)
  1179. #define ICOMAdminCatalog2_GetApplicationInstanceIDFromProcessID(This,lProcessID,pbstrApplicationInstanceID) (This)->lpVtbl->GetApplicationInstanceIDFromProcessID(This,lProcessID,pbstrApplicationInstanceID)
  1180. #define ICOMAdminCatalog2_ShutdownApplicationInstances(This,pVarApplicationInstanceID) (This)->lpVtbl->ShutdownApplicationInstances(This,pVarApplicationInstanceID)
  1181. #define ICOMAdminCatalog2_PauseApplicationInstances(This,pVarApplicationInstanceID) (This)->lpVtbl->PauseApplicationInstances(This,pVarApplicationInstanceID)
  1182. #define ICOMAdminCatalog2_ResumeApplicationInstances(This,pVarApplicationInstanceID) (This)->lpVtbl->ResumeApplicationInstances(This,pVarApplicationInstanceID)
  1183. #define ICOMAdminCatalog2_RecycleApplicationInstances(This,pVarApplicationInstanceID,lReasonCode) (This)->lpVtbl->RecycleApplicationInstances(This,pVarApplicationInstanceID,lReasonCode)
  1184. #define ICOMAdminCatalog2_AreApplicationInstancesPaused(This,pVarApplicationInstanceID,pVarBoolPaused) (This)->lpVtbl->AreApplicationInstancesPaused(This,pVarApplicationInstanceID,pVarBoolPaused)
  1185. #define ICOMAdminCatalog2_DumpApplicationInstance(This,bstrApplicationInstanceID,bstrDirectory,lMaxImages,pbstrDumpFile) (This)->lpVtbl->DumpApplicationInstance(This,bstrApplicationInstanceID,bstrDirectory,lMaxImages,pbstrDumpFile)
  1186. #define ICOMAdminCatalog2_get_IsApplicationInstanceDumpSupported(This,pVarBoolDumpSupported) (This)->lpVtbl->get_IsApplicationInstanceDumpSupported(This,pVarBoolDumpSupported)
  1187. #define ICOMAdminCatalog2_CreateServiceForApplication(This,bstrApplicationIDOrName,bstrServiceName,bstrStartType,bstrErrorControl,bstrDependencies,bstrRunAs,bstrPassword,bDesktopOk) (This)->lpVtbl->CreateServiceForApplication(This,bstrApplicationIDOrName,bstrServiceName,bstrStartType,bstrErrorControl,bstrDependencies,bstrRunAs,bstrPassword,bDesktopOk)
  1188. #define ICOMAdminCatalog2_DeleteServiceForApplication(This,bstrApplicationIDOrName) (This)->lpVtbl->DeleteServiceForApplication(This,bstrApplicationIDOrName)
  1189. #define ICOMAdminCatalog2_GetPartitionID(This,bstrApplicationIDOrName,pbstrPartitionID) (This)->lpVtbl->GetPartitionID(This,bstrApplicationIDOrName,pbstrPartitionID)
  1190. #define ICOMAdminCatalog2_GetPartitionName(This,bstrApplicationIDOrName,pbstrPartitionName) (This)->lpVtbl->GetPartitionName(This,bstrApplicationIDOrName,pbstrPartitionName)
  1191. #define ICOMAdminCatalog2_put_CurrentPartition(This,bstrPartitionIDOrName) (This)->lpVtbl->put_CurrentPartition(This,bstrPartitionIDOrName)
  1192. #define ICOMAdminCatalog2_get_CurrentPartitionID(This,pbstrPartitionID) (This)->lpVtbl->get_CurrentPartitionID(This,pbstrPartitionID)
  1193. #define ICOMAdminCatalog2_get_CurrentPartitionName(This,pbstrPartitionName) (This)->lpVtbl->get_CurrentPartitionName(This,pbstrPartitionName)
  1194. #define ICOMAdminCatalog2_get_GlobalPartitionID(This,pbstrGlobalPartitionID) (This)->lpVtbl->get_GlobalPartitionID(This,pbstrGlobalPartitionID)
  1195. #define ICOMAdminCatalog2_FlushPartitionCache(This) (This)->lpVtbl->FlushPartitionCache(This)
  1196. #define ICOMAdminCatalog2_CopyApplications(This,bstrSourcePartitionIDOrName,pVarApplicationID,bstrDestinationPartitionIDOrName) (This)->lpVtbl->CopyApplications(This,bstrSourcePartitionIDOrName,pVarApplicationID,bstrDestinationPartitionIDOrName)
  1197. #define ICOMAdminCatalog2_CopyComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName) (This)->lpVtbl->CopyComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName)
  1198. #define ICOMAdminCatalog2_MoveComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName) (This)->lpVtbl->MoveComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName)
  1199. #define ICOMAdminCatalog2_AliasComponent(This,bstrSrcApplicationIDOrName,bstrCLSIDOrProgID,bstrDestApplicationIDOrName,bstrNewProgId,bstrNewClsid) (This)->lpVtbl->AliasComponent(This,bstrSrcApplicationIDOrName,bstrCLSIDOrProgID,bstrDestApplicationIDOrName,bstrNewProgId,bstrNewClsid)
  1200. #define ICOMAdminCatalog2_IsSafeToDelete(This,bstrDllName,pCOMAdminInUse) (This)->lpVtbl->IsSafeToDelete(This,bstrDllName,pCOMAdminInUse)
  1201. #define ICOMAdminCatalog2_ImportUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) (This)->lpVtbl->ImportUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1202. #define ICOMAdminCatalog2_PromoteUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) (This)->lpVtbl->PromoteUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1203. #define ICOMAdminCatalog2_ImportComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType) (This)->lpVtbl->ImportComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType)
  1204. #define ICOMAdminCatalog2_get_Is64BitCatalogServer(This,pbIs64Bit) (This)->lpVtbl->get_Is64BitCatalogServer(This,pbIs64Bit)
  1205. #define ICOMAdminCatalog2_ExportPartition(This,bstrPartitionIDOrName,bstrPartitionFileName,lOptions) (This)->lpVtbl->ExportPartition(This,bstrPartitionIDOrName,bstrPartitionFileName,lOptions)
  1206. #define ICOMAdminCatalog2_InstallPartition(This,bstrFileName,bstrDestDirectory,lOptions,bstrUserID,bstrPassword,bstrRSN) (This)->lpVtbl->InstallPartition(This,bstrFileName,bstrDestDirectory,lOptions,bstrUserID,bstrPassword,bstrRSN)
  1207. #define ICOMAdminCatalog2_QueryApplicationFile2(This,bstrApplicationFile,ppFilesForImport) (This)->lpVtbl->QueryApplicationFile2(This,bstrApplicationFile,ppFilesForImport)
  1208. #define ICOMAdminCatalog2_GetComponentVersionCount(This,bstrCLSIDOrProgID,plVersionCount) (This)->lpVtbl->GetComponentVersionCount(This,bstrCLSIDOrProgID,plVersionCount)
  1209. #else
  1210. /*** IUnknown methods ***/
  1211. static FORCEINLINE HRESULT ICOMAdminCatalog2_QueryInterface(ICOMAdminCatalog2* This,REFIID riid,void **ppvObject) {
  1212. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1213. }
  1214. static FORCEINLINE ULONG ICOMAdminCatalog2_AddRef(ICOMAdminCatalog2* This) {
  1215. return This->lpVtbl->AddRef(This);
  1216. }
  1217. static FORCEINLINE ULONG ICOMAdminCatalog2_Release(ICOMAdminCatalog2* This) {
  1218. return This->lpVtbl->Release(This);
  1219. }
  1220. /*** IDispatch methods ***/
  1221. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetTypeInfoCount(ICOMAdminCatalog2* This,UINT *pctinfo) {
  1222. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1223. }
  1224. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetTypeInfo(ICOMAdminCatalog2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1225. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1226. }
  1227. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetIDsOfNames(ICOMAdminCatalog2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1228. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1229. }
  1230. static FORCEINLINE HRESULT ICOMAdminCatalog2_Invoke(ICOMAdminCatalog2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1231. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1232. }
  1233. /*** ICOMAdminCatalog methods ***/
  1234. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetCollection(ICOMAdminCatalog2* This,BSTR bstrCollName,IDispatch **ppCatalogCollection) {
  1235. return This->lpVtbl->GetCollection(This,bstrCollName,ppCatalogCollection);
  1236. }
  1237. static FORCEINLINE HRESULT ICOMAdminCatalog2_Connect(ICOMAdminCatalog2* This,BSTR bstrCatalogServerName,IDispatch **ppCatalogCollection) {
  1238. return This->lpVtbl->Connect(This,bstrCatalogServerName,ppCatalogCollection);
  1239. }
  1240. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_MajorVersion(ICOMAdminCatalog2* This,LONG *plMajorVersion) {
  1241. return This->lpVtbl->get_MajorVersion(This,plMajorVersion);
  1242. }
  1243. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_MinorVersion(ICOMAdminCatalog2* This,LONG *plMinorVersion) {
  1244. return This->lpVtbl->get_MinorVersion(This,plMinorVersion);
  1245. }
  1246. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetCollectionByQuery(ICOMAdminCatalog2* This,BSTR bstrCollName,SAFEARRAY **ppsaVarQuery,IDispatch **ppCatalogCollection) {
  1247. return This->lpVtbl->GetCollectionByQuery(This,bstrCollName,ppsaVarQuery,ppCatalogCollection);
  1248. }
  1249. static FORCEINLINE HRESULT ICOMAdminCatalog2_ImportComponent(ICOMAdminCatalog2* This,BSTR bstrApplIDOrName,BSTR bstrCLSIDOrProgID) {
  1250. return This->lpVtbl->ImportComponent(This,bstrApplIDOrName,bstrCLSIDOrProgID);
  1251. }
  1252. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallComponent(ICOMAdminCatalog2* This,BSTR bstrApplIDOrName,BSTR bstrDLL,BSTR bstrTLB,BSTR bstrPSDLL) {
  1253. return This->lpVtbl->InstallComponent(This,bstrApplIDOrName,bstrDLL,bstrTLB,bstrPSDLL);
  1254. }
  1255. static FORCEINLINE HRESULT ICOMAdminCatalog2_ShutdownApplication(ICOMAdminCatalog2* This,BSTR bstrApplIDOrName) {
  1256. return This->lpVtbl->ShutdownApplication(This,bstrApplIDOrName);
  1257. }
  1258. static FORCEINLINE HRESULT ICOMAdminCatalog2_ExportApplication(ICOMAdminCatalog2* This,BSTR bstrApplIDOrName,BSTR bstrApplicationFile,LONG lOptions) {
  1259. return This->lpVtbl->ExportApplication(This,bstrApplIDOrName,bstrApplicationFile,lOptions);
  1260. }
  1261. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallApplication(ICOMAdminCatalog2* This,BSTR bstrApplicationFile,BSTR bstrDestinationDirectory,LONG lOptions,BSTR bstrUserId,BSTR bstrPassword,BSTR bstrRSN) {
  1262. return This->lpVtbl->InstallApplication(This,bstrApplicationFile,bstrDestinationDirectory,lOptions,bstrUserId,bstrPassword,bstrRSN);
  1263. }
  1264. static FORCEINLINE HRESULT ICOMAdminCatalog2_StopRouter(ICOMAdminCatalog2* This) {
  1265. return This->lpVtbl->StopRouter(This);
  1266. }
  1267. static FORCEINLINE HRESULT ICOMAdminCatalog2_RefreshRouter(ICOMAdminCatalog2* This) {
  1268. return This->lpVtbl->RefreshRouter(This);
  1269. }
  1270. static FORCEINLINE HRESULT ICOMAdminCatalog2_StartRouter(ICOMAdminCatalog2* This) {
  1271. return This->lpVtbl->StartRouter(This);
  1272. }
  1273. static FORCEINLINE HRESULT ICOMAdminCatalog2_Reserved1(ICOMAdminCatalog2* This) {
  1274. return This->lpVtbl->Reserved1(This);
  1275. }
  1276. static FORCEINLINE HRESULT ICOMAdminCatalog2_Reserved2(ICOMAdminCatalog2* This) {
  1277. return This->lpVtbl->Reserved2(This);
  1278. }
  1279. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallMultipleComponents(ICOMAdminCatalog2* This,BSTR bstrApplIDOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDs) {
  1280. return This->lpVtbl->InstallMultipleComponents(This,bstrApplIDOrName,ppsaVarFileNames,ppsaVarCLSIDs);
  1281. }
  1282. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetMultipleComponentsInfo(ICOMAdminCatalog2* This,BSTR bstrApplIdOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDs,SAFEARRAY **ppsaVarClassNames,SAFEARRAY **ppsaVarFileFlags,SAFEARRAY **ppsaVarComponentFlags) {
  1283. return This->lpVtbl->GetMultipleComponentsInfo(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDs,ppsaVarClassNames,ppsaVarFileFlags,ppsaVarComponentFlags);
  1284. }
  1285. static FORCEINLINE HRESULT ICOMAdminCatalog2_RefreshComponents(ICOMAdminCatalog2* This) {
  1286. return This->lpVtbl->RefreshComponents(This);
  1287. }
  1288. static FORCEINLINE HRESULT ICOMAdminCatalog2_BackupREGDB(ICOMAdminCatalog2* This,BSTR bstrBackupFilePath) {
  1289. return This->lpVtbl->BackupREGDB(This,bstrBackupFilePath);
  1290. }
  1291. static FORCEINLINE HRESULT ICOMAdminCatalog2_RestoreREGDB(ICOMAdminCatalog2* This,BSTR bstrBackupFilePath) {
  1292. return This->lpVtbl->RestoreREGDB(This,bstrBackupFilePath);
  1293. }
  1294. static FORCEINLINE HRESULT ICOMAdminCatalog2_QueryApplicationFile(ICOMAdminCatalog2* This,BSTR bstrApplicationFile,BSTR *pbstrApplicationName,BSTR *pbstrApplicationDescription,VARIANT_BOOL *pbHasUsers,VARIANT_BOOL *pbIsProxy,SAFEARRAY **ppsaVarFileNames) {
  1295. return This->lpVtbl->QueryApplicationFile(This,bstrApplicationFile,pbstrApplicationName,pbstrApplicationDescription,pbHasUsers,pbIsProxy,ppsaVarFileNames);
  1296. }
  1297. static FORCEINLINE HRESULT ICOMAdminCatalog2_StartApplication(ICOMAdminCatalog2* This,BSTR bstrApplIdOrName) {
  1298. return This->lpVtbl->StartApplication(This,bstrApplIdOrName);
  1299. }
  1300. static FORCEINLINE HRESULT ICOMAdminCatalog2_ServiceCheck(ICOMAdminCatalog2* This,LONG lService,LONG *plStatus) {
  1301. return This->lpVtbl->ServiceCheck(This,lService,plStatus);
  1302. }
  1303. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallMultipleEventClasses(ICOMAdminCatalog2* This,BSTR bstrApplIdOrName,SAFEARRAY **ppsaVarFileNames,SAFEARRAY **ppsaVarCLSIDS) {
  1304. return This->lpVtbl->InstallMultipleEventClasses(This,bstrApplIdOrName,ppsaVarFileNames,ppsaVarCLSIDS);
  1305. }
  1306. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallEventClass(ICOMAdminCatalog2* This,BSTR bstrApplIdOrName,BSTR bstrDLL,BSTR bstrTLB,BSTR bstrPSDLL) {
  1307. return This->lpVtbl->InstallEventClass(This,bstrApplIdOrName,bstrDLL,bstrTLB,bstrPSDLL);
  1308. }
  1309. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetEventClassesForIID(ICOMAdminCatalog2* This,BSTR bstrIID,SAFEARRAY **ppsaVarCLSIDs,SAFEARRAY **ppsaVarProgIDs,SAFEARRAY **ppsaVarDescriptions) {
  1310. return This->lpVtbl->GetEventClassesForIID(This,bstrIID,ppsaVarCLSIDs,ppsaVarProgIDs,ppsaVarDescriptions);
  1311. }
  1312. /*** ICOMAdminCatalog2 methods ***/
  1313. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetCollectionByQuery2(ICOMAdminCatalog2* This,BSTR bstrCollectionName,VARIANT *pVarQueryStrings,IDispatch **ppCatalogCollection) {
  1314. return This->lpVtbl->GetCollectionByQuery2(This,bstrCollectionName,pVarQueryStrings,ppCatalogCollection);
  1315. }
  1316. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetApplicationInstanceIDFromProcessID(ICOMAdminCatalog2* This,LONG lProcessID,BSTR *pbstrApplicationInstanceID) {
  1317. return This->lpVtbl->GetApplicationInstanceIDFromProcessID(This,lProcessID,pbstrApplicationInstanceID);
  1318. }
  1319. static FORCEINLINE HRESULT ICOMAdminCatalog2_ShutdownApplicationInstances(ICOMAdminCatalog2* This,VARIANT *pVarApplicationInstanceID) {
  1320. return This->lpVtbl->ShutdownApplicationInstances(This,pVarApplicationInstanceID);
  1321. }
  1322. static FORCEINLINE HRESULT ICOMAdminCatalog2_PauseApplicationInstances(ICOMAdminCatalog2* This,VARIANT *pVarApplicationInstanceID) {
  1323. return This->lpVtbl->PauseApplicationInstances(This,pVarApplicationInstanceID);
  1324. }
  1325. static FORCEINLINE HRESULT ICOMAdminCatalog2_ResumeApplicationInstances(ICOMAdminCatalog2* This,VARIANT *pVarApplicationInstanceID) {
  1326. return This->lpVtbl->ResumeApplicationInstances(This,pVarApplicationInstanceID);
  1327. }
  1328. static FORCEINLINE HRESULT ICOMAdminCatalog2_RecycleApplicationInstances(ICOMAdminCatalog2* This,VARIANT *pVarApplicationInstanceID,LONG lReasonCode) {
  1329. return This->lpVtbl->RecycleApplicationInstances(This,pVarApplicationInstanceID,lReasonCode);
  1330. }
  1331. static FORCEINLINE HRESULT ICOMAdminCatalog2_AreApplicationInstancesPaused(ICOMAdminCatalog2* This,VARIANT *pVarApplicationInstanceID,VARIANT_BOOL *pVarBoolPaused) {
  1332. return This->lpVtbl->AreApplicationInstancesPaused(This,pVarApplicationInstanceID,pVarBoolPaused);
  1333. }
  1334. static FORCEINLINE HRESULT ICOMAdminCatalog2_DumpApplicationInstance(ICOMAdminCatalog2* This,BSTR bstrApplicationInstanceID,BSTR bstrDirectory,LONG lMaxImages,BSTR *pbstrDumpFile) {
  1335. return This->lpVtbl->DumpApplicationInstance(This,bstrApplicationInstanceID,bstrDirectory,lMaxImages,pbstrDumpFile);
  1336. }
  1337. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_IsApplicationInstanceDumpSupported(ICOMAdminCatalog2* This,VARIANT_BOOL *pVarBoolDumpSupported) {
  1338. return This->lpVtbl->get_IsApplicationInstanceDumpSupported(This,pVarBoolDumpSupported);
  1339. }
  1340. static FORCEINLINE HRESULT ICOMAdminCatalog2_CreateServiceForApplication(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,BSTR bstrServiceName,BSTR bstrStartType,BSTR bstrErrorControl,BSTR bstrDependencies,BSTR bstrRunAs,BSTR bstrPassword,VARIANT_BOOL bDesktopOk) {
  1341. return This->lpVtbl->CreateServiceForApplication(This,bstrApplicationIDOrName,bstrServiceName,bstrStartType,bstrErrorControl,bstrDependencies,bstrRunAs,bstrPassword,bDesktopOk);
  1342. }
  1343. static FORCEINLINE HRESULT ICOMAdminCatalog2_DeleteServiceForApplication(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName) {
  1344. return This->lpVtbl->DeleteServiceForApplication(This,bstrApplicationIDOrName);
  1345. }
  1346. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetPartitionID(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,BSTR *pbstrPartitionID) {
  1347. return This->lpVtbl->GetPartitionID(This,bstrApplicationIDOrName,pbstrPartitionID);
  1348. }
  1349. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetPartitionName(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,BSTR *pbstrPartitionName) {
  1350. return This->lpVtbl->GetPartitionName(This,bstrApplicationIDOrName,pbstrPartitionName);
  1351. }
  1352. static FORCEINLINE HRESULT ICOMAdminCatalog2_put_CurrentPartition(ICOMAdminCatalog2* This,BSTR bstrPartitionIDOrName) {
  1353. return This->lpVtbl->put_CurrentPartition(This,bstrPartitionIDOrName);
  1354. }
  1355. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_CurrentPartitionID(ICOMAdminCatalog2* This,BSTR *pbstrPartitionID) {
  1356. return This->lpVtbl->get_CurrentPartitionID(This,pbstrPartitionID);
  1357. }
  1358. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_CurrentPartitionName(ICOMAdminCatalog2* This,BSTR *pbstrPartitionName) {
  1359. return This->lpVtbl->get_CurrentPartitionName(This,pbstrPartitionName);
  1360. }
  1361. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_GlobalPartitionID(ICOMAdminCatalog2* This,BSTR *pbstrGlobalPartitionID) {
  1362. return This->lpVtbl->get_GlobalPartitionID(This,pbstrGlobalPartitionID);
  1363. }
  1364. static FORCEINLINE HRESULT ICOMAdminCatalog2_FlushPartitionCache(ICOMAdminCatalog2* This) {
  1365. return This->lpVtbl->FlushPartitionCache(This);
  1366. }
  1367. static FORCEINLINE HRESULT ICOMAdminCatalog2_CopyApplications(ICOMAdminCatalog2* This,BSTR bstrSourcePartitionIDOrName,VARIANT *pVarApplicationID,BSTR bstrDestinationPartitionIDOrName) {
  1368. return This->lpVtbl->CopyApplications(This,bstrSourcePartitionIDOrName,pVarApplicationID,bstrDestinationPartitionIDOrName);
  1369. }
  1370. static FORCEINLINE HRESULT ICOMAdminCatalog2_CopyComponents(ICOMAdminCatalog2* This,BSTR bstrSourceApplicationIDOrName,VARIANT *pVarCLSIDOrProgID,BSTR bstrDestinationApplicationIDOrName) {
  1371. return This->lpVtbl->CopyComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName);
  1372. }
  1373. static FORCEINLINE HRESULT ICOMAdminCatalog2_MoveComponents(ICOMAdminCatalog2* This,BSTR bstrSourceApplicationIDOrName,VARIANT *pVarCLSIDOrProgID,BSTR bstrDestinationApplicationIDOrName) {
  1374. return This->lpVtbl->MoveComponents(This,bstrSourceApplicationIDOrName,pVarCLSIDOrProgID,bstrDestinationApplicationIDOrName);
  1375. }
  1376. static FORCEINLINE HRESULT ICOMAdminCatalog2_AliasComponent(ICOMAdminCatalog2* This,BSTR bstrSrcApplicationIDOrName,BSTR bstrCLSIDOrProgID,BSTR bstrDestApplicationIDOrName,BSTR bstrNewProgId,BSTR bstrNewClsid) {
  1377. return This->lpVtbl->AliasComponent(This,bstrSrcApplicationIDOrName,bstrCLSIDOrProgID,bstrDestApplicationIDOrName,bstrNewProgId,bstrNewClsid);
  1378. }
  1379. static FORCEINLINE HRESULT ICOMAdminCatalog2_IsSafeToDelete(ICOMAdminCatalog2* This,BSTR bstrDllName,COMAdminInUse *pCOMAdminInUse) {
  1380. return This->lpVtbl->IsSafeToDelete(This,bstrDllName,pCOMAdminInUse);
  1381. }
  1382. static FORCEINLINE HRESULT ICOMAdminCatalog2_ImportUnconfiguredComponents(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,VARIANT *pVarCLSIDOrProgID,VARIANT *pVarComponentType) {
  1383. return This->lpVtbl->ImportUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType);
  1384. }
  1385. static FORCEINLINE HRESULT ICOMAdminCatalog2_PromoteUnconfiguredComponents(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,VARIANT *pVarCLSIDOrProgID,VARIANT *pVarComponentType) {
  1386. return This->lpVtbl->PromoteUnconfiguredComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType);
  1387. }
  1388. static FORCEINLINE HRESULT ICOMAdminCatalog2_ImportComponents(ICOMAdminCatalog2* This,BSTR bstrApplicationIDOrName,VARIANT *pVarCLSIDOrProgID,VARIANT *pVarComponentType) {
  1389. return This->lpVtbl->ImportComponents(This,bstrApplicationIDOrName,pVarCLSIDOrProgID,pVarComponentType);
  1390. }
  1391. static FORCEINLINE HRESULT ICOMAdminCatalog2_get_Is64BitCatalogServer(ICOMAdminCatalog2* This,VARIANT_BOOL *pbIs64Bit) {
  1392. return This->lpVtbl->get_Is64BitCatalogServer(This,pbIs64Bit);
  1393. }
  1394. static FORCEINLINE HRESULT ICOMAdminCatalog2_ExportPartition(ICOMAdminCatalog2* This,BSTR bstrPartitionIDOrName,BSTR bstrPartitionFileName,LONG lOptions) {
  1395. return This->lpVtbl->ExportPartition(This,bstrPartitionIDOrName,bstrPartitionFileName,lOptions);
  1396. }
  1397. static FORCEINLINE HRESULT ICOMAdminCatalog2_InstallPartition(ICOMAdminCatalog2* This,BSTR bstrFileName,BSTR bstrDestDirectory,LONG lOptions,BSTR bstrUserID,BSTR bstrPassword,BSTR bstrRSN) {
  1398. return This->lpVtbl->InstallPartition(This,bstrFileName,bstrDestDirectory,lOptions,bstrUserID,bstrPassword,bstrRSN);
  1399. }
  1400. static FORCEINLINE HRESULT ICOMAdminCatalog2_QueryApplicationFile2(ICOMAdminCatalog2* This,BSTR bstrApplicationFile,IDispatch **ppFilesForImport) {
  1401. return This->lpVtbl->QueryApplicationFile2(This,bstrApplicationFile,ppFilesForImport);
  1402. }
  1403. static FORCEINLINE HRESULT ICOMAdminCatalog2_GetComponentVersionCount(ICOMAdminCatalog2* This,BSTR bstrCLSIDOrProgID,LONG *plVersionCount) {
  1404. return This->lpVtbl->GetComponentVersionCount(This,bstrCLSIDOrProgID,plVersionCount);
  1405. }
  1406. #endif
  1407. #endif
  1408. #endif
  1409. #endif /* __ICOMAdminCatalog2_INTERFACE_DEFINED__ */
  1410. /*****************************************************************************
  1411. * ICatalogObject interface
  1412. */
  1413. #ifndef __ICatalogObject_INTERFACE_DEFINED__
  1414. #define __ICatalogObject_INTERFACE_DEFINED__
  1415. DEFINE_GUID(IID_ICatalogObject, 0x6eb22871, 0x8a19, 0x11d0, 0x81,0xb6, 0x00,0xa0,0xc9,0x23,0x1c,0x29);
  1416. #if defined(__cplusplus) && !defined(CINTERFACE)
  1417. MIDL_INTERFACE("6eb22871-8a19-11d0-81b6-00a0c9231c29")
  1418. ICatalogObject : public IDispatch
  1419. {
  1420. virtual HRESULT STDMETHODCALLTYPE get_Value(
  1421. BSTR bstrPropName,
  1422. VARIANT *pvarRetVal) = 0;
  1423. virtual HRESULT STDMETHODCALLTYPE put_Value(
  1424. BSTR bstrPropName,
  1425. VARIANT val) = 0;
  1426. virtual HRESULT STDMETHODCALLTYPE get_Key(
  1427. VARIANT *pvarRetVal) = 0;
  1428. virtual HRESULT STDMETHODCALLTYPE get_Name(
  1429. VARIANT *pvarRetVal) = 0;
  1430. virtual HRESULT STDMETHODCALLTYPE IsPropertyReadOnly(
  1431. BSTR bstrPropName,
  1432. VARIANT_BOOL *pbRetVal) = 0;
  1433. virtual HRESULT STDMETHODCALLTYPE get_Valid(
  1434. VARIANT_BOOL *pbRetVal) = 0;
  1435. virtual HRESULT STDMETHODCALLTYPE IsPropertyWriteOnly(
  1436. BSTR bstrPropName,
  1437. VARIANT_BOOL *pbRetVal) = 0;
  1438. };
  1439. #ifdef __CRT_UUID_DECL
  1440. __CRT_UUID_DECL(ICatalogObject, 0x6eb22871, 0x8a19, 0x11d0, 0x81,0xb6, 0x00,0xa0,0xc9,0x23,0x1c,0x29)
  1441. #endif
  1442. #else
  1443. typedef struct ICatalogObjectVtbl {
  1444. BEGIN_INTERFACE
  1445. /*** IUnknown methods ***/
  1446. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1447. ICatalogObject *This,
  1448. REFIID riid,
  1449. void **ppvObject);
  1450. ULONG (STDMETHODCALLTYPE *AddRef)(
  1451. ICatalogObject *This);
  1452. ULONG (STDMETHODCALLTYPE *Release)(
  1453. ICatalogObject *This);
  1454. /*** IDispatch methods ***/
  1455. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1456. ICatalogObject *This,
  1457. UINT *pctinfo);
  1458. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1459. ICatalogObject *This,
  1460. UINT iTInfo,
  1461. LCID lcid,
  1462. ITypeInfo **ppTInfo);
  1463. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1464. ICatalogObject *This,
  1465. REFIID riid,
  1466. LPOLESTR *rgszNames,
  1467. UINT cNames,
  1468. LCID lcid,
  1469. DISPID *rgDispId);
  1470. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1471. ICatalogObject *This,
  1472. DISPID dispIdMember,
  1473. REFIID riid,
  1474. LCID lcid,
  1475. WORD wFlags,
  1476. DISPPARAMS *pDispParams,
  1477. VARIANT *pVarResult,
  1478. EXCEPINFO *pExcepInfo,
  1479. UINT *puArgErr);
  1480. /*** ICatalogObject methods ***/
  1481. HRESULT (STDMETHODCALLTYPE *get_Value)(
  1482. ICatalogObject *This,
  1483. BSTR bstrPropName,
  1484. VARIANT *pvarRetVal);
  1485. HRESULT (STDMETHODCALLTYPE *put_Value)(
  1486. ICatalogObject *This,
  1487. BSTR bstrPropName,
  1488. VARIANT val);
  1489. HRESULT (STDMETHODCALLTYPE *get_Key)(
  1490. ICatalogObject *This,
  1491. VARIANT *pvarRetVal);
  1492. HRESULT (STDMETHODCALLTYPE *get_Name)(
  1493. ICatalogObject *This,
  1494. VARIANT *pvarRetVal);
  1495. HRESULT (STDMETHODCALLTYPE *IsPropertyReadOnly)(
  1496. ICatalogObject *This,
  1497. BSTR bstrPropName,
  1498. VARIANT_BOOL *pbRetVal);
  1499. HRESULT (STDMETHODCALLTYPE *get_Valid)(
  1500. ICatalogObject *This,
  1501. VARIANT_BOOL *pbRetVal);
  1502. HRESULT (STDMETHODCALLTYPE *IsPropertyWriteOnly)(
  1503. ICatalogObject *This,
  1504. BSTR bstrPropName,
  1505. VARIANT_BOOL *pbRetVal);
  1506. END_INTERFACE
  1507. } ICatalogObjectVtbl;
  1508. interface ICatalogObject {
  1509. CONST_VTBL ICatalogObjectVtbl* lpVtbl;
  1510. };
  1511. #ifdef COBJMACROS
  1512. #ifndef WIDL_C_INLINE_WRAPPERS
  1513. /*** IUnknown methods ***/
  1514. #define ICatalogObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1515. #define ICatalogObject_AddRef(This) (This)->lpVtbl->AddRef(This)
  1516. #define ICatalogObject_Release(This) (This)->lpVtbl->Release(This)
  1517. /*** IDispatch methods ***/
  1518. #define ICatalogObject_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1519. #define ICatalogObject_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1520. #define ICatalogObject_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1521. #define ICatalogObject_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1522. /*** ICatalogObject methods ***/
  1523. #define ICatalogObject_get_Value(This,bstrPropName,pvarRetVal) (This)->lpVtbl->get_Value(This,bstrPropName,pvarRetVal)
  1524. #define ICatalogObject_put_Value(This,bstrPropName,val) (This)->lpVtbl->put_Value(This,bstrPropName,val)
  1525. #define ICatalogObject_get_Key(This,pvarRetVal) (This)->lpVtbl->get_Key(This,pvarRetVal)
  1526. #define ICatalogObject_get_Name(This,pvarRetVal) (This)->lpVtbl->get_Name(This,pvarRetVal)
  1527. #define ICatalogObject_IsPropertyReadOnly(This,bstrPropName,pbRetVal) (This)->lpVtbl->IsPropertyReadOnly(This,bstrPropName,pbRetVal)
  1528. #define ICatalogObject_get_Valid(This,pbRetVal) (This)->lpVtbl->get_Valid(This,pbRetVal)
  1529. #define ICatalogObject_IsPropertyWriteOnly(This,bstrPropName,pbRetVal) (This)->lpVtbl->IsPropertyWriteOnly(This,bstrPropName,pbRetVal)
  1530. #else
  1531. /*** IUnknown methods ***/
  1532. static FORCEINLINE HRESULT ICatalogObject_QueryInterface(ICatalogObject* This,REFIID riid,void **ppvObject) {
  1533. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1534. }
  1535. static FORCEINLINE ULONG ICatalogObject_AddRef(ICatalogObject* This) {
  1536. return This->lpVtbl->AddRef(This);
  1537. }
  1538. static FORCEINLINE ULONG ICatalogObject_Release(ICatalogObject* This) {
  1539. return This->lpVtbl->Release(This);
  1540. }
  1541. /*** IDispatch methods ***/
  1542. static FORCEINLINE HRESULT ICatalogObject_GetTypeInfoCount(ICatalogObject* This,UINT *pctinfo) {
  1543. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1544. }
  1545. static FORCEINLINE HRESULT ICatalogObject_GetTypeInfo(ICatalogObject* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1546. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1547. }
  1548. static FORCEINLINE HRESULT ICatalogObject_GetIDsOfNames(ICatalogObject* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1549. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1550. }
  1551. static FORCEINLINE HRESULT ICatalogObject_Invoke(ICatalogObject* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1552. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1553. }
  1554. /*** ICatalogObject methods ***/
  1555. static FORCEINLINE HRESULT ICatalogObject_get_Value(ICatalogObject* This,BSTR bstrPropName,VARIANT *pvarRetVal) {
  1556. return This->lpVtbl->get_Value(This,bstrPropName,pvarRetVal);
  1557. }
  1558. static FORCEINLINE HRESULT ICatalogObject_put_Value(ICatalogObject* This,BSTR bstrPropName,VARIANT val) {
  1559. return This->lpVtbl->put_Value(This,bstrPropName,val);
  1560. }
  1561. static FORCEINLINE HRESULT ICatalogObject_get_Key(ICatalogObject* This,VARIANT *pvarRetVal) {
  1562. return This->lpVtbl->get_Key(This,pvarRetVal);
  1563. }
  1564. static FORCEINLINE HRESULT ICatalogObject_get_Name(ICatalogObject* This,VARIANT *pvarRetVal) {
  1565. return This->lpVtbl->get_Name(This,pvarRetVal);
  1566. }
  1567. static FORCEINLINE HRESULT ICatalogObject_IsPropertyReadOnly(ICatalogObject* This,BSTR bstrPropName,VARIANT_BOOL *pbRetVal) {
  1568. return This->lpVtbl->IsPropertyReadOnly(This,bstrPropName,pbRetVal);
  1569. }
  1570. static FORCEINLINE HRESULT ICatalogObject_get_Valid(ICatalogObject* This,VARIANT_BOOL *pbRetVal) {
  1571. return This->lpVtbl->get_Valid(This,pbRetVal);
  1572. }
  1573. static FORCEINLINE HRESULT ICatalogObject_IsPropertyWriteOnly(ICatalogObject* This,BSTR bstrPropName,VARIANT_BOOL *pbRetVal) {
  1574. return This->lpVtbl->IsPropertyWriteOnly(This,bstrPropName,pbRetVal);
  1575. }
  1576. #endif
  1577. #endif
  1578. #endif
  1579. #endif /* __ICatalogObject_INTERFACE_DEFINED__ */
  1580. /*****************************************************************************
  1581. * ICatalogCollection interface
  1582. */
  1583. #ifndef __ICatalogCollection_INTERFACE_DEFINED__
  1584. #define __ICatalogCollection_INTERFACE_DEFINED__
  1585. DEFINE_GUID(IID_ICatalogCollection, 0x6eb22872, 0x8a19, 0x11d0, 0x81,0xb6, 0x00,0xa0,0xc9,0x23,0x1c,0x29);
  1586. #if defined(__cplusplus) && !defined(CINTERFACE)
  1587. MIDL_INTERFACE("6eb22872-8a19-11d0-81b6-00a0c9231c29")
  1588. ICatalogCollection : public IDispatch
  1589. {
  1590. virtual HRESULT STDMETHODCALLTYPE get__NewEnum(
  1591. IUnknown **ppEnumVariant) = 0;
  1592. virtual HRESULT STDMETHODCALLTYPE get_Item(
  1593. LONG lIndex,
  1594. IDispatch **ppCatalogObject) = 0;
  1595. virtual HRESULT STDMETHODCALLTYPE get_Count(
  1596. LONG *plObjectCount) = 0;
  1597. virtual HRESULT STDMETHODCALLTYPE Remove(
  1598. LONG lIndex) = 0;
  1599. virtual HRESULT STDMETHODCALLTYPE Add(
  1600. IDispatch **ppCatalogObject) = 0;
  1601. virtual HRESULT STDMETHODCALLTYPE Populate(
  1602. ) = 0;
  1603. virtual HRESULT STDMETHODCALLTYPE SaveChanges(
  1604. LONG *pcChanges) = 0;
  1605. virtual HRESULT STDMETHODCALLTYPE GetCollection(
  1606. BSTR bstrCollName,
  1607. VARIANT varObjectKey,
  1608. IDispatch **ppCatalogCollection) = 0;
  1609. virtual HRESULT STDMETHODCALLTYPE get_Name(
  1610. VARIANT *pVarNamel) = 0;
  1611. virtual HRESULT STDMETHODCALLTYPE get_AddEnabled(
  1612. VARIANT_BOOL *pVarBool) = 0;
  1613. virtual HRESULT STDMETHODCALLTYPE get_RemoveEnabled(
  1614. VARIANT_BOOL *pVarBool) = 0;
  1615. virtual HRESULT STDMETHODCALLTYPE GetUtilInterface(
  1616. IDispatch **ppIDispatch) = 0;
  1617. virtual HRESULT STDMETHODCALLTYPE get_DataStoreMajorVersion(
  1618. LONG *plMajorVersion) = 0;
  1619. virtual HRESULT STDMETHODCALLTYPE get_DataStoreMinorVersion(
  1620. LONG *plMinorVersionl) = 0;
  1621. virtual HRESULT STDMETHODCALLTYPE PopulateByKey(
  1622. SAFEARRAY *psaKeys) = 0;
  1623. virtual HRESULT STDMETHODCALLTYPE PopulateByQuery(
  1624. BSTR bstrQueryString,
  1625. LONG lQueryType) = 0;
  1626. };
  1627. #ifdef __CRT_UUID_DECL
  1628. __CRT_UUID_DECL(ICatalogCollection, 0x6eb22872, 0x8a19, 0x11d0, 0x81,0xb6, 0x00,0xa0,0xc9,0x23,0x1c,0x29)
  1629. #endif
  1630. #else
  1631. typedef struct ICatalogCollectionVtbl {
  1632. BEGIN_INTERFACE
  1633. /*** IUnknown methods ***/
  1634. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1635. ICatalogCollection *This,
  1636. REFIID riid,
  1637. void **ppvObject);
  1638. ULONG (STDMETHODCALLTYPE *AddRef)(
  1639. ICatalogCollection *This);
  1640. ULONG (STDMETHODCALLTYPE *Release)(
  1641. ICatalogCollection *This);
  1642. /*** IDispatch methods ***/
  1643. HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
  1644. ICatalogCollection *This,
  1645. UINT *pctinfo);
  1646. HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
  1647. ICatalogCollection *This,
  1648. UINT iTInfo,
  1649. LCID lcid,
  1650. ITypeInfo **ppTInfo);
  1651. HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
  1652. ICatalogCollection *This,
  1653. REFIID riid,
  1654. LPOLESTR *rgszNames,
  1655. UINT cNames,
  1656. LCID lcid,
  1657. DISPID *rgDispId);
  1658. HRESULT (STDMETHODCALLTYPE *Invoke)(
  1659. ICatalogCollection *This,
  1660. DISPID dispIdMember,
  1661. REFIID riid,
  1662. LCID lcid,
  1663. WORD wFlags,
  1664. DISPPARAMS *pDispParams,
  1665. VARIANT *pVarResult,
  1666. EXCEPINFO *pExcepInfo,
  1667. UINT *puArgErr);
  1668. /*** ICatalogCollection methods ***/
  1669. HRESULT (STDMETHODCALLTYPE *get__NewEnum)(
  1670. ICatalogCollection *This,
  1671. IUnknown **ppEnumVariant);
  1672. HRESULT (STDMETHODCALLTYPE *get_Item)(
  1673. ICatalogCollection *This,
  1674. LONG lIndex,
  1675. IDispatch **ppCatalogObject);
  1676. HRESULT (STDMETHODCALLTYPE *get_Count)(
  1677. ICatalogCollection *This,
  1678. LONG *plObjectCount);
  1679. HRESULT (STDMETHODCALLTYPE *Remove)(
  1680. ICatalogCollection *This,
  1681. LONG lIndex);
  1682. HRESULT (STDMETHODCALLTYPE *Add)(
  1683. ICatalogCollection *This,
  1684. IDispatch **ppCatalogObject);
  1685. HRESULT (STDMETHODCALLTYPE *Populate)(
  1686. ICatalogCollection *This);
  1687. HRESULT (STDMETHODCALLTYPE *SaveChanges)(
  1688. ICatalogCollection *This,
  1689. LONG *pcChanges);
  1690. HRESULT (STDMETHODCALLTYPE *GetCollection)(
  1691. ICatalogCollection *This,
  1692. BSTR bstrCollName,
  1693. VARIANT varObjectKey,
  1694. IDispatch **ppCatalogCollection);
  1695. HRESULT (STDMETHODCALLTYPE *get_Name)(
  1696. ICatalogCollection *This,
  1697. VARIANT *pVarNamel);
  1698. HRESULT (STDMETHODCALLTYPE *get_AddEnabled)(
  1699. ICatalogCollection *This,
  1700. VARIANT_BOOL *pVarBool);
  1701. HRESULT (STDMETHODCALLTYPE *get_RemoveEnabled)(
  1702. ICatalogCollection *This,
  1703. VARIANT_BOOL *pVarBool);
  1704. HRESULT (STDMETHODCALLTYPE *GetUtilInterface)(
  1705. ICatalogCollection *This,
  1706. IDispatch **ppIDispatch);
  1707. HRESULT (STDMETHODCALLTYPE *get_DataStoreMajorVersion)(
  1708. ICatalogCollection *This,
  1709. LONG *plMajorVersion);
  1710. HRESULT (STDMETHODCALLTYPE *get_DataStoreMinorVersion)(
  1711. ICatalogCollection *This,
  1712. LONG *plMinorVersionl);
  1713. HRESULT (STDMETHODCALLTYPE *PopulateByKey)(
  1714. ICatalogCollection *This,
  1715. SAFEARRAY *psaKeys);
  1716. HRESULT (STDMETHODCALLTYPE *PopulateByQuery)(
  1717. ICatalogCollection *This,
  1718. BSTR bstrQueryString,
  1719. LONG lQueryType);
  1720. END_INTERFACE
  1721. } ICatalogCollectionVtbl;
  1722. interface ICatalogCollection {
  1723. CONST_VTBL ICatalogCollectionVtbl* lpVtbl;
  1724. };
  1725. #ifdef COBJMACROS
  1726. #ifndef WIDL_C_INLINE_WRAPPERS
  1727. /*** IUnknown methods ***/
  1728. #define ICatalogCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1729. #define ICatalogCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1730. #define ICatalogCollection_Release(This) (This)->lpVtbl->Release(This)
  1731. /*** IDispatch methods ***/
  1732. #define ICatalogCollection_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
  1733. #define ICatalogCollection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1734. #define ICatalogCollection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1735. #define ICatalogCollection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1736. /*** ICatalogCollection methods ***/
  1737. #define ICatalogCollection_get__NewEnum(This,ppEnumVariant) (This)->lpVtbl->get__NewEnum(This,ppEnumVariant)
  1738. #define ICatalogCollection_get_Item(This,lIndex,ppCatalogObject) (This)->lpVtbl->get_Item(This,lIndex,ppCatalogObject)
  1739. #define ICatalogCollection_get_Count(This,plObjectCount) (This)->lpVtbl->get_Count(This,plObjectCount)
  1740. #define ICatalogCollection_Remove(This,lIndex) (This)->lpVtbl->Remove(This,lIndex)
  1741. #define ICatalogCollection_Add(This,ppCatalogObject) (This)->lpVtbl->Add(This,ppCatalogObject)
  1742. #define ICatalogCollection_Populate(This) (This)->lpVtbl->Populate(This)
  1743. #define ICatalogCollection_SaveChanges(This,pcChanges) (This)->lpVtbl->SaveChanges(This,pcChanges)
  1744. #define ICatalogCollection_GetCollection(This,bstrCollName,varObjectKey,ppCatalogCollection) (This)->lpVtbl->GetCollection(This,bstrCollName,varObjectKey,ppCatalogCollection)
  1745. #define ICatalogCollection_get_Name(This,pVarNamel) (This)->lpVtbl->get_Name(This,pVarNamel)
  1746. #define ICatalogCollection_get_AddEnabled(This,pVarBool) (This)->lpVtbl->get_AddEnabled(This,pVarBool)
  1747. #define ICatalogCollection_get_RemoveEnabled(This,pVarBool) (This)->lpVtbl->get_RemoveEnabled(This,pVarBool)
  1748. #define ICatalogCollection_GetUtilInterface(This,ppIDispatch) (This)->lpVtbl->GetUtilInterface(This,ppIDispatch)
  1749. #define ICatalogCollection_get_DataStoreMajorVersion(This,plMajorVersion) (This)->lpVtbl->get_DataStoreMajorVersion(This,plMajorVersion)
  1750. #define ICatalogCollection_get_DataStoreMinorVersion(This,plMinorVersionl) (This)->lpVtbl->get_DataStoreMinorVersion(This,plMinorVersionl)
  1751. #define ICatalogCollection_PopulateByKey(This,psaKeys) (This)->lpVtbl->PopulateByKey(This,psaKeys)
  1752. #define ICatalogCollection_PopulateByQuery(This,bstrQueryString,lQueryType) (This)->lpVtbl->PopulateByQuery(This,bstrQueryString,lQueryType)
  1753. #else
  1754. /*** IUnknown methods ***/
  1755. static FORCEINLINE HRESULT ICatalogCollection_QueryInterface(ICatalogCollection* This,REFIID riid,void **ppvObject) {
  1756. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1757. }
  1758. static FORCEINLINE ULONG ICatalogCollection_AddRef(ICatalogCollection* This) {
  1759. return This->lpVtbl->AddRef(This);
  1760. }
  1761. static FORCEINLINE ULONG ICatalogCollection_Release(ICatalogCollection* This) {
  1762. return This->lpVtbl->Release(This);
  1763. }
  1764. /*** IDispatch methods ***/
  1765. static FORCEINLINE HRESULT ICatalogCollection_GetTypeInfoCount(ICatalogCollection* This,UINT *pctinfo) {
  1766. return This->lpVtbl->GetTypeInfoCount(This,pctinfo);
  1767. }
  1768. static FORCEINLINE HRESULT ICatalogCollection_GetTypeInfo(ICatalogCollection* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) {
  1769. return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo);
  1770. }
  1771. static FORCEINLINE HRESULT ICatalogCollection_GetIDsOfNames(ICatalogCollection* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) {
  1772. return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId);
  1773. }
  1774. static FORCEINLINE HRESULT ICatalogCollection_Invoke(ICatalogCollection* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) {
  1775. return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr);
  1776. }
  1777. /*** ICatalogCollection methods ***/
  1778. static FORCEINLINE HRESULT ICatalogCollection_get__NewEnum(ICatalogCollection* This,IUnknown **ppEnumVariant) {
  1779. return This->lpVtbl->get__NewEnum(This,ppEnumVariant);
  1780. }
  1781. static FORCEINLINE HRESULT ICatalogCollection_get_Item(ICatalogCollection* This,LONG lIndex,IDispatch **ppCatalogObject) {
  1782. return This->lpVtbl->get_Item(This,lIndex,ppCatalogObject);
  1783. }
  1784. static FORCEINLINE HRESULT ICatalogCollection_get_Count(ICatalogCollection* This,LONG *plObjectCount) {
  1785. return This->lpVtbl->get_Count(This,plObjectCount);
  1786. }
  1787. static FORCEINLINE HRESULT ICatalogCollection_Remove(ICatalogCollection* This,LONG lIndex) {
  1788. return This->lpVtbl->Remove(This,lIndex);
  1789. }
  1790. static FORCEINLINE HRESULT ICatalogCollection_Add(ICatalogCollection* This,IDispatch **ppCatalogObject) {
  1791. return This->lpVtbl->Add(This,ppCatalogObject);
  1792. }
  1793. static FORCEINLINE HRESULT ICatalogCollection_Populate(ICatalogCollection* This) {
  1794. return This->lpVtbl->Populate(This);
  1795. }
  1796. static FORCEINLINE HRESULT ICatalogCollection_SaveChanges(ICatalogCollection* This,LONG *pcChanges) {
  1797. return This->lpVtbl->SaveChanges(This,pcChanges);
  1798. }
  1799. static FORCEINLINE HRESULT ICatalogCollection_GetCollection(ICatalogCollection* This,BSTR bstrCollName,VARIANT varObjectKey,IDispatch **ppCatalogCollection) {
  1800. return This->lpVtbl->GetCollection(This,bstrCollName,varObjectKey,ppCatalogCollection);
  1801. }
  1802. static FORCEINLINE HRESULT ICatalogCollection_get_Name(ICatalogCollection* This,VARIANT *pVarNamel) {
  1803. return This->lpVtbl->get_Name(This,pVarNamel);
  1804. }
  1805. static FORCEINLINE HRESULT ICatalogCollection_get_AddEnabled(ICatalogCollection* This,VARIANT_BOOL *pVarBool) {
  1806. return This->lpVtbl->get_AddEnabled(This,pVarBool);
  1807. }
  1808. static FORCEINLINE HRESULT ICatalogCollection_get_RemoveEnabled(ICatalogCollection* This,VARIANT_BOOL *pVarBool) {
  1809. return This->lpVtbl->get_RemoveEnabled(This,pVarBool);
  1810. }
  1811. static FORCEINLINE HRESULT ICatalogCollection_GetUtilInterface(ICatalogCollection* This,IDispatch **ppIDispatch) {
  1812. return This->lpVtbl->GetUtilInterface(This,ppIDispatch);
  1813. }
  1814. static FORCEINLINE HRESULT ICatalogCollection_get_DataStoreMajorVersion(ICatalogCollection* This,LONG *plMajorVersion) {
  1815. return This->lpVtbl->get_DataStoreMajorVersion(This,plMajorVersion);
  1816. }
  1817. static FORCEINLINE HRESULT ICatalogCollection_get_DataStoreMinorVersion(ICatalogCollection* This,LONG *plMinorVersionl) {
  1818. return This->lpVtbl->get_DataStoreMinorVersion(This,plMinorVersionl);
  1819. }
  1820. static FORCEINLINE HRESULT ICatalogCollection_PopulateByKey(ICatalogCollection* This,SAFEARRAY *psaKeys) {
  1821. return This->lpVtbl->PopulateByKey(This,psaKeys);
  1822. }
  1823. static FORCEINLINE HRESULT ICatalogCollection_PopulateByQuery(ICatalogCollection* This,BSTR bstrQueryString,LONG lQueryType) {
  1824. return This->lpVtbl->PopulateByQuery(This,bstrQueryString,lQueryType);
  1825. }
  1826. #endif
  1827. #endif
  1828. #endif
  1829. #endif /* __ICatalogCollection_INTERFACE_DEFINED__ */
  1830. #ifndef __COMAdmin_LIBRARY_DEFINED__
  1831. #define __COMAdmin_LIBRARY_DEFINED__
  1832. DEFINE_GUID(LIBID_COMAdmin, 0xf618c513, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
  1833. /*****************************************************************************
  1834. * COMAdminCatalog coclass
  1835. */
  1836. DEFINE_GUID(CLSID_COMAdminCatalog, 0xf618c514, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
  1837. #ifdef __cplusplus
  1838. class DECLSPEC_UUID("f618c514-dfb8-11d1-a2cf-00805fc79235") COMAdminCatalog;
  1839. #ifdef __CRT_UUID_DECL
  1840. __CRT_UUID_DECL(COMAdminCatalog, 0xf618c514, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35)
  1841. #endif
  1842. #endif
  1843. /*****************************************************************************
  1844. * COMAdminCatalogObject coclass
  1845. */
  1846. DEFINE_GUID(CLSID_COMAdminCatalogObject, 0xf618c515, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
  1847. #ifdef __cplusplus
  1848. class DECLSPEC_UUID("f618c515-dfb8-11d1-a2cf-00805fc79235") COMAdminCatalogObject;
  1849. #ifdef __CRT_UUID_DECL
  1850. __CRT_UUID_DECL(COMAdminCatalogObject, 0xf618c515, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35)
  1851. #endif
  1852. #endif
  1853. /*****************************************************************************
  1854. * COMAdminCatalogCollection coclass
  1855. */
  1856. DEFINE_GUID(CLSID_COMAdminCatalogCollection, 0xf618c516, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
  1857. #ifdef __cplusplus
  1858. class DECLSPEC_UUID("f618c516-dfb8-11d1-a2cf-00805fc79235") COMAdminCatalogCollection;
  1859. #ifdef __CRT_UUID_DECL
  1860. __CRT_UUID_DECL(COMAdminCatalogCollection, 0xf618c516, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35)
  1861. #endif
  1862. #endif
  1863. #define COMAdminCollectionRoot ("Root")
  1864. #define COMAdminCollectionApplications ("Applications")
  1865. #define COMAdminCollectionComponents ("Components")
  1866. #define COMAdminCollectionComputerList ("ComputerList")
  1867. #define COMAdminCollectionApplicationCluster ("ApplicationCluster")
  1868. #define COMAdminCollectionLocalComputer ("LocalComputer")
  1869. #define COMAdminCollectionInprocServers ("InprocServers")
  1870. #define COMAdminCollectionRelatedCollectionInfo ("RelatedCollectionInfo")
  1871. #define COMAdminCollectionPropertyInfo ("PropertyInfo")
  1872. #define COMAdminCollectionRoles ("Roles")
  1873. #define COMAdminCollectionErrorInfo ("ErrorInfo")
  1874. #define COMAdminCollectionInterfacesForComponent ("InterfacesForComponent")
  1875. #define COMAdminCollectionRolesForComponent ("RolesForComponent")
  1876. #define COMAdminCollectionMethodsForInterface ("MethodsForInterface")
  1877. #define COMAdminCollectionRolesForInterface ("RolesForInterface")
  1878. #define COMAdminCollectionRolesForMethod ("RolesForMethod")
  1879. #define COMAdminCollectionUsersInRole ("UsersInRole")
  1880. #define COMAdminCollectionDCOMProtocols ("DCOMProtocols")
  1881. #define COMAdminCollectionPartitions ("Partitions")
  1882. #endif /* __COMAdmin_LIBRARY_DEFINED__ */
  1883. #endif
  1884. /* Begin additional prototypes for all interfaces */
  1885. ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
  1886. unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
  1887. unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
  1888. void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
  1889. ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
  1890. unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
  1891. unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
  1892. void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
  1893. /* End additional prototypes */
  1894. #ifdef __cplusplus
  1895. }
  1896. #endif
  1897. #endif /* __comadmin_h__ */