Home | History | Annotate | Download | only in include
      1 /**
      2  * This file has no copyright assigned and is placed in the Public Domain.
      3  * This file is part of the mingw-w64 runtime package.
      4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
      5  */
      6 #ifndef __REQUIRED_RPCNDR_H_VERSION__
      7 #define __REQUIRED_RPCNDR_H_VERSION__ 475
      8 #endif
      9 
     10 #include <_mingw.h>
     11 #include "rpc.h"
     12 #include "rpcndr.h"
     13 
     14 #ifndef __RPCNDR_H_VERSION__
     15 #error this stub requires an updated version of <rpcndr.h>
     16 #endif
     17 
     18 #ifndef COM_NO_WINDOWS_H
     19 #include "windows.h"
     20 #include "ole2.h"
     21 #endif
     22 
     23 #ifndef __autosvcs_h__
     24 #define __autosvcs_h__
     25 
     26 #ifndef __ISecurityIdentityColl_FWD_DEFINED__
     27 #define __ISecurityIdentityColl_FWD_DEFINED__
     28 typedef struct ISecurityIdentityColl ISecurityIdentityColl;
     29 #endif
     30 
     31 #ifndef __ISecurityCallersColl_FWD_DEFINED__
     32 #define __ISecurityCallersColl_FWD_DEFINED__
     33 typedef struct ISecurityCallersColl ISecurityCallersColl;
     34 #endif
     35 
     36 #ifndef __ISecurityCallContext_FWD_DEFINED__
     37 #define __ISecurityCallContext_FWD_DEFINED__
     38 typedef struct ISecurityCallContext ISecurityCallContext;
     39 #endif
     40 
     41 #ifndef __IGetSecurityCallContext_FWD_DEFINED__
     42 #define __IGetSecurityCallContext_FWD_DEFINED__
     43 typedef struct IGetSecurityCallContext IGetSecurityCallContext;
     44 #endif
     45 
     46 #ifndef __SecurityProperty_FWD_DEFINED__
     47 #define __SecurityProperty_FWD_DEFINED__
     48 typedef struct SecurityProperty SecurityProperty;
     49 #endif
     50 
     51 #ifndef __ContextInfo_FWD_DEFINED__
     52 #define __ContextInfo_FWD_DEFINED__
     53 typedef struct ContextInfo ContextInfo;
     54 #endif
     55 
     56 #ifndef __ContextInfo2_FWD_DEFINED__
     57 #define __ContextInfo2_FWD_DEFINED__
     58 typedef struct ContextInfo2 ContextInfo2;
     59 #endif
     60 
     61 #ifndef __ObjectContext_FWD_DEFINED__
     62 #define __ObjectContext_FWD_DEFINED__
     63 typedef struct ObjectContext ObjectContext;
     64 #endif
     65 
     66 #ifndef __ITransactionContextEx_FWD_DEFINED__
     67 #define __ITransactionContextEx_FWD_DEFINED__
     68 typedef struct ITransactionContextEx ITransactionContextEx;
     69 #endif
     70 
     71 #ifndef __ITransactionContext_FWD_DEFINED__
     72 #define __ITransactionContext_FWD_DEFINED__
     73 typedef struct ITransactionContext ITransactionContext;
     74 #endif
     75 
     76 #ifndef __ICreateWithTransactionEx_FWD_DEFINED__
     77 #define __ICreateWithTransactionEx_FWD_DEFINED__
     78 typedef struct ICreateWithTransactionEx ICreateWithTransactionEx;
     79 #endif
     80 
     81 #ifndef __ICreateWithTipTransactionEx_FWD_DEFINED__
     82 #define __ICreateWithTipTransactionEx_FWD_DEFINED__
     83 typedef struct ICreateWithTipTransactionEx ICreateWithTipTransactionEx;
     84 #endif
     85 
     86 #ifndef __IComUserEvent_FWD_DEFINED__
     87 #define __IComUserEvent_FWD_DEFINED__
     88 typedef struct IComUserEvent IComUserEvent;
     89 #endif
     90 
     91 #ifndef __IComThreadEvents_FWD_DEFINED__
     92 #define __IComThreadEvents_FWD_DEFINED__
     93 typedef struct IComThreadEvents IComThreadEvents;
     94 #endif
     95 
     96 #ifndef __IComAppEvents_FWD_DEFINED__
     97 #define __IComAppEvents_FWD_DEFINED__
     98 typedef struct IComAppEvents IComAppEvents;
     99 #endif
    100 
    101 #ifndef __IComInstanceEvents_FWD_DEFINED__
    102 #define __IComInstanceEvents_FWD_DEFINED__
    103 typedef struct IComInstanceEvents IComInstanceEvents;
    104 #endif
    105 
    106 #ifndef __IComTransactionEvents_FWD_DEFINED__
    107 #define __IComTransactionEvents_FWD_DEFINED__
    108 typedef struct IComTransactionEvents IComTransactionEvents;
    109 #endif
    110 
    111 #ifndef __IComMethodEvents_FWD_DEFINED__
    112 #define __IComMethodEvents_FWD_DEFINED__
    113 typedef struct IComMethodEvents IComMethodEvents;
    114 #endif
    115 
    116 #ifndef __IComObjectEvents_FWD_DEFINED__
    117 #define __IComObjectEvents_FWD_DEFINED__
    118 typedef struct IComObjectEvents IComObjectEvents;
    119 #endif
    120 
    121 #ifndef __IComResourceEvents_FWD_DEFINED__
    122 #define __IComResourceEvents_FWD_DEFINED__
    123 typedef struct IComResourceEvents IComResourceEvents;
    124 #endif
    125 
    126 #ifndef __IComSecurityEvents_FWD_DEFINED__
    127 #define __IComSecurityEvents_FWD_DEFINED__
    128 typedef struct IComSecurityEvents IComSecurityEvents;
    129 #endif
    130 
    131 #ifndef __IComObjectPoolEvents_FWD_DEFINED__
    132 #define __IComObjectPoolEvents_FWD_DEFINED__
    133 typedef struct IComObjectPoolEvents IComObjectPoolEvents;
    134 #endif
    135 
    136 #ifndef __IComObjectPoolEvents2_FWD_DEFINED__
    137 #define __IComObjectPoolEvents2_FWD_DEFINED__
    138 typedef struct IComObjectPoolEvents2 IComObjectPoolEvents2;
    139 #endif
    140 
    141 #ifndef __IComObjectConstructionEvents_FWD_DEFINED__
    142 #define __IComObjectConstructionEvents_FWD_DEFINED__
    143 typedef struct IComObjectConstructionEvents IComObjectConstructionEvents;
    144 #endif
    145 
    146 #ifndef __IComActivityEvents_FWD_DEFINED__
    147 #define __IComActivityEvents_FWD_DEFINED__
    148 typedef struct IComActivityEvents IComActivityEvents;
    149 #endif
    150 
    151 #ifndef __IComIdentityEvents_FWD_DEFINED__
    152 #define __IComIdentityEvents_FWD_DEFINED__
    153 typedef struct IComIdentityEvents IComIdentityEvents;
    154 #endif
    155 
    156 #ifndef __IComQCEvents_FWD_DEFINED__
    157 #define __IComQCEvents_FWD_DEFINED__
    158 typedef struct IComQCEvents IComQCEvents;
    159 #endif
    160 
    161 #ifndef __IComExceptionEvents_FWD_DEFINED__
    162 #define __IComExceptionEvents_FWD_DEFINED__
    163 typedef struct IComExceptionEvents IComExceptionEvents;
    164 #endif
    165 
    166 #ifndef __ILBEvents_FWD_DEFINED__
    167 #define __ILBEvents_FWD_DEFINED__
    168 typedef struct ILBEvents ILBEvents;
    169 #endif
    170 
    171 #ifndef __IComCRMEvents_FWD_DEFINED__
    172 #define __IComCRMEvents_FWD_DEFINED__
    173 typedef struct IComCRMEvents IComCRMEvents;
    174 #endif
    175 
    176 #ifndef __IComMethod2Events_FWD_DEFINED__
    177 #define __IComMethod2Events_FWD_DEFINED__
    178 typedef struct IComMethod2Events IComMethod2Events;
    179 #endif
    180 
    181 #ifndef __IComTrackingInfoEvents_FWD_DEFINED__
    182 #define __IComTrackingInfoEvents_FWD_DEFINED__
    183 typedef struct IComTrackingInfoEvents IComTrackingInfoEvents;
    184 #endif
    185 
    186 #ifndef __IComTrackingInfoCollection_FWD_DEFINED__
    187 #define __IComTrackingInfoCollection_FWD_DEFINED__
    188 typedef struct IComTrackingInfoCollection IComTrackingInfoCollection;
    189 #endif
    190 
    191 #ifndef __IComTrackingInfoObject_FWD_DEFINED__
    192 #define __IComTrackingInfoObject_FWD_DEFINED__
    193 typedef struct IComTrackingInfoObject IComTrackingInfoObject;
    194 #endif
    195 
    196 #ifndef __IComTrackingInfoProperties_FWD_DEFINED__
    197 #define __IComTrackingInfoProperties_FWD_DEFINED__
    198 typedef struct IComTrackingInfoProperties IComTrackingInfoProperties;
    199 #endif
    200 
    201 #ifndef __IComApp2Events_FWD_DEFINED__
    202 #define __IComApp2Events_FWD_DEFINED__
    203 typedef struct IComApp2Events IComApp2Events;
    204 #endif
    205 
    206 #ifndef __IComTransaction2Events_FWD_DEFINED__
    207 #define __IComTransaction2Events_FWD_DEFINED__
    208 typedef struct IComTransaction2Events IComTransaction2Events;
    209 #endif
    210 
    211 #ifndef __IComInstance2Events_FWD_DEFINED__
    212 #define __IComInstance2Events_FWD_DEFINED__
    213 typedef struct IComInstance2Events IComInstance2Events;
    214 #endif
    215 
    216 #ifndef __IComObjectPool2Events_FWD_DEFINED__
    217 #define __IComObjectPool2Events_FWD_DEFINED__
    218 typedef struct IComObjectPool2Events IComObjectPool2Events;
    219 #endif
    220 
    221 #ifndef __IComObjectConstruction2Events_FWD_DEFINED__
    222 #define __IComObjectConstruction2Events_FWD_DEFINED__
    223 typedef struct IComObjectConstruction2Events IComObjectConstruction2Events;
    224 #endif
    225 
    226 #ifndef __ISystemAppEventData_FWD_DEFINED__
    227 #define __ISystemAppEventData_FWD_DEFINED__
    228 typedef struct ISystemAppEventData ISystemAppEventData;
    229 #endif
    230 
    231 #ifndef __IMtsEvents_FWD_DEFINED__
    232 #define __IMtsEvents_FWD_DEFINED__
    233 typedef struct IMtsEvents IMtsEvents;
    234 #endif
    235 
    236 #ifndef __IMtsEventInfo_FWD_DEFINED__
    237 #define __IMtsEventInfo_FWD_DEFINED__
    238 typedef struct IMtsEventInfo IMtsEventInfo;
    239 #endif
    240 
    241 #ifndef __IMTSLocator_FWD_DEFINED__
    242 #define __IMTSLocator_FWD_DEFINED__
    243 typedef struct IMTSLocator IMTSLocator;
    244 #endif
    245 
    246 #ifndef __IMtsGrp_FWD_DEFINED__
    247 #define __IMtsGrp_FWD_DEFINED__
    248 typedef struct IMtsGrp IMtsGrp;
    249 #endif
    250 
    251 #ifndef __IMessageMover_FWD_DEFINED__
    252 #define __IMessageMover_FWD_DEFINED__
    253 typedef struct IMessageMover IMessageMover;
    254 #endif
    255 
    256 #ifndef __IEventServerTrace_FWD_DEFINED__
    257 #define __IEventServerTrace_FWD_DEFINED__
    258 typedef struct IEventServerTrace IEventServerTrace;
    259 #endif
    260 
    261 #ifndef __IDispenserManager_FWD_DEFINED__
    262 #define __IDispenserManager_FWD_DEFINED__
    263 typedef struct IDispenserManager IDispenserManager;
    264 #endif
    265 
    266 #ifndef __IHolder_FWD_DEFINED__
    267 #define __IHolder_FWD_DEFINED__
    268 typedef struct IHolder IHolder;
    269 #endif
    270 
    271 #ifndef __IDispenserDriver_FWD_DEFINED__
    272 #define __IDispenserDriver_FWD_DEFINED__
    273 typedef struct IDispenserDriver IDispenserDriver;
    274 #endif
    275 
    276 #ifndef __IObjectContext_FWD_DEFINED__
    277 #define __IObjectContext_FWD_DEFINED__
    278 typedef struct IObjectContext IObjectContext;
    279 #endif
    280 
    281 #ifndef __IObjectControl_FWD_DEFINED__
    282 #define __IObjectControl_FWD_DEFINED__
    283 typedef struct IObjectControl IObjectControl;
    284 #endif
    285 
    286 #ifndef __IEnumNames_FWD_DEFINED__
    287 #define __IEnumNames_FWD_DEFINED__
    288 typedef struct IEnumNames IEnumNames;
    289 #endif
    290 
    291 #ifndef __ISecurityProperty_FWD_DEFINED__
    292 #define __ISecurityProperty_FWD_DEFINED__
    293 typedef struct ISecurityProperty ISecurityProperty;
    294 #endif
    295 
    296 #ifndef __ObjectControl_FWD_DEFINED__
    297 #define __ObjectControl_FWD_DEFINED__
    298 typedef struct ObjectControl ObjectControl;
    299 #endif
    300 
    301 #ifndef __ISharedProperty_FWD_DEFINED__
    302 #define __ISharedProperty_FWD_DEFINED__
    303 typedef struct ISharedProperty ISharedProperty;
    304 #endif
    305 
    306 #ifndef __ISharedPropertyGroup_FWD_DEFINED__
    307 #define __ISharedPropertyGroup_FWD_DEFINED__
    308 typedef struct ISharedPropertyGroup ISharedPropertyGroup;
    309 #endif
    310 
    311 #ifndef __ISharedPropertyGroupManager_FWD_DEFINED__
    312 #define __ISharedPropertyGroupManager_FWD_DEFINED__
    313 typedef struct ISharedPropertyGroupManager ISharedPropertyGroupManager;
    314 #endif
    315 
    316 #ifndef __IObjectConstruct_FWD_DEFINED__
    317 #define __IObjectConstruct_FWD_DEFINED__
    318 typedef struct IObjectConstruct IObjectConstruct;
    319 #endif
    320 
    321 #ifndef __IObjectConstructString_FWD_DEFINED__
    322 #define __IObjectConstructString_FWD_DEFINED__
    323 typedef struct IObjectConstructString IObjectConstructString;
    324 #endif
    325 
    326 #ifndef __IObjectContextActivity_FWD_DEFINED__
    327 #define __IObjectContextActivity_FWD_DEFINED__
    328 typedef struct IObjectContextActivity IObjectContextActivity;
    329 #endif
    330 
    331 #ifndef __IObjectContextInfo_FWD_DEFINED__
    332 #define __IObjectContextInfo_FWD_DEFINED__
    333 typedef struct IObjectContextInfo IObjectContextInfo;
    334 #endif
    335 
    336 #ifndef __IObjectContextInfo2_FWD_DEFINED__
    337 #define __IObjectContextInfo2_FWD_DEFINED__
    338 typedef struct IObjectContextInfo2 IObjectContextInfo2;
    339 #endif
    340 
    341 #ifndef __ITransactionStatus_FWD_DEFINED__
    342 #define __ITransactionStatus_FWD_DEFINED__
    343 typedef struct ITransactionStatus ITransactionStatus;
    344 #endif
    345 
    346 #ifndef __IObjectContextTip_FWD_DEFINED__
    347 #define __IObjectContextTip_FWD_DEFINED__
    348 typedef struct IObjectContextTip IObjectContextTip;
    349 #endif
    350 
    351 #ifndef __IPlaybackControl_FWD_DEFINED__
    352 #define __IPlaybackControl_FWD_DEFINED__
    353 typedef struct IPlaybackControl IPlaybackControl;
    354 #endif
    355 
    356 #ifndef __IGetContextProperties_FWD_DEFINED__
    357 #define __IGetContextProperties_FWD_DEFINED__
    358 typedef struct IGetContextProperties IGetContextProperties;
    359 #endif
    360 
    361 #ifndef __IContextState_FWD_DEFINED__
    362 #define __IContextState_FWD_DEFINED__
    363 typedef struct IContextState IContextState;
    364 #endif
    365 
    366 #ifndef __IPoolManager_FWD_DEFINED__
    367 #define __IPoolManager_FWD_DEFINED__
    368 typedef struct IPoolManager IPoolManager;
    369 #endif
    370 
    371 #ifndef __ISelectCOMLBServer_FWD_DEFINED__
    372 #define __ISelectCOMLBServer_FWD_DEFINED__
    373 typedef struct ISelectCOMLBServer ISelectCOMLBServer;
    374 #endif
    375 
    376 #ifndef __ICOMLBArguments_FWD_DEFINED__
    377 #define __ICOMLBArguments_FWD_DEFINED__
    378 typedef struct ICOMLBArguments ICOMLBArguments;
    379 #endif
    380 
    381 #ifndef __ICrmLogControl_FWD_DEFINED__
    382 #define __ICrmLogControl_FWD_DEFINED__
    383 typedef struct ICrmLogControl ICrmLogControl;
    384 #endif
    385 
    386 #ifndef __ICrmCompensatorVariants_FWD_DEFINED__
    387 #define __ICrmCompensatorVariants_FWD_DEFINED__
    388 typedef struct ICrmCompensatorVariants ICrmCompensatorVariants;
    389 #endif
    390 
    391 #ifndef __ICrmCompensator_FWD_DEFINED__
    392 #define __ICrmCompensator_FWD_DEFINED__
    393 typedef struct ICrmCompensator ICrmCompensator;
    394 #endif
    395 
    396 #ifndef __ICrmMonitorLogRecords_FWD_DEFINED__
    397 #define __ICrmMonitorLogRecords_FWD_DEFINED__
    398 typedef struct ICrmMonitorLogRecords ICrmMonitorLogRecords;
    399 #endif
    400 
    401 #ifndef __ICrmMonitorClerks_FWD_DEFINED__
    402 #define __ICrmMonitorClerks_FWD_DEFINED__
    403 typedef struct ICrmMonitorClerks ICrmMonitorClerks;
    404 #endif
    405 
    406 #ifndef __ICrmMonitor_FWD_DEFINED__
    407 #define __ICrmMonitor_FWD_DEFINED__
    408 typedef struct ICrmMonitor ICrmMonitor;
    409 #endif
    410 
    411 #ifndef __ICrmFormatLogRecords_FWD_DEFINED__
    412 #define __ICrmFormatLogRecords_FWD_DEFINED__
    413 typedef struct ICrmFormatLogRecords ICrmFormatLogRecords;
    414 #endif
    415 
    416 #ifndef __IServiceIISIntrinsicsConfig_FWD_DEFINED__
    417 #define __IServiceIISIntrinsicsConfig_FWD_DEFINED__
    418 typedef struct IServiceIISIntrinsicsConfig IServiceIISIntrinsicsConfig;
    419 #endif
    420 
    421 #ifndef __IServiceComTIIntrinsicsConfig_FWD_DEFINED__
    422 #define __IServiceComTIIntrinsicsConfig_FWD_DEFINED__
    423 typedef struct IServiceComTIIntrinsicsConfig IServiceComTIIntrinsicsConfig;
    424 #endif
    425 
    426 #ifndef __IServiceSxsConfig_FWD_DEFINED__
    427 #define __IServiceSxsConfig_FWD_DEFINED__
    428 typedef struct IServiceSxsConfig IServiceSxsConfig;
    429 #endif
    430 
    431 #ifndef __ICheckSxsConfig_FWD_DEFINED__
    432 #define __ICheckSxsConfig_FWD_DEFINED__
    433 typedef struct ICheckSxsConfig ICheckSxsConfig;
    434 #endif
    435 
    436 #ifndef __IServiceInheritanceConfig_FWD_DEFINED__
    437 #define __IServiceInheritanceConfig_FWD_DEFINED__
    438 typedef struct IServiceInheritanceConfig IServiceInheritanceConfig;
    439 #endif
    440 
    441 #ifndef __IServiceThreadPoolConfig_FWD_DEFINED__
    442 #define __IServiceThreadPoolConfig_FWD_DEFINED__
    443 typedef struct IServiceThreadPoolConfig IServiceThreadPoolConfig;
    444 #endif
    445 
    446 #ifndef __IServiceTransactionConfigBase_FWD_DEFINED__
    447 #define __IServiceTransactionConfigBase_FWD_DEFINED__
    448 typedef struct IServiceTransactionConfigBase IServiceTransactionConfigBase;
    449 #endif
    450 
    451 #ifndef __IServiceTransactionConfig_FWD_DEFINED__
    452 #define __IServiceTransactionConfig_FWD_DEFINED__
    453 typedef struct IServiceTransactionConfig IServiceTransactionConfig;
    454 #endif
    455 
    456 #ifndef __IServiceSynchronizationConfig_FWD_DEFINED__
    457 #define __IServiceSynchronizationConfig_FWD_DEFINED__
    458 typedef struct IServiceSynchronizationConfig IServiceSynchronizationConfig;
    459 #endif
    460 
    461 #ifndef __IServiceTrackerConfig_FWD_DEFINED__
    462 #define __IServiceTrackerConfig_FWD_DEFINED__
    463 typedef struct IServiceTrackerConfig IServiceTrackerConfig;
    464 #endif
    465 
    466 #ifndef __IServicePartitionConfig_FWD_DEFINED__
    467 #define __IServicePartitionConfig_FWD_DEFINED__
    468 typedef struct IServicePartitionConfig IServicePartitionConfig;
    469 #endif
    470 
    471 #ifndef __IServiceCall_FWD_DEFINED__
    472 #define __IServiceCall_FWD_DEFINED__
    473 typedef struct IServiceCall IServiceCall;
    474 #endif
    475 
    476 #ifndef __IAsyncErrorNotify_FWD_DEFINED__
    477 #define __IAsyncErrorNotify_FWD_DEFINED__
    478 typedef struct IAsyncErrorNotify IAsyncErrorNotify;
    479 #endif
    480 
    481 #ifndef __IServiceActivity_FWD_DEFINED__
    482 #define __IServiceActivity_FWD_DEFINED__
    483 typedef struct IServiceActivity IServiceActivity;
    484 #endif
    485 
    486 #ifndef __IThreadPoolKnobs_FWD_DEFINED__
    487 #define __IThreadPoolKnobs_FWD_DEFINED__
    488 typedef struct IThreadPoolKnobs IThreadPoolKnobs;
    489 #endif
    490 
    491 #ifndef __IComStaThreadPoolKnobs_FWD_DEFINED__
    492 #define __IComStaThreadPoolKnobs_FWD_DEFINED__
    493 typedef struct IComStaThreadPoolKnobs IComStaThreadPoolKnobs;
    494 #endif
    495 
    496 #ifndef __IComMtaThreadPoolKnobs_FWD_DEFINED__
    497 #define __IComMtaThreadPoolKnobs_FWD_DEFINED__
    498 typedef struct IComMtaThreadPoolKnobs IComMtaThreadPoolKnobs;
    499 #endif
    500 
    501 #ifndef __IComStaThreadPoolKnobs2_FWD_DEFINED__
    502 #define __IComStaThreadPoolKnobs2_FWD_DEFINED__
    503 typedef struct IComStaThreadPoolKnobs2 IComStaThreadPoolKnobs2;
    504 #endif
    505 
    506 #ifndef __IProcessInitializer_FWD_DEFINED__
    507 #define __IProcessInitializer_FWD_DEFINED__
    508 typedef struct IProcessInitializer IProcessInitializer;
    509 #endif
    510 
    511 #ifndef __IServicePoolConfig_FWD_DEFINED__
    512 #define __IServicePoolConfig_FWD_DEFINED__
    513 typedef struct IServicePoolConfig IServicePoolConfig;
    514 #endif
    515 
    516 #ifndef __IServicePool_FWD_DEFINED__
    517 #define __IServicePool_FWD_DEFINED__
    518 typedef struct IServicePool IServicePool;
    519 #endif
    520 
    521 #ifndef __IManagedPooledObj_FWD_DEFINED__
    522 #define __IManagedPooledObj_FWD_DEFINED__
    523 typedef struct IManagedPooledObj IManagedPooledObj;
    524 #endif
    525 
    526 #ifndef __IManagedPoolAction_FWD_DEFINED__
    527 #define __IManagedPoolAction_FWD_DEFINED__
    528 typedef struct IManagedPoolAction IManagedPoolAction;
    529 #endif
    530 
    531 #ifndef __IManagedObjectInfo_FWD_DEFINED__
    532 #define __IManagedObjectInfo_FWD_DEFINED__
    533 typedef struct IManagedObjectInfo IManagedObjectInfo;
    534 #endif
    535 
    536 #ifndef __IAppDomainHelper_FWD_DEFINED__
    537 #define __IAppDomainHelper_FWD_DEFINED__
    538 typedef struct IAppDomainHelper IAppDomainHelper;
    539 #endif
    540 
    541 #ifndef __IAssemblyLocator_FWD_DEFINED__
    542 #define __IAssemblyLocator_FWD_DEFINED__
    543 typedef struct IAssemblyLocator IAssemblyLocator;
    544 #endif
    545 
    546 #ifndef __IManagedActivationEvents_FWD_DEFINED__
    547 #define __IManagedActivationEvents_FWD_DEFINED__
    548 typedef struct IManagedActivationEvents IManagedActivationEvents;
    549 #endif
    550 
    551 #ifndef __ISendMethodEvents_FWD_DEFINED__
    552 #define __ISendMethodEvents_FWD_DEFINED__
    553 typedef struct ISendMethodEvents ISendMethodEvents;
    554 #endif
    555 
    556 #ifndef __ITransactionResourcePool_FWD_DEFINED__
    557 #define __ITransactionResourcePool_FWD_DEFINED__
    558 typedef struct ITransactionResourcePool ITransactionResourcePool;
    559 #endif
    560 
    561 #ifndef __IMTSCall_FWD_DEFINED__
    562 #define __IMTSCall_FWD_DEFINED__
    563 typedef struct IMTSCall IMTSCall;
    564 #endif
    565 
    566 #ifndef __IContextProperties_FWD_DEFINED__
    567 #define __IContextProperties_FWD_DEFINED__
    568 typedef struct IContextProperties IContextProperties;
    569 #endif
    570 
    571 #ifndef __IObjPool_FWD_DEFINED__
    572 #define __IObjPool_FWD_DEFINED__
    573 typedef struct IObjPool IObjPool;
    574 #endif
    575 
    576 #ifndef __ITransactionProperty_FWD_DEFINED__
    577 #define __ITransactionProperty_FWD_DEFINED__
    578 typedef struct ITransactionProperty ITransactionProperty;
    579 #endif
    580 
    581 #ifndef __IMTSActivity_FWD_DEFINED__
    582 #define __IMTSActivity_FWD_DEFINED__
    583 typedef struct IMTSActivity IMTSActivity;
    584 #endif
    585 
    586 #ifndef __SecurityIdentity_FWD_DEFINED__
    587 #define __SecurityIdentity_FWD_DEFINED__
    588 #ifdef __cplusplus
    589 typedef class SecurityIdentity SecurityIdentity;
    590 #else
    591 typedef struct SecurityIdentity SecurityIdentity;
    592 #endif
    593 #endif
    594 
    595 #ifndef __SecurityCallers_FWD_DEFINED__
    596 #define __SecurityCallers_FWD_DEFINED__
    597 #ifdef __cplusplus
    598 typedef class SecurityCallers SecurityCallers;
    599 #else
    600 typedef struct SecurityCallers SecurityCallers;
    601 #endif
    602 #endif
    603 
    604 #ifndef __SecurityCallContext_FWD_DEFINED__
    605 #define __SecurityCallContext_FWD_DEFINED__
    606 #ifdef __cplusplus
    607 typedef class SecurityCallContext SecurityCallContext;
    608 #else
    609 typedef struct SecurityCallContext SecurityCallContext;
    610 #endif
    611 #endif
    612 
    613 #ifndef __GetSecurityCallContextAppObject_FWD_DEFINED__
    614 #define __GetSecurityCallContextAppObject_FWD_DEFINED__
    615 #ifdef __cplusplus
    616 typedef class GetSecurityCallContextAppObject GetSecurityCallContextAppObject;
    617 #else
    618 typedef struct GetSecurityCallContextAppObject GetSecurityCallContextAppObject;
    619 #endif
    620 #endif
    621 
    622 #ifndef __IContextState_FWD_DEFINED__
    623 #define __IContextState_FWD_DEFINED__
    624 typedef struct IContextState IContextState;
    625 #endif
    626 
    627 #ifndef __Dummy30040732_FWD_DEFINED__
    628 #define __Dummy30040732_FWD_DEFINED__
    629 #ifdef __cplusplus
    630 typedef class Dummy30040732 Dummy30040732;
    631 #else
    632 typedef struct Dummy30040732 Dummy30040732;
    633 #endif
    634 #endif
    635 
    636 #ifndef __ContextInfo_FWD_DEFINED__
    637 #define __ContextInfo_FWD_DEFINED__
    638 typedef struct ContextInfo ContextInfo;
    639 #endif
    640 
    641 #ifndef __ContextInfo2_FWD_DEFINED__
    642 #define __ContextInfo2_FWD_DEFINED__
    643 typedef struct ContextInfo2 ContextInfo2;
    644 #endif
    645 
    646 #ifndef __ObjectControl_FWD_DEFINED__
    647 #define __ObjectControl_FWD_DEFINED__
    648 typedef struct ObjectControl ObjectControl;
    649 #endif
    650 
    651 #ifndef __TransactionContext_FWD_DEFINED__
    652 #define __TransactionContext_FWD_DEFINED__
    653 #ifdef __cplusplus
    654 typedef class TransactionContext TransactionContext;
    655 #else
    656 typedef struct TransactionContext TransactionContext;
    657 #endif
    658 #endif
    659 
    660 #ifndef __TransactionContextEx_FWD_DEFINED__
    661 #define __TransactionContextEx_FWD_DEFINED__
    662 #ifdef __cplusplus
    663 typedef class TransactionContextEx TransactionContextEx;
    664 #else
    665 typedef struct TransactionContextEx TransactionContextEx;
    666 #endif
    667 #endif
    668 
    669 #ifndef __ByotServerEx_FWD_DEFINED__
    670 #define __ByotServerEx_FWD_DEFINED__
    671 #ifdef __cplusplus
    672 typedef class ByotServerEx ByotServerEx;
    673 #else
    674 typedef struct ByotServerEx ByotServerEx;
    675 #endif
    676 #endif
    677 
    678 #ifndef __CServiceConfig_FWD_DEFINED__
    679 #define __CServiceConfig_FWD_DEFINED__
    680 #ifdef __cplusplus
    681 typedef class CServiceConfig CServiceConfig;
    682 #else
    683 typedef struct CServiceConfig CServiceConfig;
    684 #endif
    685 #endif
    686 
    687 #ifndef __ServicePool_FWD_DEFINED__
    688 #define __ServicePool_FWD_DEFINED__
    689 #ifdef __cplusplus
    690 typedef class ServicePool ServicePool;
    691 #else
    692 typedef struct ServicePool ServicePool;
    693 #endif
    694 #endif
    695 
    696 #ifndef __ServicePoolConfig_FWD_DEFINED__
    697 #define __ServicePoolConfig_FWD_DEFINED__
    698 #ifdef __cplusplus
    699 typedef class ServicePoolConfig ServicePoolConfig;
    700 #else
    701 typedef struct ServicePoolConfig ServicePoolConfig;
    702 #endif
    703 #endif
    704 
    705 #ifndef __SharedProperty_FWD_DEFINED__
    706 #define __SharedProperty_FWD_DEFINED__
    707 #ifdef __cplusplus
    708 typedef class SharedProperty SharedProperty;
    709 #else
    710 typedef struct SharedProperty SharedProperty;
    711 #endif
    712 #endif
    713 
    714 #ifndef __SharedPropertyGroup_FWD_DEFINED__
    715 #define __SharedPropertyGroup_FWD_DEFINED__
    716 #ifdef __cplusplus
    717 typedef class SharedPropertyGroup SharedPropertyGroup;
    718 #else
    719 typedef struct SharedPropertyGroup SharedPropertyGroup;
    720 #endif
    721 #endif
    722 
    723 #ifndef __SharedPropertyGroupManager_FWD_DEFINED__
    724 #define __SharedPropertyGroupManager_FWD_DEFINED__
    725 #ifdef __cplusplus
    726 typedef class SharedPropertyGroupManager SharedPropertyGroupManager;
    727 #else
    728 typedef struct SharedPropertyGroupManager SharedPropertyGroupManager;
    729 #endif
    730 #endif
    731 
    732 #ifndef __COMEvents_FWD_DEFINED__
    733 #define __COMEvents_FWD_DEFINED__
    734 #ifdef __cplusplus
    735 typedef class COMEvents COMEvents;
    736 #else
    737 typedef struct COMEvents COMEvents;
    738 #endif
    739 #endif
    740 
    741 #ifndef __CoMTSLocator_FWD_DEFINED__
    742 #define __CoMTSLocator_FWD_DEFINED__
    743 #ifdef __cplusplus
    744 typedef class CoMTSLocator CoMTSLocator;
    745 #else
    746 typedef struct CoMTSLocator CoMTSLocator;
    747 #endif
    748 #endif
    749 
    750 #ifndef __MtsGrp_FWD_DEFINED__
    751 #define __MtsGrp_FWD_DEFINED__
    752 #ifdef __cplusplus
    753 typedef class MtsGrp MtsGrp;
    754 #else
    755 typedef struct MtsGrp MtsGrp;
    756 #endif
    757 #endif
    758 
    759 #ifndef __ComServiceEvents_FWD_DEFINED__
    760 #define __ComServiceEvents_FWD_DEFINED__
    761 #ifdef __cplusplus
    762 typedef class ComServiceEvents ComServiceEvents;
    763 #else
    764 typedef struct ComServiceEvents ComServiceEvents;
    765 #endif
    766 #endif
    767 
    768 #ifndef __ComSystemAppEventData_FWD_DEFINED__
    769 #define __ComSystemAppEventData_FWD_DEFINED__
    770 #ifdef __cplusplus
    771 typedef class ComSystemAppEventData ComSystemAppEventData;
    772 #else
    773 typedef struct ComSystemAppEventData ComSystemAppEventData;
    774 #endif
    775 #endif
    776 
    777 #ifndef __CRMClerk_FWD_DEFINED__
    778 #define __CRMClerk_FWD_DEFINED__
    779 #ifdef __cplusplus
    780 typedef class CRMClerk CRMClerk;
    781 #else
    782 typedef struct CRMClerk CRMClerk;
    783 #endif
    784 #endif
    785 
    786 #ifndef __CRMRecoveryClerk_FWD_DEFINED__
    787 #define __CRMRecoveryClerk_FWD_DEFINED__
    788 #ifdef __cplusplus
    789 typedef class CRMRecoveryClerk CRMRecoveryClerk;
    790 #else
    791 typedef struct CRMRecoveryClerk CRMRecoveryClerk;
    792 #endif
    793 #endif
    794 
    795 #ifndef __LBEvents_FWD_DEFINED__
    796 #define __LBEvents_FWD_DEFINED__
    797 #ifdef __cplusplus
    798 typedef class LBEvents LBEvents;
    799 #else
    800 typedef struct LBEvents LBEvents;
    801 #endif
    802 #endif
    803 
    804 #ifndef __MessageMover_FWD_DEFINED__
    805 #define __MessageMover_FWD_DEFINED__
    806 #ifdef __cplusplus
    807 typedef class MessageMover MessageMover;
    808 #else
    809 typedef struct MessageMover MessageMover;
    810 #endif
    811 #endif
    812 
    813 #ifndef __DispenserManager_FWD_DEFINED__
    814 #define __DispenserManager_FWD_DEFINED__
    815 #ifdef __cplusplus
    816 typedef class DispenserManager DispenserManager;
    817 #else
    818 typedef struct DispenserManager DispenserManager;
    819 #endif
    820 #endif
    821 
    822 #ifndef __PoolMgr_FWD_DEFINED__
    823 #define __PoolMgr_FWD_DEFINED__
    824 #ifdef __cplusplus
    825 typedef class PoolMgr PoolMgr;
    826 #else
    827 typedef struct PoolMgr PoolMgr;
    828 #endif
    829 #endif
    830 
    831 #ifndef __EventServer_FWD_DEFINED__
    832 #define __EventServer_FWD_DEFINED__
    833 #ifdef __cplusplus
    834 typedef class EventServer EventServer;
    835 #else
    836 typedef struct EventServer EventServer;
    837 #endif
    838 #endif
    839 
    840 #ifndef __AppDomainHelper_FWD_DEFINED__
    841 #define __AppDomainHelper_FWD_DEFINED__
    842 #ifdef __cplusplus
    843 typedef class AppDomainHelper AppDomainHelper;
    844 #else
    845 typedef struct AppDomainHelper AppDomainHelper;
    846 #endif
    847 #endif
    848 
    849 #ifndef __ClrAssemblyLocator_FWD_DEFINED__
    850 #define __ClrAssemblyLocator_FWD_DEFINED__
    851 #ifdef __cplusplus
    852 typedef class ClrAssemblyLocator ClrAssemblyLocator;
    853 #else
    854 typedef struct ClrAssemblyLocator ClrAssemblyLocator;
    855 #endif
    856 #endif
    857 
    858 #include "unknwn.h"
    859 #include "oaidl.h"
    860 #include "ocidl.h"
    861 #include "comadmin.h"
    862 #include "transact.h"
    863 
    864 #ifdef __cplusplus
    865 extern "C"{
    866 #endif
    867 
    868 #ifndef __MIDL_user_allocate_free_DEFINED__
    869 #define __MIDL_user_allocate_free_DEFINED__
    870   void *__RPC_API MIDL_user_allocate(size_t);
    871   void __RPC_API MIDL_user_free(void *);
    872 #endif
    873 
    874 #include <objbase.h>
    875 
    876   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0000_v0_0_c_ifspec;
    877   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0000_v0_0_s_ifspec;
    878 
    879 #ifndef __ISecurityIdentityColl_INTERFACE_DEFINED__
    880 #define __ISecurityIdentityColl_INTERFACE_DEFINED__
    881   EXTERN_C const IID IID_ISecurityIdentityColl;
    882 #if defined(__cplusplus) && !defined(CINTERFACE)
    883   struct ISecurityIdentityColl : public IDispatch {
    884   public:
    885     virtual HRESULT WINAPI get_Count(__LONG32 *plCount) = 0;
    886     virtual HRESULT WINAPI get_Item(BSTR name,VARIANT *pItem) = 0;
    887     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppEnum) = 0;
    888   };
    889 #else
    890   typedef struct ISecurityIdentityCollVtbl {
    891     BEGIN_INTERFACE
    892       HRESULT (WINAPI *QueryInterface)(ISecurityIdentityColl *This,REFIID riid,void **ppvObject);
    893       ULONG (WINAPI *AddRef)(ISecurityIdentityColl *This);
    894       ULONG (WINAPI *Release)(ISecurityIdentityColl *This);
    895       HRESULT (WINAPI *GetTypeInfoCount)(ISecurityIdentityColl *This,UINT *pctinfo);
    896       HRESULT (WINAPI *GetTypeInfo)(ISecurityIdentityColl *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    897       HRESULT (WINAPI *GetIDsOfNames)(ISecurityIdentityColl *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    898       HRESULT (WINAPI *Invoke)(ISecurityIdentityColl *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    899       HRESULT (WINAPI *get_Count)(ISecurityIdentityColl *This,__LONG32 *plCount);
    900       HRESULT (WINAPI *get_Item)(ISecurityIdentityColl *This,BSTR name,VARIANT *pItem);
    901       HRESULT (WINAPI *get__NewEnum)(ISecurityIdentityColl *This,IUnknown **ppEnum);
    902     END_INTERFACE
    903   } ISecurityIdentityCollVtbl;
    904   struct ISecurityIdentityColl {
    905     CONST_VTBL struct ISecurityIdentityCollVtbl *lpVtbl;
    906   };
    907 #ifdef COBJMACROS
    908 #define ISecurityIdentityColl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    909 #define ISecurityIdentityColl_AddRef(This) (This)->lpVtbl->AddRef(This)
    910 #define ISecurityIdentityColl_Release(This) (This)->lpVtbl->Release(This)
    911 #define ISecurityIdentityColl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    912 #define ISecurityIdentityColl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    913 #define ISecurityIdentityColl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    914 #define ISecurityIdentityColl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    915 #define ISecurityIdentityColl_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
    916 #define ISecurityIdentityColl_get_Item(This,name,pItem) (This)->lpVtbl->get_Item(This,name,pItem)
    917 #define ISecurityIdentityColl_get__NewEnum(This,ppEnum) (This)->lpVtbl->get__NewEnum(This,ppEnum)
    918 #endif
    919 #endif
    920   HRESULT WINAPI ISecurityIdentityColl_get_Count_Proxy(ISecurityIdentityColl *This,__LONG32 *plCount);
    921   void __RPC_STUB ISecurityIdentityColl_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    922   HRESULT WINAPI ISecurityIdentityColl_get_Item_Proxy(ISecurityIdentityColl *This,BSTR name,VARIANT *pItem);
    923   void __RPC_STUB ISecurityIdentityColl_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    924   HRESULT WINAPI ISecurityIdentityColl_get__NewEnum_Proxy(ISecurityIdentityColl *This,IUnknown **ppEnum);
    925   void __RPC_STUB ISecurityIdentityColl_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    926 #endif
    927 
    928 #ifndef __ISecurityCallersColl_INTERFACE_DEFINED__
    929 #define __ISecurityCallersColl_INTERFACE_DEFINED__
    930   EXTERN_C const IID IID_ISecurityCallersColl;
    931 #if defined(__cplusplus) && !defined(CINTERFACE)
    932   struct ISecurityCallersColl : public IDispatch {
    933   public:
    934     virtual HRESULT WINAPI get_Count(__LONG32 *plCount) = 0;
    935     virtual HRESULT WINAPI get_Item(__LONG32 lIndex,ISecurityIdentityColl **pObj) = 0;
    936     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppEnum) = 0;
    937   };
    938 #else
    939   typedef struct ISecurityCallersCollVtbl {
    940     BEGIN_INTERFACE
    941       HRESULT (WINAPI *QueryInterface)(ISecurityCallersColl *This,REFIID riid,void **ppvObject);
    942       ULONG (WINAPI *AddRef)(ISecurityCallersColl *This);
    943       ULONG (WINAPI *Release)(ISecurityCallersColl *This);
    944       HRESULT (WINAPI *GetTypeInfoCount)(ISecurityCallersColl *This,UINT *pctinfo);
    945       HRESULT (WINAPI *GetTypeInfo)(ISecurityCallersColl *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    946       HRESULT (WINAPI *GetIDsOfNames)(ISecurityCallersColl *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    947       HRESULT (WINAPI *Invoke)(ISecurityCallersColl *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
    948       HRESULT (WINAPI *get_Count)(ISecurityCallersColl *This,__LONG32 *plCount);
    949       HRESULT (WINAPI *get_Item)(ISecurityCallersColl *This,__LONG32 lIndex,ISecurityIdentityColl **pObj);
    950       HRESULT (WINAPI *get__NewEnum)(ISecurityCallersColl *This,IUnknown **ppEnum);
    951     END_INTERFACE
    952   } ISecurityCallersCollVtbl;
    953   struct ISecurityCallersColl {
    954     CONST_VTBL struct ISecurityCallersCollVtbl *lpVtbl;
    955   };
    956 #ifdef COBJMACROS
    957 #define ISecurityCallersColl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
    958 #define ISecurityCallersColl_AddRef(This) (This)->lpVtbl->AddRef(This)
    959 #define ISecurityCallersColl_Release(This) (This)->lpVtbl->Release(This)
    960 #define ISecurityCallersColl_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
    961 #define ISecurityCallersColl_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
    962 #define ISecurityCallersColl_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
    963 #define ISecurityCallersColl_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
    964 #define ISecurityCallersColl_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
    965 #define ISecurityCallersColl_get_Item(This,lIndex,pObj) (This)->lpVtbl->get_Item(This,lIndex,pObj)
    966 #define ISecurityCallersColl_get__NewEnum(This,ppEnum) (This)->lpVtbl->get__NewEnum(This,ppEnum)
    967 #endif
    968 #endif
    969   HRESULT WINAPI ISecurityCallersColl_get_Count_Proxy(ISecurityCallersColl *This,__LONG32 *plCount);
    970   void __RPC_STUB ISecurityCallersColl_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    971   HRESULT WINAPI ISecurityCallersColl_get_Item_Proxy(ISecurityCallersColl *This,__LONG32 lIndex,ISecurityIdentityColl **pObj);
    972   void __RPC_STUB ISecurityCallersColl_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    973   HRESULT WINAPI ISecurityCallersColl_get__NewEnum_Proxy(ISecurityCallersColl *This,IUnknown **ppEnum);
    974   void __RPC_STUB ISecurityCallersColl_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
    975 #endif
    976 
    977 #ifndef __ISecurityCallContext_INTERFACE_DEFINED__
    978 #define __ISecurityCallContext_INTERFACE_DEFINED__
    979   EXTERN_C const IID IID_ISecurityCallContext;
    980 #if defined(__cplusplus) && !defined(CINTERFACE)
    981   struct ISecurityCallContext : public IDispatch {
    982   public:
    983     virtual HRESULT WINAPI get_Count(__LONG32 *plCount) = 0;
    984     virtual HRESULT WINAPI get_Item(BSTR name,VARIANT *pItem) = 0;
    985     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppEnum) = 0;
    986     virtual HRESULT WINAPI IsCallerInRole(BSTR bstrRole,VARIANT_BOOL *pfInRole) = 0;
    987     virtual HRESULT WINAPI IsSecurityEnabled(VARIANT_BOOL *pfIsEnabled) = 0;
    988     virtual HRESULT WINAPI IsUserInRole(VARIANT *pUser,BSTR bstrRole,VARIANT_BOOL *pfInRole) = 0;
    989   };
    990 #else
    991   typedef struct ISecurityCallContextVtbl {
    992     BEGIN_INTERFACE
    993       HRESULT (WINAPI *QueryInterface)(ISecurityCallContext *This,REFIID riid,void **ppvObject);
    994       ULONG (WINAPI *AddRef)(ISecurityCallContext *This);
    995       ULONG (WINAPI *Release)(ISecurityCallContext *This);
    996       HRESULT (WINAPI *GetTypeInfoCount)(ISecurityCallContext *This,UINT *pctinfo);
    997       HRESULT (WINAPI *GetTypeInfo)(ISecurityCallContext *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
    998       HRESULT (WINAPI *GetIDsOfNames)(ISecurityCallContext *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
    999       HRESULT (WINAPI *Invoke)(ISecurityCallContext *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1000       HRESULT (WINAPI *get_Count)(ISecurityCallContext *This,__LONG32 *plCount);
   1001       HRESULT (WINAPI *get_Item)(ISecurityCallContext *This,BSTR name,VARIANT *pItem);
   1002       HRESULT (WINAPI *get__NewEnum)(ISecurityCallContext *This,IUnknown **ppEnum);
   1003       HRESULT (WINAPI *IsCallerInRole)(ISecurityCallContext *This,BSTR bstrRole,VARIANT_BOOL *pfInRole);
   1004       HRESULT (WINAPI *IsSecurityEnabled)(ISecurityCallContext *This,VARIANT_BOOL *pfIsEnabled);
   1005       HRESULT (WINAPI *IsUserInRole)(ISecurityCallContext *This,VARIANT *pUser,BSTR bstrRole,VARIANT_BOOL *pfInRole);
   1006     END_INTERFACE
   1007   } ISecurityCallContextVtbl;
   1008   struct ISecurityCallContext {
   1009     CONST_VTBL struct ISecurityCallContextVtbl *lpVtbl;
   1010   };
   1011 #ifdef COBJMACROS
   1012 #define ISecurityCallContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1013 #define ISecurityCallContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   1014 #define ISecurityCallContext_Release(This) (This)->lpVtbl->Release(This)
   1015 #define ISecurityCallContext_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1016 #define ISecurityCallContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1017 #define ISecurityCallContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1018 #define ISecurityCallContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1019 #define ISecurityCallContext_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
   1020 #define ISecurityCallContext_get_Item(This,name,pItem) (This)->lpVtbl->get_Item(This,name,pItem)
   1021 #define ISecurityCallContext_get__NewEnum(This,ppEnum) (This)->lpVtbl->get__NewEnum(This,ppEnum)
   1022 #define ISecurityCallContext_IsCallerInRole(This,bstrRole,pfInRole) (This)->lpVtbl->IsCallerInRole(This,bstrRole,pfInRole)
   1023 #define ISecurityCallContext_IsSecurityEnabled(This,pfIsEnabled) (This)->lpVtbl->IsSecurityEnabled(This,pfIsEnabled)
   1024 #define ISecurityCallContext_IsUserInRole(This,pUser,bstrRole,pfInRole) (This)->lpVtbl->IsUserInRole(This,pUser,bstrRole,pfInRole)
   1025 #endif
   1026 #endif
   1027   HRESULT WINAPI ISecurityCallContext_get_Count_Proxy(ISecurityCallContext *This,__LONG32 *plCount);
   1028   void __RPC_STUB ISecurityCallContext_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1029   HRESULT WINAPI ISecurityCallContext_get_Item_Proxy(ISecurityCallContext *This,BSTR name,VARIANT *pItem);
   1030   void __RPC_STUB ISecurityCallContext_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1031   HRESULT WINAPI ISecurityCallContext_get__NewEnum_Proxy(ISecurityCallContext *This,IUnknown **ppEnum);
   1032   void __RPC_STUB ISecurityCallContext_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1033   HRESULT WINAPI ISecurityCallContext_IsCallerInRole_Proxy(ISecurityCallContext *This,BSTR bstrRole,VARIANT_BOOL *pfInRole);
   1034   void __RPC_STUB ISecurityCallContext_IsCallerInRole_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1035   HRESULT WINAPI ISecurityCallContext_IsSecurityEnabled_Proxy(ISecurityCallContext *This,VARIANT_BOOL *pfIsEnabled);
   1036   void __RPC_STUB ISecurityCallContext_IsSecurityEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1037   HRESULT WINAPI ISecurityCallContext_IsUserInRole_Proxy(ISecurityCallContext *This,VARIANT *pUser,BSTR bstrRole,VARIANT_BOOL *pfInRole);
   1038   void __RPC_STUB ISecurityCallContext_IsUserInRole_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1039 #endif
   1040 
   1041 #ifndef __IGetSecurityCallContext_INTERFACE_DEFINED__
   1042 #define __IGetSecurityCallContext_INTERFACE_DEFINED__
   1043   EXTERN_C const IID IID_IGetSecurityCallContext;
   1044 #if defined(__cplusplus) && !defined(CINTERFACE)
   1045   struct IGetSecurityCallContext : public IDispatch {
   1046   public:
   1047     virtual HRESULT WINAPI GetSecurityCallContext(ISecurityCallContext **ppObject) = 0;
   1048   };
   1049 #else
   1050   typedef struct IGetSecurityCallContextVtbl {
   1051     BEGIN_INTERFACE
   1052       HRESULT (WINAPI *QueryInterface)(IGetSecurityCallContext *This,REFIID riid,void **ppvObject);
   1053       ULONG (WINAPI *AddRef)(IGetSecurityCallContext *This);
   1054       ULONG (WINAPI *Release)(IGetSecurityCallContext *This);
   1055       HRESULT (WINAPI *GetTypeInfoCount)(IGetSecurityCallContext *This,UINT *pctinfo);
   1056       HRESULT (WINAPI *GetTypeInfo)(IGetSecurityCallContext *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1057       HRESULT (WINAPI *GetIDsOfNames)(IGetSecurityCallContext *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1058       HRESULT (WINAPI *Invoke)(IGetSecurityCallContext *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1059       HRESULT (WINAPI *GetSecurityCallContext)(IGetSecurityCallContext *This,ISecurityCallContext **ppObject);
   1060     END_INTERFACE
   1061   } IGetSecurityCallContextVtbl;
   1062   struct IGetSecurityCallContext {
   1063     CONST_VTBL struct IGetSecurityCallContextVtbl *lpVtbl;
   1064   };
   1065 #ifdef COBJMACROS
   1066 #define IGetSecurityCallContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1067 #define IGetSecurityCallContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   1068 #define IGetSecurityCallContext_Release(This) (This)->lpVtbl->Release(This)
   1069 #define IGetSecurityCallContext_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1070 #define IGetSecurityCallContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1071 #define IGetSecurityCallContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1072 #define IGetSecurityCallContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1073 #define IGetSecurityCallContext_GetSecurityCallContext(This,ppObject) (This)->lpVtbl->GetSecurityCallContext(This,ppObject)
   1074 #endif
   1075 #endif
   1076   HRESULT WINAPI IGetSecurityCallContext_GetSecurityCallContext_Proxy(IGetSecurityCallContext *This,ISecurityCallContext **ppObject);
   1077   void __RPC_STUB IGetSecurityCallContext_GetSecurityCallContext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1078 #endif
   1079 
   1080 #ifndef __SecurityProperty_INTERFACE_DEFINED__
   1081 #define __SecurityProperty_INTERFACE_DEFINED__
   1082   EXTERN_C const IID IID_SecurityProperty;
   1083 #if defined(__cplusplus) && !defined(CINTERFACE)
   1084   struct SecurityProperty : public IDispatch {
   1085   public:
   1086     virtual HRESULT WINAPI GetDirectCallerName(BSTR *bstrUserName) = 0;
   1087     virtual HRESULT WINAPI GetDirectCreatorName(BSTR *bstrUserName) = 0;
   1088     virtual HRESULT WINAPI GetOriginalCallerName(BSTR *bstrUserName) = 0;
   1089     virtual HRESULT WINAPI GetOriginalCreatorName(BSTR *bstrUserName) = 0;
   1090   };
   1091 #else
   1092   typedef struct SecurityPropertyVtbl {
   1093     BEGIN_INTERFACE
   1094       HRESULT (WINAPI *QueryInterface)(SecurityProperty *This,REFIID riid,void **ppvObject);
   1095       ULONG (WINAPI *AddRef)(SecurityProperty *This);
   1096       ULONG (WINAPI *Release)(SecurityProperty *This);
   1097       HRESULT (WINAPI *GetTypeInfoCount)(SecurityProperty *This,UINT *pctinfo);
   1098       HRESULT (WINAPI *GetTypeInfo)(SecurityProperty *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1099       HRESULT (WINAPI *GetIDsOfNames)(SecurityProperty *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1100       HRESULT (WINAPI *Invoke)(SecurityProperty *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1101       HRESULT (WINAPI *GetDirectCallerName)(SecurityProperty *This,BSTR *bstrUserName);
   1102       HRESULT (WINAPI *GetDirectCreatorName)(SecurityProperty *This,BSTR *bstrUserName);
   1103       HRESULT (WINAPI *GetOriginalCallerName)(SecurityProperty *This,BSTR *bstrUserName);
   1104       HRESULT (WINAPI *GetOriginalCreatorName)(SecurityProperty *This,BSTR *bstrUserName);
   1105     END_INTERFACE
   1106   } SecurityPropertyVtbl;
   1107   struct SecurityProperty {
   1108     CONST_VTBL struct SecurityPropertyVtbl *lpVtbl;
   1109   };
   1110 #ifdef COBJMACROS
   1111 #define SecurityProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1112 #define SecurityProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   1113 #define SecurityProperty_Release(This) (This)->lpVtbl->Release(This)
   1114 #define SecurityProperty_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1115 #define SecurityProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1116 #define SecurityProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1117 #define SecurityProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1118 #define SecurityProperty_GetDirectCallerName(This,bstrUserName) (This)->lpVtbl->GetDirectCallerName(This,bstrUserName)
   1119 #define SecurityProperty_GetDirectCreatorName(This,bstrUserName) (This)->lpVtbl->GetDirectCreatorName(This,bstrUserName)
   1120 #define SecurityProperty_GetOriginalCallerName(This,bstrUserName) (This)->lpVtbl->GetOriginalCallerName(This,bstrUserName)
   1121 #define SecurityProperty_GetOriginalCreatorName(This,bstrUserName) (This)->lpVtbl->GetOriginalCreatorName(This,bstrUserName)
   1122 #endif
   1123 #endif
   1124   HRESULT WINAPI SecurityProperty_GetDirectCallerName_Proxy(SecurityProperty *This,BSTR *bstrUserName);
   1125   void __RPC_STUB SecurityProperty_GetDirectCallerName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1126   HRESULT WINAPI SecurityProperty_GetDirectCreatorName_Proxy(SecurityProperty *This,BSTR *bstrUserName);
   1127   void __RPC_STUB SecurityProperty_GetDirectCreatorName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1128   HRESULT WINAPI SecurityProperty_GetOriginalCallerName_Proxy(SecurityProperty *This,BSTR *bstrUserName);
   1129   void __RPC_STUB SecurityProperty_GetOriginalCallerName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1130   HRESULT WINAPI SecurityProperty_GetOriginalCreatorName_Proxy(SecurityProperty *This,BSTR *bstrUserName);
   1131   void __RPC_STUB SecurityProperty_GetOriginalCreatorName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1132 #endif
   1133 
   1134 #ifndef __ContextInfo_INTERFACE_DEFINED__
   1135 #define __ContextInfo_INTERFACE_DEFINED__
   1136   EXTERN_C const IID IID_ContextInfo;
   1137 #if defined(__cplusplus) && !defined(CINTERFACE)
   1138   struct ContextInfo : public IDispatch {
   1139   public:
   1140     virtual HRESULT WINAPI IsInTransaction(VARIANT_BOOL *pbIsInTx) = 0;
   1141     virtual HRESULT WINAPI GetTransaction(IUnknown **ppTx) = 0;
   1142     virtual HRESULT WINAPI GetTransactionId(BSTR *pbstrTxId) = 0;
   1143     virtual HRESULT WINAPI GetActivityId(BSTR *pbstrActivityId) = 0;
   1144     virtual HRESULT WINAPI GetContextId(BSTR *pbstrCtxId) = 0;
   1145   };
   1146 #else
   1147   typedef struct ContextInfoVtbl {
   1148     BEGIN_INTERFACE
   1149       HRESULT (WINAPI *QueryInterface)(ContextInfo *This,REFIID riid,void **ppvObject);
   1150       ULONG (WINAPI *AddRef)(ContextInfo *This);
   1151       ULONG (WINAPI *Release)(ContextInfo *This);
   1152       HRESULT (WINAPI *GetTypeInfoCount)(ContextInfo *This,UINT *pctinfo);
   1153       HRESULT (WINAPI *GetTypeInfo)(ContextInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1154       HRESULT (WINAPI *GetIDsOfNames)(ContextInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1155       HRESULT (WINAPI *Invoke)(ContextInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1156       HRESULT (WINAPI *IsInTransaction)(ContextInfo *This,VARIANT_BOOL *pbIsInTx);
   1157       HRESULT (WINAPI *GetTransaction)(ContextInfo *This,IUnknown **ppTx);
   1158       HRESULT (WINAPI *GetTransactionId)(ContextInfo *This,BSTR *pbstrTxId);
   1159       HRESULT (WINAPI *GetActivityId)(ContextInfo *This,BSTR *pbstrActivityId);
   1160       HRESULT (WINAPI *GetContextId)(ContextInfo *This,BSTR *pbstrCtxId);
   1161     END_INTERFACE
   1162   } ContextInfoVtbl;
   1163   struct ContextInfo {
   1164     CONST_VTBL struct ContextInfoVtbl *lpVtbl;
   1165   };
   1166 #ifdef COBJMACROS
   1167 #define ContextInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1168 #define ContextInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   1169 #define ContextInfo_Release(This) (This)->lpVtbl->Release(This)
   1170 #define ContextInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1171 #define ContextInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1172 #define ContextInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1173 #define ContextInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1174 #define ContextInfo_IsInTransaction(This,pbIsInTx) (This)->lpVtbl->IsInTransaction(This,pbIsInTx)
   1175 #define ContextInfo_GetTransaction(This,ppTx) (This)->lpVtbl->GetTransaction(This,ppTx)
   1176 #define ContextInfo_GetTransactionId(This,pbstrTxId) (This)->lpVtbl->GetTransactionId(This,pbstrTxId)
   1177 #define ContextInfo_GetActivityId(This,pbstrActivityId) (This)->lpVtbl->GetActivityId(This,pbstrActivityId)
   1178 #define ContextInfo_GetContextId(This,pbstrCtxId) (This)->lpVtbl->GetContextId(This,pbstrCtxId)
   1179 #endif
   1180 #endif
   1181   HRESULT WINAPI ContextInfo_IsInTransaction_Proxy(ContextInfo *This,VARIANT_BOOL *pbIsInTx);
   1182   void __RPC_STUB ContextInfo_IsInTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1183   HRESULT WINAPI ContextInfo_GetTransaction_Proxy(ContextInfo *This,IUnknown **ppTx);
   1184   void __RPC_STUB ContextInfo_GetTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1185   HRESULT WINAPI ContextInfo_GetTransactionId_Proxy(ContextInfo *This,BSTR *pbstrTxId);
   1186   void __RPC_STUB ContextInfo_GetTransactionId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1187   HRESULT WINAPI ContextInfo_GetActivityId_Proxy(ContextInfo *This,BSTR *pbstrActivityId);
   1188   void __RPC_STUB ContextInfo_GetActivityId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1189   HRESULT WINAPI ContextInfo_GetContextId_Proxy(ContextInfo *This,BSTR *pbstrCtxId);
   1190   void __RPC_STUB ContextInfo_GetContextId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1191 #endif
   1192 
   1193 #ifndef __ContextInfo2_INTERFACE_DEFINED__
   1194 #define __ContextInfo2_INTERFACE_DEFINED__
   1195   EXTERN_C const IID IID_ContextInfo2;
   1196 #if defined(__cplusplus) && !defined(CINTERFACE)
   1197   struct ContextInfo2 : public ContextInfo {
   1198   public:
   1199     virtual HRESULT WINAPI GetPartitionId(BSTR *__MIDL_0011) = 0;
   1200     virtual HRESULT WINAPI GetApplicationId(BSTR *__MIDL_0012) = 0;
   1201     virtual HRESULT WINAPI GetApplicationInstanceId(BSTR *__MIDL_0013) = 0;
   1202   };
   1203 #else
   1204   typedef struct ContextInfo2Vtbl {
   1205     BEGIN_INTERFACE
   1206       HRESULT (WINAPI *QueryInterface)(ContextInfo2 *This,REFIID riid,void **ppvObject);
   1207       ULONG (WINAPI *AddRef)(ContextInfo2 *This);
   1208       ULONG (WINAPI *Release)(ContextInfo2 *This);
   1209       HRESULT (WINAPI *GetTypeInfoCount)(ContextInfo2 *This,UINT *pctinfo);
   1210       HRESULT (WINAPI *GetTypeInfo)(ContextInfo2 *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1211       HRESULT (WINAPI *GetIDsOfNames)(ContextInfo2 *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1212       HRESULT (WINAPI *Invoke)(ContextInfo2 *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1213       HRESULT (WINAPI *IsInTransaction)(ContextInfo2 *This,VARIANT_BOOL *pbIsInTx);
   1214       HRESULT (WINAPI *GetTransaction)(ContextInfo2 *This,IUnknown **ppTx);
   1215       HRESULT (WINAPI *GetTransactionId)(ContextInfo2 *This,BSTR *pbstrTxId);
   1216       HRESULT (WINAPI *GetActivityId)(ContextInfo2 *This,BSTR *pbstrActivityId);
   1217       HRESULT (WINAPI *GetContextId)(ContextInfo2 *This,BSTR *pbstrCtxId);
   1218       HRESULT (WINAPI *GetPartitionId)(ContextInfo2 *This,BSTR *__MIDL_0011);
   1219       HRESULT (WINAPI *GetApplicationId)(ContextInfo2 *This,BSTR *__MIDL_0012);
   1220       HRESULT (WINAPI *GetApplicationInstanceId)(ContextInfo2 *This,BSTR *__MIDL_0013);
   1221     END_INTERFACE
   1222   } ContextInfo2Vtbl;
   1223   struct ContextInfo2 {
   1224     CONST_VTBL struct ContextInfo2Vtbl *lpVtbl;
   1225   };
   1226 #ifdef COBJMACROS
   1227 #define ContextInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1228 #define ContextInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
   1229 #define ContextInfo2_Release(This) (This)->lpVtbl->Release(This)
   1230 #define ContextInfo2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1231 #define ContextInfo2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1232 #define ContextInfo2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1233 #define ContextInfo2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1234 #define ContextInfo2_IsInTransaction(This,pbIsInTx) (This)->lpVtbl->IsInTransaction(This,pbIsInTx)
   1235 #define ContextInfo2_GetTransaction(This,ppTx) (This)->lpVtbl->GetTransaction(This,ppTx)
   1236 #define ContextInfo2_GetTransactionId(This,pbstrTxId) (This)->lpVtbl->GetTransactionId(This,pbstrTxId)
   1237 #define ContextInfo2_GetActivityId(This,pbstrActivityId) (This)->lpVtbl->GetActivityId(This,pbstrActivityId)
   1238 #define ContextInfo2_GetContextId(This,pbstrCtxId) (This)->lpVtbl->GetContextId(This,pbstrCtxId)
   1239 #define ContextInfo2_GetPartitionId(This,__MIDL_0011) (This)->lpVtbl->GetPartitionId(This,__MIDL_0011)
   1240 #define ContextInfo2_GetApplicationId(This,__MIDL_0012) (This)->lpVtbl->GetApplicationId(This,__MIDL_0012)
   1241 #define ContextInfo2_GetApplicationInstanceId(This,__MIDL_0013) (This)->lpVtbl->GetApplicationInstanceId(This,__MIDL_0013)
   1242 #endif
   1243 #endif
   1244   HRESULT WINAPI ContextInfo2_GetPartitionId_Proxy(ContextInfo2 *This,BSTR *__MIDL_0011);
   1245   void __RPC_STUB ContextInfo2_GetPartitionId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1246   HRESULT WINAPI ContextInfo2_GetApplicationId_Proxy(ContextInfo2 *This,BSTR *__MIDL_0012);
   1247   void __RPC_STUB ContextInfo2_GetApplicationId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1248   HRESULT WINAPI ContextInfo2_GetApplicationInstanceId_Proxy(ContextInfo2 *This,BSTR *__MIDL_0013);
   1249   void __RPC_STUB ContextInfo2_GetApplicationInstanceId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1250 #endif
   1251 
   1252 #ifndef __ObjectContext_INTERFACE_DEFINED__
   1253 #define __ObjectContext_INTERFACE_DEFINED__
   1254   EXTERN_C const IID IID_ObjectContext;
   1255 #if defined(__cplusplus) && !defined(CINTERFACE)
   1256   struct ObjectContext : public IDispatch {
   1257   public:
   1258     virtual HRESULT WINAPI CreateInstance(BSTR bstrProgID,VARIANT *pObject) = 0;
   1259     virtual HRESULT WINAPI SetComplete(void) = 0;
   1260     virtual HRESULT WINAPI SetAbort(void) = 0;
   1261     virtual HRESULT WINAPI EnableCommit(void) = 0;
   1262     virtual HRESULT WINAPI DisableCommit(void) = 0;
   1263     virtual HRESULT WINAPI IsInTransaction(VARIANT_BOOL *pbIsInTx) = 0;
   1264     virtual HRESULT WINAPI IsSecurityEnabled(VARIANT_BOOL *pbIsEnabled) = 0;
   1265     virtual HRESULT WINAPI IsCallerInRole(BSTR bstrRole,VARIANT_BOOL *pbInRole) = 0;
   1266     virtual HRESULT WINAPI get_Count(__LONG32 *plCount) = 0;
   1267     virtual HRESULT WINAPI get_Item(BSTR name,VARIANT *pItem) = 0;
   1268     virtual HRESULT WINAPI get__NewEnum(IUnknown **ppEnum) = 0;
   1269     virtual HRESULT WINAPI get_Security(SecurityProperty **ppSecurityProperty) = 0;
   1270     virtual HRESULT WINAPI get_ContextInfo(ContextInfo **ppContextInfo) = 0;
   1271   };
   1272 #else
   1273   typedef struct ObjectContextVtbl {
   1274     BEGIN_INTERFACE
   1275       HRESULT (WINAPI *QueryInterface)(ObjectContext *This,REFIID riid,void **ppvObject);
   1276       ULONG (WINAPI *AddRef)(ObjectContext *This);
   1277       ULONG (WINAPI *Release)(ObjectContext *This);
   1278       HRESULT (WINAPI *GetTypeInfoCount)(ObjectContext *This,UINT *pctinfo);
   1279       HRESULT (WINAPI *GetTypeInfo)(ObjectContext *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1280       HRESULT (WINAPI *GetIDsOfNames)(ObjectContext *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1281       HRESULT (WINAPI *Invoke)(ObjectContext *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1282       HRESULT (WINAPI *CreateInstance)(ObjectContext *This,BSTR bstrProgID,VARIANT *pObject);
   1283       HRESULT (WINAPI *SetComplete)(ObjectContext *This);
   1284       HRESULT (WINAPI *SetAbort)(ObjectContext *This);
   1285       HRESULT (WINAPI *EnableCommit)(ObjectContext *This);
   1286       HRESULT (WINAPI *DisableCommit)(ObjectContext *This);
   1287       HRESULT (WINAPI *IsInTransaction)(ObjectContext *This,VARIANT_BOOL *pbIsInTx);
   1288       HRESULT (WINAPI *IsSecurityEnabled)(ObjectContext *This,VARIANT_BOOL *pbIsEnabled);
   1289       HRESULT (WINAPI *IsCallerInRole)(ObjectContext *This,BSTR bstrRole,VARIANT_BOOL *pbInRole);
   1290       HRESULT (WINAPI *get_Count)(ObjectContext *This,__LONG32 *plCount);
   1291       HRESULT (WINAPI *get_Item)(ObjectContext *This,BSTR name,VARIANT *pItem);
   1292       HRESULT (WINAPI *get__NewEnum)(ObjectContext *This,IUnknown **ppEnum);
   1293       HRESULT (WINAPI *get_Security)(ObjectContext *This,SecurityProperty **ppSecurityProperty);
   1294       HRESULT (WINAPI *get_ContextInfo)(ObjectContext *This,ContextInfo **ppContextInfo);
   1295     END_INTERFACE
   1296   } ObjectContextVtbl;
   1297   struct ObjectContext {
   1298     CONST_VTBL struct ObjectContextVtbl *lpVtbl;
   1299   };
   1300 #ifdef COBJMACROS
   1301 #define ObjectContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1302 #define ObjectContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   1303 #define ObjectContext_Release(This) (This)->lpVtbl->Release(This)
   1304 #define ObjectContext_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1305 #define ObjectContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1306 #define ObjectContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1307 #define ObjectContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1308 #define ObjectContext_CreateInstance(This,bstrProgID,pObject) (This)->lpVtbl->CreateInstance(This,bstrProgID,pObject)
   1309 #define ObjectContext_SetComplete(This) (This)->lpVtbl->SetComplete(This)
   1310 #define ObjectContext_SetAbort(This) (This)->lpVtbl->SetAbort(This)
   1311 #define ObjectContext_EnableCommit(This) (This)->lpVtbl->EnableCommit(This)
   1312 #define ObjectContext_DisableCommit(This) (This)->lpVtbl->DisableCommit(This)
   1313 #define ObjectContext_IsInTransaction(This,pbIsInTx) (This)->lpVtbl->IsInTransaction(This,pbIsInTx)
   1314 #define ObjectContext_IsSecurityEnabled(This,pbIsEnabled) (This)->lpVtbl->IsSecurityEnabled(This,pbIsEnabled)
   1315 #define ObjectContext_IsCallerInRole(This,bstrRole,pbInRole) (This)->lpVtbl->IsCallerInRole(This,bstrRole,pbInRole)
   1316 #define ObjectContext_get_Count(This,plCount) (This)->lpVtbl->get_Count(This,plCount)
   1317 #define ObjectContext_get_Item(This,name,pItem) (This)->lpVtbl->get_Item(This,name,pItem)
   1318 #define ObjectContext_get__NewEnum(This,ppEnum) (This)->lpVtbl->get__NewEnum(This,ppEnum)
   1319 #define ObjectContext_get_Security(This,ppSecurityProperty) (This)->lpVtbl->get_Security(This,ppSecurityProperty)
   1320 #define ObjectContext_get_ContextInfo(This,ppContextInfo) (This)->lpVtbl->get_ContextInfo(This,ppContextInfo)
   1321 #endif
   1322 #endif
   1323   HRESULT WINAPI ObjectContext_CreateInstance_Proxy(ObjectContext *This,BSTR bstrProgID,VARIANT *pObject);
   1324   void __RPC_STUB ObjectContext_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1325   HRESULT WINAPI ObjectContext_SetComplete_Proxy(ObjectContext *This);
   1326   void __RPC_STUB ObjectContext_SetComplete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1327   HRESULT WINAPI ObjectContext_SetAbort_Proxy(ObjectContext *This);
   1328   void __RPC_STUB ObjectContext_SetAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1329   HRESULT WINAPI ObjectContext_EnableCommit_Proxy(ObjectContext *This);
   1330   void __RPC_STUB ObjectContext_EnableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1331   HRESULT WINAPI ObjectContext_DisableCommit_Proxy(ObjectContext *This);
   1332   void __RPC_STUB ObjectContext_DisableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1333   HRESULT WINAPI ObjectContext_IsInTransaction_Proxy(ObjectContext *This,VARIANT_BOOL *pbIsInTx);
   1334   void __RPC_STUB ObjectContext_IsInTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1335   HRESULT WINAPI ObjectContext_IsSecurityEnabled_Proxy(ObjectContext *This,VARIANT_BOOL *pbIsEnabled);
   1336   void __RPC_STUB ObjectContext_IsSecurityEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1337   HRESULT WINAPI ObjectContext_IsCallerInRole_Proxy(ObjectContext *This,BSTR bstrRole,VARIANT_BOOL *pbInRole);
   1338   void __RPC_STUB ObjectContext_IsCallerInRole_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1339   HRESULT WINAPI ObjectContext_get_Count_Proxy(ObjectContext *This,__LONG32 *plCount);
   1340   void __RPC_STUB ObjectContext_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1341   HRESULT WINAPI ObjectContext_get_Item_Proxy(ObjectContext *This,BSTR name,VARIANT *pItem);
   1342   void __RPC_STUB ObjectContext_get_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1343   HRESULT WINAPI ObjectContext_get__NewEnum_Proxy(ObjectContext *This,IUnknown **ppEnum);
   1344   void __RPC_STUB ObjectContext_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1345   HRESULT WINAPI ObjectContext_get_Security_Proxy(ObjectContext *This,SecurityProperty **ppSecurityProperty);
   1346   void __RPC_STUB ObjectContext_get_Security_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1347   HRESULT WINAPI ObjectContext_get_ContextInfo_Proxy(ObjectContext *This,ContextInfo **ppContextInfo);
   1348   void __RPC_STUB ObjectContext_get_ContextInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1349 #endif
   1350 
   1351 #ifndef __ITransactionContextEx_INTERFACE_DEFINED__
   1352 #define __ITransactionContextEx_INTERFACE_DEFINED__
   1353   EXTERN_C const IID IID_ITransactionContextEx;
   1354 #if defined(__cplusplus) && !defined(CINTERFACE)
   1355   struct ITransactionContextEx : public IUnknown {
   1356   public:
   1357     virtual HRESULT WINAPI CreateInstance(REFCLSID rclsid,REFIID riid,void **pObject) = 0;
   1358     virtual HRESULT WINAPI Commit(void) = 0;
   1359     virtual HRESULT WINAPI Abort(void) = 0;
   1360   };
   1361 #else
   1362   typedef struct ITransactionContextExVtbl {
   1363     BEGIN_INTERFACE
   1364       HRESULT (WINAPI *QueryInterface)(ITransactionContextEx *This,REFIID riid,void **ppvObject);
   1365       ULONG (WINAPI *AddRef)(ITransactionContextEx *This);
   1366       ULONG (WINAPI *Release)(ITransactionContextEx *This);
   1367       HRESULT (WINAPI *CreateInstance)(ITransactionContextEx *This,REFCLSID rclsid,REFIID riid,void **pObject);
   1368       HRESULT (WINAPI *Commit)(ITransactionContextEx *This);
   1369       HRESULT (WINAPI *Abort)(ITransactionContextEx *This);
   1370     END_INTERFACE
   1371   } ITransactionContextExVtbl;
   1372   struct ITransactionContextEx {
   1373     CONST_VTBL struct ITransactionContextExVtbl *lpVtbl;
   1374   };
   1375 #ifdef COBJMACROS
   1376 #define ITransactionContextEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1377 #define ITransactionContextEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   1378 #define ITransactionContextEx_Release(This) (This)->lpVtbl->Release(This)
   1379 #define ITransactionContextEx_CreateInstance(This,rclsid,riid,pObject) (This)->lpVtbl->CreateInstance(This,rclsid,riid,pObject)
   1380 #define ITransactionContextEx_Commit(This) (This)->lpVtbl->Commit(This)
   1381 #define ITransactionContextEx_Abort(This) (This)->lpVtbl->Abort(This)
   1382 #endif
   1383 #endif
   1384   HRESULT WINAPI ITransactionContextEx_CreateInstance_Proxy(ITransactionContextEx *This,REFCLSID rclsid,REFIID riid,void **pObject);
   1385   void __RPC_STUB ITransactionContextEx_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1386   HRESULT WINAPI ITransactionContextEx_Commit_Proxy(ITransactionContextEx *This);
   1387   void __RPC_STUB ITransactionContextEx_Commit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1388   HRESULT WINAPI ITransactionContextEx_Abort_Proxy(ITransactionContextEx *This);
   1389   void __RPC_STUB ITransactionContextEx_Abort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1390 #endif
   1391 
   1392 #ifndef __ITransactionContext_INTERFACE_DEFINED__
   1393 #define __ITransactionContext_INTERFACE_DEFINED__
   1394   EXTERN_C const IID IID_ITransactionContext;
   1395 #if defined(__cplusplus) && !defined(CINTERFACE)
   1396   struct ITransactionContext : public IDispatch {
   1397   public:
   1398     virtual HRESULT WINAPI CreateInstance(BSTR pszProgId,VARIANT *pObject) = 0;
   1399     virtual HRESULT WINAPI Commit(void) = 0;
   1400     virtual HRESULT WINAPI Abort(void) = 0;
   1401   };
   1402 #else
   1403   typedef struct ITransactionContextVtbl {
   1404     BEGIN_INTERFACE
   1405       HRESULT (WINAPI *QueryInterface)(ITransactionContext *This,REFIID riid,void **ppvObject);
   1406       ULONG (WINAPI *AddRef)(ITransactionContext *This);
   1407       ULONG (WINAPI *Release)(ITransactionContext *This);
   1408       HRESULT (WINAPI *GetTypeInfoCount)(ITransactionContext *This,UINT *pctinfo);
   1409       HRESULT (WINAPI *GetTypeInfo)(ITransactionContext *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   1410       HRESULT (WINAPI *GetIDsOfNames)(ITransactionContext *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   1411       HRESULT (WINAPI *Invoke)(ITransactionContext *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   1412       HRESULT (WINAPI *CreateInstance)(ITransactionContext *This,BSTR pszProgId,VARIANT *pObject);
   1413       HRESULT (WINAPI *Commit)(ITransactionContext *This);
   1414       HRESULT (WINAPI *Abort)(ITransactionContext *This);
   1415     END_INTERFACE
   1416   } ITransactionContextVtbl;
   1417   struct ITransactionContext {
   1418     CONST_VTBL struct ITransactionContextVtbl *lpVtbl;
   1419   };
   1420 #ifdef COBJMACROS
   1421 #define ITransactionContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1422 #define ITransactionContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   1423 #define ITransactionContext_Release(This) (This)->lpVtbl->Release(This)
   1424 #define ITransactionContext_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   1425 #define ITransactionContext_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   1426 #define ITransactionContext_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   1427 #define ITransactionContext_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   1428 #define ITransactionContext_CreateInstance(This,pszProgId,pObject) (This)->lpVtbl->CreateInstance(This,pszProgId,pObject)
   1429 #define ITransactionContext_Commit(This) (This)->lpVtbl->Commit(This)
   1430 #define ITransactionContext_Abort(This) (This)->lpVtbl->Abort(This)
   1431 #endif
   1432 #endif
   1433   HRESULT WINAPI ITransactionContext_CreateInstance_Proxy(ITransactionContext *This,BSTR pszProgId,VARIANT *pObject);
   1434   void __RPC_STUB ITransactionContext_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1435   HRESULT WINAPI ITransactionContext_Commit_Proxy(ITransactionContext *This);
   1436   void __RPC_STUB ITransactionContext_Commit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1437   HRESULT WINAPI ITransactionContext_Abort_Proxy(ITransactionContext *This);
   1438   void __RPC_STUB ITransactionContext_Abort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1439 #endif
   1440 
   1441 #ifndef __ICreateWithTransactionEx_INTERFACE_DEFINED__
   1442 #define __ICreateWithTransactionEx_INTERFACE_DEFINED__
   1443   EXTERN_C const IID IID_ICreateWithTransactionEx;
   1444 #if defined(__cplusplus) && !defined(CINTERFACE)
   1445   struct ICreateWithTransactionEx : public IUnknown {
   1446   public:
   1447     virtual HRESULT WINAPI CreateInstance(ITransaction *pTransaction,REFCLSID rclsid,REFIID riid,void **pObject) = 0;
   1448   };
   1449 #else
   1450   typedef struct ICreateWithTransactionExVtbl {
   1451     BEGIN_INTERFACE
   1452       HRESULT (WINAPI *QueryInterface)(ICreateWithTransactionEx *This,REFIID riid,void **ppvObject);
   1453       ULONG (WINAPI *AddRef)(ICreateWithTransactionEx *This);
   1454       ULONG (WINAPI *Release)(ICreateWithTransactionEx *This);
   1455       HRESULT (WINAPI *CreateInstance)(ICreateWithTransactionEx *This,ITransaction *pTransaction,REFCLSID rclsid,REFIID riid,void **pObject);
   1456     END_INTERFACE
   1457   } ICreateWithTransactionExVtbl;
   1458   struct ICreateWithTransactionEx {
   1459     CONST_VTBL struct ICreateWithTransactionExVtbl *lpVtbl;
   1460   };
   1461 #ifdef COBJMACROS
   1462 #define ICreateWithTransactionEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1463 #define ICreateWithTransactionEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   1464 #define ICreateWithTransactionEx_Release(This) (This)->lpVtbl->Release(This)
   1465 #define ICreateWithTransactionEx_CreateInstance(This,pTransaction,rclsid,riid,pObject) (This)->lpVtbl->CreateInstance(This,pTransaction,rclsid,riid,pObject)
   1466 #endif
   1467 #endif
   1468   HRESULT WINAPI ICreateWithTransactionEx_CreateInstance_Proxy(ICreateWithTransactionEx *This,ITransaction *pTransaction,REFCLSID rclsid,REFIID riid,void **pObject);
   1469   void __RPC_STUB ICreateWithTransactionEx_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1470 #endif
   1471 
   1472 #ifndef __ICreateWithTipTransactionEx_INTERFACE_DEFINED__
   1473 #define __ICreateWithTipTransactionEx_INTERFACE_DEFINED__
   1474   EXTERN_C const IID IID_ICreateWithTipTransactionEx;
   1475 #if defined(__cplusplus) && !defined(CINTERFACE)
   1476   struct ICreateWithTipTransactionEx : public IUnknown {
   1477   public:
   1478     virtual HRESULT WINAPI CreateInstance(BSTR bstrTipUrl,REFCLSID rclsid,REFIID riid,void **pObject) = 0;
   1479   };
   1480 #else
   1481   typedef struct ICreateWithTipTransactionExVtbl {
   1482     BEGIN_INTERFACE
   1483       HRESULT (WINAPI *QueryInterface)(ICreateWithTipTransactionEx *This,REFIID riid,void **ppvObject);
   1484       ULONG (WINAPI *AddRef)(ICreateWithTipTransactionEx *This);
   1485       ULONG (WINAPI *Release)(ICreateWithTipTransactionEx *This);
   1486       HRESULT (WINAPI *CreateInstance)(ICreateWithTipTransactionEx *This,BSTR bstrTipUrl,REFCLSID rclsid,REFIID riid,void **pObject);
   1487     END_INTERFACE
   1488   } ICreateWithTipTransactionExVtbl;
   1489   struct ICreateWithTipTransactionEx {
   1490     CONST_VTBL struct ICreateWithTipTransactionExVtbl *lpVtbl;
   1491   };
   1492 #ifdef COBJMACROS
   1493 #define ICreateWithTipTransactionEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1494 #define ICreateWithTipTransactionEx_AddRef(This) (This)->lpVtbl->AddRef(This)
   1495 #define ICreateWithTipTransactionEx_Release(This) (This)->lpVtbl->Release(This)
   1496 #define ICreateWithTipTransactionEx_CreateInstance(This,bstrTipUrl,rclsid,riid,pObject) (This)->lpVtbl->CreateInstance(This,bstrTipUrl,rclsid,riid,pObject)
   1497 #endif
   1498 #endif
   1499   HRESULT WINAPI ICreateWithTipTransactionEx_CreateInstance_Proxy(ICreateWithTipTransactionEx *This,BSTR bstrTipUrl,REFCLSID rclsid,REFIID riid,void **pObject);
   1500   void __RPC_STUB ICreateWithTipTransactionEx_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1501 #endif
   1502 
   1503   __MINGW_EXTENSION typedef unsigned __int64 MTS_OBJID;
   1504   __MINGW_EXTENSION typedef unsigned __int64 MTS_RESID;
   1505   __MINGW_EXTENSION typedef unsigned __int64 ULONG64;
   1506 
   1507 #ifndef _COMSVCSEVENTINFO_
   1508 #define _COMSVCSEVENTINFO_
   1509   typedef struct __MIDL___MIDL_itf_autosvcs_0304_0001 {
   1510     DWORD cbSize;
   1511     DWORD dwPid;
   1512     LONGLONG lTime;
   1513     LONG lMicroTime;
   1514     LONGLONG perfCount;
   1515     GUID guidApp;
   1516     LPOLESTR sMachineName;
   1517   } COMSVCSEVENTINFO;
   1518 #endif
   1519 
   1520   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0304_v0_0_c_ifspec;
   1521   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0304_v0_0_s_ifspec;
   1522 
   1523 #ifndef __IComUserEvent_INTERFACE_DEFINED__
   1524 #define __IComUserEvent_INTERFACE_DEFINED__
   1525   EXTERN_C const IID IID_IComUserEvent;
   1526 #if defined(__cplusplus) && !defined(CINTERFACE)
   1527   struct IComUserEvent : public IUnknown {
   1528   public:
   1529     virtual HRESULT WINAPI OnUserEvent(COMSVCSEVENTINFO *pInfo,VARIANT *pvarEvent) = 0;
   1530   };
   1531 #else
   1532   typedef struct IComUserEventVtbl {
   1533     BEGIN_INTERFACE
   1534       HRESULT (WINAPI *QueryInterface)(IComUserEvent *This,REFIID riid,void **ppvObject);
   1535       ULONG (WINAPI *AddRef)(IComUserEvent *This);
   1536       ULONG (WINAPI *Release)(IComUserEvent *This);
   1537       HRESULT (WINAPI *OnUserEvent)(IComUserEvent *This,COMSVCSEVENTINFO *pInfo,VARIANT *pvarEvent);
   1538     END_INTERFACE
   1539   } IComUserEventVtbl;
   1540   struct IComUserEvent {
   1541     CONST_VTBL struct IComUserEventVtbl *lpVtbl;
   1542   };
   1543 #ifdef COBJMACROS
   1544 #define IComUserEvent_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1545 #define IComUserEvent_AddRef(This) (This)->lpVtbl->AddRef(This)
   1546 #define IComUserEvent_Release(This) (This)->lpVtbl->Release(This)
   1547 #define IComUserEvent_OnUserEvent(This,pInfo,pvarEvent) (This)->lpVtbl->OnUserEvent(This,pInfo,pvarEvent)
   1548 #endif
   1549 #endif
   1550   HRESULT WINAPI IComUserEvent_OnUserEvent_Proxy(IComUserEvent *This,COMSVCSEVENTINFO *pInfo,VARIANT *pvarEvent);
   1551   void __RPC_STUB IComUserEvent_OnUserEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1552 #endif
   1553 
   1554 #ifndef __IComThreadEvents_INTERFACE_DEFINED__
   1555 #define __IComThreadEvents_INTERFACE_DEFINED__
   1556   EXTERN_C const IID IID_IComThreadEvents;
   1557 #if defined(__cplusplus) && !defined(CINTERFACE)
   1558   struct IComThreadEvents : public IUnknown {
   1559   public:
   1560     virtual HRESULT WINAPI OnThreadStart(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt) = 0;
   1561     virtual HRESULT WINAPI OnThreadTerminate(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt) = 0;
   1562     virtual HRESULT WINAPI OnThreadBindToApartment(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt,DWORD dwLowCnt) = 0;
   1563     virtual HRESULT WINAPI OnThreadUnBind(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt) = 0;
   1564     virtual HRESULT WINAPI OnThreadWorkEnque(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen) = 0;
   1565     virtual HRESULT WINAPI OnThreadWorkPrivate(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID) = 0;
   1566     virtual HRESULT WINAPI OnThreadWorkPublic(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen) = 0;
   1567     virtual HRESULT WINAPI OnThreadWorkRedirect(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen,ULONG64 ThreadNum) = 0;
   1568     virtual HRESULT WINAPI OnThreadWorkReject(COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen) = 0;
   1569     virtual HRESULT WINAPI OnThreadAssignApartment(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 AptID) = 0;
   1570     virtual HRESULT WINAPI OnThreadUnassignApartment(COMSVCSEVENTINFO *pInfo,ULONG64 AptID) = 0;
   1571   };
   1572 #else
   1573   typedef struct IComThreadEventsVtbl {
   1574     BEGIN_INTERFACE
   1575       HRESULT (WINAPI *QueryInterface)(IComThreadEvents *This,REFIID riid,void **ppvObject);
   1576       ULONG (WINAPI *AddRef)(IComThreadEvents *This);
   1577       ULONG (WINAPI *Release)(IComThreadEvents *This);
   1578       HRESULT (WINAPI *OnThreadStart)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt);
   1579       HRESULT (WINAPI *OnThreadTerminate)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt);
   1580       HRESULT (WINAPI *OnThreadBindToApartment)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt,DWORD dwLowCnt);
   1581       HRESULT (WINAPI *OnThreadUnBind)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt);
   1582       HRESULT (WINAPI *OnThreadWorkEnque)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1583       HRESULT (WINAPI *OnThreadWorkPrivate)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID);
   1584       HRESULT (WINAPI *OnThreadWorkPublic)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1585       HRESULT (WINAPI *OnThreadWorkRedirect)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen,ULONG64 ThreadNum);
   1586       HRESULT (WINAPI *OnThreadWorkReject)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1587       HRESULT (WINAPI *OnThreadAssignApartment)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 AptID);
   1588       HRESULT (WINAPI *OnThreadUnassignApartment)(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 AptID);
   1589     END_INTERFACE
   1590   } IComThreadEventsVtbl;
   1591   struct IComThreadEvents {
   1592     CONST_VTBL struct IComThreadEventsVtbl *lpVtbl;
   1593   };
   1594 #ifdef COBJMACROS
   1595 #define IComThreadEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1596 #define IComThreadEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1597 #define IComThreadEvents_Release(This) (This)->lpVtbl->Release(This)
   1598 #define IComThreadEvents_OnThreadStart(This,pInfo,ThreadID,dwThread,dwTheadCnt) (This)->lpVtbl->OnThreadStart(This,pInfo,ThreadID,dwThread,dwTheadCnt)
   1599 #define IComThreadEvents_OnThreadTerminate(This,pInfo,ThreadID,dwThread,dwTheadCnt) (This)->lpVtbl->OnThreadTerminate(This,pInfo,ThreadID,dwThread,dwTheadCnt)
   1600 #define IComThreadEvents_OnThreadBindToApartment(This,pInfo,ThreadID,AptID,dwActCnt,dwLowCnt) (This)->lpVtbl->OnThreadBindToApartment(This,pInfo,ThreadID,AptID,dwActCnt,dwLowCnt)
   1601 #define IComThreadEvents_OnThreadUnBind(This,pInfo,ThreadID,AptID,dwActCnt) (This)->lpVtbl->OnThreadUnBind(This,pInfo,ThreadID,AptID,dwActCnt)
   1602 #define IComThreadEvents_OnThreadWorkEnque(This,pInfo,ThreadID,MsgWorkID,QueueLen) (This)->lpVtbl->OnThreadWorkEnque(This,pInfo,ThreadID,MsgWorkID,QueueLen)
   1603 #define IComThreadEvents_OnThreadWorkPrivate(This,pInfo,ThreadID,MsgWorkID) (This)->lpVtbl->OnThreadWorkPrivate(This,pInfo,ThreadID,MsgWorkID)
   1604 #define IComThreadEvents_OnThreadWorkPublic(This,pInfo,ThreadID,MsgWorkID,QueueLen) (This)->lpVtbl->OnThreadWorkPublic(This,pInfo,ThreadID,MsgWorkID,QueueLen)
   1605 #define IComThreadEvents_OnThreadWorkRedirect(This,pInfo,ThreadID,MsgWorkID,QueueLen,ThreadNum) (This)->lpVtbl->OnThreadWorkRedirect(This,pInfo,ThreadID,MsgWorkID,QueueLen,ThreadNum)
   1606 #define IComThreadEvents_OnThreadWorkReject(This,pInfo,ThreadID,MsgWorkID,QueueLen) (This)->lpVtbl->OnThreadWorkReject(This,pInfo,ThreadID,MsgWorkID,QueueLen)
   1607 #define IComThreadEvents_OnThreadAssignApartment(This,pInfo,guidActivity,AptID) (This)->lpVtbl->OnThreadAssignApartment(This,pInfo,guidActivity,AptID)
   1608 #define IComThreadEvents_OnThreadUnassignApartment(This,pInfo,AptID) (This)->lpVtbl->OnThreadUnassignApartment(This,pInfo,AptID)
   1609 #endif
   1610 #endif
   1611   HRESULT WINAPI IComThreadEvents_OnThreadStart_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt);
   1612   void __RPC_STUB IComThreadEvents_OnThreadStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1613   HRESULT WINAPI IComThreadEvents_OnThreadTerminate_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,DWORD dwThread,DWORD dwTheadCnt);
   1614   void __RPC_STUB IComThreadEvents_OnThreadTerminate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1615   HRESULT WINAPI IComThreadEvents_OnThreadBindToApartment_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt,DWORD dwLowCnt);
   1616   void __RPC_STUB IComThreadEvents_OnThreadBindToApartment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1617   HRESULT WINAPI IComThreadEvents_OnThreadUnBind_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 AptID,DWORD dwActCnt);
   1618   void __RPC_STUB IComThreadEvents_OnThreadUnBind_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1619   HRESULT WINAPI IComThreadEvents_OnThreadWorkEnque_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1620   void __RPC_STUB IComThreadEvents_OnThreadWorkEnque_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1621   HRESULT WINAPI IComThreadEvents_OnThreadWorkPrivate_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID);
   1622   void __RPC_STUB IComThreadEvents_OnThreadWorkPrivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1623   HRESULT WINAPI IComThreadEvents_OnThreadWorkPublic_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1624   void __RPC_STUB IComThreadEvents_OnThreadWorkPublic_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1625   HRESULT WINAPI IComThreadEvents_OnThreadWorkRedirect_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen,ULONG64 ThreadNum);
   1626   void __RPC_STUB IComThreadEvents_OnThreadWorkRedirect_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1627   HRESULT WINAPI IComThreadEvents_OnThreadWorkReject_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ThreadID,ULONG64 MsgWorkID,DWORD QueueLen);
   1628   void __RPC_STUB IComThreadEvents_OnThreadWorkReject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1629   HRESULT WINAPI IComThreadEvents_OnThreadAssignApartment_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 AptID);
   1630   void __RPC_STUB IComThreadEvents_OnThreadAssignApartment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1631   HRESULT WINAPI IComThreadEvents_OnThreadUnassignApartment_Proxy(IComThreadEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 AptID);
   1632   void __RPC_STUB IComThreadEvents_OnThreadUnassignApartment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1633 #endif
   1634 
   1635 #ifndef __IComAppEvents_INTERFACE_DEFINED__
   1636 #define __IComAppEvents_INTERFACE_DEFINED__
   1637   EXTERN_C const IID IID_IComAppEvents;
   1638 #if defined(__cplusplus) && !defined(CINTERFACE)
   1639   struct IComAppEvents : public IUnknown {
   1640   public:
   1641     virtual HRESULT WINAPI OnAppActivation(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   1642     virtual HRESULT WINAPI OnAppShutdown(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   1643     virtual HRESULT WINAPI OnAppForceShutdown(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   1644   };
   1645 #else
   1646   typedef struct IComAppEventsVtbl {
   1647     BEGIN_INTERFACE
   1648       HRESULT (WINAPI *QueryInterface)(IComAppEvents *This,REFIID riid,void **ppvObject);
   1649       ULONG (WINAPI *AddRef)(IComAppEvents *This);
   1650       ULONG (WINAPI *Release)(IComAppEvents *This);
   1651       HRESULT (WINAPI *OnAppActivation)(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1652       HRESULT (WINAPI *OnAppShutdown)(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1653       HRESULT (WINAPI *OnAppForceShutdown)(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1654     END_INTERFACE
   1655   } IComAppEventsVtbl;
   1656   struct IComAppEvents {
   1657     CONST_VTBL struct IComAppEventsVtbl *lpVtbl;
   1658   };
   1659 #ifdef COBJMACROS
   1660 #define IComAppEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1661 #define IComAppEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1662 #define IComAppEvents_Release(This) (This)->lpVtbl->Release(This)
   1663 #define IComAppEvents_OnAppActivation(This,pInfo,guidApp) (This)->lpVtbl->OnAppActivation(This,pInfo,guidApp)
   1664 #define IComAppEvents_OnAppShutdown(This,pInfo,guidApp) (This)->lpVtbl->OnAppShutdown(This,pInfo,guidApp)
   1665 #define IComAppEvents_OnAppForceShutdown(This,pInfo,guidApp) (This)->lpVtbl->OnAppForceShutdown(This,pInfo,guidApp)
   1666 #endif
   1667 #endif
   1668   HRESULT WINAPI IComAppEvents_OnAppActivation_Proxy(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1669   void __RPC_STUB IComAppEvents_OnAppActivation_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1670   HRESULT WINAPI IComAppEvents_OnAppShutdown_Proxy(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1671   void __RPC_STUB IComAppEvents_OnAppShutdown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1672   HRESULT WINAPI IComAppEvents_OnAppForceShutdown_Proxy(IComAppEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   1673   void __RPC_STUB IComAppEvents_OnAppForceShutdown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1674 #endif
   1675 
   1676 #ifndef __IComInstanceEvents_INTERFACE_DEFINED__
   1677 #define __IComInstanceEvents_INTERFACE_DEFINED__
   1678   EXTERN_C const IID IID_IComInstanceEvents;
   1679 #if defined(__cplusplus) && !defined(CINTERFACE)
   1680   struct IComInstanceEvents : public IUnknown {
   1681   public:
   1682     virtual HRESULT WINAPI OnObjectCreate(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID) = 0;
   1683     virtual HRESULT WINAPI OnObjectDestroy(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   1684   };
   1685 #else
   1686   typedef struct IComInstanceEventsVtbl {
   1687     BEGIN_INTERFACE
   1688       HRESULT (WINAPI *QueryInterface)(IComInstanceEvents *This,REFIID riid,void **ppvObject);
   1689       ULONG (WINAPI *AddRef)(IComInstanceEvents *This);
   1690       ULONG (WINAPI *Release)(IComInstanceEvents *This);
   1691       HRESULT (WINAPI *OnObjectCreate)(IComInstanceEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID);
   1692       HRESULT (WINAPI *OnObjectDestroy)(IComInstanceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1693     END_INTERFACE
   1694   } IComInstanceEventsVtbl;
   1695   struct IComInstanceEvents {
   1696     CONST_VTBL struct IComInstanceEventsVtbl *lpVtbl;
   1697   };
   1698 #ifdef COBJMACROS
   1699 #define IComInstanceEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1700 #define IComInstanceEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1701 #define IComInstanceEvents_Release(This) (This)->lpVtbl->Release(This)
   1702 #define IComInstanceEvents_OnObjectCreate(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID) (This)->lpVtbl->OnObjectCreate(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID)
   1703 #define IComInstanceEvents_OnObjectDestroy(This,pInfo,CtxtID) (This)->lpVtbl->OnObjectDestroy(This,pInfo,CtxtID)
   1704 #endif
   1705 #endif
   1706   HRESULT WINAPI IComInstanceEvents_OnObjectCreate_Proxy(IComInstanceEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID);
   1707   void __RPC_STUB IComInstanceEvents_OnObjectCreate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1708   HRESULT WINAPI IComInstanceEvents_OnObjectDestroy_Proxy(IComInstanceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1709   void __RPC_STUB IComInstanceEvents_OnObjectDestroy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1710 #endif
   1711 
   1712 #ifndef __IComTransactionEvents_INTERFACE_DEFINED__
   1713 #define __IComTransactionEvents_INTERFACE_DEFINED__
   1714   EXTERN_C const IID IID_IComTransactionEvents;
   1715 #if defined(__cplusplus) && !defined(CINTERFACE)
   1716   struct IComTransactionEvents : public IUnknown {
   1717   public:
   1718     virtual HRESULT WINAPI OnTransactionStart(COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot) = 0;
   1719     virtual HRESULT WINAPI OnTransactionPrepare(COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes) = 0;
   1720     virtual HRESULT WINAPI OnTransactionAbort(COMSVCSEVENTINFO *pInfo,REFGUID guidTx) = 0;
   1721     virtual HRESULT WINAPI OnTransactionCommit(COMSVCSEVENTINFO *pInfo,REFGUID guidTx) = 0;
   1722   };
   1723 #else
   1724   typedef struct IComTransactionEventsVtbl {
   1725     BEGIN_INTERFACE
   1726       HRESULT (WINAPI *QueryInterface)(IComTransactionEvents *This,REFIID riid,void **ppvObject);
   1727       ULONG (WINAPI *AddRef)(IComTransactionEvents *This);
   1728       ULONG (WINAPI *Release)(IComTransactionEvents *This);
   1729       HRESULT (WINAPI *OnTransactionStart)(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot);
   1730       HRESULT (WINAPI *OnTransactionPrepare)(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes);
   1731       HRESULT (WINAPI *OnTransactionAbort)(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   1732       HRESULT (WINAPI *OnTransactionCommit)(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   1733     END_INTERFACE
   1734   } IComTransactionEventsVtbl;
   1735   struct IComTransactionEvents {
   1736     CONST_VTBL struct IComTransactionEventsVtbl *lpVtbl;
   1737   };
   1738 #ifdef COBJMACROS
   1739 #define IComTransactionEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1740 #define IComTransactionEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1741 #define IComTransactionEvents_Release(This) (This)->lpVtbl->Release(This)
   1742 #define IComTransactionEvents_OnTransactionStart(This,pInfo,guidTx,tsid,fRoot) (This)->lpVtbl->OnTransactionStart(This,pInfo,guidTx,tsid,fRoot)
   1743 #define IComTransactionEvents_OnTransactionPrepare(This,pInfo,guidTx,fVoteYes) (This)->lpVtbl->OnTransactionPrepare(This,pInfo,guidTx,fVoteYes)
   1744 #define IComTransactionEvents_OnTransactionAbort(This,pInfo,guidTx) (This)->lpVtbl->OnTransactionAbort(This,pInfo,guidTx)
   1745 #define IComTransactionEvents_OnTransactionCommit(This,pInfo,guidTx) (This)->lpVtbl->OnTransactionCommit(This,pInfo,guidTx)
   1746 #endif
   1747 #endif
   1748   HRESULT WINAPI IComTransactionEvents_OnTransactionStart_Proxy(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot);
   1749   void __RPC_STUB IComTransactionEvents_OnTransactionStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1750   HRESULT WINAPI IComTransactionEvents_OnTransactionPrepare_Proxy(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes);
   1751   void __RPC_STUB IComTransactionEvents_OnTransactionPrepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1752   HRESULT WINAPI IComTransactionEvents_OnTransactionAbort_Proxy(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   1753   void __RPC_STUB IComTransactionEvents_OnTransactionAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1754   HRESULT WINAPI IComTransactionEvents_OnTransactionCommit_Proxy(IComTransactionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   1755   void __RPC_STUB IComTransactionEvents_OnTransactionCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1756 #endif
   1757 
   1758 #ifndef __IComMethodEvents_INTERFACE_DEFINED__
   1759 #define __IComMethodEvents_INTERFACE_DEFINED__
   1760   EXTERN_C const IID IID_IComMethodEvents;
   1761 #if defined(__cplusplus) && !defined(CINTERFACE)
   1762   struct IComMethodEvents : public IUnknown {
   1763   public:
   1764     virtual HRESULT WINAPI OnMethodCall(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth) = 0;
   1765     virtual HRESULT WINAPI OnMethodReturn(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth,HRESULT hresult) = 0;
   1766     virtual HRESULT WINAPI OnMethodException(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth) = 0;
   1767   };
   1768 #else
   1769   typedef struct IComMethodEventsVtbl {
   1770     BEGIN_INTERFACE
   1771       HRESULT (WINAPI *QueryInterface)(IComMethodEvents *This,REFIID riid,void **ppvObject);
   1772       ULONG (WINAPI *AddRef)(IComMethodEvents *This);
   1773       ULONG (WINAPI *Release)(IComMethodEvents *This);
   1774       HRESULT (WINAPI *OnMethodCall)(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth);
   1775       HRESULT (WINAPI *OnMethodReturn)(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth,HRESULT hresult);
   1776       HRESULT (WINAPI *OnMethodException)(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth);
   1777     END_INTERFACE
   1778   } IComMethodEventsVtbl;
   1779   struct IComMethodEvents {
   1780     CONST_VTBL struct IComMethodEventsVtbl *lpVtbl;
   1781   };
   1782 #ifdef COBJMACROS
   1783 #define IComMethodEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1784 #define IComMethodEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1785 #define IComMethodEvents_Release(This) (This)->lpVtbl->Release(This)
   1786 #define IComMethodEvents_OnMethodCall(This,pInfo,oid,guidCid,guidRid,iMeth) (This)->lpVtbl->OnMethodCall(This,pInfo,oid,guidCid,guidRid,iMeth)
   1787 #define IComMethodEvents_OnMethodReturn(This,pInfo,oid,guidCid,guidRid,iMeth,hresult) (This)->lpVtbl->OnMethodReturn(This,pInfo,oid,guidCid,guidRid,iMeth,hresult)
   1788 #define IComMethodEvents_OnMethodException(This,pInfo,oid,guidCid,guidRid,iMeth) (This)->lpVtbl->OnMethodException(This,pInfo,oid,guidCid,guidRid,iMeth)
   1789 #endif
   1790 #endif
   1791   HRESULT WINAPI IComMethodEvents_OnMethodCall_Proxy(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth);
   1792   void __RPC_STUB IComMethodEvents_OnMethodCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1793   HRESULT WINAPI IComMethodEvents_OnMethodReturn_Proxy(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth,HRESULT hresult);
   1794   void __RPC_STUB IComMethodEvents_OnMethodReturn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1795   HRESULT WINAPI IComMethodEvents_OnMethodException_Proxy(IComMethodEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,ULONG iMeth);
   1796   void __RPC_STUB IComMethodEvents_OnMethodException_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1797 #endif
   1798 
   1799 #ifndef __IComObjectEvents_INTERFACE_DEFINED__
   1800 #define __IComObjectEvents_INTERFACE_DEFINED__
   1801   EXTERN_C const IID IID_IComObjectEvents;
   1802 #if defined(__cplusplus) && !defined(CINTERFACE)
   1803   struct IComObjectEvents : public IUnknown {
   1804   public:
   1805     virtual HRESULT WINAPI OnObjectActivate(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID) = 0;
   1806     virtual HRESULT WINAPI OnObjectDeactivate(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID) = 0;
   1807     virtual HRESULT WINAPI OnDisableCommit(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   1808     virtual HRESULT WINAPI OnEnableCommit(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   1809     virtual HRESULT WINAPI OnSetComplete(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   1810     virtual HRESULT WINAPI OnSetAbort(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   1811   };
   1812 #else
   1813   typedef struct IComObjectEventsVtbl {
   1814     BEGIN_INTERFACE
   1815       HRESULT (WINAPI *QueryInterface)(IComObjectEvents *This,REFIID riid,void **ppvObject);
   1816       ULONG (WINAPI *AddRef)(IComObjectEvents *This);
   1817       ULONG (WINAPI *Release)(IComObjectEvents *This);
   1818       HRESULT (WINAPI *OnObjectActivate)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID);
   1819       HRESULT (WINAPI *OnObjectDeactivate)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID);
   1820       HRESULT (WINAPI *OnDisableCommit)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1821       HRESULT (WINAPI *OnEnableCommit)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1822       HRESULT (WINAPI *OnSetComplete)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1823       HRESULT (WINAPI *OnSetAbort)(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1824     END_INTERFACE
   1825   } IComObjectEventsVtbl;
   1826   struct IComObjectEvents {
   1827     CONST_VTBL struct IComObjectEventsVtbl *lpVtbl;
   1828   };
   1829 #ifdef COBJMACROS
   1830 #define IComObjectEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1831 #define IComObjectEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1832 #define IComObjectEvents_Release(This) (This)->lpVtbl->Release(This)
   1833 #define IComObjectEvents_OnObjectActivate(This,pInfo,CtxtID,ObjectID) (This)->lpVtbl->OnObjectActivate(This,pInfo,CtxtID,ObjectID)
   1834 #define IComObjectEvents_OnObjectDeactivate(This,pInfo,CtxtID,ObjectID) (This)->lpVtbl->OnObjectDeactivate(This,pInfo,CtxtID,ObjectID)
   1835 #define IComObjectEvents_OnDisableCommit(This,pInfo,CtxtID) (This)->lpVtbl->OnDisableCommit(This,pInfo,CtxtID)
   1836 #define IComObjectEvents_OnEnableCommit(This,pInfo,CtxtID) (This)->lpVtbl->OnEnableCommit(This,pInfo,CtxtID)
   1837 #define IComObjectEvents_OnSetComplete(This,pInfo,CtxtID) (This)->lpVtbl->OnSetComplete(This,pInfo,CtxtID)
   1838 #define IComObjectEvents_OnSetAbort(This,pInfo,CtxtID) (This)->lpVtbl->OnSetAbort(This,pInfo,CtxtID)
   1839 #endif
   1840 #endif
   1841   HRESULT WINAPI IComObjectEvents_OnObjectActivate_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID);
   1842   void __RPC_STUB IComObjectEvents_OnObjectActivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1843   HRESULT WINAPI IComObjectEvents_OnObjectDeactivate_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID,ULONG64 ObjectID);
   1844   void __RPC_STUB IComObjectEvents_OnObjectDeactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1845   HRESULT WINAPI IComObjectEvents_OnDisableCommit_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1846   void __RPC_STUB IComObjectEvents_OnDisableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1847   HRESULT WINAPI IComObjectEvents_OnEnableCommit_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1848   void __RPC_STUB IComObjectEvents_OnEnableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1849   HRESULT WINAPI IComObjectEvents_OnSetComplete_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1850   void __RPC_STUB IComObjectEvents_OnSetComplete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1851   HRESULT WINAPI IComObjectEvents_OnSetAbort_Proxy(IComObjectEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   1852   void __RPC_STUB IComObjectEvents_OnSetAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1853 #endif
   1854 
   1855 #ifndef __IComResourceEvents_INTERFACE_DEFINED__
   1856 #define __IComResourceEvents_INTERFACE_DEFINED__
   1857   EXTERN_C const IID IID_IComResourceEvents;
   1858 #if defined(__cplusplus) && !defined(CINTERFACE)
   1859   struct IComResourceEvents : public IUnknown {
   1860   public:
   1861     virtual HRESULT WINAPI OnResourceCreate(COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted) = 0;
   1862     virtual HRESULT WINAPI OnResourceAllocate(COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted,DWORD NumRated,DWORD Rating) = 0;
   1863     virtual HRESULT WINAPI OnResourceRecycle(COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId) = 0;
   1864     virtual HRESULT WINAPI OnResourceDestroy(COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,HRESULT hr,LPCOLESTR pszType,ULONG64 resId) = 0;
   1865     virtual HRESULT WINAPI OnResourceTrack(COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted) = 0;
   1866   };
   1867 #else
   1868   typedef struct IComResourceEventsVtbl {
   1869     BEGIN_INTERFACE
   1870       HRESULT (WINAPI *QueryInterface)(IComResourceEvents *This,REFIID riid,void **ppvObject);
   1871       ULONG (WINAPI *AddRef)(IComResourceEvents *This);
   1872       ULONG (WINAPI *Release)(IComResourceEvents *This);
   1873       HRESULT (WINAPI *OnResourceCreate)(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted);
   1874       HRESULT (WINAPI *OnResourceAllocate)(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted,DWORD NumRated,DWORD Rating);
   1875       HRESULT (WINAPI *OnResourceRecycle)(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId);
   1876       HRESULT (WINAPI *OnResourceDestroy)(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,HRESULT hr,LPCOLESTR pszType,ULONG64 resId);
   1877       HRESULT (WINAPI *OnResourceTrack)(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted);
   1878     END_INTERFACE
   1879   } IComResourceEventsVtbl;
   1880   struct IComResourceEvents {
   1881     CONST_VTBL struct IComResourceEventsVtbl *lpVtbl;
   1882   };
   1883 #ifdef COBJMACROS
   1884 #define IComResourceEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1885 #define IComResourceEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1886 #define IComResourceEvents_Release(This) (This)->lpVtbl->Release(This)
   1887 #define IComResourceEvents_OnResourceCreate(This,pInfo,ObjectID,pszType,resId,enlisted) (This)->lpVtbl->OnResourceCreate(This,pInfo,ObjectID,pszType,resId,enlisted)
   1888 #define IComResourceEvents_OnResourceAllocate(This,pInfo,ObjectID,pszType,resId,enlisted,NumRated,Rating) (This)->lpVtbl->OnResourceAllocate(This,pInfo,ObjectID,pszType,resId,enlisted,NumRated,Rating)
   1889 #define IComResourceEvents_OnResourceRecycle(This,pInfo,ObjectID,pszType,resId) (This)->lpVtbl->OnResourceRecycle(This,pInfo,ObjectID,pszType,resId)
   1890 #define IComResourceEvents_OnResourceDestroy(This,pInfo,ObjectID,hr,pszType,resId) (This)->lpVtbl->OnResourceDestroy(This,pInfo,ObjectID,hr,pszType,resId)
   1891 #define IComResourceEvents_OnResourceTrack(This,pInfo,ObjectID,pszType,resId,enlisted) (This)->lpVtbl->OnResourceTrack(This,pInfo,ObjectID,pszType,resId,enlisted)
   1892 #endif
   1893 #endif
   1894   HRESULT WINAPI IComResourceEvents_OnResourceCreate_Proxy(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted);
   1895   void __RPC_STUB IComResourceEvents_OnResourceCreate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1896   HRESULT WINAPI IComResourceEvents_OnResourceAllocate_Proxy(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted,DWORD NumRated,DWORD Rating);
   1897   void __RPC_STUB IComResourceEvents_OnResourceAllocate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1898   HRESULT WINAPI IComResourceEvents_OnResourceRecycle_Proxy(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId);
   1899   void __RPC_STUB IComResourceEvents_OnResourceRecycle_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1900   HRESULT WINAPI IComResourceEvents_OnResourceDestroy_Proxy(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,HRESULT hr,LPCOLESTR pszType,ULONG64 resId);
   1901   void __RPC_STUB IComResourceEvents_OnResourceDestroy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1902   HRESULT WINAPI IComResourceEvents_OnResourceTrack_Proxy(IComResourceEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjectID,LPCOLESTR pszType,ULONG64 resId,WINBOOL enlisted);
   1903   void __RPC_STUB IComResourceEvents_OnResourceTrack_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1904 #endif
   1905 
   1906 #ifndef __IComSecurityEvents_INTERFACE_DEFINED__
   1907 #define __IComSecurityEvents_INTERFACE_DEFINED__
   1908   EXTERN_C const IID IID_IComSecurityEvents;
   1909 #if defined(__cplusplus) && !defined(CINTERFACE)
   1910   struct IComSecurityEvents : public IUnknown {
   1911   public:
   1912     virtual HRESULT WINAPI OnAuthenticate(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc) = 0;
   1913     virtual HRESULT WINAPI OnAuthenticateFail(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc) = 0;
   1914   };
   1915 #else
   1916   typedef struct IComSecurityEventsVtbl {
   1917     BEGIN_INTERFACE
   1918       HRESULT (WINAPI *QueryInterface)(IComSecurityEvents *This,REFIID riid,void **ppvObject);
   1919       ULONG (WINAPI *AddRef)(IComSecurityEvents *This);
   1920       ULONG (WINAPI *Release)(IComSecurityEvents *This);
   1921       HRESULT (WINAPI *OnAuthenticate)(IComSecurityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc);
   1922       HRESULT (WINAPI *OnAuthenticateFail)(IComSecurityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc);
   1923     END_INTERFACE
   1924   } IComSecurityEventsVtbl;
   1925   struct IComSecurityEvents {
   1926     CONST_VTBL struct IComSecurityEventsVtbl *lpVtbl;
   1927   };
   1928 #ifdef COBJMACROS
   1929 #define IComSecurityEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1930 #define IComSecurityEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1931 #define IComSecurityEvents_Release(This) (This)->lpVtbl->Release(This)
   1932 #define IComSecurityEvents_OnAuthenticate(This,pInfo,guidActivity,ObjectID,guidIID,iMeth,cbByteOrig,pSidOriginalUser,cbByteCur,pSidCurrentUser,bCurrentUserInpersonatingInProc) (This)->lpVtbl->OnAuthenticate(This,pInfo,guidActivity,ObjectID,guidIID,iMeth,cbByteOrig,pSidOriginalUser,cbByteCur,pSidCurrentUser,bCurrentUserInpersonatingInProc)
   1933 #define IComSecurityEvents_OnAuthenticateFail(This,pInfo,guidActivity,ObjectID,guidIID,iMeth,cbByteOrig,pSidOriginalUser,cbByteCur,pSidCurrentUser,bCurrentUserInpersonatingInProc) (This)->lpVtbl->OnAuthenticateFail(This,pInfo,guidActivity,ObjectID,guidIID,iMeth,cbByteOrig,pSidOriginalUser,cbByteCur,pSidCurrentUser,bCurrentUserInpersonatingInProc)
   1934 #endif
   1935 #endif
   1936   HRESULT WINAPI IComSecurityEvents_OnAuthenticate_Proxy(IComSecurityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc);
   1937   void __RPC_STUB IComSecurityEvents_OnAuthenticate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1938   HRESULT WINAPI IComSecurityEvents_OnAuthenticateFail_Proxy(IComSecurityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,ULONG64 ObjectID,REFGUID guidIID,ULONG iMeth,ULONG cbByteOrig,BYTE *pSidOriginalUser,ULONG cbByteCur,BYTE *pSidCurrentUser,WINBOOL bCurrentUserInpersonatingInProc);
   1939   void __RPC_STUB IComSecurityEvents_OnAuthenticateFail_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1940 #endif
   1941 
   1942 #ifndef __IComObjectPoolEvents_INTERFACE_DEFINED__
   1943 #define __IComObjectPoolEvents_INTERFACE_DEFINED__
   1944   EXTERN_C const IID IID_IComObjectPoolEvents;
   1945 #if defined(__cplusplus) && !defined(CINTERFACE)
   1946   struct IComObjectPoolEvents : public IUnknown {
   1947   public:
   1948     virtual HRESULT WINAPI OnObjPoolPutObject(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid) = 0;
   1949     virtual HRESULT WINAPI OnObjPoolGetObject(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid) = 0;
   1950     virtual HRESULT WINAPI OnObjPoolRecycleToTx(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid) = 0;
   1951     virtual HRESULT WINAPI OnObjPoolGetFromTx(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid) = 0;
   1952   };
   1953 #else
   1954   typedef struct IComObjectPoolEventsVtbl {
   1955     BEGIN_INTERFACE
   1956       HRESULT (WINAPI *QueryInterface)(IComObjectPoolEvents *This,REFIID riid,void **ppvObject);
   1957       ULONG (WINAPI *AddRef)(IComObjectPoolEvents *This);
   1958       ULONG (WINAPI *Release)(IComObjectPoolEvents *This);
   1959       HRESULT (WINAPI *OnObjPoolPutObject)(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid);
   1960       HRESULT (WINAPI *OnObjPoolGetObject)(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid);
   1961       HRESULT (WINAPI *OnObjPoolRecycleToTx)(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   1962       HRESULT (WINAPI *OnObjPoolGetFromTx)(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   1963     END_INTERFACE
   1964   } IComObjectPoolEventsVtbl;
   1965   struct IComObjectPoolEvents {
   1966     CONST_VTBL struct IComObjectPoolEventsVtbl *lpVtbl;
   1967   };
   1968 #ifdef COBJMACROS
   1969 #define IComObjectPoolEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   1970 #define IComObjectPoolEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   1971 #define IComObjectPoolEvents_Release(This) (This)->lpVtbl->Release(This)
   1972 #define IComObjectPoolEvents_OnObjPoolPutObject(This,pInfo,guidObject,nReason,dwAvailable,oid) (This)->lpVtbl->OnObjPoolPutObject(This,pInfo,guidObject,nReason,dwAvailable,oid)
   1973 #define IComObjectPoolEvents_OnObjPoolGetObject(This,pInfo,guidActivity,guidObject,dwAvailable,oid) (This)->lpVtbl->OnObjPoolGetObject(This,pInfo,guidActivity,guidObject,dwAvailable,oid)
   1974 #define IComObjectPoolEvents_OnObjPoolRecycleToTx(This,pInfo,guidActivity,guidObject,guidTx,objid) (This)->lpVtbl->OnObjPoolRecycleToTx(This,pInfo,guidActivity,guidObject,guidTx,objid)
   1975 #define IComObjectPoolEvents_OnObjPoolGetFromTx(This,pInfo,guidActivity,guidObject,guidTx,objid) (This)->lpVtbl->OnObjPoolGetFromTx(This,pInfo,guidActivity,guidObject,guidTx,objid)
   1976 #endif
   1977 #endif
   1978   HRESULT WINAPI IComObjectPoolEvents_OnObjPoolPutObject_Proxy(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid);
   1979   void __RPC_STUB IComObjectPoolEvents_OnObjPoolPutObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1980   HRESULT WINAPI IComObjectPoolEvents_OnObjPoolGetObject_Proxy(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid);
   1981   void __RPC_STUB IComObjectPoolEvents_OnObjPoolGetObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1982   HRESULT WINAPI IComObjectPoolEvents_OnObjPoolRecycleToTx_Proxy(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   1983   void __RPC_STUB IComObjectPoolEvents_OnObjPoolRecycleToTx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1984   HRESULT WINAPI IComObjectPoolEvents_OnObjPoolGetFromTx_Proxy(IComObjectPoolEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   1985   void __RPC_STUB IComObjectPoolEvents_OnObjPoolGetFromTx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   1986 #endif
   1987 
   1988 #ifndef __IComObjectPoolEvents2_INTERFACE_DEFINED__
   1989 #define __IComObjectPoolEvents2_INTERFACE_DEFINED__
   1990   EXTERN_C const IID IID_IComObjectPoolEvents2;
   1991 #if defined(__cplusplus) && !defined(CINTERFACE)
   1992   struct IComObjectPoolEvents2 : public IUnknown {
   1993   public:
   1994     virtual HRESULT WINAPI OnObjPoolCreateObject(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid) = 0;
   1995     virtual HRESULT WINAPI OnObjPoolDestroyObject(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid) = 0;
   1996     virtual HRESULT WINAPI OnObjPoolCreateDecision(COMSVCSEVENTINFO *pInfo,DWORD dwThreadsWaiting,DWORD dwAvail,DWORD dwCreated,DWORD dwMin,DWORD dwMax) = 0;
   1997     virtual HRESULT WINAPI OnObjPoolTimeout(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,REFGUID guidActivity,DWORD dwTimeout) = 0;
   1998     virtual HRESULT WINAPI OnObjPoolCreatePool(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwMin,DWORD dwMax,DWORD dwTimeout) = 0;
   1999   };
   2000 #else
   2001   typedef struct IComObjectPoolEvents2Vtbl {
   2002     BEGIN_INTERFACE
   2003       HRESULT (WINAPI *QueryInterface)(IComObjectPoolEvents2 *This,REFIID riid,void **ppvObject);
   2004       ULONG (WINAPI *AddRef)(IComObjectPoolEvents2 *This);
   2005       ULONG (WINAPI *Release)(IComObjectPoolEvents2 *This);
   2006       HRESULT (WINAPI *OnObjPoolCreateObject)(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid);
   2007       HRESULT (WINAPI *OnObjPoolDestroyObject)(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid);
   2008       HRESULT (WINAPI *OnObjPoolCreateDecision)(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,DWORD dwThreadsWaiting,DWORD dwAvail,DWORD dwCreated,DWORD dwMin,DWORD dwMax);
   2009       HRESULT (WINAPI *OnObjPoolTimeout)(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,REFGUID guidActivity,DWORD dwTimeout);
   2010       HRESULT (WINAPI *OnObjPoolCreatePool)(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwMin,DWORD dwMax,DWORD dwTimeout);
   2011     END_INTERFACE
   2012   } IComObjectPoolEvents2Vtbl;
   2013   struct IComObjectPoolEvents2 {
   2014     CONST_VTBL struct IComObjectPoolEvents2Vtbl *lpVtbl;
   2015   };
   2016 #ifdef COBJMACROS
   2017 #define IComObjectPoolEvents2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2018 #define IComObjectPoolEvents2_AddRef(This) (This)->lpVtbl->AddRef(This)
   2019 #define IComObjectPoolEvents2_Release(This) (This)->lpVtbl->Release(This)
   2020 #define IComObjectPoolEvents2_OnObjPoolCreateObject(This,pInfo,guidObject,dwObjsCreated,oid) (This)->lpVtbl->OnObjPoolCreateObject(This,pInfo,guidObject,dwObjsCreated,oid)
   2021 #define IComObjectPoolEvents2_OnObjPoolDestroyObject(This,pInfo,guidObject,dwObjsCreated,oid) (This)->lpVtbl->OnObjPoolDestroyObject(This,pInfo,guidObject,dwObjsCreated,oid)
   2022 #define IComObjectPoolEvents2_OnObjPoolCreateDecision(This,pInfo,dwThreadsWaiting,dwAvail,dwCreated,dwMin,dwMax) (This)->lpVtbl->OnObjPoolCreateDecision(This,pInfo,dwThreadsWaiting,dwAvail,dwCreated,dwMin,dwMax)
   2023 #define IComObjectPoolEvents2_OnObjPoolTimeout(This,pInfo,guidObject,guidActivity,dwTimeout) (This)->lpVtbl->OnObjPoolTimeout(This,pInfo,guidObject,guidActivity,dwTimeout)
   2024 #define IComObjectPoolEvents2_OnObjPoolCreatePool(This,pInfo,guidObject,dwMin,dwMax,dwTimeout) (This)->lpVtbl->OnObjPoolCreatePool(This,pInfo,guidObject,dwMin,dwMax,dwTimeout)
   2025 #endif
   2026 #endif
   2027   HRESULT WINAPI IComObjectPoolEvents2_OnObjPoolCreateObject_Proxy(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid);
   2028   void __RPC_STUB IComObjectPoolEvents2_OnObjPoolCreateObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2029   HRESULT WINAPI IComObjectPoolEvents2_OnObjPoolDestroyObject_Proxy(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwObjsCreated,ULONG64 oid);
   2030   void __RPC_STUB IComObjectPoolEvents2_OnObjPoolDestroyObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2031   HRESULT WINAPI IComObjectPoolEvents2_OnObjPoolCreateDecision_Proxy(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,DWORD dwThreadsWaiting,DWORD dwAvail,DWORD dwCreated,DWORD dwMin,DWORD dwMax);
   2032   void __RPC_STUB IComObjectPoolEvents2_OnObjPoolCreateDecision_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2033   HRESULT WINAPI IComObjectPoolEvents2_OnObjPoolTimeout_Proxy(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,REFGUID guidActivity,DWORD dwTimeout);
   2034   void __RPC_STUB IComObjectPoolEvents2_OnObjPoolTimeout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2035   HRESULT WINAPI IComObjectPoolEvents2_OnObjPoolCreatePool_Proxy(IComObjectPoolEvents2 *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,DWORD dwMin,DWORD dwMax,DWORD dwTimeout);
   2036   void __RPC_STUB IComObjectPoolEvents2_OnObjPoolCreatePool_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2037 #endif
   2038 
   2039 #ifndef __IComObjectConstructionEvents_INTERFACE_DEFINED__
   2040 #define __IComObjectConstructionEvents_INTERFACE_DEFINED__
   2041   EXTERN_C const IID IID_IComObjectConstructionEvents;
   2042 #if defined(__cplusplus) && !defined(CINTERFACE)
   2043   struct IComObjectConstructionEvents : public IUnknown {
   2044   public:
   2045     virtual HRESULT WINAPI OnObjectConstruct(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid) = 0;
   2046   };
   2047 #else
   2048   typedef struct IComObjectConstructionEventsVtbl {
   2049     BEGIN_INTERFACE
   2050       HRESULT (WINAPI *QueryInterface)(IComObjectConstructionEvents *This,REFIID riid,void **ppvObject);
   2051       ULONG (WINAPI *AddRef)(IComObjectConstructionEvents *This);
   2052       ULONG (WINAPI *Release)(IComObjectConstructionEvents *This);
   2053       HRESULT (WINAPI *OnObjectConstruct)(IComObjectConstructionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid);
   2054     END_INTERFACE
   2055   } IComObjectConstructionEventsVtbl;
   2056   struct IComObjectConstructionEvents {
   2057     CONST_VTBL struct IComObjectConstructionEventsVtbl *lpVtbl;
   2058   };
   2059 #ifdef COBJMACROS
   2060 #define IComObjectConstructionEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2061 #define IComObjectConstructionEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2062 #define IComObjectConstructionEvents_Release(This) (This)->lpVtbl->Release(This)
   2063 #define IComObjectConstructionEvents_OnObjectConstruct(This,pInfo,guidObject,sConstructString,oid) (This)->lpVtbl->OnObjectConstruct(This,pInfo,guidObject,sConstructString,oid)
   2064 #endif
   2065 #endif
   2066   HRESULT WINAPI IComObjectConstructionEvents_OnObjectConstruct_Proxy(IComObjectConstructionEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid);
   2067   void __RPC_STUB IComObjectConstructionEvents_OnObjectConstruct_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2068 #endif
   2069 
   2070 #ifndef __IComActivityEvents_INTERFACE_DEFINED__
   2071 #define __IComActivityEvents_INTERFACE_DEFINED__
   2072   EXTERN_C const IID IID_IComActivityEvents;
   2073 #if defined(__cplusplus) && !defined(CINTERFACE)
   2074   struct IComActivityEvents : public IUnknown {
   2075   public:
   2076     virtual HRESULT WINAPI OnActivityCreate(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity) = 0;
   2077     virtual HRESULT WINAPI OnActivityDestroy(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity) = 0;
   2078     virtual HRESULT WINAPI OnActivityEnter(COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread) = 0;
   2079     virtual HRESULT WINAPI OnActivityTimeout(COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread,DWORD dwTimeout) = 0;
   2080     virtual HRESULT WINAPI OnActivityReenter(COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwThread,DWORD dwCallDepth) = 0;
   2081     virtual HRESULT WINAPI OnActivityLeave(COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidLeft) = 0;
   2082     virtual HRESULT WINAPI OnActivityLeaveSame(COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwCallDepth) = 0;
   2083   };
   2084 #else
   2085   typedef struct IComActivityEventsVtbl {
   2086     BEGIN_INTERFACE
   2087       HRESULT (WINAPI *QueryInterface)(IComActivityEvents *This,REFIID riid,void **ppvObject);
   2088       ULONG (WINAPI *AddRef)(IComActivityEvents *This);
   2089       ULONG (WINAPI *Release)(IComActivityEvents *This);
   2090       HRESULT (WINAPI *OnActivityCreate)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity);
   2091       HRESULT (WINAPI *OnActivityDestroy)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity);
   2092       HRESULT (WINAPI *OnActivityEnter)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread);
   2093       HRESULT (WINAPI *OnActivityTimeout)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread,DWORD dwTimeout);
   2094       HRESULT (WINAPI *OnActivityReenter)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwThread,DWORD dwCallDepth);
   2095       HRESULT (WINAPI *OnActivityLeave)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidLeft);
   2096       HRESULT (WINAPI *OnActivityLeaveSame)(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwCallDepth);
   2097     END_INTERFACE
   2098   } IComActivityEventsVtbl;
   2099   struct IComActivityEvents {
   2100     CONST_VTBL struct IComActivityEventsVtbl *lpVtbl;
   2101   };
   2102 #ifdef COBJMACROS
   2103 #define IComActivityEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2104 #define IComActivityEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2105 #define IComActivityEvents_Release(This) (This)->lpVtbl->Release(This)
   2106 #define IComActivityEvents_OnActivityCreate(This,pInfo,guidActivity) (This)->lpVtbl->OnActivityCreate(This,pInfo,guidActivity)
   2107 #define IComActivityEvents_OnActivityDestroy(This,pInfo,guidActivity) (This)->lpVtbl->OnActivityDestroy(This,pInfo,guidActivity)
   2108 #define IComActivityEvents_OnActivityEnter(This,pInfo,guidCurrent,guidEntered,dwThread) (This)->lpVtbl->OnActivityEnter(This,pInfo,guidCurrent,guidEntered,dwThread)
   2109 #define IComActivityEvents_OnActivityTimeout(This,pInfo,guidCurrent,guidEntered,dwThread,dwTimeout) (This)->lpVtbl->OnActivityTimeout(This,pInfo,guidCurrent,guidEntered,dwThread,dwTimeout)
   2110 #define IComActivityEvents_OnActivityReenter(This,pInfo,guidCurrent,dwThread,dwCallDepth) (This)->lpVtbl->OnActivityReenter(This,pInfo,guidCurrent,dwThread,dwCallDepth)
   2111 #define IComActivityEvents_OnActivityLeave(This,pInfo,guidCurrent,guidLeft) (This)->lpVtbl->OnActivityLeave(This,pInfo,guidCurrent,guidLeft)
   2112 #define IComActivityEvents_OnActivityLeaveSame(This,pInfo,guidCurrent,dwCallDepth) (This)->lpVtbl->OnActivityLeaveSame(This,pInfo,guidCurrent,dwCallDepth)
   2113 #endif
   2114 #endif
   2115   HRESULT WINAPI IComActivityEvents_OnActivityCreate_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity);
   2116   void __RPC_STUB IComActivityEvents_OnActivityCreate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2117   HRESULT WINAPI IComActivityEvents_OnActivityDestroy_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity);
   2118   void __RPC_STUB IComActivityEvents_OnActivityDestroy_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2119   HRESULT WINAPI IComActivityEvents_OnActivityEnter_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread);
   2120   void __RPC_STUB IComActivityEvents_OnActivityEnter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2121   HRESULT WINAPI IComActivityEvents_OnActivityTimeout_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidEntered,DWORD dwThread,DWORD dwTimeout);
   2122   void __RPC_STUB IComActivityEvents_OnActivityTimeout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2123   HRESULT WINAPI IComActivityEvents_OnActivityReenter_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwThread,DWORD dwCallDepth);
   2124   void __RPC_STUB IComActivityEvents_OnActivityReenter_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2125   HRESULT WINAPI IComActivityEvents_OnActivityLeave_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,REFGUID guidLeft);
   2126   void __RPC_STUB IComActivityEvents_OnActivityLeave_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2127   HRESULT WINAPI IComActivityEvents_OnActivityLeaveSame_Proxy(IComActivityEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidCurrent,DWORD dwCallDepth);
   2128   void __RPC_STUB IComActivityEvents_OnActivityLeaveSame_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2129 #endif
   2130 
   2131 #ifndef __IComIdentityEvents_INTERFACE_DEFINED__
   2132 #define __IComIdentityEvents_INTERFACE_DEFINED__
   2133   EXTERN_C const IID IID_IComIdentityEvents;
   2134 #if defined(__cplusplus) && !defined(CINTERFACE)
   2135   struct IComIdentityEvents : public IUnknown {
   2136   public:
   2137     virtual HRESULT WINAPI OnIISRequestInfo(COMSVCSEVENTINFO *pInfo,ULONG64 ObjId,LPCOLESTR pszClientIP,LPCOLESTR pszServerIP,LPCOLESTR pszURL) = 0;
   2138   };
   2139 #else
   2140   typedef struct IComIdentityEventsVtbl {
   2141     BEGIN_INTERFACE
   2142       HRESULT (WINAPI *QueryInterface)(IComIdentityEvents *This,REFIID riid,void **ppvObject);
   2143       ULONG (WINAPI *AddRef)(IComIdentityEvents *This);
   2144       ULONG (WINAPI *Release)(IComIdentityEvents *This);
   2145       HRESULT (WINAPI *OnIISRequestInfo)(IComIdentityEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjId,LPCOLESTR pszClientIP,LPCOLESTR pszServerIP,LPCOLESTR pszURL);
   2146     END_INTERFACE
   2147   } IComIdentityEventsVtbl;
   2148   struct IComIdentityEvents {
   2149     CONST_VTBL struct IComIdentityEventsVtbl *lpVtbl;
   2150   };
   2151 #ifdef COBJMACROS
   2152 #define IComIdentityEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2153 #define IComIdentityEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2154 #define IComIdentityEvents_Release(This) (This)->lpVtbl->Release(This)
   2155 #define IComIdentityEvents_OnIISRequestInfo(This,pInfo,ObjId,pszClientIP,pszServerIP,pszURL) (This)->lpVtbl->OnIISRequestInfo(This,pInfo,ObjId,pszClientIP,pszServerIP,pszURL)
   2156 #endif
   2157 #endif
   2158   HRESULT WINAPI IComIdentityEvents_OnIISRequestInfo_Proxy(IComIdentityEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 ObjId,LPCOLESTR pszClientIP,LPCOLESTR pszServerIP,LPCOLESTR pszURL);
   2159   void __RPC_STUB IComIdentityEvents_OnIISRequestInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2160 #endif
   2161 
   2162 #ifndef __IComQCEvents_INTERFACE_DEFINED__
   2163 #define __IComQCEvents_INTERFACE_DEFINED__
   2164   EXTERN_C const IID IID_IComQCEvents;
   2165 #if defined(__cplusplus) && !defined(CINTERFACE)
   2166   struct IComQCEvents : public IUnknown {
   2167   public:
   2168     virtual HRESULT WINAPI OnQCRecord(COMSVCSEVENTINFO *pInfo,ULONG64 objid,WCHAR szQueue[60],REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT msmqhr) = 0;
   2169     virtual HRESULT WINAPI OnQCQueueOpen(COMSVCSEVENTINFO *pInfo,WCHAR szQueue[60],ULONG64 QueueID,HRESULT hr) = 0;
   2170     virtual HRESULT WINAPI OnQCReceive(COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr) = 0;
   2171     virtual HRESULT WINAPI OnQCReceiveFail(COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,HRESULT msmqhr) = 0;
   2172     virtual HRESULT WINAPI OnQCMoveToReTryQueue(COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId,ULONG RetryIndex) = 0;
   2173     virtual HRESULT WINAPI OnQCMoveToDeadQueue(COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId) = 0;
   2174     virtual HRESULT WINAPI OnQCPlayback(COMSVCSEVENTINFO *pInfo,ULONG64 objid,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr) = 0;
   2175   };
   2176 #else
   2177   typedef struct IComQCEventsVtbl {
   2178     BEGIN_INTERFACE
   2179       HRESULT (WINAPI *QueryInterface)(IComQCEvents *This,REFIID riid,void **ppvObject);
   2180       ULONG (WINAPI *AddRef)(IComQCEvents *This);
   2181       ULONG (WINAPI *Release)(IComQCEvents *This);
   2182       HRESULT (WINAPI *OnQCRecord)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 objid,WCHAR szQueue[60],REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT msmqhr);
   2183       HRESULT (WINAPI *OnQCQueueOpen)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,WCHAR szQueue[60],ULONG64 QueueID,HRESULT hr);
   2184       HRESULT (WINAPI *OnQCReceive)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr);
   2185       HRESULT (WINAPI *OnQCReceiveFail)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,HRESULT msmqhr);
   2186       HRESULT (WINAPI *OnQCMoveToReTryQueue)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId,ULONG RetryIndex);
   2187       HRESULT (WINAPI *OnQCMoveToDeadQueue)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId);
   2188       HRESULT (WINAPI *OnQCPlayback)(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 objid,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr);
   2189     END_INTERFACE
   2190   } IComQCEventsVtbl;
   2191   struct IComQCEvents {
   2192     CONST_VTBL struct IComQCEventsVtbl *lpVtbl;
   2193   };
   2194 #ifdef COBJMACROS
   2195 #define IComQCEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2196 #define IComQCEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2197 #define IComQCEvents_Release(This) (This)->lpVtbl->Release(This)
   2198 #define IComQCEvents_OnQCRecord(This,pInfo,objid,szQueue,guidMsgId,guidWorkFlowId,msmqhr) (This)->lpVtbl->OnQCRecord(This,pInfo,objid,szQueue,guidMsgId,guidWorkFlowId,msmqhr)
   2199 #define IComQCEvents_OnQCQueueOpen(This,pInfo,szQueue,QueueID,hr) (This)->lpVtbl->OnQCQueueOpen(This,pInfo,szQueue,QueueID,hr)
   2200 #define IComQCEvents_OnQCReceive(This,pInfo,QueueID,guidMsgId,guidWorkFlowId,hr) (This)->lpVtbl->OnQCReceive(This,pInfo,QueueID,guidMsgId,guidWorkFlowId,hr)
   2201 #define IComQCEvents_OnQCReceiveFail(This,pInfo,QueueID,msmqhr) (This)->lpVtbl->OnQCReceiveFail(This,pInfo,QueueID,msmqhr)
   2202 #define IComQCEvents_OnQCMoveToReTryQueue(This,pInfo,guidMsgId,guidWorkFlowId,RetryIndex) (This)->lpVtbl->OnQCMoveToReTryQueue(This,pInfo,guidMsgId,guidWorkFlowId,RetryIndex)
   2203 #define IComQCEvents_OnQCMoveToDeadQueue(This,pInfo,guidMsgId,guidWorkFlowId) (This)->lpVtbl->OnQCMoveToDeadQueue(This,pInfo,guidMsgId,guidWorkFlowId)
   2204 #define IComQCEvents_OnQCPlayback(This,pInfo,objid,guidMsgId,guidWorkFlowId,hr) (This)->lpVtbl->OnQCPlayback(This,pInfo,objid,guidMsgId,guidWorkFlowId,hr)
   2205 #endif
   2206 #endif
   2207   HRESULT WINAPI IComQCEvents_OnQCRecord_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 objid,WCHAR szQueue[60],REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT msmqhr);
   2208   void __RPC_STUB IComQCEvents_OnQCRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2209   HRESULT WINAPI IComQCEvents_OnQCQueueOpen_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,WCHAR szQueue[60],ULONG64 QueueID,HRESULT hr);
   2210   void __RPC_STUB IComQCEvents_OnQCQueueOpen_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2211   HRESULT WINAPI IComQCEvents_OnQCReceive_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr);
   2212   void __RPC_STUB IComQCEvents_OnQCReceive_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2213   HRESULT WINAPI IComQCEvents_OnQCReceiveFail_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 QueueID,HRESULT msmqhr);
   2214   void __RPC_STUB IComQCEvents_OnQCReceiveFail_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2215   HRESULT WINAPI IComQCEvents_OnQCMoveToReTryQueue_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId,ULONG RetryIndex);
   2216   void __RPC_STUB IComQCEvents_OnQCMoveToReTryQueue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2217   HRESULT WINAPI IComQCEvents_OnQCMoveToDeadQueue_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,REFGUID guidMsgId,REFGUID guidWorkFlowId);
   2218   void __RPC_STUB IComQCEvents_OnQCMoveToDeadQueue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2219   HRESULT WINAPI IComQCEvents_OnQCPlayback_Proxy(IComQCEvents *This,COMSVCSEVENTINFO *pInfo,ULONG64 objid,REFGUID guidMsgId,REFGUID guidWorkFlowId,HRESULT hr);
   2220   void __RPC_STUB IComQCEvents_OnQCPlayback_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2221 #endif
   2222 
   2223 #ifndef __IComExceptionEvents_INTERFACE_DEFINED__
   2224 #define __IComExceptionEvents_INTERFACE_DEFINED__
   2225   EXTERN_C const IID IID_IComExceptionEvents;
   2226 #if defined(__cplusplus) && !defined(CINTERFACE)
   2227   struct IComExceptionEvents : public IUnknown {
   2228   public:
   2229     virtual HRESULT WINAPI OnExceptionUser(COMSVCSEVENTINFO *pInfo,ULONG code,ULONG64 address,LPCOLESTR pszStackTrace) = 0;
   2230   };
   2231 #else
   2232   typedef struct IComExceptionEventsVtbl {
   2233     BEGIN_INTERFACE
   2234       HRESULT (WINAPI *QueryInterface)(IComExceptionEvents *This,REFIID riid,void **ppvObject);
   2235       ULONG (WINAPI *AddRef)(IComExceptionEvents *This);
   2236       ULONG (WINAPI *Release)(IComExceptionEvents *This);
   2237       HRESULT (WINAPI *OnExceptionUser)(IComExceptionEvents *This,COMSVCSEVENTINFO *pInfo,ULONG code,ULONG64 address,LPCOLESTR pszStackTrace);
   2238     END_INTERFACE
   2239   } IComExceptionEventsVtbl;
   2240   struct IComExceptionEvents {
   2241     CONST_VTBL struct IComExceptionEventsVtbl *lpVtbl;
   2242   };
   2243 #ifdef COBJMACROS
   2244 #define IComExceptionEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2245 #define IComExceptionEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2246 #define IComExceptionEvents_Release(This) (This)->lpVtbl->Release(This)
   2247 #define IComExceptionEvents_OnExceptionUser(This,pInfo,code,address,pszStackTrace) (This)->lpVtbl->OnExceptionUser(This,pInfo,code,address,pszStackTrace)
   2248 #endif
   2249 #endif
   2250   HRESULT WINAPI IComExceptionEvents_OnExceptionUser_Proxy(IComExceptionEvents *This,COMSVCSEVENTINFO *pInfo,ULONG code,ULONG64 address,LPCOLESTR pszStackTrace);
   2251   void __RPC_STUB IComExceptionEvents_OnExceptionUser_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2252 #endif
   2253 
   2254 #ifndef __ILBEvents_INTERFACE_DEFINED__
   2255 #define __ILBEvents_INTERFACE_DEFINED__
   2256   EXTERN_C const IID IID_ILBEvents;
   2257 #if defined(__cplusplus) && !defined(CINTERFACE)
   2258   struct ILBEvents : public IUnknown {
   2259   public:
   2260     virtual HRESULT WINAPI TargetUp(BSTR bstrServerName,BSTR bstrClsidEng) = 0;
   2261     virtual HRESULT WINAPI TargetDown(BSTR bstrServerName,BSTR bstrClsidEng) = 0;
   2262     virtual HRESULT WINAPI EngineDefined(BSTR bstrPropName,VARIANT *varPropValue,BSTR bstrClsidEng) = 0;
   2263   };
   2264 #else
   2265   typedef struct ILBEventsVtbl {
   2266     BEGIN_INTERFACE
   2267       HRESULT (WINAPI *QueryInterface)(ILBEvents *This,REFIID riid,void **ppvObject);
   2268       ULONG (WINAPI *AddRef)(ILBEvents *This);
   2269       ULONG (WINAPI *Release)(ILBEvents *This);
   2270       HRESULT (WINAPI *TargetUp)(ILBEvents *This,BSTR bstrServerName,BSTR bstrClsidEng);
   2271       HRESULT (WINAPI *TargetDown)(ILBEvents *This,BSTR bstrServerName,BSTR bstrClsidEng);
   2272       HRESULT (WINAPI *EngineDefined)(ILBEvents *This,BSTR bstrPropName,VARIANT *varPropValue,BSTR bstrClsidEng);
   2273     END_INTERFACE
   2274   } ILBEventsVtbl;
   2275   struct ILBEvents {
   2276     CONST_VTBL struct ILBEventsVtbl *lpVtbl;
   2277   };
   2278 #ifdef COBJMACROS
   2279 #define ILBEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2280 #define ILBEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2281 #define ILBEvents_Release(This) (This)->lpVtbl->Release(This)
   2282 #define ILBEvents_TargetUp(This,bstrServerName,bstrClsidEng) (This)->lpVtbl->TargetUp(This,bstrServerName,bstrClsidEng)
   2283 #define ILBEvents_TargetDown(This,bstrServerName,bstrClsidEng) (This)->lpVtbl->TargetDown(This,bstrServerName,bstrClsidEng)
   2284 #define ILBEvents_EngineDefined(This,bstrPropName,varPropValue,bstrClsidEng) (This)->lpVtbl->EngineDefined(This,bstrPropName,varPropValue,bstrClsidEng)
   2285 #endif
   2286 #endif
   2287   HRESULT WINAPI ILBEvents_TargetUp_Proxy(ILBEvents *This,BSTR bstrServerName,BSTR bstrClsidEng);
   2288   void __RPC_STUB ILBEvents_TargetUp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2289   HRESULT WINAPI ILBEvents_TargetDown_Proxy(ILBEvents *This,BSTR bstrServerName,BSTR bstrClsidEng);
   2290   void __RPC_STUB ILBEvents_TargetDown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2291   HRESULT WINAPI ILBEvents_EngineDefined_Proxy(ILBEvents *This,BSTR bstrPropName,VARIANT *varPropValue,BSTR bstrClsidEng);
   2292   void __RPC_STUB ILBEvents_EngineDefined_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2293 #endif
   2294 
   2295 #ifndef __IComCRMEvents_INTERFACE_DEFINED__
   2296 #define __IComCRMEvents_INTERFACE_DEFINED__
   2297   EXTERN_C const IID IID_IComCRMEvents;
   2298 #if defined(__cplusplus) && !defined(CINTERFACE)
   2299   struct IComCRMEvents : public IUnknown {
   2300   public:
   2301     virtual HRESULT WINAPI OnCRMRecoveryStart(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   2302     virtual HRESULT WINAPI OnCRMRecoveryDone(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   2303     virtual HRESULT WINAPI OnCRMCheckpoint(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   2304     virtual HRESULT WINAPI OnCRMBegin(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,GUID guidActivity,GUID guidTx,WCHAR szProgIdCompensator[64],WCHAR szDescription[64]) = 0;
   2305     virtual HRESULT WINAPI OnCRMPrepare(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2306     virtual HRESULT WINAPI OnCRMCommit(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2307     virtual HRESULT WINAPI OnCRMAbort(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2308     virtual HRESULT WINAPI OnCRMIndoubt(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2309     virtual HRESULT WINAPI OnCRMDone(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2310     virtual HRESULT WINAPI OnCRMRelease(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2311     virtual HRESULT WINAPI OnCRMAnalyze(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,DWORD dwCrmRecordType,DWORD dwRecordSize) = 0;
   2312     virtual HRESULT WINAPI OnCRMWrite(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize) = 0;
   2313     virtual HRESULT WINAPI OnCRMForget(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2314     virtual HRESULT WINAPI OnCRMForce(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID) = 0;
   2315     virtual HRESULT WINAPI OnCRMDeliver(COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize) = 0;
   2316   };
   2317 #else
   2318   typedef struct IComCRMEventsVtbl {
   2319     BEGIN_INTERFACE
   2320       HRESULT (WINAPI *QueryInterface)(IComCRMEvents *This,REFIID riid,void **ppvObject);
   2321       ULONG (WINAPI *AddRef)(IComCRMEvents *This);
   2322       ULONG (WINAPI *Release)(IComCRMEvents *This);
   2323       HRESULT (WINAPI *OnCRMRecoveryStart)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2324       HRESULT (WINAPI *OnCRMRecoveryDone)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2325       HRESULT (WINAPI *OnCRMCheckpoint)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2326       HRESULT (WINAPI *OnCRMBegin)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,GUID guidActivity,GUID guidTx,WCHAR szProgIdCompensator[64],WCHAR szDescription[64]);
   2327       HRESULT (WINAPI *OnCRMPrepare)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2328       HRESULT (WINAPI *OnCRMCommit)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2329       HRESULT (WINAPI *OnCRMAbort)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2330       HRESULT (WINAPI *OnCRMIndoubt)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2331       HRESULT (WINAPI *OnCRMDone)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2332       HRESULT (WINAPI *OnCRMRelease)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2333       HRESULT (WINAPI *OnCRMAnalyze)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,DWORD dwCrmRecordType,DWORD dwRecordSize);
   2334       HRESULT (WINAPI *OnCRMWrite)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize);
   2335       HRESULT (WINAPI *OnCRMForget)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2336       HRESULT (WINAPI *OnCRMForce)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2337       HRESULT (WINAPI *OnCRMDeliver)(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize);
   2338     END_INTERFACE
   2339   } IComCRMEventsVtbl;
   2340   struct IComCRMEvents {
   2341     CONST_VTBL struct IComCRMEventsVtbl *lpVtbl;
   2342   };
   2343 #ifdef COBJMACROS
   2344 #define IComCRMEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2345 #define IComCRMEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2346 #define IComCRMEvents_Release(This) (This)->lpVtbl->Release(This)
   2347 #define IComCRMEvents_OnCRMRecoveryStart(This,pInfo,guidApp) (This)->lpVtbl->OnCRMRecoveryStart(This,pInfo,guidApp)
   2348 #define IComCRMEvents_OnCRMRecoveryDone(This,pInfo,guidApp) (This)->lpVtbl->OnCRMRecoveryDone(This,pInfo,guidApp)
   2349 #define IComCRMEvents_OnCRMCheckpoint(This,pInfo,guidApp) (This)->lpVtbl->OnCRMCheckpoint(This,pInfo,guidApp)
   2350 #define IComCRMEvents_OnCRMBegin(This,pInfo,guidClerkCLSID,guidActivity,guidTx,szProgIdCompensator,szDescription) (This)->lpVtbl->OnCRMBegin(This,pInfo,guidClerkCLSID,guidActivity,guidTx,szProgIdCompensator,szDescription)
   2351 #define IComCRMEvents_OnCRMPrepare(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMPrepare(This,pInfo,guidClerkCLSID)
   2352 #define IComCRMEvents_OnCRMCommit(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMCommit(This,pInfo,guidClerkCLSID)
   2353 #define IComCRMEvents_OnCRMAbort(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMAbort(This,pInfo,guidClerkCLSID)
   2354 #define IComCRMEvents_OnCRMIndoubt(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMIndoubt(This,pInfo,guidClerkCLSID)
   2355 #define IComCRMEvents_OnCRMDone(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMDone(This,pInfo,guidClerkCLSID)
   2356 #define IComCRMEvents_OnCRMRelease(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMRelease(This,pInfo,guidClerkCLSID)
   2357 #define IComCRMEvents_OnCRMAnalyze(This,pInfo,guidClerkCLSID,dwCrmRecordType,dwRecordSize) (This)->lpVtbl->OnCRMAnalyze(This,pInfo,guidClerkCLSID,dwCrmRecordType,dwRecordSize)
   2358 #define IComCRMEvents_OnCRMWrite(This,pInfo,guidClerkCLSID,fVariants,dwRecordSize) (This)->lpVtbl->OnCRMWrite(This,pInfo,guidClerkCLSID,fVariants,dwRecordSize)
   2359 #define IComCRMEvents_OnCRMForget(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMForget(This,pInfo,guidClerkCLSID)
   2360 #define IComCRMEvents_OnCRMForce(This,pInfo,guidClerkCLSID) (This)->lpVtbl->OnCRMForce(This,pInfo,guidClerkCLSID)
   2361 #define IComCRMEvents_OnCRMDeliver(This,pInfo,guidClerkCLSID,fVariants,dwRecordSize) (This)->lpVtbl->OnCRMDeliver(This,pInfo,guidClerkCLSID,fVariants,dwRecordSize)
   2362 #endif
   2363 #endif
   2364   HRESULT WINAPI IComCRMEvents_OnCRMRecoveryStart_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2365   void __RPC_STUB IComCRMEvents_OnCRMRecoveryStart_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2366   HRESULT WINAPI IComCRMEvents_OnCRMRecoveryDone_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2367   void __RPC_STUB IComCRMEvents_OnCRMRecoveryDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2368   HRESULT WINAPI IComCRMEvents_OnCRMCheckpoint_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2369   void __RPC_STUB IComCRMEvents_OnCRMCheckpoint_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2370   HRESULT WINAPI IComCRMEvents_OnCRMBegin_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,GUID guidActivity,GUID guidTx,WCHAR szProgIdCompensator[64],WCHAR szDescription[64]);
   2371   void __RPC_STUB IComCRMEvents_OnCRMBegin_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2372   HRESULT WINAPI IComCRMEvents_OnCRMPrepare_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2373   void __RPC_STUB IComCRMEvents_OnCRMPrepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2374   HRESULT WINAPI IComCRMEvents_OnCRMCommit_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2375   void __RPC_STUB IComCRMEvents_OnCRMCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2376   HRESULT WINAPI IComCRMEvents_OnCRMAbort_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2377   void __RPC_STUB IComCRMEvents_OnCRMAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2378   HRESULT WINAPI IComCRMEvents_OnCRMIndoubt_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2379   void __RPC_STUB IComCRMEvents_OnCRMIndoubt_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2380   HRESULT WINAPI IComCRMEvents_OnCRMDone_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2381   void __RPC_STUB IComCRMEvents_OnCRMDone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2382   HRESULT WINAPI IComCRMEvents_OnCRMRelease_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2383   void __RPC_STUB IComCRMEvents_OnCRMRelease_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2384   HRESULT WINAPI IComCRMEvents_OnCRMAnalyze_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,DWORD dwCrmRecordType,DWORD dwRecordSize);
   2385   void __RPC_STUB IComCRMEvents_OnCRMAnalyze_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2386   HRESULT WINAPI IComCRMEvents_OnCRMWrite_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize);
   2387   void __RPC_STUB IComCRMEvents_OnCRMWrite_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2388   HRESULT WINAPI IComCRMEvents_OnCRMForget_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2389   void __RPC_STUB IComCRMEvents_OnCRMForget_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2390   HRESULT WINAPI IComCRMEvents_OnCRMForce_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID);
   2391   void __RPC_STUB IComCRMEvents_OnCRMForce_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2392   HRESULT WINAPI IComCRMEvents_OnCRMDeliver_Proxy(IComCRMEvents *This,COMSVCSEVENTINFO *pInfo,GUID guidClerkCLSID,WINBOOL fVariants,DWORD dwRecordSize);
   2393   void __RPC_STUB IComCRMEvents_OnCRMDeliver_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2394 #endif
   2395 
   2396 #ifndef __IComMethod2Events_INTERFACE_DEFINED__
   2397 #define __IComMethod2Events_INTERFACE_DEFINED__
   2398   EXTERN_C const IID IID_IComMethod2Events;
   2399 #if defined(__cplusplus) && !defined(CINTERFACE)
   2400   struct IComMethod2Events : public IUnknown {
   2401   public:
   2402     virtual HRESULT WINAPI OnMethodCall2(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth) = 0;
   2403     virtual HRESULT WINAPI OnMethodReturn2(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth,HRESULT hresult) = 0;
   2404     virtual HRESULT WINAPI OnMethodException2(COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth) = 0;
   2405   };
   2406 #else
   2407   typedef struct IComMethod2EventsVtbl {
   2408     BEGIN_INTERFACE
   2409       HRESULT (WINAPI *QueryInterface)(IComMethod2Events *This,REFIID riid,void **ppvObject);
   2410       ULONG (WINAPI *AddRef)(IComMethod2Events *This);
   2411       ULONG (WINAPI *Release)(IComMethod2Events *This);
   2412       HRESULT (WINAPI *OnMethodCall2)(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth);
   2413       HRESULT (WINAPI *OnMethodReturn2)(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth,HRESULT hresult);
   2414       HRESULT (WINAPI *OnMethodException2)(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth);
   2415     END_INTERFACE
   2416   } IComMethod2EventsVtbl;
   2417   struct IComMethod2Events {
   2418     CONST_VTBL struct IComMethod2EventsVtbl *lpVtbl;
   2419   };
   2420 #ifdef COBJMACROS
   2421 #define IComMethod2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2422 #define IComMethod2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2423 #define IComMethod2Events_Release(This) (This)->lpVtbl->Release(This)
   2424 #define IComMethod2Events_OnMethodCall2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth) (This)->lpVtbl->OnMethodCall2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth)
   2425 #define IComMethod2Events_OnMethodReturn2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth,hresult) (This)->lpVtbl->OnMethodReturn2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth,hresult)
   2426 #define IComMethod2Events_OnMethodException2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth) (This)->lpVtbl->OnMethodException2(This,pInfo,oid,guidCid,guidRid,dwThread,iMeth)
   2427 #endif
   2428 #endif
   2429   HRESULT WINAPI IComMethod2Events_OnMethodCall2_Proxy(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth);
   2430   void __RPC_STUB IComMethod2Events_OnMethodCall2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2431   HRESULT WINAPI IComMethod2Events_OnMethodReturn2_Proxy(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth,HRESULT hresult);
   2432   void __RPC_STUB IComMethod2Events_OnMethodReturn2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2433   HRESULT WINAPI IComMethod2Events_OnMethodException2_Proxy(IComMethod2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 oid,REFCLSID guidCid,REFIID guidRid,DWORD dwThread,ULONG iMeth);
   2434   void __RPC_STUB IComMethod2Events_OnMethodException2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2435 #endif
   2436 
   2437 #ifndef __IComTrackingInfoEvents_INTERFACE_DEFINED__
   2438 #define __IComTrackingInfoEvents_INTERFACE_DEFINED__
   2439   EXTERN_C const IID IID_IComTrackingInfoEvents;
   2440 #if defined(__cplusplus) && !defined(CINTERFACE)
   2441   struct IComTrackingInfoEvents : public IUnknown {
   2442   public:
   2443     virtual HRESULT WINAPI OnNewTrackingInfo(IUnknown *pToplevelCollection) = 0;
   2444   };
   2445 #else
   2446   typedef struct IComTrackingInfoEventsVtbl {
   2447     BEGIN_INTERFACE
   2448       HRESULT (WINAPI *QueryInterface)(IComTrackingInfoEvents *This,REFIID riid,void **ppvObject);
   2449       ULONG (WINAPI *AddRef)(IComTrackingInfoEvents *This);
   2450       ULONG (WINAPI *Release)(IComTrackingInfoEvents *This);
   2451       HRESULT (WINAPI *OnNewTrackingInfo)(IComTrackingInfoEvents *This,IUnknown *pToplevelCollection);
   2452     END_INTERFACE
   2453   } IComTrackingInfoEventsVtbl;
   2454   struct IComTrackingInfoEvents {
   2455     CONST_VTBL struct IComTrackingInfoEventsVtbl *lpVtbl;
   2456   };
   2457 #ifdef COBJMACROS
   2458 #define IComTrackingInfoEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2459 #define IComTrackingInfoEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2460 #define IComTrackingInfoEvents_Release(This) (This)->lpVtbl->Release(This)
   2461 #define IComTrackingInfoEvents_OnNewTrackingInfo(This,pToplevelCollection) (This)->lpVtbl->OnNewTrackingInfo(This,pToplevelCollection)
   2462 #endif
   2463 #endif
   2464   HRESULT WINAPI IComTrackingInfoEvents_OnNewTrackingInfo_Proxy(IComTrackingInfoEvents *This,IUnknown *pToplevelCollection);
   2465   void __RPC_STUB IComTrackingInfoEvents_OnNewTrackingInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2466 #endif
   2467 
   2468   typedef enum __MIDL___MIDL_itf_autosvcs_0325_0001 {
   2469     TRKCOLL_PROCESSES = 0,TRKCOLL_APPLICATIONS,TRKCOLL_COMPONENTS
   2470   } TRACKING_COLL_TYPE;
   2471 
   2472   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0325_v0_0_c_ifspec;
   2473   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0325_v0_0_s_ifspec;
   2474 
   2475 #ifndef __IComTrackingInfoCollection_INTERFACE_DEFINED__
   2476 #define __IComTrackingInfoCollection_INTERFACE_DEFINED__
   2477   EXTERN_C const IID IID_IComTrackingInfoCollection;
   2478 #if defined(__cplusplus) && !defined(CINTERFACE)
   2479   struct IComTrackingInfoCollection : public IUnknown {
   2480   public:
   2481     virtual HRESULT WINAPI Type(TRACKING_COLL_TYPE *pType) = 0;
   2482     virtual HRESULT WINAPI Count(ULONG *pCount) = 0;
   2483     virtual HRESULT WINAPI Item(ULONG ulIndex,REFIID riid,void **ppv) = 0;
   2484   };
   2485 #else
   2486   typedef struct IComTrackingInfoCollectionVtbl {
   2487     BEGIN_INTERFACE
   2488       HRESULT (WINAPI *QueryInterface)(IComTrackingInfoCollection *This,REFIID riid,void **ppvObject);
   2489       ULONG (WINAPI *AddRef)(IComTrackingInfoCollection *This);
   2490       ULONG (WINAPI *Release)(IComTrackingInfoCollection *This);
   2491       HRESULT (WINAPI *Type)(IComTrackingInfoCollection *This,TRACKING_COLL_TYPE *pType);
   2492       HRESULT (WINAPI *Count)(IComTrackingInfoCollection *This,ULONG *pCount);
   2493       HRESULT (WINAPI *Item)(IComTrackingInfoCollection *This,ULONG ulIndex,REFIID riid,void **ppv);
   2494     END_INTERFACE
   2495   } IComTrackingInfoCollectionVtbl;
   2496   struct IComTrackingInfoCollection {
   2497     CONST_VTBL struct IComTrackingInfoCollectionVtbl *lpVtbl;
   2498   };
   2499 #ifdef COBJMACROS
   2500 #define IComTrackingInfoCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2501 #define IComTrackingInfoCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
   2502 #define IComTrackingInfoCollection_Release(This) (This)->lpVtbl->Release(This)
   2503 #define IComTrackingInfoCollection_Type(This,pType) (This)->lpVtbl->Type(This,pType)
   2504 #define IComTrackingInfoCollection_Count(This,pCount) (This)->lpVtbl->Count(This,pCount)
   2505 #define IComTrackingInfoCollection_Item(This,ulIndex,riid,ppv) (This)->lpVtbl->Item(This,ulIndex,riid,ppv)
   2506 #endif
   2507 #endif
   2508   HRESULT WINAPI IComTrackingInfoCollection_Type_Proxy(IComTrackingInfoCollection *This,TRACKING_COLL_TYPE *pType);
   2509   void __RPC_STUB IComTrackingInfoCollection_Type_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2510   HRESULT WINAPI IComTrackingInfoCollection_Count_Proxy(IComTrackingInfoCollection *This,ULONG *pCount);
   2511   void __RPC_STUB IComTrackingInfoCollection_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2512   HRESULT WINAPI IComTrackingInfoCollection_Item_Proxy(IComTrackingInfoCollection *This,ULONG ulIndex,REFIID riid,void **ppv);
   2513   void __RPC_STUB IComTrackingInfoCollection_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2514 #endif
   2515 
   2516 #ifndef __IComTrackingInfoObject_INTERFACE_DEFINED__
   2517 #define __IComTrackingInfoObject_INTERFACE_DEFINED__
   2518   EXTERN_C const IID IID_IComTrackingInfoObject;
   2519 #if defined(__cplusplus) && !defined(CINTERFACE)
   2520   struct IComTrackingInfoObject : public IUnknown {
   2521   public:
   2522     virtual HRESULT WINAPI GetValue(LPOLESTR szPropertyName,VARIANT *pvarOut) = 0;
   2523   };
   2524 #else
   2525   typedef struct IComTrackingInfoObjectVtbl {
   2526     BEGIN_INTERFACE
   2527       HRESULT (WINAPI *QueryInterface)(IComTrackingInfoObject *This,REFIID riid,void **ppvObject);
   2528       ULONG (WINAPI *AddRef)(IComTrackingInfoObject *This);
   2529       ULONG (WINAPI *Release)(IComTrackingInfoObject *This);
   2530       HRESULT (WINAPI *GetValue)(IComTrackingInfoObject *This,LPOLESTR szPropertyName,VARIANT *pvarOut);
   2531     END_INTERFACE
   2532   } IComTrackingInfoObjectVtbl;
   2533   struct IComTrackingInfoObject {
   2534     CONST_VTBL struct IComTrackingInfoObjectVtbl *lpVtbl;
   2535   };
   2536 #ifdef COBJMACROS
   2537 #define IComTrackingInfoObject_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2538 #define IComTrackingInfoObject_AddRef(This) (This)->lpVtbl->AddRef(This)
   2539 #define IComTrackingInfoObject_Release(This) (This)->lpVtbl->Release(This)
   2540 #define IComTrackingInfoObject_GetValue(This,szPropertyName,pvarOut) (This)->lpVtbl->GetValue(This,szPropertyName,pvarOut)
   2541 #endif
   2542 #endif
   2543   HRESULT WINAPI IComTrackingInfoObject_GetValue_Proxy(IComTrackingInfoObject *This,LPOLESTR szPropertyName,VARIANT *pvarOut);
   2544   void __RPC_STUB IComTrackingInfoObject_GetValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2545 #endif
   2546 
   2547 #ifndef __IComTrackingInfoProperties_INTERFACE_DEFINED__
   2548 #define __IComTrackingInfoProperties_INTERFACE_DEFINED__
   2549   EXTERN_C const IID IID_IComTrackingInfoProperties;
   2550 #if defined(__cplusplus) && !defined(CINTERFACE)
   2551   struct IComTrackingInfoProperties : public IUnknown {
   2552   public:
   2553     virtual HRESULT WINAPI PropCount(ULONG *pCount) = 0;
   2554     virtual HRESULT WINAPI GetPropName(ULONG ulIndex,LPOLESTR *ppszPropName) = 0;
   2555   };
   2556 #else
   2557   typedef struct IComTrackingInfoPropertiesVtbl {
   2558     BEGIN_INTERFACE
   2559       HRESULT (WINAPI *QueryInterface)(IComTrackingInfoProperties *This,REFIID riid,void **ppvObject);
   2560       ULONG (WINAPI *AddRef)(IComTrackingInfoProperties *This);
   2561       ULONG (WINAPI *Release)(IComTrackingInfoProperties *This);
   2562       HRESULT (WINAPI *PropCount)(IComTrackingInfoProperties *This,ULONG *pCount);
   2563       HRESULT (WINAPI *GetPropName)(IComTrackingInfoProperties *This,ULONG ulIndex,LPOLESTR *ppszPropName);
   2564     END_INTERFACE
   2565   } IComTrackingInfoPropertiesVtbl;
   2566   struct IComTrackingInfoProperties {
   2567     CONST_VTBL struct IComTrackingInfoPropertiesVtbl *lpVtbl;
   2568   };
   2569 #ifdef COBJMACROS
   2570 #define IComTrackingInfoProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2571 #define IComTrackingInfoProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
   2572 #define IComTrackingInfoProperties_Release(This) (This)->lpVtbl->Release(This)
   2573 #define IComTrackingInfoProperties_PropCount(This,pCount) (This)->lpVtbl->PropCount(This,pCount)
   2574 #define IComTrackingInfoProperties_GetPropName(This,ulIndex,ppszPropName) (This)->lpVtbl->GetPropName(This,ulIndex,ppszPropName)
   2575 #endif
   2576 #endif
   2577   HRESULT WINAPI IComTrackingInfoProperties_PropCount_Proxy(IComTrackingInfoProperties *This,ULONG *pCount);
   2578   void __RPC_STUB IComTrackingInfoProperties_PropCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2579   HRESULT WINAPI IComTrackingInfoProperties_GetPropName_Proxy(IComTrackingInfoProperties *This,ULONG ulIndex,LPOLESTR *ppszPropName);
   2580   void __RPC_STUB IComTrackingInfoProperties_GetPropName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2581 #endif
   2582 
   2583 #ifndef __IComApp2Events_INTERFACE_DEFINED__
   2584 #define __IComApp2Events_INTERFACE_DEFINED__
   2585   EXTERN_C const IID IID_IComApp2Events;
   2586 #if defined(__cplusplus) && !defined(CINTERFACE)
   2587   struct IComApp2Events : public IUnknown {
   2588   public:
   2589     virtual HRESULT WINAPI OnAppActivation2(COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess) = 0;
   2590     virtual HRESULT WINAPI OnAppShutdown2(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   2591     virtual HRESULT WINAPI OnAppForceShutdown2(COMSVCSEVENTINFO *pInfo,GUID guidApp) = 0;
   2592     virtual HRESULT WINAPI OnAppPaused2(COMSVCSEVENTINFO *pInfo,GUID guidApp,WINBOOL bPaused) = 0;
   2593     virtual HRESULT WINAPI OnAppRecycle2(COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess,__LONG32 lReason) = 0;
   2594   };
   2595 #else
   2596   typedef struct IComApp2EventsVtbl {
   2597     BEGIN_INTERFACE
   2598       HRESULT (WINAPI *QueryInterface)(IComApp2Events *This,REFIID riid,void **ppvObject);
   2599       ULONG (WINAPI *AddRef)(IComApp2Events *This);
   2600       ULONG (WINAPI *Release)(IComApp2Events *This);
   2601       HRESULT (WINAPI *OnAppActivation2)(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess);
   2602       HRESULT (WINAPI *OnAppShutdown2)(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2603       HRESULT (WINAPI *OnAppForceShutdown2)(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2604       HRESULT (WINAPI *OnAppPaused2)(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,WINBOOL bPaused);
   2605       HRESULT (WINAPI *OnAppRecycle2)(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess,__LONG32 lReason);
   2606     END_INTERFACE
   2607   } IComApp2EventsVtbl;
   2608   struct IComApp2Events {
   2609     CONST_VTBL struct IComApp2EventsVtbl *lpVtbl;
   2610   };
   2611 #ifdef COBJMACROS
   2612 #define IComApp2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2613 #define IComApp2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2614 #define IComApp2Events_Release(This) (This)->lpVtbl->Release(This)
   2615 #define IComApp2Events_OnAppActivation2(This,pInfo,guidApp,guidProcess) (This)->lpVtbl->OnAppActivation2(This,pInfo,guidApp,guidProcess)
   2616 #define IComApp2Events_OnAppShutdown2(This,pInfo,guidApp) (This)->lpVtbl->OnAppShutdown2(This,pInfo,guidApp)
   2617 #define IComApp2Events_OnAppForceShutdown2(This,pInfo,guidApp) (This)->lpVtbl->OnAppForceShutdown2(This,pInfo,guidApp)
   2618 #define IComApp2Events_OnAppPaused2(This,pInfo,guidApp,bPaused) (This)->lpVtbl->OnAppPaused2(This,pInfo,guidApp,bPaused)
   2619 #define IComApp2Events_OnAppRecycle2(This,pInfo,guidApp,guidProcess,lReason) (This)->lpVtbl->OnAppRecycle2(This,pInfo,guidApp,guidProcess,lReason)
   2620 #endif
   2621 #endif
   2622   HRESULT WINAPI IComApp2Events_OnAppActivation2_Proxy(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess);
   2623   void __RPC_STUB IComApp2Events_OnAppActivation2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2624   HRESULT WINAPI IComApp2Events_OnAppShutdown2_Proxy(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2625   void __RPC_STUB IComApp2Events_OnAppShutdown2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2626   HRESULT WINAPI IComApp2Events_OnAppForceShutdown2_Proxy(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp);
   2627   void __RPC_STUB IComApp2Events_OnAppForceShutdown2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2628   HRESULT WINAPI IComApp2Events_OnAppPaused2_Proxy(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,WINBOOL bPaused);
   2629   void __RPC_STUB IComApp2Events_OnAppPaused2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2630   HRESULT WINAPI IComApp2Events_OnAppRecycle2_Proxy(IComApp2Events *This,COMSVCSEVENTINFO *pInfo,GUID guidApp,GUID guidProcess,__LONG32 lReason);
   2631   void __RPC_STUB IComApp2Events_OnAppRecycle2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2632 #endif
   2633 
   2634 #ifndef __IComTransaction2Events_INTERFACE_DEFINED__
   2635 #define __IComTransaction2Events_INTERFACE_DEFINED__
   2636   EXTERN_C const IID IID_IComTransaction2Events;
   2637 #if defined(__cplusplus) && !defined(CINTERFACE)
   2638   struct IComTransaction2Events : public IUnknown {
   2639   public:
   2640     virtual HRESULT WINAPI OnTransactionStart2(COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot,int nIsolationLevel) = 0;
   2641     virtual HRESULT WINAPI OnTransactionPrepare2(COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes) = 0;
   2642     virtual HRESULT WINAPI OnTransactionAbort2(COMSVCSEVENTINFO *pInfo,REFGUID guidTx) = 0;
   2643     virtual HRESULT WINAPI OnTransactionCommit2(COMSVCSEVENTINFO *pInfo,REFGUID guidTx) = 0;
   2644   };
   2645 #else
   2646   typedef struct IComTransaction2EventsVtbl {
   2647     BEGIN_INTERFACE
   2648       HRESULT (WINAPI *QueryInterface)(IComTransaction2Events *This,REFIID riid,void **ppvObject);
   2649       ULONG (WINAPI *AddRef)(IComTransaction2Events *This);
   2650       ULONG (WINAPI *Release)(IComTransaction2Events *This);
   2651       HRESULT (WINAPI *OnTransactionStart2)(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot,int nIsolationLevel);
   2652       HRESULT (WINAPI *OnTransactionPrepare2)(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes);
   2653       HRESULT (WINAPI *OnTransactionAbort2)(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   2654       HRESULT (WINAPI *OnTransactionCommit2)(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   2655     END_INTERFACE
   2656   } IComTransaction2EventsVtbl;
   2657   struct IComTransaction2Events {
   2658     CONST_VTBL struct IComTransaction2EventsVtbl *lpVtbl;
   2659   };
   2660 #ifdef COBJMACROS
   2661 #define IComTransaction2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2662 #define IComTransaction2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2663 #define IComTransaction2Events_Release(This) (This)->lpVtbl->Release(This)
   2664 #define IComTransaction2Events_OnTransactionStart2(This,pInfo,guidTx,tsid,fRoot,nIsolationLevel) (This)->lpVtbl->OnTransactionStart2(This,pInfo,guidTx,tsid,fRoot,nIsolationLevel)
   2665 #define IComTransaction2Events_OnTransactionPrepare2(This,pInfo,guidTx,fVoteYes) (This)->lpVtbl->OnTransactionPrepare2(This,pInfo,guidTx,fVoteYes)
   2666 #define IComTransaction2Events_OnTransactionAbort2(This,pInfo,guidTx) (This)->lpVtbl->OnTransactionAbort2(This,pInfo,guidTx)
   2667 #define IComTransaction2Events_OnTransactionCommit2(This,pInfo,guidTx) (This)->lpVtbl->OnTransactionCommit2(This,pInfo,guidTx)
   2668 #endif
   2669 #endif
   2670   HRESULT WINAPI IComTransaction2Events_OnTransactionStart2_Proxy(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,REFGUID tsid,WINBOOL fRoot,int nIsolationLevel);
   2671   void __RPC_STUB IComTransaction2Events_OnTransactionStart2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2672   HRESULT WINAPI IComTransaction2Events_OnTransactionPrepare2_Proxy(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx,WINBOOL fVoteYes);
   2673   void __RPC_STUB IComTransaction2Events_OnTransactionPrepare2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2674   HRESULT WINAPI IComTransaction2Events_OnTransactionAbort2_Proxy(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   2675   void __RPC_STUB IComTransaction2Events_OnTransactionAbort2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2676   HRESULT WINAPI IComTransaction2Events_OnTransactionCommit2_Proxy(IComTransaction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidTx);
   2677   void __RPC_STUB IComTransaction2Events_OnTransactionCommit2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2678 #endif
   2679 
   2680 #ifndef __IComInstance2Events_INTERFACE_DEFINED__
   2681 #define __IComInstance2Events_INTERFACE_DEFINED__
   2682   EXTERN_C const IID IID_IComInstance2Events;
   2683 #if defined(__cplusplus) && !defined(CINTERFACE)
   2684   struct IComInstance2Events : public IUnknown {
   2685   public:
   2686     virtual HRESULT WINAPI OnObjectCreate2(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID,REFGUID guidPartition) = 0;
   2687     virtual HRESULT WINAPI OnObjectDestroy2(COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID) = 0;
   2688   };
   2689 #else
   2690   typedef struct IComInstance2EventsVtbl {
   2691     BEGIN_INTERFACE
   2692       HRESULT (WINAPI *QueryInterface)(IComInstance2Events *This,REFIID riid,void **ppvObject);
   2693       ULONG (WINAPI *AddRef)(IComInstance2Events *This);
   2694       ULONG (WINAPI *Release)(IComInstance2Events *This);
   2695       HRESULT (WINAPI *OnObjectCreate2)(IComInstance2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID,REFGUID guidPartition);
   2696       HRESULT (WINAPI *OnObjectDestroy2)(IComInstance2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   2697     END_INTERFACE
   2698   } IComInstance2EventsVtbl;
   2699   struct IComInstance2Events {
   2700     CONST_VTBL struct IComInstance2EventsVtbl *lpVtbl;
   2701   };
   2702 #ifdef COBJMACROS
   2703 #define IComInstance2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2704 #define IComInstance2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2705 #define IComInstance2Events_Release(This) (This)->lpVtbl->Release(This)
   2706 #define IComInstance2Events_OnObjectCreate2(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID,guidPartition) (This)->lpVtbl->OnObjectCreate2(This,pInfo,guidActivity,clsid,tsid,CtxtID,ObjectID,guidPartition)
   2707 #define IComInstance2Events_OnObjectDestroy2(This,pInfo,CtxtID) (This)->lpVtbl->OnObjectDestroy2(This,pInfo,CtxtID)
   2708 #endif
   2709 #endif
   2710   HRESULT WINAPI IComInstance2Events_OnObjectCreate2_Proxy(IComInstance2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFCLSID clsid,REFGUID tsid,ULONG64 CtxtID,ULONG64 ObjectID,REFGUID guidPartition);
   2711   void __RPC_STUB IComInstance2Events_OnObjectCreate2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2712   HRESULT WINAPI IComInstance2Events_OnObjectDestroy2_Proxy(IComInstance2Events *This,COMSVCSEVENTINFO *pInfo,ULONG64 CtxtID);
   2713   void __RPC_STUB IComInstance2Events_OnObjectDestroy2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2714 #endif
   2715 
   2716 #ifndef __IComObjectPool2Events_INTERFACE_DEFINED__
   2717 #define __IComObjectPool2Events_INTERFACE_DEFINED__
   2718   EXTERN_C const IID IID_IComObjectPool2Events;
   2719 #if defined(__cplusplus) && !defined(CINTERFACE)
   2720   struct IComObjectPool2Events : public IUnknown {
   2721   public:
   2722     virtual HRESULT WINAPI OnObjPoolPutObject2(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid) = 0;
   2723     virtual HRESULT WINAPI OnObjPoolGetObject2(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid,REFGUID guidPartition) = 0;
   2724     virtual HRESULT WINAPI OnObjPoolRecycleToTx2(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid) = 0;
   2725     virtual HRESULT WINAPI OnObjPoolGetFromTx2(COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid,REFGUID guidPartition) = 0;
   2726   };
   2727 #else
   2728   typedef struct IComObjectPool2EventsVtbl {
   2729     BEGIN_INTERFACE
   2730       HRESULT (WINAPI *QueryInterface)(IComObjectPool2Events *This,REFIID riid,void **ppvObject);
   2731       ULONG (WINAPI *AddRef)(IComObjectPool2Events *This);
   2732       ULONG (WINAPI *Release)(IComObjectPool2Events *This);
   2733       HRESULT (WINAPI *OnObjPoolPutObject2)(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid);
   2734       HRESULT (WINAPI *OnObjPoolGetObject2)(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid,REFGUID guidPartition);
   2735       HRESULT (WINAPI *OnObjPoolRecycleToTx2)(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   2736       HRESULT (WINAPI *OnObjPoolGetFromTx2)(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid,REFGUID guidPartition);
   2737     END_INTERFACE
   2738   } IComObjectPool2EventsVtbl;
   2739   struct IComObjectPool2Events {
   2740     CONST_VTBL struct IComObjectPool2EventsVtbl *lpVtbl;
   2741   };
   2742 #ifdef COBJMACROS
   2743 #define IComObjectPool2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2744 #define IComObjectPool2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2745 #define IComObjectPool2Events_Release(This) (This)->lpVtbl->Release(This)
   2746 #define IComObjectPool2Events_OnObjPoolPutObject2(This,pInfo,guidObject,nReason,dwAvailable,oid) (This)->lpVtbl->OnObjPoolPutObject2(This,pInfo,guidObject,nReason,dwAvailable,oid)
   2747 #define IComObjectPool2Events_OnObjPoolGetObject2(This,pInfo,guidActivity,guidObject,dwAvailable,oid,guidPartition) (This)->lpVtbl->OnObjPoolGetObject2(This,pInfo,guidActivity,guidObject,dwAvailable,oid,guidPartition)
   2748 #define IComObjectPool2Events_OnObjPoolRecycleToTx2(This,pInfo,guidActivity,guidObject,guidTx,objid) (This)->lpVtbl->OnObjPoolRecycleToTx2(This,pInfo,guidActivity,guidObject,guidTx,objid)
   2749 #define IComObjectPool2Events_OnObjPoolGetFromTx2(This,pInfo,guidActivity,guidObject,guidTx,objid,guidPartition) (This)->lpVtbl->OnObjPoolGetFromTx2(This,pInfo,guidActivity,guidObject,guidTx,objid,guidPartition)
   2750 #endif
   2751 #endif
   2752   HRESULT WINAPI IComObjectPool2Events_OnObjPoolPutObject2_Proxy(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,int nReason,DWORD dwAvailable,ULONG64 oid);
   2753   void __RPC_STUB IComObjectPool2Events_OnObjPoolPutObject2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2754   HRESULT WINAPI IComObjectPool2Events_OnObjPoolGetObject2_Proxy(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,DWORD dwAvailable,ULONG64 oid,REFGUID guidPartition);
   2755   void __RPC_STUB IComObjectPool2Events_OnObjPoolGetObject2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2756   HRESULT WINAPI IComObjectPool2Events_OnObjPoolRecycleToTx2_Proxy(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid);
   2757   void __RPC_STUB IComObjectPool2Events_OnObjPoolRecycleToTx2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2758   HRESULT WINAPI IComObjectPool2Events_OnObjPoolGetFromTx2_Proxy(IComObjectPool2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidActivity,REFGUID guidObject,REFGUID guidTx,ULONG64 objid,REFGUID guidPartition);
   2759   void __RPC_STUB IComObjectPool2Events_OnObjPoolGetFromTx2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2760 #endif
   2761 
   2762 #ifndef __IComObjectConstruction2Events_INTERFACE_DEFINED__
   2763 #define __IComObjectConstruction2Events_INTERFACE_DEFINED__
   2764   EXTERN_C const IID IID_IComObjectConstruction2Events;
   2765 #if defined(__cplusplus) && !defined(CINTERFACE)
   2766   struct IComObjectConstruction2Events : public IUnknown {
   2767   public:
   2768     virtual HRESULT WINAPI OnObjectConstruct2(COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid,REFGUID guidPartition) = 0;
   2769   };
   2770 #else
   2771   typedef struct IComObjectConstruction2EventsVtbl {
   2772     BEGIN_INTERFACE
   2773       HRESULT (WINAPI *QueryInterface)(IComObjectConstruction2Events *This,REFIID riid,void **ppvObject);
   2774       ULONG (WINAPI *AddRef)(IComObjectConstruction2Events *This);
   2775       ULONG (WINAPI *Release)(IComObjectConstruction2Events *This);
   2776       HRESULT (WINAPI *OnObjectConstruct2)(IComObjectConstruction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid,REFGUID guidPartition);
   2777     END_INTERFACE
   2778   } IComObjectConstruction2EventsVtbl;
   2779   struct IComObjectConstruction2Events {
   2780     CONST_VTBL struct IComObjectConstruction2EventsVtbl *lpVtbl;
   2781   };
   2782 #ifdef COBJMACROS
   2783 #define IComObjectConstruction2Events_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2784 #define IComObjectConstruction2Events_AddRef(This) (This)->lpVtbl->AddRef(This)
   2785 #define IComObjectConstruction2Events_Release(This) (This)->lpVtbl->Release(This)
   2786 #define IComObjectConstruction2Events_OnObjectConstruct2(This,pInfo,guidObject,sConstructString,oid,guidPartition) (This)->lpVtbl->OnObjectConstruct2(This,pInfo,guidObject,sConstructString,oid,guidPartition)
   2787 #endif
   2788 #endif
   2789   HRESULT WINAPI IComObjectConstruction2Events_OnObjectConstruct2_Proxy(IComObjectConstruction2Events *This,COMSVCSEVENTINFO *pInfo,REFGUID guidObject,LPCOLESTR sConstructString,ULONG64 oid,REFGUID guidPartition);
   2790   void __RPC_STUB IComObjectConstruction2Events_OnObjectConstruct2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2791 #endif
   2792 
   2793 #ifndef __ISystemAppEventData_INTERFACE_DEFINED__
   2794 #define __ISystemAppEventData_INTERFACE_DEFINED__
   2795   EXTERN_C const IID IID_ISystemAppEventData;
   2796 #if defined(__cplusplus) && !defined(CINTERFACE)
   2797   struct ISystemAppEventData : public IUnknown {
   2798   public:
   2799     virtual HRESULT WINAPI Startup(void) = 0;
   2800     virtual HRESULT WINAPI OnDataChanged(DWORD dwPID,DWORD dwMask,DWORD dwNumberSinks,BSTR bstrDwMethodMask,DWORD dwReason,ULONG64 u64TraceHandle) = 0;
   2801   };
   2802 #else
   2803   typedef struct ISystemAppEventDataVtbl {
   2804     BEGIN_INTERFACE
   2805       HRESULT (WINAPI *QueryInterface)(ISystemAppEventData *This,REFIID riid,void **ppvObject);
   2806       ULONG (WINAPI *AddRef)(ISystemAppEventData *This);
   2807       ULONG (WINAPI *Release)(ISystemAppEventData *This);
   2808       HRESULT (WINAPI *Startup)(ISystemAppEventData *This);
   2809       HRESULT (WINAPI *OnDataChanged)(ISystemAppEventData *This,DWORD dwPID,DWORD dwMask,DWORD dwNumberSinks,BSTR bstrDwMethodMask,DWORD dwReason,ULONG64 u64TraceHandle);
   2810     END_INTERFACE
   2811   } ISystemAppEventDataVtbl;
   2812   struct ISystemAppEventData {
   2813     CONST_VTBL struct ISystemAppEventDataVtbl *lpVtbl;
   2814   };
   2815 #ifdef COBJMACROS
   2816 #define ISystemAppEventData_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2817 #define ISystemAppEventData_AddRef(This) (This)->lpVtbl->AddRef(This)
   2818 #define ISystemAppEventData_Release(This) (This)->lpVtbl->Release(This)
   2819 #define ISystemAppEventData_Startup(This) (This)->lpVtbl->Startup(This)
   2820 #define ISystemAppEventData_OnDataChanged(This,dwPID,dwMask,dwNumberSinks,bstrDwMethodMask,dwReason,u64TraceHandle) (This)->lpVtbl->OnDataChanged(This,dwPID,dwMask,dwNumberSinks,bstrDwMethodMask,dwReason,u64TraceHandle)
   2821 #endif
   2822 #endif
   2823   HRESULT WINAPI ISystemAppEventData_Startup_Proxy(ISystemAppEventData *This);
   2824   void __RPC_STUB ISystemAppEventData_Startup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2825   HRESULT WINAPI ISystemAppEventData_OnDataChanged_Proxy(ISystemAppEventData *This,DWORD dwPID,DWORD dwMask,DWORD dwNumberSinks,BSTR bstrDwMethodMask,DWORD dwReason,ULONG64 u64TraceHandle);
   2826   void __RPC_STUB ISystemAppEventData_OnDataChanged_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2827 #endif
   2828 
   2829 #ifndef __IMtsEvents_INTERFACE_DEFINED__
   2830 #define __IMtsEvents_INTERFACE_DEFINED__
   2831   EXTERN_C const IID IID_IMtsEvents;
   2832 #if defined(__cplusplus) && !defined(CINTERFACE)
   2833   struct IMtsEvents : public IDispatch {
   2834   public:
   2835     virtual HRESULT WINAPI get_PackageName(BSTR *pVal) = 0;
   2836     virtual HRESULT WINAPI get_PackageGuid(BSTR *pVal) = 0;
   2837     virtual HRESULT WINAPI PostEvent(VARIANT *vEvent) = 0;
   2838     virtual HRESULT WINAPI get_FireEvents(VARIANT_BOOL *pVal) = 0;
   2839     virtual HRESULT WINAPI GetProcessID(__LONG32 *id) = 0;
   2840   };
   2841 #else
   2842   typedef struct IMtsEventsVtbl {
   2843     BEGIN_INTERFACE
   2844       HRESULT (WINAPI *QueryInterface)(IMtsEvents *This,REFIID riid,void **ppvObject);
   2845       ULONG (WINAPI *AddRef)(IMtsEvents *This);
   2846       ULONG (WINAPI *Release)(IMtsEvents *This);
   2847       HRESULT (WINAPI *GetTypeInfoCount)(IMtsEvents *This,UINT *pctinfo);
   2848       HRESULT (WINAPI *GetTypeInfo)(IMtsEvents *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   2849       HRESULT (WINAPI *GetIDsOfNames)(IMtsEvents *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   2850       HRESULT (WINAPI *Invoke)(IMtsEvents *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   2851       HRESULT (WINAPI *get_PackageName)(IMtsEvents *This,BSTR *pVal);
   2852       HRESULT (WINAPI *get_PackageGuid)(IMtsEvents *This,BSTR *pVal);
   2853       HRESULT (WINAPI *PostEvent)(IMtsEvents *This,VARIANT *vEvent);
   2854       HRESULT (WINAPI *get_FireEvents)(IMtsEvents *This,VARIANT_BOOL *pVal);
   2855       HRESULT (WINAPI *GetProcessID)(IMtsEvents *This,__LONG32 *id);
   2856     END_INTERFACE
   2857   } IMtsEventsVtbl;
   2858   struct IMtsEvents {
   2859     CONST_VTBL struct IMtsEventsVtbl *lpVtbl;
   2860   };
   2861 #ifdef COBJMACROS
   2862 #define IMtsEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2863 #define IMtsEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   2864 #define IMtsEvents_Release(This) (This)->lpVtbl->Release(This)
   2865 #define IMtsEvents_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   2866 #define IMtsEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   2867 #define IMtsEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   2868 #define IMtsEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   2869 #define IMtsEvents_get_PackageName(This,pVal) (This)->lpVtbl->get_PackageName(This,pVal)
   2870 #define IMtsEvents_get_PackageGuid(This,pVal) (This)->lpVtbl->get_PackageGuid(This,pVal)
   2871 #define IMtsEvents_PostEvent(This,vEvent) (This)->lpVtbl->PostEvent(This,vEvent)
   2872 #define IMtsEvents_get_FireEvents(This,pVal) (This)->lpVtbl->get_FireEvents(This,pVal)
   2873 #define IMtsEvents_GetProcessID(This,id) (This)->lpVtbl->GetProcessID(This,id)
   2874 #endif
   2875 #endif
   2876   HRESULT WINAPI IMtsEvents_get_PackageName_Proxy(IMtsEvents *This,BSTR *pVal);
   2877   void __RPC_STUB IMtsEvents_get_PackageName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2878   HRESULT WINAPI IMtsEvents_get_PackageGuid_Proxy(IMtsEvents *This,BSTR *pVal);
   2879   void __RPC_STUB IMtsEvents_get_PackageGuid_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2880   HRESULT WINAPI IMtsEvents_PostEvent_Proxy(IMtsEvents *This,VARIANT *vEvent);
   2881   void __RPC_STUB IMtsEvents_PostEvent_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2882   HRESULT WINAPI IMtsEvents_get_FireEvents_Proxy(IMtsEvents *This,VARIANT_BOOL *pVal);
   2883   void __RPC_STUB IMtsEvents_get_FireEvents_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2884   HRESULT WINAPI IMtsEvents_GetProcessID_Proxy(IMtsEvents *This,__LONG32 *id);
   2885   void __RPC_STUB IMtsEvents_GetProcessID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2886 #endif
   2887 
   2888 #ifndef __IMtsEventInfo_INTERFACE_DEFINED__
   2889 #define __IMtsEventInfo_INTERFACE_DEFINED__
   2890   EXTERN_C const IID IID_IMtsEventInfo;
   2891 #if defined(__cplusplus) && !defined(CINTERFACE)
   2892   struct IMtsEventInfo : public IDispatch {
   2893   public:
   2894     virtual HRESULT WINAPI get_Names(IUnknown **pUnk) = 0;
   2895     virtual HRESULT WINAPI get_DisplayName(BSTR *sDisplayName) = 0;
   2896     virtual HRESULT WINAPI get_EventID(BSTR *sGuidEventID) = 0;
   2897     virtual HRESULT WINAPI get_Count(__LONG32 *lCount) = 0;
   2898     virtual HRESULT WINAPI get_Value(BSTR sKey,VARIANT *pVal) = 0;
   2899   };
   2900 #else
   2901   typedef struct IMtsEventInfoVtbl {
   2902     BEGIN_INTERFACE
   2903       HRESULT (WINAPI *QueryInterface)(IMtsEventInfo *This,REFIID riid,void **ppvObject);
   2904       ULONG (WINAPI *AddRef)(IMtsEventInfo *This);
   2905       ULONG (WINAPI *Release)(IMtsEventInfo *This);
   2906       HRESULT (WINAPI *GetTypeInfoCount)(IMtsEventInfo *This,UINT *pctinfo);
   2907       HRESULT (WINAPI *GetTypeInfo)(IMtsEventInfo *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   2908       HRESULT (WINAPI *GetIDsOfNames)(IMtsEventInfo *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   2909       HRESULT (WINAPI *Invoke)(IMtsEventInfo *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   2910       HRESULT (WINAPI *get_Names)(IMtsEventInfo *This,IUnknown **pUnk);
   2911       HRESULT (WINAPI *get_DisplayName)(IMtsEventInfo *This,BSTR *sDisplayName);
   2912       HRESULT (WINAPI *get_EventID)(IMtsEventInfo *This,BSTR *sGuidEventID);
   2913       HRESULT (WINAPI *get_Count)(IMtsEventInfo *This,__LONG32 *lCount);
   2914       HRESULT (WINAPI *get_Value)(IMtsEventInfo *This,BSTR sKey,VARIANT *pVal);
   2915     END_INTERFACE
   2916   } IMtsEventInfoVtbl;
   2917   struct IMtsEventInfo {
   2918     CONST_VTBL struct IMtsEventInfoVtbl *lpVtbl;
   2919   };
   2920 #ifdef COBJMACROS
   2921 #define IMtsEventInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2922 #define IMtsEventInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   2923 #define IMtsEventInfo_Release(This) (This)->lpVtbl->Release(This)
   2924 #define IMtsEventInfo_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   2925 #define IMtsEventInfo_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   2926 #define IMtsEventInfo_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   2927 #define IMtsEventInfo_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   2928 #define IMtsEventInfo_get_Names(This,pUnk) (This)->lpVtbl->get_Names(This,pUnk)
   2929 #define IMtsEventInfo_get_DisplayName(This,sDisplayName) (This)->lpVtbl->get_DisplayName(This,sDisplayName)
   2930 #define IMtsEventInfo_get_EventID(This,sGuidEventID) (This)->lpVtbl->get_EventID(This,sGuidEventID)
   2931 #define IMtsEventInfo_get_Count(This,lCount) (This)->lpVtbl->get_Count(This,lCount)
   2932 #define IMtsEventInfo_get_Value(This,sKey,pVal) (This)->lpVtbl->get_Value(This,sKey,pVal)
   2933 #endif
   2934 #endif
   2935   HRESULT WINAPI IMtsEventInfo_get_Names_Proxy(IMtsEventInfo *This,IUnknown **pUnk);
   2936   void __RPC_STUB IMtsEventInfo_get_Names_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2937   HRESULT WINAPI IMtsEventInfo_get_DisplayName_Proxy(IMtsEventInfo *This,BSTR *sDisplayName);
   2938   void __RPC_STUB IMtsEventInfo_get_DisplayName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2939   HRESULT WINAPI IMtsEventInfo_get_EventID_Proxy(IMtsEventInfo *This,BSTR *sGuidEventID);
   2940   void __RPC_STUB IMtsEventInfo_get_EventID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2941   HRESULT WINAPI IMtsEventInfo_get_Count_Proxy(IMtsEventInfo *This,__LONG32 *lCount);
   2942   void __RPC_STUB IMtsEventInfo_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2943   HRESULT WINAPI IMtsEventInfo_get_Value_Proxy(IMtsEventInfo *This,BSTR sKey,VARIANT *pVal);
   2944   void __RPC_STUB IMtsEventInfo_get_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2945 #endif
   2946 
   2947 #ifndef __IMTSLocator_INTERFACE_DEFINED__
   2948 #define __IMTSLocator_INTERFACE_DEFINED__
   2949   EXTERN_C const IID IID_IMTSLocator;
   2950 #if defined(__cplusplus) && !defined(CINTERFACE)
   2951   struct IMTSLocator : public IDispatch {
   2952   public:
   2953     virtual HRESULT WINAPI GetEventDispatcher(IUnknown **pUnk) = 0;
   2954   };
   2955 #else
   2956   typedef struct IMTSLocatorVtbl {
   2957     BEGIN_INTERFACE
   2958       HRESULT (WINAPI *QueryInterface)(IMTSLocator *This,REFIID riid,void **ppvObject);
   2959       ULONG (WINAPI *AddRef)(IMTSLocator *This);
   2960       ULONG (WINAPI *Release)(IMTSLocator *This);
   2961       HRESULT (WINAPI *GetTypeInfoCount)(IMTSLocator *This,UINT *pctinfo);
   2962       HRESULT (WINAPI *GetTypeInfo)(IMTSLocator *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   2963       HRESULT (WINAPI *GetIDsOfNames)(IMTSLocator *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   2964       HRESULT (WINAPI *Invoke)(IMTSLocator *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   2965       HRESULT (WINAPI *GetEventDispatcher)(IMTSLocator *This,IUnknown **pUnk);
   2966     END_INTERFACE
   2967   } IMTSLocatorVtbl;
   2968   struct IMTSLocator {
   2969     CONST_VTBL struct IMTSLocatorVtbl *lpVtbl;
   2970   };
   2971 #ifdef COBJMACROS
   2972 #define IMTSLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   2973 #define IMTSLocator_AddRef(This) (This)->lpVtbl->AddRef(This)
   2974 #define IMTSLocator_Release(This) (This)->lpVtbl->Release(This)
   2975 #define IMTSLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   2976 #define IMTSLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   2977 #define IMTSLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   2978 #define IMTSLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   2979 #define IMTSLocator_GetEventDispatcher(This,pUnk) (This)->lpVtbl->GetEventDispatcher(This,pUnk)
   2980 #endif
   2981 #endif
   2982   HRESULT WINAPI IMTSLocator_GetEventDispatcher_Proxy(IMTSLocator *This,IUnknown **pUnk);
   2983   void __RPC_STUB IMTSLocator_GetEventDispatcher_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   2984 #endif
   2985 
   2986 #ifndef __IMtsGrp_INTERFACE_DEFINED__
   2987 #define __IMtsGrp_INTERFACE_DEFINED__
   2988   EXTERN_C const IID IID_IMtsGrp;
   2989 #if defined(__cplusplus) && !defined(CINTERFACE)
   2990   struct IMtsGrp : public IDispatch {
   2991   public:
   2992     virtual HRESULT WINAPI get_Count(__LONG32 *pVal) = 0;
   2993     virtual HRESULT WINAPI Item(__LONG32 lIndex,IUnknown **ppUnkDispatcher) = 0;
   2994     virtual HRESULT WINAPI Refresh(void) = 0;
   2995   };
   2996 #else
   2997   typedef struct IMtsGrpVtbl {
   2998     BEGIN_INTERFACE
   2999       HRESULT (WINAPI *QueryInterface)(IMtsGrp *This,REFIID riid,void **ppvObject);
   3000       ULONG (WINAPI *AddRef)(IMtsGrp *This);
   3001       ULONG (WINAPI *Release)(IMtsGrp *This);
   3002       HRESULT (WINAPI *GetTypeInfoCount)(IMtsGrp *This,UINT *pctinfo);
   3003       HRESULT (WINAPI *GetTypeInfo)(IMtsGrp *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3004       HRESULT (WINAPI *GetIDsOfNames)(IMtsGrp *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3005       HRESULT (WINAPI *Invoke)(IMtsGrp *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3006       HRESULT (WINAPI *get_Count)(IMtsGrp *This,__LONG32 *pVal);
   3007       HRESULT (WINAPI *Item)(IMtsGrp *This,__LONG32 lIndex,IUnknown **ppUnkDispatcher);
   3008       HRESULT (WINAPI *Refresh)(IMtsGrp *This);
   3009     END_INTERFACE
   3010   } IMtsGrpVtbl;
   3011   struct IMtsGrp {
   3012     CONST_VTBL struct IMtsGrpVtbl *lpVtbl;
   3013   };
   3014 #ifdef COBJMACROS
   3015 #define IMtsGrp_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3016 #define IMtsGrp_AddRef(This) (This)->lpVtbl->AddRef(This)
   3017 #define IMtsGrp_Release(This) (This)->lpVtbl->Release(This)
   3018 #define IMtsGrp_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3019 #define IMtsGrp_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3020 #define IMtsGrp_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3021 #define IMtsGrp_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3022 #define IMtsGrp_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
   3023 #define IMtsGrp_Item(This,lIndex,ppUnkDispatcher) (This)->lpVtbl->Item(This,lIndex,ppUnkDispatcher)
   3024 #define IMtsGrp_Refresh(This) (This)->lpVtbl->Refresh(This)
   3025 #endif
   3026 #endif
   3027   HRESULT WINAPI IMtsGrp_get_Count_Proxy(IMtsGrp *This,__LONG32 *pVal);
   3028   void __RPC_STUB IMtsGrp_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3029   HRESULT WINAPI IMtsGrp_Item_Proxy(IMtsGrp *This,__LONG32 lIndex,IUnknown **ppUnkDispatcher);
   3030   void __RPC_STUB IMtsGrp_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3031   HRESULT WINAPI IMtsGrp_Refresh_Proxy(IMtsGrp *This);
   3032   void __RPC_STUB IMtsGrp_Refresh_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3033 #endif
   3034 
   3035 #ifndef __IMessageMover_INTERFACE_DEFINED__
   3036 #define __IMessageMover_INTERFACE_DEFINED__
   3037   EXTERN_C const IID IID_IMessageMover;
   3038 #if defined(__cplusplus) && !defined(CINTERFACE)
   3039   struct IMessageMover : public IDispatch {
   3040   public:
   3041     virtual HRESULT WINAPI get_SourcePath(BSTR *pVal) = 0;
   3042     virtual HRESULT WINAPI put_SourcePath(BSTR newVal) = 0;
   3043     virtual HRESULT WINAPI get_DestPath(BSTR *pVal) = 0;
   3044     virtual HRESULT WINAPI put_DestPath(BSTR newVal) = 0;
   3045     virtual HRESULT WINAPI get_CommitBatchSize(__LONG32 *pVal) = 0;
   3046     virtual HRESULT WINAPI put_CommitBatchSize(__LONG32 newVal) = 0;
   3047     virtual HRESULT WINAPI MoveMessages(__LONG32 *plMessagesMoved) = 0;
   3048   };
   3049 #else
   3050   typedef struct IMessageMoverVtbl {
   3051     BEGIN_INTERFACE
   3052       HRESULT (WINAPI *QueryInterface)(IMessageMover *This,REFIID riid,void **ppvObject);
   3053       ULONG (WINAPI *AddRef)(IMessageMover *This);
   3054       ULONG (WINAPI *Release)(IMessageMover *This);
   3055       HRESULT (WINAPI *GetTypeInfoCount)(IMessageMover *This,UINT *pctinfo);
   3056       HRESULT (WINAPI *GetTypeInfo)(IMessageMover *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3057       HRESULT (WINAPI *GetIDsOfNames)(IMessageMover *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3058       HRESULT (WINAPI *Invoke)(IMessageMover *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3059       HRESULT (WINAPI *get_SourcePath)(IMessageMover *This,BSTR *pVal);
   3060       HRESULT (WINAPI *put_SourcePath)(IMessageMover *This,BSTR newVal);
   3061       HRESULT (WINAPI *get_DestPath)(IMessageMover *This,BSTR *pVal);
   3062       HRESULT (WINAPI *put_DestPath)(IMessageMover *This,BSTR newVal);
   3063       HRESULT (WINAPI *get_CommitBatchSize)(IMessageMover *This,__LONG32 *pVal);
   3064       HRESULT (WINAPI *put_CommitBatchSize)(IMessageMover *This,__LONG32 newVal);
   3065       HRESULT (WINAPI *MoveMessages)(IMessageMover *This,__LONG32 *plMessagesMoved);
   3066     END_INTERFACE
   3067   } IMessageMoverVtbl;
   3068   struct IMessageMover {
   3069     CONST_VTBL struct IMessageMoverVtbl *lpVtbl;
   3070   };
   3071 #ifdef COBJMACROS
   3072 #define IMessageMover_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3073 #define IMessageMover_AddRef(This) (This)->lpVtbl->AddRef(This)
   3074 #define IMessageMover_Release(This) (This)->lpVtbl->Release(This)
   3075 #define IMessageMover_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3076 #define IMessageMover_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3077 #define IMessageMover_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3078 #define IMessageMover_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3079 #define IMessageMover_get_SourcePath(This,pVal) (This)->lpVtbl->get_SourcePath(This,pVal)
   3080 #define IMessageMover_put_SourcePath(This,newVal) (This)->lpVtbl->put_SourcePath(This,newVal)
   3081 #define IMessageMover_get_DestPath(This,pVal) (This)->lpVtbl->get_DestPath(This,pVal)
   3082 #define IMessageMover_put_DestPath(This,newVal) (This)->lpVtbl->put_DestPath(This,newVal)
   3083 #define IMessageMover_get_CommitBatchSize(This,pVal) (This)->lpVtbl->get_CommitBatchSize(This,pVal)
   3084 #define IMessageMover_put_CommitBatchSize(This,newVal) (This)->lpVtbl->put_CommitBatchSize(This,newVal)
   3085 #define IMessageMover_MoveMessages(This,plMessagesMoved) (This)->lpVtbl->MoveMessages(This,plMessagesMoved)
   3086 #endif
   3087 #endif
   3088   HRESULT WINAPI IMessageMover_get_SourcePath_Proxy(IMessageMover *This,BSTR *pVal);
   3089   void __RPC_STUB IMessageMover_get_SourcePath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3090   HRESULT WINAPI IMessageMover_put_SourcePath_Proxy(IMessageMover *This,BSTR newVal);
   3091   void __RPC_STUB IMessageMover_put_SourcePath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3092   HRESULT WINAPI IMessageMover_get_DestPath_Proxy(IMessageMover *This,BSTR *pVal);
   3093   void __RPC_STUB IMessageMover_get_DestPath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3094   HRESULT WINAPI IMessageMover_put_DestPath_Proxy(IMessageMover *This,BSTR newVal);
   3095   void __RPC_STUB IMessageMover_put_DestPath_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3096   HRESULT WINAPI IMessageMover_get_CommitBatchSize_Proxy(IMessageMover *This,__LONG32 *pVal);
   3097   void __RPC_STUB IMessageMover_get_CommitBatchSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3098   HRESULT WINAPI IMessageMover_put_CommitBatchSize_Proxy(IMessageMover *This,__LONG32 newVal);
   3099   void __RPC_STUB IMessageMover_put_CommitBatchSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3100   HRESULT WINAPI IMessageMover_MoveMessages_Proxy(IMessageMover *This,__LONG32 *plMessagesMoved);
   3101   void __RPC_STUB IMessageMover_MoveMessages_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3102 #endif
   3103 
   3104 #ifndef __IEventServerTrace_INTERFACE_DEFINED__
   3105 #define __IEventServerTrace_INTERFACE_DEFINED__
   3106   EXTERN_C const IID IID_IEventServerTrace;
   3107 #if defined(__cplusplus) && !defined(CINTERFACE)
   3108   struct IEventServerTrace : public IDispatch {
   3109   public:
   3110     virtual HRESULT WINAPI StartTraceGuid(BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter) = 0;
   3111     virtual HRESULT WINAPI StopTraceGuid(BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter) = 0;
   3112     virtual HRESULT WINAPI EnumTraceGuid(LONG *plCntGuids,BSTR *pbstrGuidList) = 0;
   3113   };
   3114 #else
   3115   typedef struct IEventServerTraceVtbl {
   3116     BEGIN_INTERFACE
   3117       HRESULT (WINAPI *QueryInterface)(IEventServerTrace *This,REFIID riid,void **ppvObject);
   3118       ULONG (WINAPI *AddRef)(IEventServerTrace *This);
   3119       ULONG (WINAPI *Release)(IEventServerTrace *This);
   3120       HRESULT (WINAPI *GetTypeInfoCount)(IEventServerTrace *This,UINT *pctinfo);
   3121       HRESULT (WINAPI *GetTypeInfo)(IEventServerTrace *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3122       HRESULT (WINAPI *GetIDsOfNames)(IEventServerTrace *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3123       HRESULT (WINAPI *Invoke)(IEventServerTrace *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3124       HRESULT (WINAPI *StartTraceGuid)(IEventServerTrace *This,BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter);
   3125       HRESULT (WINAPI *StopTraceGuid)(IEventServerTrace *This,BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter);
   3126       HRESULT (WINAPI *EnumTraceGuid)(IEventServerTrace *This,LONG *plCntGuids,BSTR *pbstrGuidList);
   3127     END_INTERFACE
   3128   } IEventServerTraceVtbl;
   3129   struct IEventServerTrace {
   3130     CONST_VTBL struct IEventServerTraceVtbl *lpVtbl;
   3131   };
   3132 #ifdef COBJMACROS
   3133 #define IEventServerTrace_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3134 #define IEventServerTrace_AddRef(This) (This)->lpVtbl->AddRef(This)
   3135 #define IEventServerTrace_Release(This) (This)->lpVtbl->Release(This)
   3136 #define IEventServerTrace_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3137 #define IEventServerTrace_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3138 #define IEventServerTrace_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3139 #define IEventServerTrace_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3140 #define IEventServerTrace_StartTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter) (This)->lpVtbl->StartTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
   3141 #define IEventServerTrace_StopTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter) (This)->lpVtbl->StopTraceGuid(This,bstrguidEvent,bstrguidFilter,lPidFilter)
   3142 #define IEventServerTrace_EnumTraceGuid(This,plCntGuids,pbstrGuidList) (This)->lpVtbl->EnumTraceGuid(This,plCntGuids,pbstrGuidList)
   3143 #endif
   3144 #endif
   3145   HRESULT WINAPI IEventServerTrace_StartTraceGuid_Proxy(IEventServerTrace *This,BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter);
   3146   void __RPC_STUB IEventServerTrace_StartTraceGuid_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3147   HRESULT WINAPI IEventServerTrace_StopTraceGuid_Proxy(IEventServerTrace *This,BSTR bstrguidEvent,BSTR bstrguidFilter,LONG lPidFilter);
   3148   void __RPC_STUB IEventServerTrace_StopTraceGuid_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3149   HRESULT WINAPI IEventServerTrace_EnumTraceGuid_Proxy(IEventServerTrace *This,LONG *plCntGuids,BSTR *pbstrGuidList);
   3150   void __RPC_STUB IEventServerTrace_EnumTraceGuid_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3151 #endif
   3152 
   3153   typedef struct _RECYCLE_INFO {
   3154     GUID guidCombaseProcessIdentifier;
   3155     LONGLONG ProcessStartTime;
   3156     DWORD dwRecycleLifetimeLimit;
   3157     DWORD dwRecycleMemoryLimit;
   3158     DWORD dwRecycleExpirationTimeout;
   3159   } RECYCLE_INFO;
   3160 
   3161   typedef enum tagCOMPLUS_APPTYPE {
   3162     APPTYPE_UNKNOWN = 0xffffffff,APPTYPE_SERVER = 1,APPTYPE_LIBRARY = 0,APPTYPE_SWC = 2
   3163   } COMPLUS_APPTYPE;
   3164 
   3165 #define TRACKER_STARTSTOP_EVENT L"Global\\COM+ Tracker Push Event"
   3166 #define TRACKER_INIT_EVENT L"Global\\COM+ Tracker Init Event"
   3167 
   3168 #ifndef GUID_STRING_SIZE
   3169 #define GUID_STRING_SIZE 40
   3170 #endif
   3171   typedef struct CAppStatistics {
   3172     DWORD m_cTotalCalls;
   3173     DWORD m_cTotalInstances;
   3174     DWORD m_cTotalClasses;
   3175     DWORD m_cCallsPerSecond;
   3176   } APPSTATISTICS;
   3177 
   3178   typedef struct CAppData {
   3179     DWORD m_idApp;
   3180     WCHAR m_szAppGuid[40];
   3181     DWORD m_dwAppProcessId;
   3182     APPSTATISTICS m_AppStatistics;
   3183   } APPDATA;
   3184 
   3185   typedef struct CCLSIDData {
   3186     CLSID m_clsid;
   3187     DWORD m_cReferences;
   3188     DWORD m_cBound;
   3189     DWORD m_cPooled;
   3190     DWORD m_cInCall;
   3191     DWORD m_dwRespTime;
   3192     DWORD m_cCallsCompleted;
   3193     DWORD m_cCallsFailed;
   3194   } CLSIDDATA;
   3195 
   3196   typedef struct CCLSIDData2 {
   3197     CLSID m_clsid;
   3198     GUID m_appid;
   3199     GUID m_partid;
   3200     WCHAR *m_pwszAppName;
   3201     WCHAR *m_pwszCtxName;
   3202     COMPLUS_APPTYPE m_eAppType;
   3203     DWORD m_cReferences;
   3204     DWORD m_cBound;
   3205     DWORD m_cPooled;
   3206     DWORD m_cInCall;
   3207     DWORD m_dwRespTime;
   3208     DWORD m_cCallsCompleted;
   3209     DWORD m_cCallsFailed;
   3210   } CLSIDDATA2;
   3211 
   3212   typedef DWORD_PTR RESTYPID;
   3213   typedef DWORD_PTR RESID;
   3214   typedef LPOLESTR SRESID;
   3215   typedef LPCOLESTR constSRESID;
   3216   typedef DWORD RESOURCERATING;
   3217   typedef __LONG32 TIMEINSECS;
   3218   typedef DWORD_PTR INSTID;
   3219   typedef DWORD_PTR TRANSID;
   3220 
   3221 #define MTXDM_E_ENLISTRESOURCEFAILED 0x8004E100
   3222 
   3223   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0342_v0_0_c_ifspec;
   3224   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0342_v0_0_s_ifspec;
   3225 
   3226 #ifndef __IDispenserManager_INTERFACE_DEFINED__
   3227 #define __IDispenserManager_INTERFACE_DEFINED__
   3228   EXTERN_C const IID IID_IDispenserManager;
   3229 #if defined(__cplusplus) && !defined(CINTERFACE)
   3230   struct IDispenserManager : public IUnknown {
   3231   public:
   3232     virtual HRESULT WINAPI RegisterDispenser(IDispenserDriver *__MIDL_0014,LPCOLESTR szDispenserName,IHolder **__MIDL_0015) = 0;
   3233     virtual HRESULT WINAPI GetContext(INSTID *__MIDL_0016,TRANSID *__MIDL_0017) = 0;
   3234   };
   3235 #else
   3236   typedef struct IDispenserManagerVtbl {
   3237     BEGIN_INTERFACE
   3238       HRESULT (WINAPI *QueryInterface)(IDispenserManager *This,REFIID riid,void **ppvObject);
   3239       ULONG (WINAPI *AddRef)(IDispenserManager *This);
   3240       ULONG (WINAPI *Release)(IDispenserManager *This);
   3241       HRESULT (WINAPI *RegisterDispenser)(IDispenserManager *This,IDispenserDriver *__MIDL_0014,LPCOLESTR szDispenserName,IHolder **__MIDL_0015);
   3242       HRESULT (WINAPI *GetContext)(IDispenserManager *This,INSTID *__MIDL_0016,TRANSID *__MIDL_0017);
   3243     END_INTERFACE
   3244   } IDispenserManagerVtbl;
   3245   struct IDispenserManager {
   3246     CONST_VTBL struct IDispenserManagerVtbl *lpVtbl;
   3247   };
   3248 #ifdef COBJMACROS
   3249 #define IDispenserManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3250 #define IDispenserManager_AddRef(This) (This)->lpVtbl->AddRef(This)
   3251 #define IDispenserManager_Release(This) (This)->lpVtbl->Release(This)
   3252 #define IDispenserManager_RegisterDispenser(This,__MIDL_0014,szDispenserName,__MIDL_0015) (This)->lpVtbl->RegisterDispenser(This,__MIDL_0014,szDispenserName,__MIDL_0015)
   3253 #define IDispenserManager_GetContext(This,__MIDL_0016,__MIDL_0017) (This)->lpVtbl->GetContext(This,__MIDL_0016,__MIDL_0017)
   3254 #endif
   3255 #endif
   3256   HRESULT WINAPI IDispenserManager_RegisterDispenser_Proxy(IDispenserManager *This,IDispenserDriver *__MIDL_0014,LPCOLESTR szDispenserName,IHolder **__MIDL_0015);
   3257   void __RPC_STUB IDispenserManager_RegisterDispenser_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3258   HRESULT WINAPI IDispenserManager_GetContext_Proxy(IDispenserManager *This,INSTID *__MIDL_0016,TRANSID *__MIDL_0017);
   3259   void __RPC_STUB IDispenserManager_GetContext_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3260 #endif
   3261 
   3262   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0347_v0_0_c_ifspec;
   3263   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0347_v0_0_s_ifspec;
   3264 
   3265 #ifndef __IHolder_INTERFACE_DEFINED__
   3266 #define __IHolder_INTERFACE_DEFINED__
   3267   EXTERN_C const IID IID_IHolder;
   3268 #if defined(__cplusplus) && !defined(CINTERFACE)
   3269   struct IHolder : public IUnknown {
   3270   public:
   3271     virtual HRESULT WINAPI AllocResource(const RESTYPID __MIDL_0018,RESID *__MIDL_0019) = 0;
   3272     virtual HRESULT WINAPI FreeResource(const RESID __MIDL_0020) = 0;
   3273     virtual HRESULT WINAPI TrackResource(const RESID __MIDL_0021) = 0;
   3274     virtual HRESULT WINAPI TrackResourceS(constSRESID __MIDL_0022) = 0;
   3275     virtual HRESULT WINAPI UntrackResource(const RESID __MIDL_0023,const WINBOOL __MIDL_0024) = 0;
   3276     virtual HRESULT WINAPI UntrackResourceS(constSRESID __MIDL_0025,const WINBOOL __MIDL_0026) = 0;
   3277     virtual HRESULT WINAPI Close(void) = 0;
   3278     virtual HRESULT WINAPI RequestDestroyResource(const RESID __MIDL_0027) = 0;
   3279   };
   3280 #else
   3281   typedef struct IHolderVtbl {
   3282     BEGIN_INTERFACE
   3283       HRESULT (WINAPI *QueryInterface)(IHolder *This,REFIID riid,void **ppvObject);
   3284       ULONG (WINAPI *AddRef)(IHolder *This);
   3285       ULONG (WINAPI *Release)(IHolder *This);
   3286       HRESULT (WINAPI *AllocResource)(IHolder *This,const RESTYPID __MIDL_0018,RESID *__MIDL_0019);
   3287       HRESULT (WINAPI *FreeResource)(IHolder *This,const RESID __MIDL_0020);
   3288       HRESULT (WINAPI *TrackResource)(IHolder *This,const RESID __MIDL_0021);
   3289       HRESULT (WINAPI *TrackResourceS)(IHolder *This,constSRESID __MIDL_0022);
   3290       HRESULT (WINAPI *UntrackResource)(IHolder *This,const RESID __MIDL_0023,const WINBOOL __MIDL_0024);
   3291       HRESULT (WINAPI *UntrackResourceS)(IHolder *This,constSRESID __MIDL_0025,const WINBOOL __MIDL_0026);
   3292       HRESULT (WINAPI *Close)(IHolder *This);
   3293       HRESULT (WINAPI *RequestDestroyResource)(IHolder *This,const RESID __MIDL_0027);
   3294     END_INTERFACE
   3295   } IHolderVtbl;
   3296   struct IHolder {
   3297     CONST_VTBL struct IHolderVtbl *lpVtbl;
   3298   };
   3299 #ifdef COBJMACROS
   3300 #define IHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3301 #define IHolder_AddRef(This) (This)->lpVtbl->AddRef(This)
   3302 #define IHolder_Release(This) (This)->lpVtbl->Release(This)
   3303 #define IHolder_AllocResource(This,__MIDL_0018,__MIDL_0019) (This)->lpVtbl->AllocResource(This,__MIDL_0018,__MIDL_0019)
   3304 #define IHolder_FreeResource(This,__MIDL_0020) (This)->lpVtbl->FreeResource(This,__MIDL_0020)
   3305 #define IHolder_TrackResource(This,__MIDL_0021) (This)->lpVtbl->TrackResource(This,__MIDL_0021)
   3306 #define IHolder_TrackResourceS(This,__MIDL_0022) (This)->lpVtbl->TrackResourceS(This,__MIDL_0022)
   3307 #define IHolder_UntrackResource(This,__MIDL_0023,__MIDL_0024) (This)->lpVtbl->UntrackResource(This,__MIDL_0023,__MIDL_0024)
   3308 #define IHolder_UntrackResourceS(This,__MIDL_0025,__MIDL_0026) (This)->lpVtbl->UntrackResourceS(This,__MIDL_0025,__MIDL_0026)
   3309 #define IHolder_Close(This) (This)->lpVtbl->Close(This)
   3310 #define IHolder_RequestDestroyResource(This,__MIDL_0027) (This)->lpVtbl->RequestDestroyResource(This,__MIDL_0027)
   3311 #endif
   3312 #endif
   3313   HRESULT WINAPI IHolder_AllocResource_Proxy(IHolder *This,const RESTYPID __MIDL_0018,RESID *__MIDL_0019);
   3314   void __RPC_STUB IHolder_AllocResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3315   HRESULT WINAPI IHolder_FreeResource_Proxy(IHolder *This,const RESID __MIDL_0020);
   3316   void __RPC_STUB IHolder_FreeResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3317   HRESULT WINAPI IHolder_TrackResource_Proxy(IHolder *This,const RESID __MIDL_0021);
   3318   void __RPC_STUB IHolder_TrackResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3319   HRESULT WINAPI IHolder_TrackResourceS_Proxy(IHolder *This,constSRESID __MIDL_0022);
   3320   void __RPC_STUB IHolder_TrackResourceS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3321   HRESULT WINAPI IHolder_UntrackResource_Proxy(IHolder *This,const RESID __MIDL_0023,const WINBOOL __MIDL_0024);
   3322   void __RPC_STUB IHolder_UntrackResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3323   HRESULT WINAPI IHolder_UntrackResourceS_Proxy(IHolder *This,constSRESID __MIDL_0025,const WINBOOL __MIDL_0026);
   3324   void __RPC_STUB IHolder_UntrackResourceS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3325   HRESULT WINAPI IHolder_Close_Proxy(IHolder *This);
   3326   void __RPC_STUB IHolder_Close_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3327   HRESULT WINAPI IHolder_RequestDestroyResource_Proxy(IHolder *This,const RESID __MIDL_0027);
   3328   void __RPC_STUB IHolder_RequestDestroyResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3329 #endif
   3330 
   3331   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0348_v0_0_c_ifspec;
   3332   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0348_v0_0_s_ifspec;
   3333 
   3334 #ifndef __IDispenserDriver_INTERFACE_DEFINED__
   3335 #define __IDispenserDriver_INTERFACE_DEFINED__
   3336   EXTERN_C const IID IID_IDispenserDriver;
   3337 #if defined(__cplusplus) && !defined(CINTERFACE)
   3338   struct IDispenserDriver : public IUnknown {
   3339   public:
   3340     virtual HRESULT WINAPI CreateResource(const RESTYPID ResTypId,RESID *pResId,TIMEINSECS *pSecsFreeBeforeDestroy) = 0;
   3341     virtual HRESULT WINAPI RateResource(const RESTYPID ResTypId,const RESID ResId,const WINBOOL fRequiresTransactionEnlistment,RESOURCERATING *pRating) = 0;
   3342     virtual HRESULT WINAPI EnlistResource(const RESID ResId,const TRANSID TransId) = 0;
   3343     virtual HRESULT WINAPI ResetResource(const RESID ResId) = 0;
   3344     virtual HRESULT WINAPI DestroyResource(const RESID ResId) = 0;
   3345     virtual HRESULT WINAPI DestroyResourceS(constSRESID ResId) = 0;
   3346   };
   3347 #else
   3348   typedef struct IDispenserDriverVtbl {
   3349     BEGIN_INTERFACE
   3350       HRESULT (WINAPI *QueryInterface)(IDispenserDriver *This,REFIID riid,void **ppvObject);
   3351       ULONG (WINAPI *AddRef)(IDispenserDriver *This);
   3352       ULONG (WINAPI *Release)(IDispenserDriver *This);
   3353       HRESULT (WINAPI *CreateResource)(IDispenserDriver *This,const RESTYPID ResTypId,RESID *pResId,TIMEINSECS *pSecsFreeBeforeDestroy);
   3354       HRESULT (WINAPI *RateResource)(IDispenserDriver *This,const RESTYPID ResTypId,const RESID ResId,const WINBOOL fRequiresTransactionEnlistment,RESOURCERATING *pRating);
   3355       HRESULT (WINAPI *EnlistResource)(IDispenserDriver *This,const RESID ResId,const TRANSID TransId);
   3356       HRESULT (WINAPI *ResetResource)(IDispenserDriver *This,const RESID ResId);
   3357       HRESULT (WINAPI *DestroyResource)(IDispenserDriver *This,const RESID ResId);
   3358       HRESULT (WINAPI *DestroyResourceS)(IDispenserDriver *This,constSRESID ResId);
   3359     END_INTERFACE
   3360   } IDispenserDriverVtbl;
   3361   struct IDispenserDriver {
   3362     CONST_VTBL struct IDispenserDriverVtbl *lpVtbl;
   3363   };
   3364 #ifdef COBJMACROS
   3365 #define IDispenserDriver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3366 #define IDispenserDriver_AddRef(This) (This)->lpVtbl->AddRef(This)
   3367 #define IDispenserDriver_Release(This) (This)->lpVtbl->Release(This)
   3368 #define IDispenserDriver_CreateResource(This,ResTypId,pResId,pSecsFreeBeforeDestroy) (This)->lpVtbl->CreateResource(This,ResTypId,pResId,pSecsFreeBeforeDestroy)
   3369 #define IDispenserDriver_RateResource(This,ResTypId,ResId,fRequiresTransactionEnlistment,pRating) (This)->lpVtbl->RateResource(This,ResTypId,ResId,fRequiresTransactionEnlistment,pRating)
   3370 #define IDispenserDriver_EnlistResource(This,ResId,TransId) (This)->lpVtbl->EnlistResource(This,ResId,TransId)
   3371 #define IDispenserDriver_ResetResource(This,ResId) (This)->lpVtbl->ResetResource(This,ResId)
   3372 #define IDispenserDriver_DestroyResource(This,ResId) (This)->lpVtbl->DestroyResource(This,ResId)
   3373 #define IDispenserDriver_DestroyResourceS(This,ResId) (This)->lpVtbl->DestroyResourceS(This,ResId)
   3374 #endif
   3375 #endif
   3376   HRESULT WINAPI IDispenserDriver_CreateResource_Proxy(IDispenserDriver *This,const RESTYPID ResTypId,RESID *pResId,TIMEINSECS *pSecsFreeBeforeDestroy);
   3377   void __RPC_STUB IDispenserDriver_CreateResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3378   HRESULT WINAPI IDispenserDriver_RateResource_Proxy(IDispenserDriver *This,const RESTYPID ResTypId,const RESID ResId,const WINBOOL fRequiresTransactionEnlistment,RESOURCERATING *pRating);
   3379   void __RPC_STUB IDispenserDriver_RateResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3380   HRESULT WINAPI IDispenserDriver_EnlistResource_Proxy(IDispenserDriver *This,const RESID ResId,const TRANSID TransId);
   3381   void __RPC_STUB IDispenserDriver_EnlistResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3382   HRESULT WINAPI IDispenserDriver_ResetResource_Proxy(IDispenserDriver *This,const RESID ResId);
   3383   void __RPC_STUB IDispenserDriver_ResetResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3384   HRESULT WINAPI IDispenserDriver_DestroyResource_Proxy(IDispenserDriver *This,const RESID ResId);
   3385   void __RPC_STUB IDispenserDriver_DestroyResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3386   HRESULT WINAPI IDispenserDriver_DestroyResourceS_Proxy(IDispenserDriver *This,constSRESID ResId);
   3387   void __RPC_STUB IDispenserDriver_DestroyResourceS_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3388 #endif
   3389 
   3390 #if defined(USE_UUIDOF_FOR_IID_) && USE___UUIDOF != 0
   3391 #define IID_IHolder __uuidof(IIHolder)
   3392 #define IID_IDispenserManager __uuidof(IDispenserManager)
   3393 #define IID_IDispenserDriver __uuidof(IDispenserDriver)
   3394 #endif
   3395 
   3396 #define CRR_NO_REASON_SUPPLIED 0x00000000
   3397 #define CRR_LIFETIME_LIMIT 0xFFFFFFFF
   3398 #define CRR_ACTIVATION_LIMIT 0xFFFFFFFE
   3399 #define CRR_CALL_LIMIT 0xFFFFFFFD
   3400 #define CRR_MEMORY_LIMIT 0xFFFFFFFC
   3401 #define CRR_RECYCLED_FROM_UI 0xFFFFFFFB
   3402 
   3403   EXTERN_C const CLSID CLSID_MTSPackage;
   3404   EXTERN_C const GUID GUID_DefaultAppPartition;
   3405   EXTERN_C const GUID GUID_FinalizerCID;
   3406   EXTERN_C const GUID IID_IEnterActivityWithNoLock;
   3407 
   3408   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0349_v0_0_c_ifspec;
   3409   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0349_v0_0_s_ifspec;
   3410 
   3411 #ifndef __IObjectContext_INTERFACE_DEFINED__
   3412 #define __IObjectContext_INTERFACE_DEFINED__
   3413   EXTERN_C const IID IID_IObjectContext;
   3414 #if defined(__cplusplus) && !defined(CINTERFACE)
   3415   struct IObjectContext : public IUnknown {
   3416   public:
   3417     virtual HRESULT WINAPI CreateInstance(REFCLSID rclsid,REFIID riid,LPVOID *ppv) = 0;
   3418     virtual HRESULT WINAPI SetComplete(void) = 0;
   3419     virtual HRESULT WINAPI SetAbort(void) = 0;
   3420     virtual HRESULT WINAPI EnableCommit(void) = 0;
   3421     virtual HRESULT WINAPI DisableCommit(void) = 0;
   3422     virtual WINBOOL WINAPI IsInTransaction(void) = 0;
   3423     virtual WINBOOL WINAPI IsSecurityEnabled(void) = 0;
   3424     virtual HRESULT WINAPI IsCallerInRole(BSTR bstrRole,WINBOOL *pfIsInRole) = 0;
   3425   };
   3426 #else
   3427   typedef struct IObjectContextVtbl {
   3428     BEGIN_INTERFACE
   3429       HRESULT (WINAPI *QueryInterface)(IObjectContext *This,REFIID riid,void **ppvObject);
   3430       ULONG (WINAPI *AddRef)(IObjectContext *This);
   3431       ULONG (WINAPI *Release)(IObjectContext *This);
   3432       HRESULT (WINAPI *CreateInstance)(IObjectContext *This,REFCLSID rclsid,REFIID riid,LPVOID *ppv);
   3433       HRESULT (WINAPI *SetComplete)(IObjectContext *This);
   3434       HRESULT (WINAPI *SetAbort)(IObjectContext *This);
   3435       HRESULT (WINAPI *EnableCommit)(IObjectContext *This);
   3436       HRESULT (WINAPI *DisableCommit)(IObjectContext *This);
   3437       WINBOOL (WINAPI *IsInTransaction)(IObjectContext *This);
   3438       WINBOOL (WINAPI *IsSecurityEnabled)(IObjectContext *This);
   3439       HRESULT (WINAPI *IsCallerInRole)(IObjectContext *This,BSTR bstrRole,WINBOOL *pfIsInRole);
   3440     END_INTERFACE
   3441   } IObjectContextVtbl;
   3442   struct IObjectContext {
   3443     CONST_VTBL struct IObjectContextVtbl *lpVtbl;
   3444   };
   3445 #ifdef COBJMACROS
   3446 #define IObjectContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3447 #define IObjectContext_AddRef(This) (This)->lpVtbl->AddRef(This)
   3448 #define IObjectContext_Release(This) (This)->lpVtbl->Release(This)
   3449 #define IObjectContext_CreateInstance(This,rclsid,riid,ppv) (This)->lpVtbl->CreateInstance(This,rclsid,riid,ppv)
   3450 #define IObjectContext_SetComplete(This) (This)->lpVtbl->SetComplete(This)
   3451 #define IObjectContext_SetAbort(This) (This)->lpVtbl->SetAbort(This)
   3452 #define IObjectContext_EnableCommit(This) (This)->lpVtbl->EnableCommit(This)
   3453 #define IObjectContext_DisableCommit(This) (This)->lpVtbl->DisableCommit(This)
   3454 #define IObjectContext_IsInTransaction(This) (This)->lpVtbl->IsInTransaction(This)
   3455 #define IObjectContext_IsSecurityEnabled(This) (This)->lpVtbl->IsSecurityEnabled(This)
   3456 #define IObjectContext_IsCallerInRole(This,bstrRole,pfIsInRole) (This)->lpVtbl->IsCallerInRole(This,bstrRole,pfIsInRole)
   3457 #endif
   3458 #endif
   3459   HRESULT WINAPI IObjectContext_CreateInstance_Proxy(IObjectContext *This,REFCLSID rclsid,REFIID riid,LPVOID *ppv);
   3460   void __RPC_STUB IObjectContext_CreateInstance_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3461   HRESULT WINAPI IObjectContext_SetComplete_Proxy(IObjectContext *This);
   3462   void __RPC_STUB IObjectContext_SetComplete_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3463   HRESULT WINAPI IObjectContext_SetAbort_Proxy(IObjectContext *This);
   3464   void __RPC_STUB IObjectContext_SetAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3465   HRESULT WINAPI IObjectContext_EnableCommit_Proxy(IObjectContext *This);
   3466   void __RPC_STUB IObjectContext_EnableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3467   HRESULT WINAPI IObjectContext_DisableCommit_Proxy(IObjectContext *This);
   3468   void __RPC_STUB IObjectContext_DisableCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3469   WINBOOL WINAPI IObjectContext_IsInTransaction_Proxy(IObjectContext *This);
   3470   void __RPC_STUB IObjectContext_IsInTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3471   WINBOOL WINAPI IObjectContext_IsSecurityEnabled_Proxy(IObjectContext *This);
   3472   void __RPC_STUB IObjectContext_IsSecurityEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3473   HRESULT WINAPI IObjectContext_IsCallerInRole_Proxy(IObjectContext *This,BSTR bstrRole,WINBOOL *pfIsInRole);
   3474   void __RPC_STUB IObjectContext_IsCallerInRole_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3475 #endif
   3476 
   3477 #ifndef __IObjectControl_INTERFACE_DEFINED__
   3478 #define __IObjectControl_INTERFACE_DEFINED__
   3479   EXTERN_C const IID IID_IObjectControl;
   3480 #if defined(__cplusplus) && !defined(CINTERFACE)
   3481   struct IObjectControl : public IUnknown {
   3482   public:
   3483     virtual HRESULT WINAPI Activate(void) = 0;
   3484     virtual void WINAPI Deactivate(void) = 0;
   3485     virtual WINBOOL WINAPI CanBePooled(void) = 0;
   3486   };
   3487 #else
   3488   typedef struct IObjectControlVtbl {
   3489     BEGIN_INTERFACE
   3490       HRESULT (WINAPI *QueryInterface)(IObjectControl *This,REFIID riid,void **ppvObject);
   3491       ULONG (WINAPI *AddRef)(IObjectControl *This);
   3492       ULONG (WINAPI *Release)(IObjectControl *This);
   3493       HRESULT (WINAPI *Activate)(IObjectControl *This);
   3494       void (WINAPI *Deactivate)(IObjectControl *This);
   3495       WINBOOL (WINAPI *CanBePooled)(IObjectControl *This);
   3496     END_INTERFACE
   3497   } IObjectControlVtbl;
   3498   struct IObjectControl {
   3499     CONST_VTBL struct IObjectControlVtbl *lpVtbl;
   3500   };
   3501 #ifdef COBJMACROS
   3502 #define IObjectControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3503 #define IObjectControl_AddRef(This) (This)->lpVtbl->AddRef(This)
   3504 #define IObjectControl_Release(This) (This)->lpVtbl->Release(This)
   3505 #define IObjectControl_Activate(This) (This)->lpVtbl->Activate(This)
   3506 #define IObjectControl_Deactivate(This) (This)->lpVtbl->Deactivate(This)
   3507 #define IObjectControl_CanBePooled(This) (This)->lpVtbl->CanBePooled(This)
   3508 #endif
   3509 #endif
   3510   HRESULT WINAPI IObjectControl_Activate_Proxy(IObjectControl *This);
   3511   void __RPC_STUB IObjectControl_Activate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3512   void WINAPI IObjectControl_Deactivate_Proxy(IObjectControl *This);
   3513   void __RPC_STUB IObjectControl_Deactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3514   WINBOOL WINAPI IObjectControl_CanBePooled_Proxy(IObjectControl *This);
   3515   void __RPC_STUB IObjectControl_CanBePooled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3516 #endif
   3517 
   3518 #ifndef __IEnumNames_INTERFACE_DEFINED__
   3519 #define __IEnumNames_INTERFACE_DEFINED__
   3520   EXTERN_C const IID IID_IEnumNames;
   3521 #if defined(__cplusplus) && !defined(CINTERFACE)
   3522   struct IEnumNames : public IUnknown {
   3523   public:
   3524     virtual HRESULT WINAPI Next(unsigned __LONG32 celt,BSTR *rgname,unsigned __LONG32 *pceltFetched) = 0;
   3525     virtual HRESULT WINAPI Skip(unsigned __LONG32 celt) = 0;
   3526     virtual HRESULT WINAPI Reset(void) = 0;
   3527     virtual HRESULT WINAPI Clone(IEnumNames **ppenum) = 0;
   3528   };
   3529 #else
   3530   typedef struct IEnumNamesVtbl {
   3531     BEGIN_INTERFACE
   3532       HRESULT (WINAPI *QueryInterface)(IEnumNames *This,REFIID riid,void **ppvObject);
   3533       ULONG (WINAPI *AddRef)(IEnumNames *This);
   3534       ULONG (WINAPI *Release)(IEnumNames *This);
   3535       HRESULT (WINAPI *Next)(IEnumNames *This,unsigned __LONG32 celt,BSTR *rgname,unsigned __LONG32 *pceltFetched);
   3536       HRESULT (WINAPI *Skip)(IEnumNames *This,unsigned __LONG32 celt);
   3537       HRESULT (WINAPI *Reset)(IEnumNames *This);
   3538       HRESULT (WINAPI *Clone)(IEnumNames *This,IEnumNames **ppenum);
   3539     END_INTERFACE
   3540   } IEnumNamesVtbl;
   3541   struct IEnumNames {
   3542     CONST_VTBL struct IEnumNamesVtbl *lpVtbl;
   3543   };
   3544 #ifdef COBJMACROS
   3545 #define IEnumNames_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3546 #define IEnumNames_AddRef(This) (This)->lpVtbl->AddRef(This)
   3547 #define IEnumNames_Release(This) (This)->lpVtbl->Release(This)
   3548 #define IEnumNames_Next(This,celt,rgname,pceltFetched) (This)->lpVtbl->Next(This,celt,rgname,pceltFetched)
   3549 #define IEnumNames_Skip(This,celt) (This)->lpVtbl->Skip(This,celt)
   3550 #define IEnumNames_Reset(This) (This)->lpVtbl->Reset(This)
   3551 #define IEnumNames_Clone(This,ppenum) (This)->lpVtbl->Clone(This,ppenum)
   3552 #endif
   3553 #endif
   3554   HRESULT WINAPI IEnumNames_Next_Proxy(IEnumNames *This,unsigned __LONG32 celt,BSTR *rgname,unsigned __LONG32 *pceltFetched);
   3555   void __RPC_STUB IEnumNames_Next_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3556   HRESULT WINAPI IEnumNames_Skip_Proxy(IEnumNames *This,unsigned __LONG32 celt);
   3557   void __RPC_STUB IEnumNames_Skip_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3558   HRESULT WINAPI IEnumNames_Reset_Proxy(IEnumNames *This);
   3559   void __RPC_STUB IEnumNames_Reset_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3560   HRESULT WINAPI IEnumNames_Clone_Proxy(IEnumNames *This,IEnumNames **ppenum);
   3561   void __RPC_STUB IEnumNames_Clone_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3562 #endif
   3563 
   3564 #ifndef __ISecurityProperty_INTERFACE_DEFINED__
   3565 #define __ISecurityProperty_INTERFACE_DEFINED__
   3566   EXTERN_C const IID IID_ISecurityProperty;
   3567 #if defined(__cplusplus) && !defined(CINTERFACE)
   3568   struct ISecurityProperty : public IUnknown {
   3569   public:
   3570     virtual HRESULT WINAPI GetDirectCreatorSID(PSID *pSID) = 0;
   3571     virtual HRESULT WINAPI GetOriginalCreatorSID(PSID *pSID) = 0;
   3572     virtual HRESULT WINAPI GetDirectCallerSID(PSID *pSID) = 0;
   3573     virtual HRESULT WINAPI GetOriginalCallerSID(PSID *pSID) = 0;
   3574     virtual HRESULT WINAPI ReleaseSID(PSID pSID) = 0;
   3575   };
   3576 #else
   3577   typedef struct ISecurityPropertyVtbl {
   3578     BEGIN_INTERFACE
   3579       HRESULT (WINAPI *QueryInterface)(ISecurityProperty *This,REFIID riid,void **ppvObject);
   3580       ULONG (WINAPI *AddRef)(ISecurityProperty *This);
   3581       ULONG (WINAPI *Release)(ISecurityProperty *This);
   3582       HRESULT (WINAPI *GetDirectCreatorSID)(ISecurityProperty *This,PSID *pSID);
   3583       HRESULT (WINAPI *GetOriginalCreatorSID)(ISecurityProperty *This,PSID *pSID);
   3584       HRESULT (WINAPI *GetDirectCallerSID)(ISecurityProperty *This,PSID *pSID);
   3585       HRESULT (WINAPI *GetOriginalCallerSID)(ISecurityProperty *This,PSID *pSID);
   3586       HRESULT (WINAPI *ReleaseSID)(ISecurityProperty *This,PSID pSID);
   3587     END_INTERFACE
   3588   } ISecurityPropertyVtbl;
   3589   struct ISecurityProperty {
   3590     CONST_VTBL struct ISecurityPropertyVtbl *lpVtbl;
   3591   };
   3592 #ifdef COBJMACROS
   3593 #define ISecurityProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3594 #define ISecurityProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   3595 #define ISecurityProperty_Release(This) (This)->lpVtbl->Release(This)
   3596 #define ISecurityProperty_GetDirectCreatorSID(This,pSID) (This)->lpVtbl->GetDirectCreatorSID(This,pSID)
   3597 #define ISecurityProperty_GetOriginalCreatorSID(This,pSID) (This)->lpVtbl->GetOriginalCreatorSID(This,pSID)
   3598 #define ISecurityProperty_GetDirectCallerSID(This,pSID) (This)->lpVtbl->GetDirectCallerSID(This,pSID)
   3599 #define ISecurityProperty_GetOriginalCallerSID(This,pSID) (This)->lpVtbl->GetOriginalCallerSID(This,pSID)
   3600 #define ISecurityProperty_ReleaseSID(This,pSID) (This)->lpVtbl->ReleaseSID(This,pSID)
   3601 #endif
   3602 #endif
   3603   HRESULT WINAPI ISecurityProperty_GetDirectCreatorSID_Proxy(ISecurityProperty *This,PSID *pSID);
   3604   void __RPC_STUB ISecurityProperty_GetDirectCreatorSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3605   HRESULT WINAPI ISecurityProperty_GetOriginalCreatorSID_Proxy(ISecurityProperty *This,PSID *pSID);
   3606   void __RPC_STUB ISecurityProperty_GetOriginalCreatorSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3607   HRESULT WINAPI ISecurityProperty_GetDirectCallerSID_Proxy(ISecurityProperty *This,PSID *pSID);
   3608   void __RPC_STUB ISecurityProperty_GetDirectCallerSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3609   HRESULT WINAPI ISecurityProperty_GetOriginalCallerSID_Proxy(ISecurityProperty *This,PSID *pSID);
   3610   void __RPC_STUB ISecurityProperty_GetOriginalCallerSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3611   HRESULT WINAPI ISecurityProperty_ReleaseSID_Proxy(ISecurityProperty *This,PSID pSID);
   3612   void __RPC_STUB ISecurityProperty_ReleaseSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3613 #endif
   3614 
   3615 #ifndef __ObjectControl_INTERFACE_DEFINED__
   3616 #define __ObjectControl_INTERFACE_DEFINED__
   3617   EXTERN_C const IID IID_ObjectControl;
   3618 #if defined(__cplusplus) && !defined(CINTERFACE)
   3619   struct ObjectControl : public IUnknown {
   3620   public:
   3621     virtual HRESULT WINAPI Activate(void) = 0;
   3622     virtual HRESULT WINAPI Deactivate(void) = 0;
   3623     virtual HRESULT WINAPI CanBePooled(VARIANT_BOOL *pbPoolable) = 0;
   3624   };
   3625 #else
   3626   typedef struct ObjectControlVtbl {
   3627     BEGIN_INTERFACE
   3628       HRESULT (WINAPI *QueryInterface)(ObjectControl *This,REFIID riid,void **ppvObject);
   3629       ULONG (WINAPI *AddRef)(ObjectControl *This);
   3630       ULONG (WINAPI *Release)(ObjectControl *This);
   3631       HRESULT (WINAPI *Activate)(ObjectControl *This);
   3632       HRESULT (WINAPI *Deactivate)(ObjectControl *This);
   3633       HRESULT (WINAPI *CanBePooled)(ObjectControl *This,VARIANT_BOOL *pbPoolable);
   3634     END_INTERFACE
   3635   } ObjectControlVtbl;
   3636   struct ObjectControl {
   3637     CONST_VTBL struct ObjectControlVtbl *lpVtbl;
   3638   };
   3639 #ifdef COBJMACROS
   3640 #define ObjectControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3641 #define ObjectControl_AddRef(This) (This)->lpVtbl->AddRef(This)
   3642 #define ObjectControl_Release(This) (This)->lpVtbl->Release(This)
   3643 #define ObjectControl_Activate(This) (This)->lpVtbl->Activate(This)
   3644 #define ObjectControl_Deactivate(This) (This)->lpVtbl->Deactivate(This)
   3645 #define ObjectControl_CanBePooled(This,pbPoolable) (This)->lpVtbl->CanBePooled(This,pbPoolable)
   3646 #endif
   3647 #endif
   3648   HRESULT WINAPI ObjectControl_Activate_Proxy(ObjectControl *This);
   3649   void __RPC_STUB ObjectControl_Activate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3650   HRESULT WINAPI ObjectControl_Deactivate_Proxy(ObjectControl *This);
   3651   void __RPC_STUB ObjectControl_Deactivate_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3652   HRESULT WINAPI ObjectControl_CanBePooled_Proxy(ObjectControl *This,VARIANT_BOOL *pbPoolable);
   3653   void __RPC_STUB ObjectControl_CanBePooled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3654 #endif
   3655 
   3656 #ifndef __ISharedProperty_INTERFACE_DEFINED__
   3657 #define __ISharedProperty_INTERFACE_DEFINED__
   3658   EXTERN_C const IID IID_ISharedProperty;
   3659 #if defined(__cplusplus) && !defined(CINTERFACE)
   3660   struct ISharedProperty : public IDispatch {
   3661   public:
   3662     virtual HRESULT WINAPI get_Value(VARIANT *pVal) = 0;
   3663     virtual HRESULT WINAPI put_Value(VARIANT val) = 0;
   3664   };
   3665 #else
   3666   typedef struct ISharedPropertyVtbl {
   3667     BEGIN_INTERFACE
   3668       HRESULT (WINAPI *QueryInterface)(ISharedProperty *This,REFIID riid,void **ppvObject);
   3669       ULONG (WINAPI *AddRef)(ISharedProperty *This);
   3670       ULONG (WINAPI *Release)(ISharedProperty *This);
   3671       HRESULT (WINAPI *GetTypeInfoCount)(ISharedProperty *This,UINT *pctinfo);
   3672       HRESULT (WINAPI *GetTypeInfo)(ISharedProperty *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3673       HRESULT (WINAPI *GetIDsOfNames)(ISharedProperty *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3674       HRESULT (WINAPI *Invoke)(ISharedProperty *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3675       HRESULT (WINAPI *get_Value)(ISharedProperty *This,VARIANT *pVal);
   3676       HRESULT (WINAPI *put_Value)(ISharedProperty *This,VARIANT val);
   3677     END_INTERFACE
   3678   } ISharedPropertyVtbl;
   3679   struct ISharedProperty {
   3680     CONST_VTBL struct ISharedPropertyVtbl *lpVtbl;
   3681   };
   3682 #ifdef COBJMACROS
   3683 #define ISharedProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3684 #define ISharedProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   3685 #define ISharedProperty_Release(This) (This)->lpVtbl->Release(This)
   3686 #define ISharedProperty_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3687 #define ISharedProperty_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3688 #define ISharedProperty_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3689 #define ISharedProperty_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3690 #define ISharedProperty_get_Value(This,pVal) (This)->lpVtbl->get_Value(This,pVal)
   3691 #define ISharedProperty_put_Value(This,val) (This)->lpVtbl->put_Value(This,val)
   3692 #endif
   3693 #endif
   3694   HRESULT WINAPI ISharedProperty_get_Value_Proxy(ISharedProperty *This,VARIANT *pVal);
   3695   void __RPC_STUB ISharedProperty_get_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3696   HRESULT WINAPI ISharedProperty_put_Value_Proxy(ISharedProperty *This,VARIANT val);
   3697   void __RPC_STUB ISharedProperty_put_Value_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3698 #endif
   3699 
   3700 #ifndef __ISharedPropertyGroup_INTERFACE_DEFINED__
   3701 #define __ISharedPropertyGroup_INTERFACE_DEFINED__
   3702   EXTERN_C const IID IID_ISharedPropertyGroup;
   3703 #if defined(__cplusplus) && !defined(CINTERFACE)
   3704   struct ISharedPropertyGroup : public IDispatch {
   3705   public:
   3706     virtual HRESULT WINAPI CreatePropertyByPosition(int Index,VARIANT_BOOL *fExists,ISharedProperty **ppProp) = 0;
   3707     virtual HRESULT WINAPI get_PropertyByPosition(int Index,ISharedProperty **ppProperty) = 0;
   3708     virtual HRESULT WINAPI CreateProperty(BSTR Name,VARIANT_BOOL *fExists,ISharedProperty **ppProp) = 0;
   3709     virtual HRESULT WINAPI get_Property(BSTR Name,ISharedProperty **ppProperty) = 0;
   3710   };
   3711 #else
   3712   typedef struct ISharedPropertyGroupVtbl {
   3713     BEGIN_INTERFACE
   3714       HRESULT (WINAPI *QueryInterface)(ISharedPropertyGroup *This,REFIID riid,void **ppvObject);
   3715       ULONG (WINAPI *AddRef)(ISharedPropertyGroup *This);
   3716       ULONG (WINAPI *Release)(ISharedPropertyGroup *This);
   3717       HRESULT (WINAPI *GetTypeInfoCount)(ISharedPropertyGroup *This,UINT *pctinfo);
   3718       HRESULT (WINAPI *GetTypeInfo)(ISharedPropertyGroup *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3719       HRESULT (WINAPI *GetIDsOfNames)(ISharedPropertyGroup *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3720       HRESULT (WINAPI *Invoke)(ISharedPropertyGroup *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3721       HRESULT (WINAPI *CreatePropertyByPosition)(ISharedPropertyGroup *This,int Index,VARIANT_BOOL *fExists,ISharedProperty **ppProp);
   3722       HRESULT (WINAPI *get_PropertyByPosition)(ISharedPropertyGroup *This,int Index,ISharedProperty **ppProperty);
   3723       HRESULT (WINAPI *CreateProperty)(ISharedPropertyGroup *This,BSTR Name,VARIANT_BOOL *fExists,ISharedProperty **ppProp);
   3724       HRESULT (WINAPI *get_Property)(ISharedPropertyGroup *This,BSTR Name,ISharedProperty **ppProperty);
   3725     END_INTERFACE
   3726   } ISharedPropertyGroupVtbl;
   3727   struct ISharedPropertyGroup {
   3728     CONST_VTBL struct ISharedPropertyGroupVtbl *lpVtbl;
   3729   };
   3730 #ifdef COBJMACROS
   3731 #define ISharedPropertyGroup_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3732 #define ISharedPropertyGroup_AddRef(This) (This)->lpVtbl->AddRef(This)
   3733 #define ISharedPropertyGroup_Release(This) (This)->lpVtbl->Release(This)
   3734 #define ISharedPropertyGroup_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3735 #define ISharedPropertyGroup_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3736 #define ISharedPropertyGroup_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3737 #define ISharedPropertyGroup_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3738 #define ISharedPropertyGroup_CreatePropertyByPosition(This,Index,fExists,ppProp) (This)->lpVtbl->CreatePropertyByPosition(This,Index,fExists,ppProp)
   3739 #define ISharedPropertyGroup_get_PropertyByPosition(This,Index,ppProperty) (This)->lpVtbl->get_PropertyByPosition(This,Index,ppProperty)
   3740 #define ISharedPropertyGroup_CreateProperty(This,Name,fExists,ppProp) (This)->lpVtbl->CreateProperty(This,Name,fExists,ppProp)
   3741 #define ISharedPropertyGroup_get_Property(This,Name,ppProperty) (This)->lpVtbl->get_Property(This,Name,ppProperty)
   3742 #endif
   3743 #endif
   3744   HRESULT WINAPI ISharedPropertyGroup_CreatePropertyByPosition_Proxy(ISharedPropertyGroup *This,int Index,VARIANT_BOOL *fExists,ISharedProperty **ppProp);
   3745   void __RPC_STUB ISharedPropertyGroup_CreatePropertyByPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3746   HRESULT WINAPI ISharedPropertyGroup_get_PropertyByPosition_Proxy(ISharedPropertyGroup *This,int Index,ISharedProperty **ppProperty);
   3747   void __RPC_STUB ISharedPropertyGroup_get_PropertyByPosition_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3748   HRESULT WINAPI ISharedPropertyGroup_CreateProperty_Proxy(ISharedPropertyGroup *This,BSTR Name,VARIANT_BOOL *fExists,ISharedProperty **ppProp);
   3749   void __RPC_STUB ISharedPropertyGroup_CreateProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3750   HRESULT WINAPI ISharedPropertyGroup_get_Property_Proxy(ISharedPropertyGroup *This,BSTR Name,ISharedProperty **ppProperty);
   3751   void __RPC_STUB ISharedPropertyGroup_get_Property_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3752 #endif
   3753 
   3754 #ifndef __ISharedPropertyGroupManager_INTERFACE_DEFINED__
   3755 #define __ISharedPropertyGroupManager_INTERFACE_DEFINED__
   3756   EXTERN_C const IID IID_ISharedPropertyGroupManager;
   3757 #if defined(__cplusplus) && !defined(CINTERFACE)
   3758   struct ISharedPropertyGroupManager : public IDispatch {
   3759   public:
   3760     virtual HRESULT WINAPI CreatePropertyGroup(BSTR Name,LONG *dwIsoMode,LONG *dwRelMode,VARIANT_BOOL *fExists,ISharedPropertyGroup **ppGroup) = 0;
   3761     virtual HRESULT WINAPI get_Group(BSTR Name,ISharedPropertyGroup **ppGroup) = 0;
   3762     virtual HRESULT WINAPI get__NewEnum(IUnknown **retval) = 0;
   3763   };
   3764 #else
   3765   typedef struct ISharedPropertyGroupManagerVtbl {
   3766     BEGIN_INTERFACE
   3767       HRESULT (WINAPI *QueryInterface)(ISharedPropertyGroupManager *This,REFIID riid,void **ppvObject);
   3768       ULONG (WINAPI *AddRef)(ISharedPropertyGroupManager *This);
   3769       ULONG (WINAPI *Release)(ISharedPropertyGroupManager *This);
   3770       HRESULT (WINAPI *GetTypeInfoCount)(ISharedPropertyGroupManager *This,UINT *pctinfo);
   3771       HRESULT (WINAPI *GetTypeInfo)(ISharedPropertyGroupManager *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3772       HRESULT (WINAPI *GetIDsOfNames)(ISharedPropertyGroupManager *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3773       HRESULT (WINAPI *Invoke)(ISharedPropertyGroupManager *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3774       HRESULT (WINAPI *CreatePropertyGroup)(ISharedPropertyGroupManager *This,BSTR Name,LONG *dwIsoMode,LONG *dwRelMode,VARIANT_BOOL *fExists,ISharedPropertyGroup **ppGroup);
   3775       HRESULT (WINAPI *get_Group)(ISharedPropertyGroupManager *This,BSTR Name,ISharedPropertyGroup **ppGroup);
   3776       HRESULT (WINAPI *get__NewEnum)(ISharedPropertyGroupManager *This,IUnknown **retval);
   3777     END_INTERFACE
   3778   } ISharedPropertyGroupManagerVtbl;
   3779   struct ISharedPropertyGroupManager {
   3780     CONST_VTBL struct ISharedPropertyGroupManagerVtbl *lpVtbl;
   3781   };
   3782 #ifdef COBJMACROS
   3783 #define ISharedPropertyGroupManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3784 #define ISharedPropertyGroupManager_AddRef(This) (This)->lpVtbl->AddRef(This)
   3785 #define ISharedPropertyGroupManager_Release(This) (This)->lpVtbl->Release(This)
   3786 #define ISharedPropertyGroupManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3787 #define ISharedPropertyGroupManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3788 #define ISharedPropertyGroupManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3789 #define ISharedPropertyGroupManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3790 #define ISharedPropertyGroupManager_CreatePropertyGroup(This,Name,dwIsoMode,dwRelMode,fExists,ppGroup) (This)->lpVtbl->CreatePropertyGroup(This,Name,dwIsoMode,dwRelMode,fExists,ppGroup)
   3791 #define ISharedPropertyGroupManager_get_Group(This,Name,ppGroup) (This)->lpVtbl->get_Group(This,Name,ppGroup)
   3792 #define ISharedPropertyGroupManager_get__NewEnum(This,retval) (This)->lpVtbl->get__NewEnum(This,retval)
   3793 #endif
   3794 #endif
   3795   HRESULT WINAPI ISharedPropertyGroupManager_CreatePropertyGroup_Proxy(ISharedPropertyGroupManager *This,BSTR Name,LONG *dwIsoMode,LONG *dwRelMode,VARIANT_BOOL *fExists,ISharedPropertyGroup **ppGroup);
   3796   void __RPC_STUB ISharedPropertyGroupManager_CreatePropertyGroup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3797   HRESULT WINAPI ISharedPropertyGroupManager_get_Group_Proxy(ISharedPropertyGroupManager *This,BSTR Name,ISharedPropertyGroup **ppGroup);
   3798   void __RPC_STUB ISharedPropertyGroupManager_get_Group_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3799   HRESULT WINAPI ISharedPropertyGroupManager_get__NewEnum_Proxy(ISharedPropertyGroupManager *This,IUnknown **retval);
   3800   void __RPC_STUB ISharedPropertyGroupManager_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3801 #endif
   3802 
   3803 #ifndef __IObjectConstruct_INTERFACE_DEFINED__
   3804 #define __IObjectConstruct_INTERFACE_DEFINED__
   3805   EXTERN_C const IID IID_IObjectConstruct;
   3806 #if defined(__cplusplus) && !defined(CINTERFACE)
   3807   struct IObjectConstruct : public IUnknown {
   3808   public:
   3809     virtual HRESULT WINAPI Construct(IDispatch *pCtorObj) = 0;
   3810   };
   3811 #else
   3812   typedef struct IObjectConstructVtbl {
   3813     BEGIN_INTERFACE
   3814       HRESULT (WINAPI *QueryInterface)(IObjectConstruct *This,REFIID riid,void **ppvObject);
   3815       ULONG (WINAPI *AddRef)(IObjectConstruct *This);
   3816       ULONG (WINAPI *Release)(IObjectConstruct *This);
   3817       HRESULT (WINAPI *Construct)(IObjectConstruct *This,IDispatch *pCtorObj);
   3818     END_INTERFACE
   3819   } IObjectConstructVtbl;
   3820   struct IObjectConstruct {
   3821     CONST_VTBL struct IObjectConstructVtbl *lpVtbl;
   3822   };
   3823 #ifdef COBJMACROS
   3824 #define IObjectConstruct_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3825 #define IObjectConstruct_AddRef(This) (This)->lpVtbl->AddRef(This)
   3826 #define IObjectConstruct_Release(This) (This)->lpVtbl->Release(This)
   3827 #define IObjectConstruct_Construct(This,pCtorObj) (This)->lpVtbl->Construct(This,pCtorObj)
   3828 #endif
   3829 #endif
   3830   HRESULT WINAPI IObjectConstruct_Construct_Proxy(IObjectConstruct *This,IDispatch *pCtorObj);
   3831   void __RPC_STUB IObjectConstruct_Construct_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3832 #endif
   3833 
   3834 #ifndef __IObjectConstructString_INTERFACE_DEFINED__
   3835 #define __IObjectConstructString_INTERFACE_DEFINED__
   3836   EXTERN_C const IID IID_IObjectConstructString;
   3837 #if defined(__cplusplus) && !defined(CINTERFACE)
   3838   struct IObjectConstructString : public IDispatch {
   3839   public:
   3840     virtual HRESULT WINAPI get_ConstructString(BSTR *pVal) = 0;
   3841   };
   3842 #else
   3843   typedef struct IObjectConstructStringVtbl {
   3844     BEGIN_INTERFACE
   3845       HRESULT (WINAPI *QueryInterface)(IObjectConstructString *This,REFIID riid,void **ppvObject);
   3846       ULONG (WINAPI *AddRef)(IObjectConstructString *This);
   3847       ULONG (WINAPI *Release)(IObjectConstructString *This);
   3848       HRESULT (WINAPI *GetTypeInfoCount)(IObjectConstructString *This,UINT *pctinfo);
   3849       HRESULT (WINAPI *GetTypeInfo)(IObjectConstructString *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   3850       HRESULT (WINAPI *GetIDsOfNames)(IObjectConstructString *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   3851       HRESULT (WINAPI *Invoke)(IObjectConstructString *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   3852       HRESULT (WINAPI *get_ConstructString)(IObjectConstructString *This,BSTR *pVal);
   3853     END_INTERFACE
   3854   } IObjectConstructStringVtbl;
   3855   struct IObjectConstructString {
   3856     CONST_VTBL struct IObjectConstructStringVtbl *lpVtbl;
   3857   };
   3858 #ifdef COBJMACROS
   3859 #define IObjectConstructString_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3860 #define IObjectConstructString_AddRef(This) (This)->lpVtbl->AddRef(This)
   3861 #define IObjectConstructString_Release(This) (This)->lpVtbl->Release(This)
   3862 #define IObjectConstructString_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   3863 #define IObjectConstructString_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   3864 #define IObjectConstructString_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   3865 #define IObjectConstructString_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   3866 #define IObjectConstructString_get_ConstructString(This,pVal) (This)->lpVtbl->get_ConstructString(This,pVal)
   3867 #endif
   3868 #endif
   3869   HRESULT WINAPI IObjectConstructString_get_ConstructString_Proxy(IObjectConstructString *This,BSTR *pVal);
   3870   void __RPC_STUB IObjectConstructString_get_ConstructString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3871 #endif
   3872 
   3873 #ifndef __IObjectContextActivity_INTERFACE_DEFINED__
   3874 #define __IObjectContextActivity_INTERFACE_DEFINED__
   3875   EXTERN_C const IID IID_IObjectContextActivity;
   3876 #if defined(__cplusplus) && !defined(CINTERFACE)
   3877   struct IObjectContextActivity : public IUnknown {
   3878   public:
   3879     virtual HRESULT WINAPI GetActivityId(GUID *pGUID) = 0;
   3880   };
   3881 #else
   3882   typedef struct IObjectContextActivityVtbl {
   3883     BEGIN_INTERFACE
   3884       HRESULT (WINAPI *QueryInterface)(IObjectContextActivity *This,REFIID riid,void **ppvObject);
   3885       ULONG (WINAPI *AddRef)(IObjectContextActivity *This);
   3886       ULONG (WINAPI *Release)(IObjectContextActivity *This);
   3887       HRESULT (WINAPI *GetActivityId)(IObjectContextActivity *This,GUID *pGUID);
   3888     END_INTERFACE
   3889   } IObjectContextActivityVtbl;
   3890   struct IObjectContextActivity {
   3891     CONST_VTBL struct IObjectContextActivityVtbl *lpVtbl;
   3892   };
   3893 #ifdef COBJMACROS
   3894 #define IObjectContextActivity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3895 #define IObjectContextActivity_AddRef(This) (This)->lpVtbl->AddRef(This)
   3896 #define IObjectContextActivity_Release(This) (This)->lpVtbl->Release(This)
   3897 #define IObjectContextActivity_GetActivityId(This,pGUID) (This)->lpVtbl->GetActivityId(This,pGUID)
   3898 #endif
   3899 #endif
   3900   HRESULT WINAPI IObjectContextActivity_GetActivityId_Proxy(IObjectContextActivity *This,GUID *pGUID);
   3901   void __RPC_STUB IObjectContextActivity_GetActivityId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3902 #endif
   3903 
   3904 #ifndef __IObjectContextInfo_INTERFACE_DEFINED__
   3905 #define __IObjectContextInfo_INTERFACE_DEFINED__
   3906   EXTERN_C const IID IID_IObjectContextInfo;
   3907 #if defined(__cplusplus) && !defined(CINTERFACE)
   3908   struct IObjectContextInfo : public IUnknown {
   3909   public:
   3910     virtual WINBOOL WINAPI IsInTransaction(void) = 0;
   3911     virtual HRESULT WINAPI GetTransaction(IUnknown **pptrans) = 0;
   3912     virtual HRESULT WINAPI GetTransactionId(GUID *pGuid) = 0;
   3913     virtual HRESULT WINAPI GetActivityId(GUID *pGUID) = 0;
   3914     virtual HRESULT WINAPI GetContextId(GUID *pGuid) = 0;
   3915   };
   3916 #else
   3917   typedef struct IObjectContextInfoVtbl {
   3918     BEGIN_INTERFACE
   3919       HRESULT (WINAPI *QueryInterface)(IObjectContextInfo *This,REFIID riid,void **ppvObject);
   3920       ULONG (WINAPI *AddRef)(IObjectContextInfo *This);
   3921       ULONG (WINAPI *Release)(IObjectContextInfo *This);
   3922       WINBOOL (WINAPI *IsInTransaction)(IObjectContextInfo *This);
   3923       HRESULT (WINAPI *GetTransaction)(IObjectContextInfo *This,IUnknown **pptrans);
   3924       HRESULT (WINAPI *GetTransactionId)(IObjectContextInfo *This,GUID *pGuid);
   3925       HRESULT (WINAPI *GetActivityId)(IObjectContextInfo *This,GUID *pGUID);
   3926       HRESULT (WINAPI *GetContextId)(IObjectContextInfo *This,GUID *pGuid);
   3927     END_INTERFACE
   3928   } IObjectContextInfoVtbl;
   3929   struct IObjectContextInfo {
   3930     CONST_VTBL struct IObjectContextInfoVtbl *lpVtbl;
   3931   };
   3932 #ifdef COBJMACROS
   3933 #define IObjectContextInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3934 #define IObjectContextInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   3935 #define IObjectContextInfo_Release(This) (This)->lpVtbl->Release(This)
   3936 #define IObjectContextInfo_IsInTransaction(This) (This)->lpVtbl->IsInTransaction(This)
   3937 #define IObjectContextInfo_GetTransaction(This,pptrans) (This)->lpVtbl->GetTransaction(This,pptrans)
   3938 #define IObjectContextInfo_GetTransactionId(This,pGuid) (This)->lpVtbl->GetTransactionId(This,pGuid)
   3939 #define IObjectContextInfo_GetActivityId(This,pGUID) (This)->lpVtbl->GetActivityId(This,pGUID)
   3940 #define IObjectContextInfo_GetContextId(This,pGuid) (This)->lpVtbl->GetContextId(This,pGuid)
   3941 #endif
   3942 #endif
   3943   WINBOOL WINAPI IObjectContextInfo_IsInTransaction_Proxy(IObjectContextInfo *This);
   3944   void __RPC_STUB IObjectContextInfo_IsInTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3945   HRESULT WINAPI IObjectContextInfo_GetTransaction_Proxy(IObjectContextInfo *This,IUnknown **pptrans);
   3946   void __RPC_STUB IObjectContextInfo_GetTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3947   HRESULT WINAPI IObjectContextInfo_GetTransactionId_Proxy(IObjectContextInfo *This,GUID *pGuid);
   3948   void __RPC_STUB IObjectContextInfo_GetTransactionId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3949   HRESULT WINAPI IObjectContextInfo_GetActivityId_Proxy(IObjectContextInfo *This,GUID *pGUID);
   3950   void __RPC_STUB IObjectContextInfo_GetActivityId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3951   HRESULT WINAPI IObjectContextInfo_GetContextId_Proxy(IObjectContextInfo *This,GUID *pGuid);
   3952   void __RPC_STUB IObjectContextInfo_GetContextId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   3953 #endif
   3954 
   3955 #ifndef __IObjectContextInfo2_INTERFACE_DEFINED__
   3956 #define __IObjectContextInfo2_INTERFACE_DEFINED__
   3957   EXTERN_C const IID IID_IObjectContextInfo2;
   3958 #if defined(__cplusplus) && !defined(CINTERFACE)
   3959   struct IObjectContextInfo2 : public IObjectContextInfo {
   3960   public:
   3961     virtual HRESULT WINAPI GetPartitionId(GUID *pGuid) = 0;
   3962     virtual HRESULT WINAPI GetApplicationId(GUID *pGuid) = 0;
   3963     virtual HRESULT WINAPI GetApplicationInstanceId(GUID *pGuid) = 0;
   3964   };
   3965 #else
   3966   typedef struct IObjectContextInfo2Vtbl {
   3967     BEGIN_INTERFACE
   3968       HRESULT (WINAPI *QueryInterface)(IObjectContextInfo2 *This,REFIID riid,void **ppvObject);
   3969       ULONG (WINAPI *AddRef)(IObjectContextInfo2 *This);
   3970       ULONG (WINAPI *Release)(IObjectContextInfo2 *This);
   3971       WINBOOL (WINAPI *IsInTransaction)(IObjectContextInfo2 *This);
   3972       HRESULT (WINAPI *GetTransaction)(IObjectContextInfo2 *This,IUnknown **pptrans);
   3973       HRESULT (WINAPI *GetTransactionId)(IObjectContextInfo2 *This,GUID *pGuid);
   3974       HRESULT (WINAPI *GetActivityId)(IObjectContextInfo2 *This,GUID *pGUID);
   3975       HRESULT (WINAPI *GetContextId)(IObjectContextInfo2 *This,GUID *pGuid);
   3976       HRESULT (WINAPI *GetPartitionId)(IObjectContextInfo2 *This,GUID *pGuid);
   3977       HRESULT (WINAPI *GetApplicationId)(IObjectContextInfo2 *This,GUID *pGuid);
   3978       HRESULT (WINAPI *GetApplicationInstanceId)(IObjectContextInfo2 *This,GUID *pGuid);
   3979     END_INTERFACE
   3980   } IObjectContextInfo2Vtbl;
   3981   struct IObjectContextInfo2 {
   3982     CONST_VTBL struct IObjectContextInfo2Vtbl *lpVtbl;
   3983   };
   3984 #ifdef COBJMACROS
   3985 #define IObjectContextInfo2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   3986 #define IObjectContextInfo2_AddRef(This) (This)->lpVtbl->AddRef(This)
   3987 #define IObjectContextInfo2_Release(This) (This)->lpVtbl->Release(This)
   3988 #define IObjectContextInfo2_IsInTransaction(This) (This)->lpVtbl->IsInTransaction(This)
   3989 #define IObjectContextInfo2_GetTransaction(This,pptrans) (This)->lpVtbl->GetTransaction(This,pptrans)
   3990 #define IObjectContextInfo2_GetTransactionId(This,pGuid) (This)->lpVtbl->GetTransactionId(This,pGuid)
   3991 #define IObjectContextInfo2_GetActivityId(This,pGUID) (This)->lpVtbl->GetActivityId(This,pGUID)
   3992 #define IObjectContextInfo2_GetContextId(This,pGuid) (This)->lpVtbl->GetContextId(This,pGuid)
   3993 #define IObjectContextInfo2_GetPartitionId(This,pGuid) (This)->lpVtbl->GetPartitionId(This,pGuid)
   3994 #define IObjectContextInfo2_GetApplicationId(This,pGuid) (This)->lpVtbl->GetApplicationId(This,pGuid)
   3995 #define IObjectContextInfo2_GetApplicationInstanceId(This,pGuid) (This)->lpVtbl->GetApplicationInstanceId(This,pGuid)
   3996 #endif
   3997 #endif
   3998   HRESULT WINAPI IObjectContextInfo2_GetPartitionId_Proxy(IObjectContextInfo2 *This,GUID *pGuid);
   3999   void __RPC_STUB IObjectContextInfo2_GetPartitionId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4000   HRESULT WINAPI IObjectContextInfo2_GetApplicationId_Proxy(IObjectContextInfo2 *This,GUID *pGuid);
   4001   void __RPC_STUB IObjectContextInfo2_GetApplicationId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4002   HRESULT WINAPI IObjectContextInfo2_GetApplicationInstanceId_Proxy(IObjectContextInfo2 *This,GUID *pGuid);
   4003   void __RPC_STUB IObjectContextInfo2_GetApplicationInstanceId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4004 #endif
   4005 
   4006 #ifndef __ITransactionStatus_INTERFACE_DEFINED__
   4007 #define __ITransactionStatus_INTERFACE_DEFINED__
   4008   EXTERN_C const IID IID_ITransactionStatus;
   4009 #if defined(__cplusplus) && !defined(CINTERFACE)
   4010   struct ITransactionStatus : public IUnknown {
   4011   public:
   4012     virtual HRESULT WINAPI SetTransactionStatus(HRESULT hrStatus) = 0;
   4013     virtual HRESULT WINAPI GetTransactionStatus(HRESULT *pHrStatus) = 0;
   4014   };
   4015 #else
   4016   typedef struct ITransactionStatusVtbl {
   4017     BEGIN_INTERFACE
   4018       HRESULT (WINAPI *QueryInterface)(ITransactionStatus *This,REFIID riid,void **ppvObject);
   4019       ULONG (WINAPI *AddRef)(ITransactionStatus *This);
   4020       ULONG (WINAPI *Release)(ITransactionStatus *This);
   4021       HRESULT (WINAPI *SetTransactionStatus)(ITransactionStatus *This,HRESULT hrStatus);
   4022       HRESULT (WINAPI *GetTransactionStatus)(ITransactionStatus *This,HRESULT *pHrStatus);
   4023     END_INTERFACE
   4024   } ITransactionStatusVtbl;
   4025   struct ITransactionStatus {
   4026     CONST_VTBL struct ITransactionStatusVtbl *lpVtbl;
   4027   };
   4028 #ifdef COBJMACROS
   4029 #define ITransactionStatus_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4030 #define ITransactionStatus_AddRef(This) (This)->lpVtbl->AddRef(This)
   4031 #define ITransactionStatus_Release(This) (This)->lpVtbl->Release(This)
   4032 #define ITransactionStatus_SetTransactionStatus(This,hrStatus) (This)->lpVtbl->SetTransactionStatus(This,hrStatus)
   4033 #define ITransactionStatus_GetTransactionStatus(This,pHrStatus) (This)->lpVtbl->GetTransactionStatus(This,pHrStatus)
   4034 #endif
   4035 #endif
   4036   HRESULT WINAPI ITransactionStatus_SetTransactionStatus_Proxy(ITransactionStatus *This,HRESULT hrStatus);
   4037   void __RPC_STUB ITransactionStatus_SetTransactionStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4038   HRESULT WINAPI ITransactionStatus_GetTransactionStatus_Proxy(ITransactionStatus *This,HRESULT *pHrStatus);
   4039   void __RPC_STUB ITransactionStatus_GetTransactionStatus_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4040 #endif
   4041 
   4042 #ifndef __IObjectContextTip_INTERFACE_DEFINED__
   4043 #define __IObjectContextTip_INTERFACE_DEFINED__
   4044   EXTERN_C const IID IID_IObjectContextTip;
   4045 #if defined(__cplusplus) && !defined(CINTERFACE)
   4046   struct IObjectContextTip : public IUnknown {
   4047   public:
   4048     virtual HRESULT WINAPI GetTipUrl(BSTR *pTipUrl) = 0;
   4049   };
   4050 #else
   4051   typedef struct IObjectContextTipVtbl {
   4052     BEGIN_INTERFACE
   4053       HRESULT (WINAPI *QueryInterface)(IObjectContextTip *This,REFIID riid,void **ppvObject);
   4054       ULONG (WINAPI *AddRef)(IObjectContextTip *This);
   4055       ULONG (WINAPI *Release)(IObjectContextTip *This);
   4056       HRESULT (WINAPI *GetTipUrl)(IObjectContextTip *This,BSTR *pTipUrl);
   4057     END_INTERFACE
   4058   } IObjectContextTipVtbl;
   4059   struct IObjectContextTip {
   4060     CONST_VTBL struct IObjectContextTipVtbl *lpVtbl;
   4061   };
   4062 #ifdef COBJMACROS
   4063 #define IObjectContextTip_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4064 #define IObjectContextTip_AddRef(This) (This)->lpVtbl->AddRef(This)
   4065 #define IObjectContextTip_Release(This) (This)->lpVtbl->Release(This)
   4066 #define IObjectContextTip_GetTipUrl(This,pTipUrl) (This)->lpVtbl->GetTipUrl(This,pTipUrl)
   4067 #endif
   4068 #endif
   4069   HRESULT WINAPI IObjectContextTip_GetTipUrl_Proxy(IObjectContextTip *This,BSTR *pTipUrl);
   4070   void __RPC_STUB IObjectContextTip_GetTipUrl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4071 #endif
   4072 
   4073 #ifndef __IPlaybackControl_INTERFACE_DEFINED__
   4074 #define __IPlaybackControl_INTERFACE_DEFINED__
   4075   EXTERN_C const IID IID_IPlaybackControl;
   4076 #if defined(__cplusplus) && !defined(CINTERFACE)
   4077   struct IPlaybackControl : public IUnknown {
   4078   public:
   4079     virtual HRESULT WINAPI FinalClientRetry(void) = 0;
   4080     virtual HRESULT WINAPI FinalServerRetry(void) = 0;
   4081   };
   4082 #else
   4083   typedef struct IPlaybackControlVtbl {
   4084     BEGIN_INTERFACE
   4085       HRESULT (WINAPI *QueryInterface)(IPlaybackControl *This,REFIID riid,void **ppvObject);
   4086       ULONG (WINAPI *AddRef)(IPlaybackControl *This);
   4087       ULONG (WINAPI *Release)(IPlaybackControl *This);
   4088       HRESULT (WINAPI *FinalClientRetry)(IPlaybackControl *This);
   4089       HRESULT (WINAPI *FinalServerRetry)(IPlaybackControl *This);
   4090     END_INTERFACE
   4091   } IPlaybackControlVtbl;
   4092   struct IPlaybackControl {
   4093     CONST_VTBL struct IPlaybackControlVtbl *lpVtbl;
   4094   };
   4095 #ifdef COBJMACROS
   4096 #define IPlaybackControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4097 #define IPlaybackControl_AddRef(This) (This)->lpVtbl->AddRef(This)
   4098 #define IPlaybackControl_Release(This) (This)->lpVtbl->Release(This)
   4099 #define IPlaybackControl_FinalClientRetry(This) (This)->lpVtbl->FinalClientRetry(This)
   4100 #define IPlaybackControl_FinalServerRetry(This) (This)->lpVtbl->FinalServerRetry(This)
   4101 #endif
   4102 #endif
   4103   HRESULT WINAPI IPlaybackControl_FinalClientRetry_Proxy(IPlaybackControl *This);
   4104   void __RPC_STUB IPlaybackControl_FinalClientRetry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4105   HRESULT WINAPI IPlaybackControl_FinalServerRetry_Proxy(IPlaybackControl *This);
   4106   void __RPC_STUB IPlaybackControl_FinalServerRetry_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4107 #endif
   4108 
   4109 #ifndef __IGetContextProperties_INTERFACE_DEFINED__
   4110 #define __IGetContextProperties_INTERFACE_DEFINED__
   4111   EXTERN_C const IID IID_IGetContextProperties;
   4112 #if defined(__cplusplus) && !defined(CINTERFACE)
   4113   struct IGetContextProperties : public IUnknown {
   4114   public:
   4115     virtual HRESULT WINAPI Count(__LONG32 *plCount) = 0;
   4116     virtual HRESULT WINAPI GetProperty(BSTR name,VARIANT *pProperty) = 0;
   4117     virtual HRESULT WINAPI EnumNames(IEnumNames **ppenum) = 0;
   4118   };
   4119 #else
   4120   typedef struct IGetContextPropertiesVtbl {
   4121     BEGIN_INTERFACE
   4122       HRESULT (WINAPI *QueryInterface)(IGetContextProperties *This,REFIID riid,void **ppvObject);
   4123       ULONG (WINAPI *AddRef)(IGetContextProperties *This);
   4124       ULONG (WINAPI *Release)(IGetContextProperties *This);
   4125       HRESULT (WINAPI *Count)(IGetContextProperties *This,__LONG32 *plCount);
   4126       HRESULT (WINAPI *GetProperty)(IGetContextProperties *This,BSTR name,VARIANT *pProperty);
   4127       HRESULT (WINAPI *EnumNames)(IGetContextProperties *This,IEnumNames **ppenum);
   4128     END_INTERFACE
   4129   } IGetContextPropertiesVtbl;
   4130   struct IGetContextProperties {
   4131     CONST_VTBL struct IGetContextPropertiesVtbl *lpVtbl;
   4132   };
   4133 #ifdef COBJMACROS
   4134 #define IGetContextProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4135 #define IGetContextProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
   4136 #define IGetContextProperties_Release(This) (This)->lpVtbl->Release(This)
   4137 #define IGetContextProperties_Count(This,plCount) (This)->lpVtbl->Count(This,plCount)
   4138 #define IGetContextProperties_GetProperty(This,name,pProperty) (This)->lpVtbl->GetProperty(This,name,pProperty)
   4139 #define IGetContextProperties_EnumNames(This,ppenum) (This)->lpVtbl->EnumNames(This,ppenum)
   4140 #endif
   4141 #endif
   4142   HRESULT WINAPI IGetContextProperties_Count_Proxy(IGetContextProperties *This,__LONG32 *plCount);
   4143   void __RPC_STUB IGetContextProperties_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4144   HRESULT WINAPI IGetContextProperties_GetProperty_Proxy(IGetContextProperties *This,BSTR name,VARIANT *pProperty);
   4145   void __RPC_STUB IGetContextProperties_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4146   HRESULT WINAPI IGetContextProperties_EnumNames_Proxy(IGetContextProperties *This,IEnumNames **ppenum);
   4147   void __RPC_STUB IGetContextProperties_EnumNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4148 #endif
   4149 
   4150   typedef enum tagTransactionVote {
   4151     TxCommit = 0,TxAbort = TxCommit + 1
   4152   } TransactionVote;
   4153 
   4154   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0367_v0_0_c_ifspec;
   4155   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0367_v0_0_s_ifspec;
   4156 
   4157 #ifndef __IContextState_INTERFACE_DEFINED__
   4158 #define __IContextState_INTERFACE_DEFINED__
   4159   EXTERN_C const IID IID_IContextState;
   4160 #if defined(__cplusplus) && !defined(CINTERFACE)
   4161   struct IContextState : public IUnknown {
   4162   public:
   4163     virtual HRESULT WINAPI SetDeactivateOnReturn(VARIANT_BOOL bDeactivate) = 0;
   4164     virtual HRESULT WINAPI GetDeactivateOnReturn(VARIANT_BOOL *pbDeactivate) = 0;
   4165     virtual HRESULT WINAPI SetMyTransactionVote(TransactionVote txVote) = 0;
   4166     virtual HRESULT WINAPI GetMyTransactionVote(TransactionVote *ptxVote) = 0;
   4167   };
   4168 #else
   4169   typedef struct IContextStateVtbl {
   4170     BEGIN_INTERFACE
   4171       HRESULT (WINAPI *QueryInterface)(IContextState *This,REFIID riid,void **ppvObject);
   4172       ULONG (WINAPI *AddRef)(IContextState *This);
   4173       ULONG (WINAPI *Release)(IContextState *This);
   4174       HRESULT (WINAPI *SetDeactivateOnReturn)(IContextState *This,VARIANT_BOOL bDeactivate);
   4175       HRESULT (WINAPI *GetDeactivateOnReturn)(IContextState *This,VARIANT_BOOL *pbDeactivate);
   4176       HRESULT (WINAPI *SetMyTransactionVote)(IContextState *This,TransactionVote txVote);
   4177       HRESULT (WINAPI *GetMyTransactionVote)(IContextState *This,TransactionVote *ptxVote);
   4178     END_INTERFACE
   4179   } IContextStateVtbl;
   4180   struct IContextState {
   4181     CONST_VTBL struct IContextStateVtbl *lpVtbl;
   4182   };
   4183 #ifdef COBJMACROS
   4184 #define IContextState_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4185 #define IContextState_AddRef(This) (This)->lpVtbl->AddRef(This)
   4186 #define IContextState_Release(This) (This)->lpVtbl->Release(This)
   4187 #define IContextState_SetDeactivateOnReturn(This,bDeactivate) (This)->lpVtbl->SetDeactivateOnReturn(This,bDeactivate)
   4188 #define IContextState_GetDeactivateOnReturn(This,pbDeactivate) (This)->lpVtbl->GetDeactivateOnReturn(This,pbDeactivate)
   4189 #define IContextState_SetMyTransactionVote(This,txVote) (This)->lpVtbl->SetMyTransactionVote(This,txVote)
   4190 #define IContextState_GetMyTransactionVote(This,ptxVote) (This)->lpVtbl->GetMyTransactionVote(This,ptxVote)
   4191 #endif
   4192 #endif
   4193   HRESULT WINAPI IContextState_SetDeactivateOnReturn_Proxy(IContextState *This,VARIANT_BOOL bDeactivate);
   4194   void __RPC_STUB IContextState_SetDeactivateOnReturn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4195   HRESULT WINAPI IContextState_GetDeactivateOnReturn_Proxy(IContextState *This,VARIANT_BOOL *pbDeactivate);
   4196   void __RPC_STUB IContextState_GetDeactivateOnReturn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4197   HRESULT WINAPI IContextState_SetMyTransactionVote_Proxy(IContextState *This,TransactionVote txVote);
   4198   void __RPC_STUB IContextState_SetMyTransactionVote_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4199   HRESULT WINAPI IContextState_GetMyTransactionVote_Proxy(IContextState *This,TransactionVote *ptxVote);
   4200   void __RPC_STUB IContextState_GetMyTransactionVote_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4201 #endif
   4202 
   4203 #ifndef __IPoolManager_INTERFACE_DEFINED__
   4204 #define __IPoolManager_INTERFACE_DEFINED__
   4205   EXTERN_C const IID IID_IPoolManager;
   4206 #if defined(__cplusplus) && !defined(CINTERFACE)
   4207   struct IPoolManager : public IDispatch {
   4208   public:
   4209     virtual HRESULT WINAPI ShutdownPool(BSTR CLSIDOrProgID) = 0;
   4210   };
   4211 #else
   4212   typedef struct IPoolManagerVtbl {
   4213     BEGIN_INTERFACE
   4214       HRESULT (WINAPI *QueryInterface)(IPoolManager *This,REFIID riid,void **ppvObject);
   4215       ULONG (WINAPI *AddRef)(IPoolManager *This);
   4216       ULONG (WINAPI *Release)(IPoolManager *This);
   4217       HRESULT (WINAPI *GetTypeInfoCount)(IPoolManager *This,UINT *pctinfo);
   4218       HRESULT (WINAPI *GetTypeInfo)(IPoolManager *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   4219       HRESULT (WINAPI *GetIDsOfNames)(IPoolManager *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   4220       HRESULT (WINAPI *Invoke)(IPoolManager *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   4221       HRESULT (WINAPI *ShutdownPool)(IPoolManager *This,BSTR CLSIDOrProgID);
   4222     END_INTERFACE
   4223   } IPoolManagerVtbl;
   4224   struct IPoolManager {
   4225     CONST_VTBL struct IPoolManagerVtbl *lpVtbl;
   4226   };
   4227 #ifdef COBJMACROS
   4228 #define IPoolManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4229 #define IPoolManager_AddRef(This) (This)->lpVtbl->AddRef(This)
   4230 #define IPoolManager_Release(This) (This)->lpVtbl->Release(This)
   4231 #define IPoolManager_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   4232 #define IPoolManager_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   4233 #define IPoolManager_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   4234 #define IPoolManager_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   4235 #define IPoolManager_ShutdownPool(This,CLSIDOrProgID) (This)->lpVtbl->ShutdownPool(This,CLSIDOrProgID)
   4236 #endif
   4237 #endif
   4238   HRESULT WINAPI IPoolManager_ShutdownPool_Proxy(IPoolManager *This,BSTR CLSIDOrProgID);
   4239   void __RPC_STUB IPoolManager_ShutdownPool_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4240 #endif
   4241 
   4242 #ifndef __ISelectCOMLBServer_INTERFACE_DEFINED__
   4243 #define __ISelectCOMLBServer_INTERFACE_DEFINED__
   4244   EXTERN_C const IID IID_ISelectCOMLBServer;
   4245 #if defined(__cplusplus) && !defined(CINTERFACE)
   4246   struct ISelectCOMLBServer : public IUnknown {
   4247   public:
   4248     virtual HRESULT WINAPI Init(void) = 0;
   4249     virtual HRESULT WINAPI GetLBServer(IUnknown *pUnk) = 0;
   4250   };
   4251 #else
   4252   typedef struct ISelectCOMLBServerVtbl {
   4253     BEGIN_INTERFACE
   4254       HRESULT (WINAPI *QueryInterface)(ISelectCOMLBServer *This,REFIID riid,void **ppvObject);
   4255       ULONG (WINAPI *AddRef)(ISelectCOMLBServer *This);
   4256       ULONG (WINAPI *Release)(ISelectCOMLBServer *This);
   4257       HRESULT (WINAPI *Init)(ISelectCOMLBServer *This);
   4258       HRESULT (WINAPI *GetLBServer)(ISelectCOMLBServer *This,IUnknown *pUnk);
   4259     END_INTERFACE
   4260   } ISelectCOMLBServerVtbl;
   4261   struct ISelectCOMLBServer {
   4262     CONST_VTBL struct ISelectCOMLBServerVtbl *lpVtbl;
   4263   };
   4264 #ifdef COBJMACROS
   4265 #define ISelectCOMLBServer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4266 #define ISelectCOMLBServer_AddRef(This) (This)->lpVtbl->AddRef(This)
   4267 #define ISelectCOMLBServer_Release(This) (This)->lpVtbl->Release(This)
   4268 #define ISelectCOMLBServer_Init(This) (This)->lpVtbl->Init(This)
   4269 #define ISelectCOMLBServer_GetLBServer(This,pUnk) (This)->lpVtbl->GetLBServer(This,pUnk)
   4270 #endif
   4271 #endif
   4272   HRESULT WINAPI ISelectCOMLBServer_Init_Proxy(ISelectCOMLBServer *This);
   4273   void __RPC_STUB ISelectCOMLBServer_Init_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4274   HRESULT WINAPI ISelectCOMLBServer_GetLBServer_Proxy(ISelectCOMLBServer *This,IUnknown *pUnk);
   4275   void __RPC_STUB ISelectCOMLBServer_GetLBServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4276 #endif
   4277 
   4278 #ifndef __ICOMLBArguments_INTERFACE_DEFINED__
   4279 #define __ICOMLBArguments_INTERFACE_DEFINED__
   4280   EXTERN_C const IID IID_ICOMLBArguments;
   4281 #if defined(__cplusplus) && !defined(CINTERFACE)
   4282   struct ICOMLBArguments : public IUnknown {
   4283   public:
   4284     virtual HRESULT WINAPI GetCLSID(CLSID *pCLSID) = 0;
   4285     virtual HRESULT WINAPI SetCLSID(CLSID *pCLSID) = 0;
   4286     virtual HRESULT WINAPI GetMachineName(ULONG cchSvr,WCHAR szServerName[]) = 0;
   4287     virtual HRESULT WINAPI SetMachineName(ULONG cchSvr,WCHAR szServerName[]) = 0;
   4288   };
   4289 #else
   4290   typedef struct ICOMLBArgumentsVtbl {
   4291     BEGIN_INTERFACE
   4292       HRESULT (WINAPI *QueryInterface)(ICOMLBArguments *This,REFIID riid,void **ppvObject);
   4293       ULONG (WINAPI *AddRef)(ICOMLBArguments *This);
   4294       ULONG (WINAPI *Release)(ICOMLBArguments *This);
   4295       HRESULT (WINAPI *GetCLSID)(ICOMLBArguments *This,CLSID *pCLSID);
   4296       HRESULT (WINAPI *SetCLSID)(ICOMLBArguments *This,CLSID *pCLSID);
   4297       HRESULT (WINAPI *GetMachineName)(ICOMLBArguments *This,ULONG cchSvr,WCHAR szServerName[]);
   4298       HRESULT (WINAPI *SetMachineName)(ICOMLBArguments *This,ULONG cchSvr,WCHAR szServerName[]);
   4299     END_INTERFACE
   4300   } ICOMLBArgumentsVtbl;
   4301   struct ICOMLBArguments {
   4302     CONST_VTBL struct ICOMLBArgumentsVtbl *lpVtbl;
   4303   };
   4304 #ifdef COBJMACROS
   4305 #define ICOMLBArguments_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4306 #define ICOMLBArguments_AddRef(This) (This)->lpVtbl->AddRef(This)
   4307 #define ICOMLBArguments_Release(This) (This)->lpVtbl->Release(This)
   4308 #define ICOMLBArguments_GetCLSID(This,pCLSID) (This)->lpVtbl->GetCLSID(This,pCLSID)
   4309 #define ICOMLBArguments_SetCLSID(This,pCLSID) (This)->lpVtbl->SetCLSID(This,pCLSID)
   4310 #define ICOMLBArguments_GetMachineName(This,cchSvr,szServerName) (This)->lpVtbl->GetMachineName(This,cchSvr,szServerName)
   4311 #define ICOMLBArguments_SetMachineName(This,cchSvr,szServerName) (This)->lpVtbl->SetMachineName(This,cchSvr,szServerName)
   4312 #endif
   4313 #endif
   4314   HRESULT WINAPI ICOMLBArguments_GetCLSID_Proxy(ICOMLBArguments *This,CLSID *pCLSID);
   4315   void __RPC_STUB ICOMLBArguments_GetCLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4316   HRESULT WINAPI ICOMLBArguments_SetCLSID_Proxy(ICOMLBArguments *This,CLSID *pCLSID);
   4317   void __RPC_STUB ICOMLBArguments_SetCLSID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4318   HRESULT WINAPI ICOMLBArguments_GetMachineName_Proxy(ICOMLBArguments *This,ULONG cchSvr,WCHAR szServerName[]);
   4319   void __RPC_STUB ICOMLBArguments_GetMachineName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4320   HRESULT WINAPI ICOMLBArguments_SetMachineName_Proxy(ICOMLBArguments *This,ULONG cchSvr,WCHAR szServerName[]);
   4321   void __RPC_STUB ICOMLBArguments_SetMachineName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4322 #endif
   4323 
   4324 #define GetObjectContext(ppIOC) (CoGetObjectContext(IID_IObjectContext,(void **) (ppIOC))==S_OK ? S_OK : CONTEXT_E_NOCONTEXT)
   4325 
   4326   EXTERN_C HRESULT WINAPI CoCreateActivity(IUnknown *pIUnknown,REFIID riid,void **ppObj);
   4327   EXTERN_C HRESULT WINAPI CoEnterServiceDomain(IUnknown *pConfigObject);
   4328   EXTERN_C void WINAPI CoLeaveServiceDomain(IUnknown *pUnkStatus);
   4329   EXTERN_C HRESULT WINAPI GetManagedExtensions(DWORD *dwExts);
   4330   extern void *__cdecl SafeRef(REFIID rid,IUnknown *pUnk);
   4331   extern HRESULT __cdecl RecycleSurrogate(__LONG32 lReasonCode);
   4332 
   4333   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0371_v0_0_c_ifspec;
   4334   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0371_v0_0_s_ifspec;
   4335 
   4336 #ifndef __ICrmLogControl_INTERFACE_DEFINED__
   4337 #define __ICrmLogControl_INTERFACE_DEFINED__
   4338   EXTERN_C const IID IID_ICrmLogControl;
   4339 #if defined(__cplusplus) && !defined(CINTERFACE)
   4340   struct ICrmLogControl : public IUnknown {
   4341   public:
   4342     virtual HRESULT WINAPI get_TransactionUOW(BSTR *pVal) = 0;
   4343     virtual HRESULT WINAPI RegisterCompensator(LPCWSTR lpcwstrProgIdCompensator,LPCWSTR lpcwstrDescription,LONG lCrmRegFlags) = 0;
   4344     virtual HRESULT WINAPI WriteLogRecordVariants(VARIANT *pLogRecord) = 0;
   4345     virtual HRESULT WINAPI ForceLog(void) = 0;
   4346     virtual HRESULT WINAPI ForgetLogRecord(void) = 0;
   4347     virtual HRESULT WINAPI ForceTransactionToAbort(void) = 0;
   4348     virtual HRESULT WINAPI WriteLogRecord(BLOB rgBlob[],ULONG cBlob) = 0;
   4349   };
   4350 #else
   4351   typedef struct ICrmLogControlVtbl {
   4352     BEGIN_INTERFACE
   4353       HRESULT (WINAPI *QueryInterface)(ICrmLogControl *This,REFIID riid,void **ppvObject);
   4354       ULONG (WINAPI *AddRef)(ICrmLogControl *This);
   4355       ULONG (WINAPI *Release)(ICrmLogControl *This);
   4356       HRESULT (WINAPI *get_TransactionUOW)(ICrmLogControl *This,BSTR *pVal);
   4357       HRESULT (WINAPI *RegisterCompensator)(ICrmLogControl *This,LPCWSTR lpcwstrProgIdCompensator,LPCWSTR lpcwstrDescription,LONG lCrmRegFlags);
   4358       HRESULT (WINAPI *WriteLogRecordVariants)(ICrmLogControl *This,VARIANT *pLogRecord);
   4359       HRESULT (WINAPI *ForceLog)(ICrmLogControl *This);
   4360       HRESULT (WINAPI *ForgetLogRecord)(ICrmLogControl *This);
   4361       HRESULT (WINAPI *ForceTransactionToAbort)(ICrmLogControl *This);
   4362       HRESULT (WINAPI *WriteLogRecord)(ICrmLogControl *This,BLOB rgBlob[],ULONG cBlob);
   4363     END_INTERFACE
   4364   } ICrmLogControlVtbl;
   4365   struct ICrmLogControl {
   4366     CONST_VTBL struct ICrmLogControlVtbl *lpVtbl;
   4367   };
   4368 #ifdef COBJMACROS
   4369 #define ICrmLogControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4370 #define ICrmLogControl_AddRef(This) (This)->lpVtbl->AddRef(This)
   4371 #define ICrmLogControl_Release(This) (This)->lpVtbl->Release(This)
   4372 #define ICrmLogControl_get_TransactionUOW(This,pVal) (This)->lpVtbl->get_TransactionUOW(This,pVal)
   4373 #define ICrmLogControl_RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription,lCrmRegFlags) (This)->lpVtbl->RegisterCompensator(This,lpcwstrProgIdCompensator,lpcwstrDescription,lCrmRegFlags)
   4374 #define ICrmLogControl_WriteLogRecordVariants(This,pLogRecord) (This)->lpVtbl->WriteLogRecordVariants(This,pLogRecord)
   4375 #define ICrmLogControl_ForceLog(This) (This)->lpVtbl->ForceLog(This)
   4376 #define ICrmLogControl_ForgetLogRecord(This) (This)->lpVtbl->ForgetLogRecord(This)
   4377 #define ICrmLogControl_ForceTransactionToAbort(This) (This)->lpVtbl->ForceTransactionToAbort(This)
   4378 #define ICrmLogControl_WriteLogRecord(This,rgBlob,cBlob) (This)->lpVtbl->WriteLogRecord(This,rgBlob,cBlob)
   4379 #endif
   4380 #endif
   4381   HRESULT WINAPI ICrmLogControl_get_TransactionUOW_Proxy(ICrmLogControl *This,BSTR *pVal);
   4382   void __RPC_STUB ICrmLogControl_get_TransactionUOW_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4383   HRESULT WINAPI ICrmLogControl_RegisterCompensator_Proxy(ICrmLogControl *This,LPCWSTR lpcwstrProgIdCompensator,LPCWSTR lpcwstrDescription,LONG lCrmRegFlags);
   4384   void __RPC_STUB ICrmLogControl_RegisterCompensator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4385   HRESULT WINAPI ICrmLogControl_WriteLogRecordVariants_Proxy(ICrmLogControl *This,VARIANT *pLogRecord);
   4386   void __RPC_STUB ICrmLogControl_WriteLogRecordVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4387   HRESULT WINAPI ICrmLogControl_ForceLog_Proxy(ICrmLogControl *This);
   4388   void __RPC_STUB ICrmLogControl_ForceLog_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4389   HRESULT WINAPI ICrmLogControl_ForgetLogRecord_Proxy(ICrmLogControl *This);
   4390   void __RPC_STUB ICrmLogControl_ForgetLogRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4391   HRESULT WINAPI ICrmLogControl_ForceTransactionToAbort_Proxy(ICrmLogControl *This);
   4392   void __RPC_STUB ICrmLogControl_ForceTransactionToAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4393   HRESULT WINAPI ICrmLogControl_WriteLogRecord_Proxy(ICrmLogControl *This,BLOB rgBlob[],ULONG cBlob);
   4394   void __RPC_STUB ICrmLogControl_WriteLogRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4395 #endif
   4396 
   4397 #ifndef __ICrmCompensatorVariants_INTERFACE_DEFINED__
   4398 #define __ICrmCompensatorVariants_INTERFACE_DEFINED__
   4399   EXTERN_C const IID IID_ICrmCompensatorVariants;
   4400 #if defined(__cplusplus) && !defined(CINTERFACE)
   4401   struct ICrmCompensatorVariants : public IUnknown {
   4402   public:
   4403     virtual HRESULT WINAPI SetLogControlVariants(ICrmLogControl *pLogControl) = 0;
   4404     virtual HRESULT WINAPI BeginPrepareVariants(void) = 0;
   4405     virtual HRESULT WINAPI PrepareRecordVariants(VARIANT *pLogRecord,VARIANT_BOOL *pbForget) = 0;
   4406     virtual HRESULT WINAPI EndPrepareVariants(VARIANT_BOOL *pbOkToPrepare) = 0;
   4407     virtual HRESULT WINAPI BeginCommitVariants(VARIANT_BOOL bRecovery) = 0;
   4408     virtual HRESULT WINAPI CommitRecordVariants(VARIANT *pLogRecord,VARIANT_BOOL *pbForget) = 0;
   4409     virtual HRESULT WINAPI EndCommitVariants(void) = 0;
   4410     virtual HRESULT WINAPI BeginAbortVariants(VARIANT_BOOL bRecovery) = 0;
   4411     virtual HRESULT WINAPI AbortRecordVariants(VARIANT *pLogRecord,VARIANT_BOOL *pbForget) = 0;
   4412     virtual HRESULT WINAPI EndAbortVariants(void) = 0;
   4413   };
   4414 #else
   4415   typedef struct ICrmCompensatorVariantsVtbl {
   4416     BEGIN_INTERFACE
   4417       HRESULT (WINAPI *QueryInterface)(ICrmCompensatorVariants *This,REFIID riid,void **ppvObject);
   4418       ULONG (WINAPI *AddRef)(ICrmCompensatorVariants *This);
   4419       ULONG (WINAPI *Release)(ICrmCompensatorVariants *This);
   4420       HRESULT (WINAPI *SetLogControlVariants)(ICrmCompensatorVariants *This,ICrmLogControl *pLogControl);
   4421       HRESULT (WINAPI *BeginPrepareVariants)(ICrmCompensatorVariants *This);
   4422       HRESULT (WINAPI *PrepareRecordVariants)(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4423       HRESULT (WINAPI *EndPrepareVariants)(ICrmCompensatorVariants *This,VARIANT_BOOL *pbOkToPrepare);
   4424       HRESULT (WINAPI *BeginCommitVariants)(ICrmCompensatorVariants *This,VARIANT_BOOL bRecovery);
   4425       HRESULT (WINAPI *CommitRecordVariants)(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4426       HRESULT (WINAPI *EndCommitVariants)(ICrmCompensatorVariants *This);
   4427       HRESULT (WINAPI *BeginAbortVariants)(ICrmCompensatorVariants *This,VARIANT_BOOL bRecovery);
   4428       HRESULT (WINAPI *AbortRecordVariants)(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4429       HRESULT (WINAPI *EndAbortVariants)(ICrmCompensatorVariants *This);
   4430     END_INTERFACE
   4431   } ICrmCompensatorVariantsVtbl;
   4432   struct ICrmCompensatorVariants {
   4433     CONST_VTBL struct ICrmCompensatorVariantsVtbl *lpVtbl;
   4434   };
   4435 #ifdef COBJMACROS
   4436 #define ICrmCompensatorVariants_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4437 #define ICrmCompensatorVariants_AddRef(This) (This)->lpVtbl->AddRef(This)
   4438 #define ICrmCompensatorVariants_Release(This) (This)->lpVtbl->Release(This)
   4439 #define ICrmCompensatorVariants_SetLogControlVariants(This,pLogControl) (This)->lpVtbl->SetLogControlVariants(This,pLogControl)
   4440 #define ICrmCompensatorVariants_BeginPrepareVariants(This) (This)->lpVtbl->BeginPrepareVariants(This)
   4441 #define ICrmCompensatorVariants_PrepareRecordVariants(This,pLogRecord,pbForget) (This)->lpVtbl->PrepareRecordVariants(This,pLogRecord,pbForget)
   4442 #define ICrmCompensatorVariants_EndPrepareVariants(This,pbOkToPrepare) (This)->lpVtbl->EndPrepareVariants(This,pbOkToPrepare)
   4443 #define ICrmCompensatorVariants_BeginCommitVariants(This,bRecovery) (This)->lpVtbl->BeginCommitVariants(This,bRecovery)
   4444 #define ICrmCompensatorVariants_CommitRecordVariants(This,pLogRecord,pbForget) (This)->lpVtbl->CommitRecordVariants(This,pLogRecord,pbForget)
   4445 #define ICrmCompensatorVariants_EndCommitVariants(This) (This)->lpVtbl->EndCommitVariants(This)
   4446 #define ICrmCompensatorVariants_BeginAbortVariants(This,bRecovery) (This)->lpVtbl->BeginAbortVariants(This,bRecovery)
   4447 #define ICrmCompensatorVariants_AbortRecordVariants(This,pLogRecord,pbForget) (This)->lpVtbl->AbortRecordVariants(This,pLogRecord,pbForget)
   4448 #define ICrmCompensatorVariants_EndAbortVariants(This) (This)->lpVtbl->EndAbortVariants(This)
   4449 #endif
   4450 #endif
   4451   HRESULT WINAPI ICrmCompensatorVariants_SetLogControlVariants_Proxy(ICrmCompensatorVariants *This,ICrmLogControl *pLogControl);
   4452   void __RPC_STUB ICrmCompensatorVariants_SetLogControlVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4453   HRESULT WINAPI ICrmCompensatorVariants_BeginPrepareVariants_Proxy(ICrmCompensatorVariants *This);
   4454   void __RPC_STUB ICrmCompensatorVariants_BeginPrepareVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4455   HRESULT WINAPI ICrmCompensatorVariants_PrepareRecordVariants_Proxy(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4456   void __RPC_STUB ICrmCompensatorVariants_PrepareRecordVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4457   HRESULT WINAPI ICrmCompensatorVariants_EndPrepareVariants_Proxy(ICrmCompensatorVariants *This,VARIANT_BOOL *pbOkToPrepare);
   4458   void __RPC_STUB ICrmCompensatorVariants_EndPrepareVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4459   HRESULT WINAPI ICrmCompensatorVariants_BeginCommitVariants_Proxy(ICrmCompensatorVariants *This,VARIANT_BOOL bRecovery);
   4460   void __RPC_STUB ICrmCompensatorVariants_BeginCommitVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4461   HRESULT WINAPI ICrmCompensatorVariants_CommitRecordVariants_Proxy(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4462   void __RPC_STUB ICrmCompensatorVariants_CommitRecordVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4463   HRESULT WINAPI ICrmCompensatorVariants_EndCommitVariants_Proxy(ICrmCompensatorVariants *This);
   4464   void __RPC_STUB ICrmCompensatorVariants_EndCommitVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4465   HRESULT WINAPI ICrmCompensatorVariants_BeginAbortVariants_Proxy(ICrmCompensatorVariants *This,VARIANT_BOOL bRecovery);
   4466   void __RPC_STUB ICrmCompensatorVariants_BeginAbortVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4467   HRESULT WINAPI ICrmCompensatorVariants_AbortRecordVariants_Proxy(ICrmCompensatorVariants *This,VARIANT *pLogRecord,VARIANT_BOOL *pbForget);
   4468   void __RPC_STUB ICrmCompensatorVariants_AbortRecordVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4469   HRESULT WINAPI ICrmCompensatorVariants_EndAbortVariants_Proxy(ICrmCompensatorVariants *This);
   4470   void __RPC_STUB ICrmCompensatorVariants_EndAbortVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4471 #endif
   4472 
   4473 #ifndef _tagCrmLogRecordRead_
   4474 #define _tagCrmLogRecordRead_
   4475   typedef struct tagCrmLogRecordRead {
   4476     DWORD dwCrmFlags;
   4477     DWORD dwSequenceNumber;
   4478     BLOB blobUserData;
   4479   } CrmLogRecordRead;
   4480 #endif
   4481 
   4482   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0373_v0_0_c_ifspec;
   4483   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0373_v0_0_s_ifspec;
   4484 
   4485 #ifndef __ICrmCompensator_INTERFACE_DEFINED__
   4486 #define __ICrmCompensator_INTERFACE_DEFINED__
   4487   EXTERN_C const IID IID_ICrmCompensator;
   4488 #if defined(__cplusplus) && !defined(CINTERFACE)
   4489   struct ICrmCompensator : public IUnknown {
   4490   public:
   4491     virtual HRESULT WINAPI SetLogControl(ICrmLogControl *pLogControl) = 0;
   4492     virtual HRESULT WINAPI BeginPrepare(void) = 0;
   4493     virtual HRESULT WINAPI PrepareRecord(CrmLogRecordRead crmLogRec,WINBOOL *pfForget) = 0;
   4494     virtual HRESULT WINAPI EndPrepare(WINBOOL *pfOkToPrepare) = 0;
   4495     virtual HRESULT WINAPI BeginCommit(WINBOOL fRecovery) = 0;
   4496     virtual HRESULT WINAPI CommitRecord(CrmLogRecordRead crmLogRec,WINBOOL *pfForget) = 0;
   4497     virtual HRESULT WINAPI EndCommit(void) = 0;
   4498     virtual HRESULT WINAPI BeginAbort(WINBOOL fRecovery) = 0;
   4499     virtual HRESULT WINAPI AbortRecord(CrmLogRecordRead crmLogRec,WINBOOL *pfForget) = 0;
   4500     virtual HRESULT WINAPI EndAbort(void) = 0;
   4501   };
   4502 #else
   4503   typedef struct ICrmCompensatorVtbl {
   4504     BEGIN_INTERFACE
   4505       HRESULT (WINAPI *QueryInterface)(ICrmCompensator *This,REFIID riid,void **ppvObject);
   4506       ULONG (WINAPI *AddRef)(ICrmCompensator *This);
   4507       ULONG (WINAPI *Release)(ICrmCompensator *This);
   4508       HRESULT (WINAPI *SetLogControl)(ICrmCompensator *This,ICrmLogControl *pLogControl);
   4509       HRESULT (WINAPI *BeginPrepare)(ICrmCompensator *This);
   4510       HRESULT (WINAPI *PrepareRecord)(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4511       HRESULT (WINAPI *EndPrepare)(ICrmCompensator *This,WINBOOL *pfOkToPrepare);
   4512       HRESULT (WINAPI *BeginCommit)(ICrmCompensator *This,WINBOOL fRecovery);
   4513       HRESULT (WINAPI *CommitRecord)(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4514       HRESULT (WINAPI *EndCommit)(ICrmCompensator *This);
   4515       HRESULT (WINAPI *BeginAbort)(ICrmCompensator *This,WINBOOL fRecovery);
   4516       HRESULT (WINAPI *AbortRecord)(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4517       HRESULT (WINAPI *EndAbort)(ICrmCompensator *This);
   4518     END_INTERFACE
   4519   } ICrmCompensatorVtbl;
   4520   struct ICrmCompensator {
   4521     CONST_VTBL struct ICrmCompensatorVtbl *lpVtbl;
   4522   };
   4523 #ifdef COBJMACROS
   4524 #define ICrmCompensator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4525 #define ICrmCompensator_AddRef(This) (This)->lpVtbl->AddRef(This)
   4526 #define ICrmCompensator_Release(This) (This)->lpVtbl->Release(This)
   4527 #define ICrmCompensator_SetLogControl(This,pLogControl) (This)->lpVtbl->SetLogControl(This,pLogControl)
   4528 #define ICrmCompensator_BeginPrepare(This) (This)->lpVtbl->BeginPrepare(This)
   4529 #define ICrmCompensator_PrepareRecord(This,crmLogRec,pfForget) (This)->lpVtbl->PrepareRecord(This,crmLogRec,pfForget)
   4530 #define ICrmCompensator_EndPrepare(This,pfOkToPrepare) (This)->lpVtbl->EndPrepare(This,pfOkToPrepare)
   4531 #define ICrmCompensator_BeginCommit(This,fRecovery) (This)->lpVtbl->BeginCommit(This,fRecovery)
   4532 #define ICrmCompensator_CommitRecord(This,crmLogRec,pfForget) (This)->lpVtbl->CommitRecord(This,crmLogRec,pfForget)
   4533 #define ICrmCompensator_EndCommit(This) (This)->lpVtbl->EndCommit(This)
   4534 #define ICrmCompensator_BeginAbort(This,fRecovery) (This)->lpVtbl->BeginAbort(This,fRecovery)
   4535 #define ICrmCompensator_AbortRecord(This,crmLogRec,pfForget) (This)->lpVtbl->AbortRecord(This,crmLogRec,pfForget)
   4536 #define ICrmCompensator_EndAbort(This) (This)->lpVtbl->EndAbort(This)
   4537 #endif
   4538 #endif
   4539   HRESULT WINAPI ICrmCompensator_SetLogControl_Proxy(ICrmCompensator *This,ICrmLogControl *pLogControl);
   4540   void __RPC_STUB ICrmCompensator_SetLogControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4541   HRESULT WINAPI ICrmCompensator_BeginPrepare_Proxy(ICrmCompensator *This);
   4542   void __RPC_STUB ICrmCompensator_BeginPrepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4543   HRESULT WINAPI ICrmCompensator_PrepareRecord_Proxy(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4544   void __RPC_STUB ICrmCompensator_PrepareRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4545   HRESULT WINAPI ICrmCompensator_EndPrepare_Proxy(ICrmCompensator *This,WINBOOL *pfOkToPrepare);
   4546   void __RPC_STUB ICrmCompensator_EndPrepare_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4547   HRESULT WINAPI ICrmCompensator_BeginCommit_Proxy(ICrmCompensator *This,WINBOOL fRecovery);
   4548   void __RPC_STUB ICrmCompensator_BeginCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4549   HRESULT WINAPI ICrmCompensator_CommitRecord_Proxy(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4550   void __RPC_STUB ICrmCompensator_CommitRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4551   HRESULT WINAPI ICrmCompensator_EndCommit_Proxy(ICrmCompensator *This);
   4552   void __RPC_STUB ICrmCompensator_EndCommit_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4553   HRESULT WINAPI ICrmCompensator_BeginAbort_Proxy(ICrmCompensator *This,WINBOOL fRecovery);
   4554   void __RPC_STUB ICrmCompensator_BeginAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4555   HRESULT WINAPI ICrmCompensator_AbortRecord_Proxy(ICrmCompensator *This,CrmLogRecordRead crmLogRec,WINBOOL *pfForget);
   4556   void __RPC_STUB ICrmCompensator_AbortRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4557   HRESULT WINAPI ICrmCompensator_EndAbort_Proxy(ICrmCompensator *This);
   4558   void __RPC_STUB ICrmCompensator_EndAbort_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4559 #endif
   4560 
   4561 #ifndef _tagCrmTransactionState_
   4562 #define _tagCrmTransactionState_
   4563   typedef enum tagCrmTransactionState {
   4564     TxState_Active = 0,TxState_Committed,TxState_Aborted,TxState_Indoubt
   4565   } CrmTransactionState;
   4566 #endif
   4567 
   4568   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0374_v0_0_c_ifspec;
   4569   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0374_v0_0_s_ifspec;
   4570 
   4571 #ifndef __ICrmMonitorLogRecords_INTERFACE_DEFINED__
   4572 #define __ICrmMonitorLogRecords_INTERFACE_DEFINED__
   4573   EXTERN_C const IID IID_ICrmMonitorLogRecords;
   4574 #if defined(__cplusplus) && !defined(CINTERFACE)
   4575   struct ICrmMonitorLogRecords : public IUnknown {
   4576   public:
   4577     virtual HRESULT WINAPI get_Count(__LONG32 *pVal) = 0;
   4578     virtual HRESULT WINAPI get_TransactionState(CrmTransactionState *pVal) = 0;
   4579     virtual HRESULT WINAPI get_StructuredRecords(VARIANT_BOOL *pVal) = 0;
   4580     virtual HRESULT WINAPI GetLogRecord(DWORD dwIndex,CrmLogRecordRead *pCrmLogRec) = 0;
   4581     virtual HRESULT WINAPI GetLogRecordVariants(VARIANT IndexNumber,LPVARIANT pLogRecord) = 0;
   4582   };
   4583 #else
   4584   typedef struct ICrmMonitorLogRecordsVtbl {
   4585     BEGIN_INTERFACE
   4586       HRESULT (WINAPI *QueryInterface)(ICrmMonitorLogRecords *This,REFIID riid,void **ppvObject);
   4587       ULONG (WINAPI *AddRef)(ICrmMonitorLogRecords *This);
   4588       ULONG (WINAPI *Release)(ICrmMonitorLogRecords *This);
   4589       HRESULT (WINAPI *get_Count)(ICrmMonitorLogRecords *This,__LONG32 *pVal);
   4590       HRESULT (WINAPI *get_TransactionState)(ICrmMonitorLogRecords *This,CrmTransactionState *pVal);
   4591       HRESULT (WINAPI *get_StructuredRecords)(ICrmMonitorLogRecords *This,VARIANT_BOOL *pVal);
   4592       HRESULT (WINAPI *GetLogRecord)(ICrmMonitorLogRecords *This,DWORD dwIndex,CrmLogRecordRead *pCrmLogRec);
   4593       HRESULT (WINAPI *GetLogRecordVariants)(ICrmMonitorLogRecords *This,VARIANT IndexNumber,LPVARIANT pLogRecord);
   4594     END_INTERFACE
   4595   } ICrmMonitorLogRecordsVtbl;
   4596   struct ICrmMonitorLogRecords {
   4597     CONST_VTBL struct ICrmMonitorLogRecordsVtbl *lpVtbl;
   4598   };
   4599 #ifdef COBJMACROS
   4600 #define ICrmMonitorLogRecords_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4601 #define ICrmMonitorLogRecords_AddRef(This) (This)->lpVtbl->AddRef(This)
   4602 #define ICrmMonitorLogRecords_Release(This) (This)->lpVtbl->Release(This)
   4603 #define ICrmMonitorLogRecords_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
   4604 #define ICrmMonitorLogRecords_get_TransactionState(This,pVal) (This)->lpVtbl->get_TransactionState(This,pVal)
   4605 #define ICrmMonitorLogRecords_get_StructuredRecords(This,pVal) (This)->lpVtbl->get_StructuredRecords(This,pVal)
   4606 #define ICrmMonitorLogRecords_GetLogRecord(This,dwIndex,pCrmLogRec) (This)->lpVtbl->GetLogRecord(This,dwIndex,pCrmLogRec)
   4607 #define ICrmMonitorLogRecords_GetLogRecordVariants(This,IndexNumber,pLogRecord) (This)->lpVtbl->GetLogRecordVariants(This,IndexNumber,pLogRecord)
   4608 #endif
   4609 #endif
   4610   HRESULT WINAPI ICrmMonitorLogRecords_get_Count_Proxy(ICrmMonitorLogRecords *This,__LONG32 *pVal);
   4611   void __RPC_STUB ICrmMonitorLogRecords_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4612   HRESULT WINAPI ICrmMonitorLogRecords_get_TransactionState_Proxy(ICrmMonitorLogRecords *This,CrmTransactionState *pVal);
   4613   void __RPC_STUB ICrmMonitorLogRecords_get_TransactionState_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4614   HRESULT WINAPI ICrmMonitorLogRecords_get_StructuredRecords_Proxy(ICrmMonitorLogRecords *This,VARIANT_BOOL *pVal);
   4615   void __RPC_STUB ICrmMonitorLogRecords_get_StructuredRecords_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4616   HRESULT WINAPI ICrmMonitorLogRecords_GetLogRecord_Proxy(ICrmMonitorLogRecords *This,DWORD dwIndex,CrmLogRecordRead *pCrmLogRec);
   4617   void __RPC_STUB ICrmMonitorLogRecords_GetLogRecord_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4618   HRESULT WINAPI ICrmMonitorLogRecords_GetLogRecordVariants_Proxy(ICrmMonitorLogRecords *This,VARIANT IndexNumber,LPVARIANT pLogRecord);
   4619   void __RPC_STUB ICrmMonitorLogRecords_GetLogRecordVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4620 #endif
   4621 
   4622 #ifndef __ICrmMonitorClerks_INTERFACE_DEFINED__
   4623 #define __ICrmMonitorClerks_INTERFACE_DEFINED__
   4624   EXTERN_C const IID IID_ICrmMonitorClerks;
   4625 #if defined(__cplusplus) && !defined(CINTERFACE)
   4626   struct ICrmMonitorClerks : public IDispatch {
   4627   public:
   4628     virtual HRESULT WINAPI Item(VARIANT Index,LPVARIANT pItem) = 0;
   4629     virtual HRESULT WINAPI get__NewEnum(LPUNKNOWN *pVal) = 0;
   4630     virtual HRESULT WINAPI get_Count(__LONG32 *pVal) = 0;
   4631     virtual HRESULT WINAPI ProgIdCompensator(VARIANT Index,LPVARIANT pItem) = 0;
   4632     virtual HRESULT WINAPI Description(VARIANT Index,LPVARIANT pItem) = 0;
   4633     virtual HRESULT WINAPI TransactionUOW(VARIANT Index,LPVARIANT pItem) = 0;
   4634     virtual HRESULT WINAPI ActivityId(VARIANT Index,LPVARIANT pItem) = 0;
   4635   };
   4636 #else
   4637   typedef struct ICrmMonitorClerksVtbl {
   4638     BEGIN_INTERFACE
   4639       HRESULT (WINAPI *QueryInterface)(ICrmMonitorClerks *This,REFIID riid,void **ppvObject);
   4640       ULONG (WINAPI *AddRef)(ICrmMonitorClerks *This);
   4641       ULONG (WINAPI *Release)(ICrmMonitorClerks *This);
   4642       HRESULT (WINAPI *GetTypeInfoCount)(ICrmMonitorClerks *This,UINT *pctinfo);
   4643       HRESULT (WINAPI *GetTypeInfo)(ICrmMonitorClerks *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   4644       HRESULT (WINAPI *GetIDsOfNames)(ICrmMonitorClerks *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   4645       HRESULT (WINAPI *Invoke)(ICrmMonitorClerks *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   4646       HRESULT (WINAPI *Item)(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4647       HRESULT (WINAPI *get__NewEnum)(ICrmMonitorClerks *This,LPUNKNOWN *pVal);
   4648       HRESULT (WINAPI *get_Count)(ICrmMonitorClerks *This,__LONG32 *pVal);
   4649       HRESULT (WINAPI *ProgIdCompensator)(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4650       HRESULT (WINAPI *Description)(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4651       HRESULT (WINAPI *TransactionUOW)(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4652       HRESULT (WINAPI *ActivityId)(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4653     END_INTERFACE
   4654   } ICrmMonitorClerksVtbl;
   4655   struct ICrmMonitorClerks {
   4656     CONST_VTBL struct ICrmMonitorClerksVtbl *lpVtbl;
   4657   };
   4658 #ifdef COBJMACROS
   4659 #define ICrmMonitorClerks_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4660 #define ICrmMonitorClerks_AddRef(This) (This)->lpVtbl->AddRef(This)
   4661 #define ICrmMonitorClerks_Release(This) (This)->lpVtbl->Release(This)
   4662 #define ICrmMonitorClerks_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   4663 #define ICrmMonitorClerks_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   4664 #define ICrmMonitorClerks_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   4665 #define ICrmMonitorClerks_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   4666 #define ICrmMonitorClerks_Item(This,Index,pItem) (This)->lpVtbl->Item(This,Index,pItem)
   4667 #define ICrmMonitorClerks_get__NewEnum(This,pVal) (This)->lpVtbl->get__NewEnum(This,pVal)
   4668 #define ICrmMonitorClerks_get_Count(This,pVal) (This)->lpVtbl->get_Count(This,pVal)
   4669 #define ICrmMonitorClerks_ProgIdCompensator(This,Index,pItem) (This)->lpVtbl->ProgIdCompensator(This,Index,pItem)
   4670 #define ICrmMonitorClerks_Description(This,Index,pItem) (This)->lpVtbl->Description(This,Index,pItem)
   4671 #define ICrmMonitorClerks_TransactionUOW(This,Index,pItem) (This)->lpVtbl->TransactionUOW(This,Index,pItem)
   4672 #define ICrmMonitorClerks_ActivityId(This,Index,pItem) (This)->lpVtbl->ActivityId(This,Index,pItem)
   4673 #endif
   4674 #endif
   4675   HRESULT WINAPI ICrmMonitorClerks_Item_Proxy(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4676   void __RPC_STUB ICrmMonitorClerks_Item_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4677   HRESULT WINAPI ICrmMonitorClerks_get__NewEnum_Proxy(ICrmMonitorClerks *This,LPUNKNOWN *pVal);
   4678   void __RPC_STUB ICrmMonitorClerks_get__NewEnum_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4679   HRESULT WINAPI ICrmMonitorClerks_get_Count_Proxy(ICrmMonitorClerks *This,__LONG32 *pVal);
   4680   void __RPC_STUB ICrmMonitorClerks_get_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4681   HRESULT WINAPI ICrmMonitorClerks_ProgIdCompensator_Proxy(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4682   void __RPC_STUB ICrmMonitorClerks_ProgIdCompensator_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4683   HRESULT WINAPI ICrmMonitorClerks_Description_Proxy(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4684   void __RPC_STUB ICrmMonitorClerks_Description_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4685   HRESULT WINAPI ICrmMonitorClerks_TransactionUOW_Proxy(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4686   void __RPC_STUB ICrmMonitorClerks_TransactionUOW_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4687   HRESULT WINAPI ICrmMonitorClerks_ActivityId_Proxy(ICrmMonitorClerks *This,VARIANT Index,LPVARIANT pItem);
   4688   void __RPC_STUB ICrmMonitorClerks_ActivityId_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4689 #endif
   4690 
   4691 #ifndef __ICrmMonitor_INTERFACE_DEFINED__
   4692 #define __ICrmMonitor_INTERFACE_DEFINED__
   4693   EXTERN_C const IID IID_ICrmMonitor;
   4694 #if defined(__cplusplus) && !defined(CINTERFACE)
   4695   struct ICrmMonitor : public IUnknown {
   4696   public:
   4697     virtual HRESULT WINAPI GetClerks(ICrmMonitorClerks **pClerks) = 0;
   4698     virtual HRESULT WINAPI HoldClerk(VARIANT Index,LPVARIANT pItem) = 0;
   4699   };
   4700 #else
   4701   typedef struct ICrmMonitorVtbl {
   4702     BEGIN_INTERFACE
   4703       HRESULT (WINAPI *QueryInterface)(ICrmMonitor *This,REFIID riid,void **ppvObject);
   4704       ULONG (WINAPI *AddRef)(ICrmMonitor *This);
   4705       ULONG (WINAPI *Release)(ICrmMonitor *This);
   4706       HRESULT (WINAPI *GetClerks)(ICrmMonitor *This,ICrmMonitorClerks **pClerks);
   4707       HRESULT (WINAPI *HoldClerk)(ICrmMonitor *This,VARIANT Index,LPVARIANT pItem);
   4708     END_INTERFACE
   4709   } ICrmMonitorVtbl;
   4710   struct ICrmMonitor {
   4711     CONST_VTBL struct ICrmMonitorVtbl *lpVtbl;
   4712   };
   4713 #ifdef COBJMACROS
   4714 #define ICrmMonitor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4715 #define ICrmMonitor_AddRef(This) (This)->lpVtbl->AddRef(This)
   4716 #define ICrmMonitor_Release(This) (This)->lpVtbl->Release(This)
   4717 #define ICrmMonitor_GetClerks(This,pClerks) (This)->lpVtbl->GetClerks(This,pClerks)
   4718 #define ICrmMonitor_HoldClerk(This,Index,pItem) (This)->lpVtbl->HoldClerk(This,Index,pItem)
   4719 #endif
   4720 #endif
   4721   HRESULT WINAPI ICrmMonitor_GetClerks_Proxy(ICrmMonitor *This,ICrmMonitorClerks **pClerks);
   4722   void __RPC_STUB ICrmMonitor_GetClerks_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4723   HRESULT WINAPI ICrmMonitor_HoldClerk_Proxy(ICrmMonitor *This,VARIANT Index,LPVARIANT pItem);
   4724   void __RPC_STUB ICrmMonitor_HoldClerk_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4725 #endif
   4726 
   4727 #ifndef __ICrmFormatLogRecords_INTERFACE_DEFINED__
   4728 #define __ICrmFormatLogRecords_INTERFACE_DEFINED__
   4729   EXTERN_C const IID IID_ICrmFormatLogRecords;
   4730 #if defined(__cplusplus) && !defined(CINTERFACE)
   4731   struct ICrmFormatLogRecords : public IUnknown {
   4732   public:
   4733     virtual HRESULT WINAPI GetColumnCount(__LONG32 *plColumnCount) = 0;
   4734     virtual HRESULT WINAPI GetColumnHeaders(LPVARIANT pHeaders) = 0;
   4735     virtual HRESULT WINAPI GetColumn(CrmLogRecordRead CrmLogRec,LPVARIANT pFormattedLogRecord) = 0;
   4736     virtual HRESULT WINAPI GetColumnVariants(VARIANT LogRecord,LPVARIANT pFormattedLogRecord) = 0;
   4737   };
   4738 #else
   4739   typedef struct ICrmFormatLogRecordsVtbl {
   4740     BEGIN_INTERFACE
   4741       HRESULT (WINAPI *QueryInterface)(ICrmFormatLogRecords *This,REFIID riid,void **ppvObject);
   4742       ULONG (WINAPI *AddRef)(ICrmFormatLogRecords *This);
   4743       ULONG (WINAPI *Release)(ICrmFormatLogRecords *This);
   4744       HRESULT (WINAPI *GetColumnCount)(ICrmFormatLogRecords *This,__LONG32 *plColumnCount);
   4745       HRESULT (WINAPI *GetColumnHeaders)(ICrmFormatLogRecords *This,LPVARIANT pHeaders);
   4746       HRESULT (WINAPI *GetColumn)(ICrmFormatLogRecords *This,CrmLogRecordRead CrmLogRec,LPVARIANT pFormattedLogRecord);
   4747       HRESULT (WINAPI *GetColumnVariants)(ICrmFormatLogRecords *This,VARIANT LogRecord,LPVARIANT pFormattedLogRecord);
   4748     END_INTERFACE
   4749   } ICrmFormatLogRecordsVtbl;
   4750   struct ICrmFormatLogRecords {
   4751     CONST_VTBL struct ICrmFormatLogRecordsVtbl *lpVtbl;
   4752   };
   4753 #ifdef COBJMACROS
   4754 #define ICrmFormatLogRecords_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4755 #define ICrmFormatLogRecords_AddRef(This) (This)->lpVtbl->AddRef(This)
   4756 #define ICrmFormatLogRecords_Release(This) (This)->lpVtbl->Release(This)
   4757 #define ICrmFormatLogRecords_GetColumnCount(This,plColumnCount) (This)->lpVtbl->GetColumnCount(This,plColumnCount)
   4758 #define ICrmFormatLogRecords_GetColumnHeaders(This,pHeaders) (This)->lpVtbl->GetColumnHeaders(This,pHeaders)
   4759 #define ICrmFormatLogRecords_GetColumn(This,CrmLogRec,pFormattedLogRecord) (This)->lpVtbl->GetColumn(This,CrmLogRec,pFormattedLogRecord)
   4760 #define ICrmFormatLogRecords_GetColumnVariants(This,LogRecord,pFormattedLogRecord) (This)->lpVtbl->GetColumnVariants(This,LogRecord,pFormattedLogRecord)
   4761 #endif
   4762 #endif
   4763   HRESULT WINAPI ICrmFormatLogRecords_GetColumnCount_Proxy(ICrmFormatLogRecords *This,__LONG32 *plColumnCount);
   4764   void __RPC_STUB ICrmFormatLogRecords_GetColumnCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4765   HRESULT WINAPI ICrmFormatLogRecords_GetColumnHeaders_Proxy(ICrmFormatLogRecords *This,LPVARIANT pHeaders);
   4766   void __RPC_STUB ICrmFormatLogRecords_GetColumnHeaders_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4767   HRESULT WINAPI ICrmFormatLogRecords_GetColumn_Proxy(ICrmFormatLogRecords *This,CrmLogRecordRead CrmLogRec,LPVARIANT pFormattedLogRecord);
   4768   void __RPC_STUB ICrmFormatLogRecords_GetColumn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4769   HRESULT WINAPI ICrmFormatLogRecords_GetColumnVariants_Proxy(ICrmFormatLogRecords *This,VARIANT LogRecord,LPVARIANT pFormattedLogRecord);
   4770   void __RPC_STUB ICrmFormatLogRecords_GetColumnVariants_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4771 #endif
   4772 
   4773   typedef enum tagCSC_InheritanceConfig {
   4774     CSC_Inherit = 0,CSC_Ignore = CSC_Inherit + 1
   4775   } CSC_InheritanceConfig;
   4776 
   4777   typedef enum tagCSC_ThreadPool {
   4778     CSC_ThreadPoolNone = 0,CSC_ThreadPoolInherit,CSC_STAThreadPool,
   4779     CSC_MTAThreadPool
   4780   } CSC_ThreadPool;
   4781 
   4782   typedef enum tagCSC_Binding {
   4783     CSC_NoBinding = 0,CSC_BindToPoolThread = CSC_NoBinding + 1
   4784   } CSC_Binding;
   4785 
   4786   typedef enum tagCSC_TransactionConfig {
   4787     CSC_NoTransaction = 0,CSC_IfContainerIsTransactional,CSC_CreateTransactionIfNecessary,
   4788     CSC_NewTransaction
   4789   } CSC_TransactionConfig;
   4790 
   4791   typedef enum tagCSC_SynchronizationConfig {
   4792     CSC_NoSynchronization = 0,CSC_IfContainerIsSynchronized,
   4793     CSC_NewSynchronizationIfNecessary,CSC_NewSynchronization
   4794   } CSC_SynchronizationConfig;
   4795 
   4796   typedef enum tagCSC_TrackerConfig {
   4797     CSC_DontUseTracker = 0,CSC_UseTracker = CSC_DontUseTracker + 1
   4798   } CSC_TrackerConfig;
   4799 
   4800   typedef enum tagCSC_PartitionConfig {
   4801     CSC_NoPartition = 0,CSC_InheritPartition,CSC_NewPartition
   4802   } CSC_PartitionConfig;
   4803 
   4804   typedef enum tagCSC_IISIntrinsicsConfig {
   4805     CSC_NoIISIntrinsics = 0,CSC_InheritIISIntrinsics = CSC_NoIISIntrinsics + 1
   4806   } CSC_IISIntrinsicsConfig;
   4807 
   4808   typedef enum tagCSC_COMTIIntrinsicsConfig {
   4809     CSC_NoCOMTIIntrinsics = 0,CSC_InheritCOMTIIntrinsics = CSC_NoCOMTIIntrinsics + 1
   4810   } CSC_COMTIIntrinsicsConfig;
   4811 
   4812   typedef enum tagCSC_SxsConfig {
   4813     CSC_NoSxs = 0,CSC_InheritSxs,CSC_NewSxs
   4814   } CSC_SxsConfig;
   4815 
   4816   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0378_v0_0_c_ifspec;
   4817   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0378_v0_0_s_ifspec;
   4818 
   4819 #ifndef __IServiceIISIntrinsicsConfig_INTERFACE_DEFINED__
   4820 #define __IServiceIISIntrinsicsConfig_INTERFACE_DEFINED__
   4821   EXTERN_C const IID IID_IServiceIISIntrinsicsConfig;
   4822 #if defined(__cplusplus) && !defined(CINTERFACE)
   4823   struct IServiceIISIntrinsicsConfig : public IUnknown {
   4824   public:
   4825     virtual HRESULT WINAPI IISIntrinsicsConfig(CSC_IISIntrinsicsConfig iisIntrinsicsConfig) = 0;
   4826   };
   4827 #else
   4828   typedef struct IServiceIISIntrinsicsConfigVtbl {
   4829     BEGIN_INTERFACE
   4830       HRESULT (WINAPI *QueryInterface)(IServiceIISIntrinsicsConfig *This,REFIID riid,void **ppvObject);
   4831       ULONG (WINAPI *AddRef)(IServiceIISIntrinsicsConfig *This);
   4832       ULONG (WINAPI *Release)(IServiceIISIntrinsicsConfig *This);
   4833       HRESULT (WINAPI *IISIntrinsicsConfig)(IServiceIISIntrinsicsConfig *This,CSC_IISIntrinsicsConfig iisIntrinsicsConfig);
   4834     END_INTERFACE
   4835   } IServiceIISIntrinsicsConfigVtbl;
   4836   struct IServiceIISIntrinsicsConfig {
   4837     CONST_VTBL struct IServiceIISIntrinsicsConfigVtbl *lpVtbl;
   4838   };
   4839 #ifdef COBJMACROS
   4840 #define IServiceIISIntrinsicsConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4841 #define IServiceIISIntrinsicsConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   4842 #define IServiceIISIntrinsicsConfig_Release(This) (This)->lpVtbl->Release(This)
   4843 #define IServiceIISIntrinsicsConfig_IISIntrinsicsConfig(This,iisIntrinsicsConfig) (This)->lpVtbl->IISIntrinsicsConfig(This,iisIntrinsicsConfig)
   4844 #endif
   4845 #endif
   4846   HRESULT WINAPI IServiceIISIntrinsicsConfig_IISIntrinsicsConfig_Proxy(IServiceIISIntrinsicsConfig *This,CSC_IISIntrinsicsConfig iisIntrinsicsConfig);
   4847   void __RPC_STUB IServiceIISIntrinsicsConfig_IISIntrinsicsConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4848 #endif
   4849 
   4850 #ifndef __IServiceComTIIntrinsicsConfig_INTERFACE_DEFINED__
   4851 #define __IServiceComTIIntrinsicsConfig_INTERFACE_DEFINED__
   4852   EXTERN_C const IID IID_IServiceComTIIntrinsicsConfig;
   4853 #if defined(__cplusplus) && !defined(CINTERFACE)
   4854   struct IServiceComTIIntrinsicsConfig : public IUnknown {
   4855   public:
   4856     virtual HRESULT WINAPI ComTIIntrinsicsConfig(CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig) = 0;
   4857   };
   4858 #else
   4859   typedef struct IServiceComTIIntrinsicsConfigVtbl {
   4860     BEGIN_INTERFACE
   4861       HRESULT (WINAPI *QueryInterface)(IServiceComTIIntrinsicsConfig *This,REFIID riid,void **ppvObject);
   4862       ULONG (WINAPI *AddRef)(IServiceComTIIntrinsicsConfig *This);
   4863       ULONG (WINAPI *Release)(IServiceComTIIntrinsicsConfig *This);
   4864       HRESULT (WINAPI *ComTIIntrinsicsConfig)(IServiceComTIIntrinsicsConfig *This,CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig);
   4865     END_INTERFACE
   4866   } IServiceComTIIntrinsicsConfigVtbl;
   4867   struct IServiceComTIIntrinsicsConfig {
   4868     CONST_VTBL struct IServiceComTIIntrinsicsConfigVtbl *lpVtbl;
   4869   };
   4870 #ifdef COBJMACROS
   4871 #define IServiceComTIIntrinsicsConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4872 #define IServiceComTIIntrinsicsConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   4873 #define IServiceComTIIntrinsicsConfig_Release(This) (This)->lpVtbl->Release(This)
   4874 #define IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig(This,comtiIntrinsicsConfig) (This)->lpVtbl->ComTIIntrinsicsConfig(This,comtiIntrinsicsConfig)
   4875 #endif
   4876 #endif
   4877   HRESULT WINAPI IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig_Proxy(IServiceComTIIntrinsicsConfig *This,CSC_COMTIIntrinsicsConfig comtiIntrinsicsConfig);
   4878   void __RPC_STUB IServiceComTIIntrinsicsConfig_ComTIIntrinsicsConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4879 #endif
   4880 
   4881 #ifndef __IServiceSxsConfig_INTERFACE_DEFINED__
   4882 #define __IServiceSxsConfig_INTERFACE_DEFINED__
   4883   EXTERN_C const IID IID_IServiceSxsConfig;
   4884 #if defined(__cplusplus) && !defined(CINTERFACE)
   4885   struct IServiceSxsConfig : public IUnknown {
   4886   public:
   4887     virtual HRESULT WINAPI SxsConfig(CSC_SxsConfig scsConfig) = 0;
   4888     virtual HRESULT WINAPI SxsName(LPCWSTR szSxsName) = 0;
   4889     virtual HRESULT WINAPI SxsDirectory(LPCWSTR szSxsDirectory) = 0;
   4890   };
   4891 #else
   4892   typedef struct IServiceSxsConfigVtbl {
   4893     BEGIN_INTERFACE
   4894       HRESULT (WINAPI *QueryInterface)(IServiceSxsConfig *This,REFIID riid,void **ppvObject);
   4895       ULONG (WINAPI *AddRef)(IServiceSxsConfig *This);
   4896       ULONG (WINAPI *Release)(IServiceSxsConfig *This);
   4897       HRESULT (WINAPI *SxsConfig)(IServiceSxsConfig *This,CSC_SxsConfig scsConfig);
   4898       HRESULT (WINAPI *SxsName)(IServiceSxsConfig *This,LPCWSTR szSxsName);
   4899       HRESULT (WINAPI *SxsDirectory)(IServiceSxsConfig *This,LPCWSTR szSxsDirectory);
   4900     END_INTERFACE
   4901   } IServiceSxsConfigVtbl;
   4902   struct IServiceSxsConfig {
   4903     CONST_VTBL struct IServiceSxsConfigVtbl *lpVtbl;
   4904   };
   4905 #ifdef COBJMACROS
   4906 #define IServiceSxsConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4907 #define IServiceSxsConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   4908 #define IServiceSxsConfig_Release(This) (This)->lpVtbl->Release(This)
   4909 #define IServiceSxsConfig_SxsConfig(This,scsConfig) (This)->lpVtbl->SxsConfig(This,scsConfig)
   4910 #define IServiceSxsConfig_SxsName(This,szSxsName) (This)->lpVtbl->SxsName(This,szSxsName)
   4911 #define IServiceSxsConfig_SxsDirectory(This,szSxsDirectory) (This)->lpVtbl->SxsDirectory(This,szSxsDirectory)
   4912 #endif
   4913 #endif
   4914   HRESULT WINAPI IServiceSxsConfig_SxsConfig_Proxy(IServiceSxsConfig *This,CSC_SxsConfig scsConfig);
   4915   void __RPC_STUB IServiceSxsConfig_SxsConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4916   HRESULT WINAPI IServiceSxsConfig_SxsName_Proxy(IServiceSxsConfig *This,LPCWSTR szSxsName);
   4917   void __RPC_STUB IServiceSxsConfig_SxsName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4918   HRESULT WINAPI IServiceSxsConfig_SxsDirectory_Proxy(IServiceSxsConfig *This,LPCWSTR szSxsDirectory);
   4919   void __RPC_STUB IServiceSxsConfig_SxsDirectory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4920 #endif
   4921 
   4922 #ifndef __ICheckSxsConfig_INTERFACE_DEFINED__
   4923 #define __ICheckSxsConfig_INTERFACE_DEFINED__
   4924   EXTERN_C const IID IID_ICheckSxsConfig;
   4925 #if defined(__cplusplus) && !defined(CINTERFACE)
   4926   struct ICheckSxsConfig : public IUnknown {
   4927   public:
   4928     virtual HRESULT WINAPI IsSameSxsConfig(LPCWSTR wszSxsName,LPCWSTR wszSxsDirectory,LPCWSTR wszSxsAppName) = 0;
   4929   };
   4930 #else
   4931   typedef struct ICheckSxsConfigVtbl {
   4932     BEGIN_INTERFACE
   4933       HRESULT (WINAPI *QueryInterface)(ICheckSxsConfig *This,REFIID riid,void **ppvObject);
   4934       ULONG (WINAPI *AddRef)(ICheckSxsConfig *This);
   4935       ULONG (WINAPI *Release)(ICheckSxsConfig *This);
   4936       HRESULT (WINAPI *IsSameSxsConfig)(ICheckSxsConfig *This,LPCWSTR wszSxsName,LPCWSTR wszSxsDirectory,LPCWSTR wszSxsAppName);
   4937     END_INTERFACE
   4938   } ICheckSxsConfigVtbl;
   4939   struct ICheckSxsConfig {
   4940     CONST_VTBL struct ICheckSxsConfigVtbl *lpVtbl;
   4941   };
   4942 #ifdef COBJMACROS
   4943 #define ICheckSxsConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4944 #define ICheckSxsConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   4945 #define ICheckSxsConfig_Release(This) (This)->lpVtbl->Release(This)
   4946 #define ICheckSxsConfig_IsSameSxsConfig(This,wszSxsName,wszSxsDirectory,wszSxsAppName) (This)->lpVtbl->IsSameSxsConfig(This,wszSxsName,wszSxsDirectory,wszSxsAppName)
   4947 #endif
   4948 #endif
   4949   HRESULT WINAPI ICheckSxsConfig_IsSameSxsConfig_Proxy(ICheckSxsConfig *This,LPCWSTR wszSxsName,LPCWSTR wszSxsDirectory,LPCWSTR wszSxsAppName);
   4950   void __RPC_STUB ICheckSxsConfig_IsSameSxsConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4951 #endif
   4952 
   4953 #ifndef __IServiceInheritanceConfig_INTERFACE_DEFINED__
   4954 #define __IServiceInheritanceConfig_INTERFACE_DEFINED__
   4955   EXTERN_C const IID IID_IServiceInheritanceConfig;
   4956 #if defined(__cplusplus) && !defined(CINTERFACE)
   4957   struct IServiceInheritanceConfig : public IUnknown {
   4958   public:
   4959     virtual HRESULT WINAPI ContainingContextTreatment(CSC_InheritanceConfig inheritanceConfig) = 0;
   4960   };
   4961 #else
   4962   typedef struct IServiceInheritanceConfigVtbl {
   4963     BEGIN_INTERFACE
   4964       HRESULT (WINAPI *QueryInterface)(IServiceInheritanceConfig *This,REFIID riid,void **ppvObject);
   4965       ULONG (WINAPI *AddRef)(IServiceInheritanceConfig *This);
   4966       ULONG (WINAPI *Release)(IServiceInheritanceConfig *This);
   4967       HRESULT (WINAPI *ContainingContextTreatment)(IServiceInheritanceConfig *This,CSC_InheritanceConfig inheritanceConfig);
   4968     END_INTERFACE
   4969   } IServiceInheritanceConfigVtbl;
   4970   struct IServiceInheritanceConfig {
   4971     CONST_VTBL struct IServiceInheritanceConfigVtbl *lpVtbl;
   4972   };
   4973 #ifdef COBJMACROS
   4974 #define IServiceInheritanceConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   4975 #define IServiceInheritanceConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   4976 #define IServiceInheritanceConfig_Release(This) (This)->lpVtbl->Release(This)
   4977 #define IServiceInheritanceConfig_ContainingContextTreatment(This,inheritanceConfig) (This)->lpVtbl->ContainingContextTreatment(This,inheritanceConfig)
   4978 #endif
   4979 #endif
   4980   HRESULT WINAPI IServiceInheritanceConfig_ContainingContextTreatment_Proxy(IServiceInheritanceConfig *This,CSC_InheritanceConfig inheritanceConfig);
   4981   void __RPC_STUB IServiceInheritanceConfig_ContainingContextTreatment_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   4982 #endif
   4983 
   4984 #ifndef __IServiceThreadPoolConfig_INTERFACE_DEFINED__
   4985 #define __IServiceThreadPoolConfig_INTERFACE_DEFINED__
   4986   EXTERN_C const IID IID_IServiceThreadPoolConfig;
   4987 #if defined(__cplusplus) && !defined(CINTERFACE)
   4988   struct IServiceThreadPoolConfig : public IUnknown {
   4989   public:
   4990     virtual HRESULT WINAPI SelectThreadPool(CSC_ThreadPool threadPool) = 0;
   4991     virtual HRESULT WINAPI SetBindingInfo(CSC_Binding binding) = 0;
   4992   };
   4993 #else
   4994   typedef struct IServiceThreadPoolConfigVtbl {
   4995     BEGIN_INTERFACE
   4996       HRESULT (WINAPI *QueryInterface)(IServiceThreadPoolConfig *This,REFIID riid,void **ppvObject);
   4997       ULONG (WINAPI *AddRef)(IServiceThreadPoolConfig *This);
   4998       ULONG (WINAPI *Release)(IServiceThreadPoolConfig *This);
   4999       HRESULT (WINAPI *SelectThreadPool)(IServiceThreadPoolConfig *This,CSC_ThreadPool threadPool);
   5000       HRESULT (WINAPI *SetBindingInfo)(IServiceThreadPoolConfig *This,CSC_Binding binding);
   5001     END_INTERFACE
   5002   } IServiceThreadPoolConfigVtbl;
   5003   struct IServiceThreadPoolConfig {
   5004     CONST_VTBL struct IServiceThreadPoolConfigVtbl *lpVtbl;
   5005   };
   5006 #ifdef COBJMACROS
   5007 #define IServiceThreadPoolConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5008 #define IServiceThreadPoolConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5009 #define IServiceThreadPoolConfig_Release(This) (This)->lpVtbl->Release(This)
   5010 #define IServiceThreadPoolConfig_SelectThreadPool(This,threadPool) (This)->lpVtbl->SelectThreadPool(This,threadPool)
   5011 #define IServiceThreadPoolConfig_SetBindingInfo(This,binding) (This)->lpVtbl->SetBindingInfo(This,binding)
   5012 #endif
   5013 #endif
   5014   HRESULT WINAPI IServiceThreadPoolConfig_SelectThreadPool_Proxy(IServiceThreadPoolConfig *This,CSC_ThreadPool threadPool);
   5015   void __RPC_STUB IServiceThreadPoolConfig_SelectThreadPool_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5016   HRESULT WINAPI IServiceThreadPoolConfig_SetBindingInfo_Proxy(IServiceThreadPoolConfig *This,CSC_Binding binding);
   5017   void __RPC_STUB IServiceThreadPoolConfig_SetBindingInfo_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5018 #endif
   5019 
   5020 #ifndef __IServiceTransactionConfigBase_INTERFACE_DEFINED__
   5021 #define __IServiceTransactionConfigBase_INTERFACE_DEFINED__
   5022   EXTERN_C const IID IID_IServiceTransactionConfigBase;
   5023 #if defined(__cplusplus) && !defined(CINTERFACE)
   5024   struct IServiceTransactionConfigBase : public IUnknown {
   5025   public:
   5026     virtual HRESULT WINAPI ConfigureTransaction(CSC_TransactionConfig transactionConfig) = 0;
   5027     virtual HRESULT WINAPI IsolationLevel(COMAdminTxIsolationLevelOptions option) = 0;
   5028     virtual HRESULT WINAPI TransactionTimeout(ULONG ulTimeoutSec) = 0;
   5029     virtual HRESULT WINAPI BringYourOwnTransaction(LPCWSTR szTipURL) = 0;
   5030     virtual HRESULT WINAPI NewTransactionDescription(LPCWSTR szTxDesc) = 0;
   5031   };
   5032 #else
   5033   typedef struct IServiceTransactionConfigBaseVtbl {
   5034     BEGIN_INTERFACE
   5035       HRESULT (WINAPI *QueryInterface)(IServiceTransactionConfigBase *This,REFIID riid,void **ppvObject);
   5036       ULONG (WINAPI *AddRef)(IServiceTransactionConfigBase *This);
   5037       ULONG (WINAPI *Release)(IServiceTransactionConfigBase *This);
   5038       HRESULT (WINAPI *ConfigureTransaction)(IServiceTransactionConfigBase *This,CSC_TransactionConfig transactionConfig);
   5039       HRESULT (WINAPI *IsolationLevel)(IServiceTransactionConfigBase *This,COMAdminTxIsolationLevelOptions option);
   5040       HRESULT (WINAPI *TransactionTimeout)(IServiceTransactionConfigBase *This,ULONG ulTimeoutSec);
   5041       HRESULT (WINAPI *BringYourOwnTransaction)(IServiceTransactionConfigBase *This,LPCWSTR szTipURL);
   5042       HRESULT (WINAPI *NewTransactionDescription)(IServiceTransactionConfigBase *This,LPCWSTR szTxDesc);
   5043     END_INTERFACE
   5044   } IServiceTransactionConfigBaseVtbl;
   5045   struct IServiceTransactionConfigBase {
   5046     CONST_VTBL struct IServiceTransactionConfigBaseVtbl *lpVtbl;
   5047   };
   5048 #ifdef COBJMACROS
   5049 #define IServiceTransactionConfigBase_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5050 #define IServiceTransactionConfigBase_AddRef(This) (This)->lpVtbl->AddRef(This)
   5051 #define IServiceTransactionConfigBase_Release(This) (This)->lpVtbl->Release(This)
   5052 #define IServiceTransactionConfigBase_ConfigureTransaction(This,transactionConfig) (This)->lpVtbl->ConfigureTransaction(This,transactionConfig)
   5053 #define IServiceTransactionConfigBase_IsolationLevel(This,option) (This)->lpVtbl->IsolationLevel(This,option)
   5054 #define IServiceTransactionConfigBase_TransactionTimeout(This,ulTimeoutSec) (This)->lpVtbl->TransactionTimeout(This,ulTimeoutSec)
   5055 #define IServiceTransactionConfigBase_BringYourOwnTransaction(This,szTipURL) (This)->lpVtbl->BringYourOwnTransaction(This,szTipURL)
   5056 #define IServiceTransactionConfigBase_NewTransactionDescription(This,szTxDesc) (This)->lpVtbl->NewTransactionDescription(This,szTxDesc)
   5057 #endif
   5058 #endif
   5059   HRESULT WINAPI IServiceTransactionConfigBase_ConfigureTransaction_Proxy(IServiceTransactionConfigBase *This,CSC_TransactionConfig transactionConfig);
   5060   void __RPC_STUB IServiceTransactionConfigBase_ConfigureTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5061   HRESULT WINAPI IServiceTransactionConfigBase_IsolationLevel_Proxy(IServiceTransactionConfigBase *This,COMAdminTxIsolationLevelOptions option);
   5062   void __RPC_STUB IServiceTransactionConfigBase_IsolationLevel_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5063   HRESULT WINAPI IServiceTransactionConfigBase_TransactionTimeout_Proxy(IServiceTransactionConfigBase *This,ULONG ulTimeoutSec);
   5064   void __RPC_STUB IServiceTransactionConfigBase_TransactionTimeout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5065   HRESULT WINAPI IServiceTransactionConfigBase_BringYourOwnTransaction_Proxy(IServiceTransactionConfigBase *This,LPCWSTR szTipURL);
   5066   void __RPC_STUB IServiceTransactionConfigBase_BringYourOwnTransaction_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5067   HRESULT WINAPI IServiceTransactionConfigBase_NewTransactionDescription_Proxy(IServiceTransactionConfigBase *This,LPCWSTR szTxDesc);
   5068   void __RPC_STUB IServiceTransactionConfigBase_NewTransactionDescription_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5069 #endif
   5070 
   5071 #ifndef __IServiceTransactionConfig_INTERFACE_DEFINED__
   5072 #define __IServiceTransactionConfig_INTERFACE_DEFINED__
   5073   EXTERN_C const IID IID_IServiceTransactionConfig;
   5074 #if defined(__cplusplus) && !defined(CINTERFACE)
   5075   struct IServiceTransactionConfig : public IServiceTransactionConfigBase {
   5076   public:
   5077     virtual HRESULT WINAPI ConfigureBYOT(ITransaction *pITxByot) = 0;
   5078   };
   5079 #else
   5080   typedef struct IServiceTransactionConfigVtbl {
   5081     BEGIN_INTERFACE
   5082       HRESULT (WINAPI *QueryInterface)(IServiceTransactionConfig *This,REFIID riid,void **ppvObject);
   5083       ULONG (WINAPI *AddRef)(IServiceTransactionConfig *This);
   5084       ULONG (WINAPI *Release)(IServiceTransactionConfig *This);
   5085       HRESULT (WINAPI *ConfigureTransaction)(IServiceTransactionConfig *This,CSC_TransactionConfig transactionConfig);
   5086       HRESULT (WINAPI *IsolationLevel)(IServiceTransactionConfig *This,COMAdminTxIsolationLevelOptions option);
   5087       HRESULT (WINAPI *TransactionTimeout)(IServiceTransactionConfig *This,ULONG ulTimeoutSec);
   5088       HRESULT (WINAPI *BringYourOwnTransaction)(IServiceTransactionConfig *This,LPCWSTR szTipURL);
   5089       HRESULT (WINAPI *NewTransactionDescription)(IServiceTransactionConfig *This,LPCWSTR szTxDesc);
   5090       HRESULT (WINAPI *ConfigureBYOT)(IServiceTransactionConfig *This,ITransaction *pITxByot);
   5091     END_INTERFACE
   5092   } IServiceTransactionConfigVtbl;
   5093   struct IServiceTransactionConfig {
   5094     CONST_VTBL struct IServiceTransactionConfigVtbl *lpVtbl;
   5095   };
   5096 #ifdef COBJMACROS
   5097 #define IServiceTransactionConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5098 #define IServiceTransactionConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5099 #define IServiceTransactionConfig_Release(This) (This)->lpVtbl->Release(This)
   5100 #define IServiceTransactionConfig_ConfigureTransaction(This,transactionConfig) (This)->lpVtbl->ConfigureTransaction(This,transactionConfig)
   5101 #define IServiceTransactionConfig_IsolationLevel(This,option) (This)->lpVtbl->IsolationLevel(This,option)
   5102 #define IServiceTransactionConfig_TransactionTimeout(This,ulTimeoutSec) (This)->lpVtbl->TransactionTimeout(This,ulTimeoutSec)
   5103 #define IServiceTransactionConfig_BringYourOwnTransaction(This,szTipURL) (This)->lpVtbl->BringYourOwnTransaction(This,szTipURL)
   5104 #define IServiceTransactionConfig_NewTransactionDescription(This,szTxDesc) (This)->lpVtbl->NewTransactionDescription(This,szTxDesc)
   5105 #define IServiceTransactionConfig_ConfigureBYOT(This,pITxByot) (This)->lpVtbl->ConfigureBYOT(This,pITxByot)
   5106 #endif
   5107 #endif
   5108   HRESULT WINAPI IServiceTransactionConfig_ConfigureBYOT_Proxy(IServiceTransactionConfig *This,ITransaction *pITxByot);
   5109   void __RPC_STUB IServiceTransactionConfig_ConfigureBYOT_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5110 #endif
   5111 
   5112 #ifndef __IServiceSynchronizationConfig_INTERFACE_DEFINED__
   5113 #define __IServiceSynchronizationConfig_INTERFACE_DEFINED__
   5114   EXTERN_C const IID IID_IServiceSynchronizationConfig;
   5115 #if defined(__cplusplus) && !defined(CINTERFACE)
   5116   struct IServiceSynchronizationConfig : public IUnknown {
   5117   public:
   5118     virtual HRESULT WINAPI ConfigureSynchronization(CSC_SynchronizationConfig synchConfig) = 0;
   5119   };
   5120 #else
   5121   typedef struct IServiceSynchronizationConfigVtbl {
   5122     BEGIN_INTERFACE
   5123       HRESULT (WINAPI *QueryInterface)(IServiceSynchronizationConfig *This,REFIID riid,void **ppvObject);
   5124       ULONG (WINAPI *AddRef)(IServiceSynchronizationConfig *This);
   5125       ULONG (WINAPI *Release)(IServiceSynchronizationConfig *This);
   5126       HRESULT (WINAPI *ConfigureSynchronization)(IServiceSynchronizationConfig *This,CSC_SynchronizationConfig synchConfig);
   5127     END_INTERFACE
   5128   } IServiceSynchronizationConfigVtbl;
   5129   struct IServiceSynchronizationConfig {
   5130     CONST_VTBL struct IServiceSynchronizationConfigVtbl *lpVtbl;
   5131   };
   5132 #ifdef COBJMACROS
   5133 #define IServiceSynchronizationConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5134 #define IServiceSynchronizationConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5135 #define IServiceSynchronizationConfig_Release(This) (This)->lpVtbl->Release(This)
   5136 #define IServiceSynchronizationConfig_ConfigureSynchronization(This,synchConfig) (This)->lpVtbl->ConfigureSynchronization(This,synchConfig)
   5137 #endif
   5138 #endif
   5139   HRESULT WINAPI IServiceSynchronizationConfig_ConfigureSynchronization_Proxy(IServiceSynchronizationConfig *This,CSC_SynchronizationConfig synchConfig);
   5140   void __RPC_STUB IServiceSynchronizationConfig_ConfigureSynchronization_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5141 #endif
   5142 
   5143 #ifndef __IServiceTrackerConfig_INTERFACE_DEFINED__
   5144 #define __IServiceTrackerConfig_INTERFACE_DEFINED__
   5145   EXTERN_C const IID IID_IServiceTrackerConfig;
   5146 #if defined(__cplusplus) && !defined(CINTERFACE)
   5147   struct IServiceTrackerConfig : public IUnknown {
   5148   public:
   5149     virtual HRESULT WINAPI TrackerConfig(CSC_TrackerConfig trackerConfig,LPCWSTR szTrackerAppName,LPCWSTR szTrackerCtxName) = 0;
   5150   };
   5151 #else
   5152   typedef struct IServiceTrackerConfigVtbl {
   5153     BEGIN_INTERFACE
   5154       HRESULT (WINAPI *QueryInterface)(IServiceTrackerConfig *This,REFIID riid,void **ppvObject);
   5155       ULONG (WINAPI *AddRef)(IServiceTrackerConfig *This);
   5156       ULONG (WINAPI *Release)(IServiceTrackerConfig *This);
   5157       HRESULT (WINAPI *TrackerConfig)(IServiceTrackerConfig *This,CSC_TrackerConfig trackerConfig,LPCWSTR szTrackerAppName,LPCWSTR szTrackerCtxName);
   5158     END_INTERFACE
   5159   } IServiceTrackerConfigVtbl;
   5160   struct IServiceTrackerConfig {
   5161     CONST_VTBL struct IServiceTrackerConfigVtbl *lpVtbl;
   5162   };
   5163 #ifdef COBJMACROS
   5164 #define IServiceTrackerConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5165 #define IServiceTrackerConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5166 #define IServiceTrackerConfig_Release(This) (This)->lpVtbl->Release(This)
   5167 #define IServiceTrackerConfig_TrackerConfig(This,trackerConfig,szTrackerAppName,szTrackerCtxName) (This)->lpVtbl->TrackerConfig(This,trackerConfig,szTrackerAppName,szTrackerCtxName)
   5168 #endif
   5169 #endif
   5170   HRESULT WINAPI IServiceTrackerConfig_TrackerConfig_Proxy(IServiceTrackerConfig *This,CSC_TrackerConfig trackerConfig,LPCWSTR szTrackerAppName,LPCWSTR szTrackerCtxName);
   5171   void __RPC_STUB IServiceTrackerConfig_TrackerConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5172 #endif
   5173 
   5174 #ifndef __IServicePartitionConfig_INTERFACE_DEFINED__
   5175 #define __IServicePartitionConfig_INTERFACE_DEFINED__
   5176   EXTERN_C const IID IID_IServicePartitionConfig;
   5177 #if defined(__cplusplus) && !defined(CINTERFACE)
   5178   struct IServicePartitionConfig : public IUnknown {
   5179   public:
   5180     virtual HRESULT WINAPI PartitionConfig(CSC_PartitionConfig partitionConfig) = 0;
   5181     virtual HRESULT WINAPI PartitionID(REFGUID guidPartitionID) = 0;
   5182   };
   5183 #else
   5184   typedef struct IServicePartitionConfigVtbl {
   5185     BEGIN_INTERFACE
   5186       HRESULT (WINAPI *QueryInterface)(IServicePartitionConfig *This,REFIID riid,void **ppvObject);
   5187       ULONG (WINAPI *AddRef)(IServicePartitionConfig *This);
   5188       ULONG (WINAPI *Release)(IServicePartitionConfig *This);
   5189       HRESULT (WINAPI *PartitionConfig)(IServicePartitionConfig *This,CSC_PartitionConfig partitionConfig);
   5190       HRESULT (WINAPI *PartitionID)(IServicePartitionConfig *This,REFGUID guidPartitionID);
   5191     END_INTERFACE
   5192   } IServicePartitionConfigVtbl;
   5193   struct IServicePartitionConfig {
   5194     CONST_VTBL struct IServicePartitionConfigVtbl *lpVtbl;
   5195   };
   5196 #ifdef COBJMACROS
   5197 #define IServicePartitionConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5198 #define IServicePartitionConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5199 #define IServicePartitionConfig_Release(This) (This)->lpVtbl->Release(This)
   5200 #define IServicePartitionConfig_PartitionConfig(This,partitionConfig) (This)->lpVtbl->PartitionConfig(This,partitionConfig)
   5201 #define IServicePartitionConfig_PartitionID(This,guidPartitionID) (This)->lpVtbl->PartitionID(This,guidPartitionID)
   5202 #endif
   5203 #endif
   5204   HRESULT WINAPI IServicePartitionConfig_PartitionConfig_Proxy(IServicePartitionConfig *This,CSC_PartitionConfig partitionConfig);
   5205   void __RPC_STUB IServicePartitionConfig_PartitionConfig_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5206   HRESULT WINAPI IServicePartitionConfig_PartitionID_Proxy(IServicePartitionConfig *This,REFGUID guidPartitionID);
   5207   void __RPC_STUB IServicePartitionConfig_PartitionID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5208 #endif
   5209 
   5210 #ifndef __IServiceCall_INTERFACE_DEFINED__
   5211 #define __IServiceCall_INTERFACE_DEFINED__
   5212   EXTERN_C const IID IID_IServiceCall;
   5213 #if defined(__cplusplus) && !defined(CINTERFACE)
   5214   struct IServiceCall : public IUnknown {
   5215   public:
   5216     virtual HRESULT WINAPI OnCall(void) = 0;
   5217   };
   5218 #else
   5219   typedef struct IServiceCallVtbl {
   5220     BEGIN_INTERFACE
   5221       HRESULT (WINAPI *QueryInterface)(IServiceCall *This,REFIID riid,void **ppvObject);
   5222       ULONG (WINAPI *AddRef)(IServiceCall *This);
   5223       ULONG (WINAPI *Release)(IServiceCall *This);
   5224       HRESULT (WINAPI *OnCall)(IServiceCall *This);
   5225     END_INTERFACE
   5226   } IServiceCallVtbl;
   5227   struct IServiceCall {
   5228     CONST_VTBL struct IServiceCallVtbl *lpVtbl;
   5229   };
   5230 #ifdef COBJMACROS
   5231 #define IServiceCall_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5232 #define IServiceCall_AddRef(This) (This)->lpVtbl->AddRef(This)
   5233 #define IServiceCall_Release(This) (This)->lpVtbl->Release(This)
   5234 #define IServiceCall_OnCall(This) (This)->lpVtbl->OnCall(This)
   5235 #endif
   5236 #endif
   5237   HRESULT WINAPI IServiceCall_OnCall_Proxy(IServiceCall *This);
   5238   void __RPC_STUB IServiceCall_OnCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5239 #endif
   5240 
   5241 #ifndef __IAsyncErrorNotify_INTERFACE_DEFINED__
   5242 #define __IAsyncErrorNotify_INTERFACE_DEFINED__
   5243   EXTERN_C const IID IID_IAsyncErrorNotify;
   5244 #if defined(__cplusplus) && !defined(CINTERFACE)
   5245   struct IAsyncErrorNotify : public IUnknown {
   5246   public:
   5247     virtual HRESULT WINAPI OnError(HRESULT hr) = 0;
   5248   };
   5249 #else
   5250   typedef struct IAsyncErrorNotifyVtbl {
   5251     BEGIN_INTERFACE
   5252       HRESULT (WINAPI *QueryInterface)(IAsyncErrorNotify *This,REFIID riid,void **ppvObject);
   5253       ULONG (WINAPI *AddRef)(IAsyncErrorNotify *This);
   5254       ULONG (WINAPI *Release)(IAsyncErrorNotify *This);
   5255       HRESULT (WINAPI *OnError)(IAsyncErrorNotify *This,HRESULT hr);
   5256     END_INTERFACE
   5257   } IAsyncErrorNotifyVtbl;
   5258   struct IAsyncErrorNotify {
   5259     CONST_VTBL struct IAsyncErrorNotifyVtbl *lpVtbl;
   5260   };
   5261 #ifdef COBJMACROS
   5262 #define IAsyncErrorNotify_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5263 #define IAsyncErrorNotify_AddRef(This) (This)->lpVtbl->AddRef(This)
   5264 #define IAsyncErrorNotify_Release(This) (This)->lpVtbl->Release(This)
   5265 #define IAsyncErrorNotify_OnError(This,hr) (This)->lpVtbl->OnError(This,hr)
   5266 #endif
   5267 #endif
   5268   HRESULT WINAPI IAsyncErrorNotify_OnError_Proxy(IAsyncErrorNotify *This,HRESULT hr);
   5269   void __RPC_STUB IAsyncErrorNotify_OnError_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5270 #endif
   5271 
   5272 #ifndef __IServiceActivity_INTERFACE_DEFINED__
   5273 #define __IServiceActivity_INTERFACE_DEFINED__
   5274   EXTERN_C const IID IID_IServiceActivity;
   5275 #if defined(__cplusplus) && !defined(CINTERFACE)
   5276   struct IServiceActivity : public IUnknown {
   5277   public:
   5278     virtual HRESULT WINAPI SynchronousCall(IServiceCall *pIServiceCall) = 0;
   5279     virtual HRESULT WINAPI AsynchronousCall(IServiceCall *pIServiceCall) = 0;
   5280     virtual HRESULT WINAPI BindToCurrentThread(void) = 0;
   5281     virtual HRESULT WINAPI UnbindFromThread(void) = 0;
   5282   };
   5283 #else
   5284   typedef struct IServiceActivityVtbl {
   5285     BEGIN_INTERFACE
   5286       HRESULT (WINAPI *QueryInterface)(IServiceActivity *This,REFIID riid,void **ppvObject);
   5287       ULONG (WINAPI *AddRef)(IServiceActivity *This);
   5288       ULONG (WINAPI *Release)(IServiceActivity *This);
   5289       HRESULT (WINAPI *SynchronousCall)(IServiceActivity *This,IServiceCall *pIServiceCall);
   5290       HRESULT (WINAPI *AsynchronousCall)(IServiceActivity *This,IServiceCall *pIServiceCall);
   5291       HRESULT (WINAPI *BindToCurrentThread)(IServiceActivity *This);
   5292       HRESULT (WINAPI *UnbindFromThread)(IServiceActivity *This);
   5293     END_INTERFACE
   5294   } IServiceActivityVtbl;
   5295   struct IServiceActivity {
   5296     CONST_VTBL struct IServiceActivityVtbl *lpVtbl;
   5297   };
   5298 #ifdef COBJMACROS
   5299 #define IServiceActivity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5300 #define IServiceActivity_AddRef(This) (This)->lpVtbl->AddRef(This)
   5301 #define IServiceActivity_Release(This) (This)->lpVtbl->Release(This)
   5302 #define IServiceActivity_SynchronousCall(This,pIServiceCall) (This)->lpVtbl->SynchronousCall(This,pIServiceCall)
   5303 #define IServiceActivity_AsynchronousCall(This,pIServiceCall) (This)->lpVtbl->AsynchronousCall(This,pIServiceCall)
   5304 #define IServiceActivity_BindToCurrentThread(This) (This)->lpVtbl->BindToCurrentThread(This)
   5305 #define IServiceActivity_UnbindFromThread(This) (This)->lpVtbl->UnbindFromThread(This)
   5306 #endif
   5307 #endif
   5308   HRESULT WINAPI IServiceActivity_SynchronousCall_Proxy(IServiceActivity *This,IServiceCall *pIServiceCall);
   5309   void __RPC_STUB IServiceActivity_SynchronousCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5310   HRESULT WINAPI IServiceActivity_AsynchronousCall_Proxy(IServiceActivity *This,IServiceCall *pIServiceCall);
   5311   void __RPC_STUB IServiceActivity_AsynchronousCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5312   HRESULT WINAPI IServiceActivity_BindToCurrentThread_Proxy(IServiceActivity *This);
   5313   void __RPC_STUB IServiceActivity_BindToCurrentThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5314   HRESULT WINAPI IServiceActivity_UnbindFromThread_Proxy(IServiceActivity *This);
   5315   void __RPC_STUB IServiceActivity_UnbindFromThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5316 #endif
   5317 
   5318 #ifndef __IThreadPoolKnobs_INTERFACE_DEFINED__
   5319 #define __IThreadPoolKnobs_INTERFACE_DEFINED__
   5320   EXTERN_C const IID IID_IThreadPoolKnobs;
   5321 #if defined(__cplusplus) && !defined(CINTERFACE)
   5322   struct IThreadPoolKnobs : public IUnknown {
   5323   public:
   5324     virtual HRESULT WINAPI GetMaxThreads(__LONG32 *plcMaxThreads) = 0;
   5325     virtual HRESULT WINAPI GetCurrentThreads(__LONG32 *plcCurrentThreads) = 0;
   5326     virtual HRESULT WINAPI SetMaxThreads(__LONG32 lcMaxThreads) = 0;
   5327     virtual HRESULT WINAPI GetDeleteDelay(__LONG32 *pmsecDeleteDelay) = 0;
   5328     virtual HRESULT WINAPI SetDeleteDelay(__LONG32 msecDeleteDelay) = 0;
   5329     virtual HRESULT WINAPI GetMaxQueuedRequests(__LONG32 *plcMaxQueuedRequests) = 0;
   5330     virtual HRESULT WINAPI GetCurrentQueuedRequests(__LONG32 *plcCurrentQueuedRequests) = 0;
   5331     virtual HRESULT WINAPI SetMaxQueuedRequests(__LONG32 lcMaxQueuedRequests) = 0;
   5332     virtual HRESULT WINAPI SetMinThreads(__LONG32 lcMinThreads) = 0;
   5333     virtual HRESULT WINAPI SetQueueDepth(__LONG32 lcQueueDepth) = 0;
   5334   };
   5335 #else
   5336   typedef struct IThreadPoolKnobsVtbl {
   5337     BEGIN_INTERFACE
   5338       HRESULT (WINAPI *QueryInterface)(IThreadPoolKnobs *This,REFIID riid,void **ppvObject);
   5339       ULONG (WINAPI *AddRef)(IThreadPoolKnobs *This);
   5340       ULONG (WINAPI *Release)(IThreadPoolKnobs *This);
   5341       HRESULT (WINAPI *GetMaxThreads)(IThreadPoolKnobs *This,__LONG32 *plcMaxThreads);
   5342       HRESULT (WINAPI *GetCurrentThreads)(IThreadPoolKnobs *This,__LONG32 *plcCurrentThreads);
   5343       HRESULT (WINAPI *SetMaxThreads)(IThreadPoolKnobs *This,__LONG32 lcMaxThreads);
   5344       HRESULT (WINAPI *GetDeleteDelay)(IThreadPoolKnobs *This,__LONG32 *pmsecDeleteDelay);
   5345       HRESULT (WINAPI *SetDeleteDelay)(IThreadPoolKnobs *This,__LONG32 msecDeleteDelay);
   5346       HRESULT (WINAPI *GetMaxQueuedRequests)(IThreadPoolKnobs *This,__LONG32 *plcMaxQueuedRequests);
   5347       HRESULT (WINAPI *GetCurrentQueuedRequests)(IThreadPoolKnobs *This,__LONG32 *plcCurrentQueuedRequests);
   5348       HRESULT (WINAPI *SetMaxQueuedRequests)(IThreadPoolKnobs *This,__LONG32 lcMaxQueuedRequests);
   5349       HRESULT (WINAPI *SetMinThreads)(IThreadPoolKnobs *This,__LONG32 lcMinThreads);
   5350       HRESULT (WINAPI *SetQueueDepth)(IThreadPoolKnobs *This,__LONG32 lcQueueDepth);
   5351     END_INTERFACE
   5352   } IThreadPoolKnobsVtbl;
   5353   struct IThreadPoolKnobs {
   5354     CONST_VTBL struct IThreadPoolKnobsVtbl *lpVtbl;
   5355   };
   5356 #ifdef COBJMACROS
   5357 #define IThreadPoolKnobs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5358 #define IThreadPoolKnobs_AddRef(This) (This)->lpVtbl->AddRef(This)
   5359 #define IThreadPoolKnobs_Release(This) (This)->lpVtbl->Release(This)
   5360 #define IThreadPoolKnobs_GetMaxThreads(This,plcMaxThreads) (This)->lpVtbl->GetMaxThreads(This,plcMaxThreads)
   5361 #define IThreadPoolKnobs_GetCurrentThreads(This,plcCurrentThreads) (This)->lpVtbl->GetCurrentThreads(This,plcCurrentThreads)
   5362 #define IThreadPoolKnobs_SetMaxThreads(This,lcMaxThreads) (This)->lpVtbl->SetMaxThreads(This,lcMaxThreads)
   5363 #define IThreadPoolKnobs_GetDeleteDelay(This,pmsecDeleteDelay) (This)->lpVtbl->GetDeleteDelay(This,pmsecDeleteDelay)
   5364 #define IThreadPoolKnobs_SetDeleteDelay(This,msecDeleteDelay) (This)->lpVtbl->SetDeleteDelay(This,msecDeleteDelay)
   5365 #define IThreadPoolKnobs_GetMaxQueuedRequests(This,plcMaxQueuedRequests) (This)->lpVtbl->GetMaxQueuedRequests(This,plcMaxQueuedRequests)
   5366 #define IThreadPoolKnobs_GetCurrentQueuedRequests(This,plcCurrentQueuedRequests) (This)->lpVtbl->GetCurrentQueuedRequests(This,plcCurrentQueuedRequests)
   5367 #define IThreadPoolKnobs_SetMaxQueuedRequests(This,lcMaxQueuedRequests) (This)->lpVtbl->SetMaxQueuedRequests(This,lcMaxQueuedRequests)
   5368 #define IThreadPoolKnobs_SetMinThreads(This,lcMinThreads) (This)->lpVtbl->SetMinThreads(This,lcMinThreads)
   5369 #define IThreadPoolKnobs_SetQueueDepth(This,lcQueueDepth) (This)->lpVtbl->SetQueueDepth(This,lcQueueDepth)
   5370 #endif
   5371 #endif
   5372   HRESULT WINAPI IThreadPoolKnobs_GetMaxThreads_Proxy(IThreadPoolKnobs *This,__LONG32 *plcMaxThreads);
   5373   void __RPC_STUB IThreadPoolKnobs_GetMaxThreads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5374   HRESULT WINAPI IThreadPoolKnobs_GetCurrentThreads_Proxy(IThreadPoolKnobs *This,__LONG32 *plcCurrentThreads);
   5375   void __RPC_STUB IThreadPoolKnobs_GetCurrentThreads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5376   HRESULT WINAPI IThreadPoolKnobs_SetMaxThreads_Proxy(IThreadPoolKnobs *This,__LONG32 lcMaxThreads);
   5377   void __RPC_STUB IThreadPoolKnobs_SetMaxThreads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5378   HRESULT WINAPI IThreadPoolKnobs_GetDeleteDelay_Proxy(IThreadPoolKnobs *This,__LONG32 *pmsecDeleteDelay);
   5379   void __RPC_STUB IThreadPoolKnobs_GetDeleteDelay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5380   HRESULT WINAPI IThreadPoolKnobs_SetDeleteDelay_Proxy(IThreadPoolKnobs *This,__LONG32 msecDeleteDelay);
   5381   void __RPC_STUB IThreadPoolKnobs_SetDeleteDelay_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5382   HRESULT WINAPI IThreadPoolKnobs_GetMaxQueuedRequests_Proxy(IThreadPoolKnobs *This,__LONG32 *plcMaxQueuedRequests);
   5383   void __RPC_STUB IThreadPoolKnobs_GetMaxQueuedRequests_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5384   HRESULT WINAPI IThreadPoolKnobs_GetCurrentQueuedRequests_Proxy(IThreadPoolKnobs *This,__LONG32 *plcCurrentQueuedRequests);
   5385   void __RPC_STUB IThreadPoolKnobs_GetCurrentQueuedRequests_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5386   HRESULT WINAPI IThreadPoolKnobs_SetMaxQueuedRequests_Proxy(IThreadPoolKnobs *This,__LONG32 lcMaxQueuedRequests);
   5387   void __RPC_STUB IThreadPoolKnobs_SetMaxQueuedRequests_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5388   HRESULT WINAPI IThreadPoolKnobs_SetMinThreads_Proxy(IThreadPoolKnobs *This,__LONG32 lcMinThreads);
   5389   void __RPC_STUB IThreadPoolKnobs_SetMinThreads_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5390   HRESULT WINAPI IThreadPoolKnobs_SetQueueDepth_Proxy(IThreadPoolKnobs *This,__LONG32 lcQueueDepth);
   5391   void __RPC_STUB IThreadPoolKnobs_SetQueueDepth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5392 #endif
   5393 
   5394 #ifndef __IComStaThreadPoolKnobs_INTERFACE_DEFINED__
   5395 #define __IComStaThreadPoolKnobs_INTERFACE_DEFINED__
   5396   EXTERN_C const IID IID_IComStaThreadPoolKnobs;
   5397 #if defined(__cplusplus) && !defined(CINTERFACE)
   5398   struct IComStaThreadPoolKnobs : public IUnknown {
   5399   public:
   5400     virtual HRESULT WINAPI SetMinThreadCount(DWORD minThreads) = 0;
   5401     virtual HRESULT WINAPI GetMinThreadCount(DWORD *minThreads) = 0;
   5402     virtual HRESULT WINAPI SetMaxThreadCount(DWORD maxThreads) = 0;
   5403     virtual HRESULT WINAPI GetMaxThreadCount(DWORD *maxThreads) = 0;
   5404     virtual HRESULT WINAPI SetActivityPerThread(DWORD activitiesPerThread) = 0;
   5405     virtual HRESULT WINAPI GetActivityPerThread(DWORD *activitiesPerThread) = 0;
   5406     virtual HRESULT WINAPI SetActivityRatio(DOUBLE activityRatio) = 0;
   5407     virtual HRESULT WINAPI GetActivityRatio(DOUBLE *activityRatio) = 0;
   5408     virtual HRESULT WINAPI GetThreadCount(DWORD *pdwThreads) = 0;
   5409     virtual HRESULT WINAPI GetQueueDepth(DWORD *pdwQDepth) = 0;
   5410     virtual HRESULT WINAPI SetQueueDepth(__LONG32 dwQDepth) = 0;
   5411   };
   5412 #else
   5413   typedef struct IComStaThreadPoolKnobsVtbl {
   5414     BEGIN_INTERFACE
   5415       HRESULT (WINAPI *QueryInterface)(IComStaThreadPoolKnobs *This,REFIID riid,void **ppvObject);
   5416       ULONG (WINAPI *AddRef)(IComStaThreadPoolKnobs *This);
   5417       ULONG (WINAPI *Release)(IComStaThreadPoolKnobs *This);
   5418       HRESULT (WINAPI *SetMinThreadCount)(IComStaThreadPoolKnobs *This,DWORD minThreads);
   5419       HRESULT (WINAPI *GetMinThreadCount)(IComStaThreadPoolKnobs *This,DWORD *minThreads);
   5420       HRESULT (WINAPI *SetMaxThreadCount)(IComStaThreadPoolKnobs *This,DWORD maxThreads);
   5421       HRESULT (WINAPI *GetMaxThreadCount)(IComStaThreadPoolKnobs *This,DWORD *maxThreads);
   5422       HRESULT (WINAPI *SetActivityPerThread)(IComStaThreadPoolKnobs *This,DWORD activitiesPerThread);
   5423       HRESULT (WINAPI *GetActivityPerThread)(IComStaThreadPoolKnobs *This,DWORD *activitiesPerThread);
   5424       HRESULT (WINAPI *SetActivityRatio)(IComStaThreadPoolKnobs *This,DOUBLE activityRatio);
   5425       HRESULT (WINAPI *GetActivityRatio)(IComStaThreadPoolKnobs *This,DOUBLE *activityRatio);
   5426       HRESULT (WINAPI *GetThreadCount)(IComStaThreadPoolKnobs *This,DWORD *pdwThreads);
   5427       HRESULT (WINAPI *GetQueueDepth)(IComStaThreadPoolKnobs *This,DWORD *pdwQDepth);
   5428       HRESULT (WINAPI *SetQueueDepth)(IComStaThreadPoolKnobs *This,__LONG32 dwQDepth);
   5429     END_INTERFACE
   5430   } IComStaThreadPoolKnobsVtbl;
   5431   struct IComStaThreadPoolKnobs {
   5432     CONST_VTBL struct IComStaThreadPoolKnobsVtbl *lpVtbl;
   5433   };
   5434 #ifdef COBJMACROS
   5435 #define IComStaThreadPoolKnobs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5436 #define IComStaThreadPoolKnobs_AddRef(This) (This)->lpVtbl->AddRef(This)
   5437 #define IComStaThreadPoolKnobs_Release(This) (This)->lpVtbl->Release(This)
   5438 #define IComStaThreadPoolKnobs_SetMinThreadCount(This,minThreads) (This)->lpVtbl->SetMinThreadCount(This,minThreads)
   5439 #define IComStaThreadPoolKnobs_GetMinThreadCount(This,minThreads) (This)->lpVtbl->GetMinThreadCount(This,minThreads)
   5440 #define IComStaThreadPoolKnobs_SetMaxThreadCount(This,maxThreads) (This)->lpVtbl->SetMaxThreadCount(This,maxThreads)
   5441 #define IComStaThreadPoolKnobs_GetMaxThreadCount(This,maxThreads) (This)->lpVtbl->GetMaxThreadCount(This,maxThreads)
   5442 #define IComStaThreadPoolKnobs_SetActivityPerThread(This,activitiesPerThread) (This)->lpVtbl->SetActivityPerThread(This,activitiesPerThread)
   5443 #define IComStaThreadPoolKnobs_GetActivityPerThread(This,activitiesPerThread) (This)->lpVtbl->GetActivityPerThread(This,activitiesPerThread)
   5444 #define IComStaThreadPoolKnobs_SetActivityRatio(This,activityRatio) (This)->lpVtbl->SetActivityRatio(This,activityRatio)
   5445 #define IComStaThreadPoolKnobs_GetActivityRatio(This,activityRatio) (This)->lpVtbl->GetActivityRatio(This,activityRatio)
   5446 #define IComStaThreadPoolKnobs_GetThreadCount(This,pdwThreads) (This)->lpVtbl->GetThreadCount(This,pdwThreads)
   5447 #define IComStaThreadPoolKnobs_GetQueueDepth(This,pdwQDepth) (This)->lpVtbl->GetQueueDepth(This,pdwQDepth)
   5448 #define IComStaThreadPoolKnobs_SetQueueDepth(This,dwQDepth) (This)->lpVtbl->SetQueueDepth(This,dwQDepth)
   5449 #endif
   5450 #endif
   5451   HRESULT WINAPI IComStaThreadPoolKnobs_SetMinThreadCount_Proxy(IComStaThreadPoolKnobs *This,DWORD minThreads);
   5452   void __RPC_STUB IComStaThreadPoolKnobs_SetMinThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5453   HRESULT WINAPI IComStaThreadPoolKnobs_GetMinThreadCount_Proxy(IComStaThreadPoolKnobs *This,DWORD *minThreads);
   5454   void __RPC_STUB IComStaThreadPoolKnobs_GetMinThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5455   HRESULT WINAPI IComStaThreadPoolKnobs_SetMaxThreadCount_Proxy(IComStaThreadPoolKnobs *This,DWORD maxThreads);
   5456   void __RPC_STUB IComStaThreadPoolKnobs_SetMaxThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5457   HRESULT WINAPI IComStaThreadPoolKnobs_GetMaxThreadCount_Proxy(IComStaThreadPoolKnobs *This,DWORD *maxThreads);
   5458   void __RPC_STUB IComStaThreadPoolKnobs_GetMaxThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5459   HRESULT WINAPI IComStaThreadPoolKnobs_SetActivityPerThread_Proxy(IComStaThreadPoolKnobs *This,DWORD activitiesPerThread);
   5460   void __RPC_STUB IComStaThreadPoolKnobs_SetActivityPerThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5461   HRESULT WINAPI IComStaThreadPoolKnobs_GetActivityPerThread_Proxy(IComStaThreadPoolKnobs *This,DWORD *activitiesPerThread);
   5462   void __RPC_STUB IComStaThreadPoolKnobs_GetActivityPerThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5463   HRESULT WINAPI IComStaThreadPoolKnobs_SetActivityRatio_Proxy(IComStaThreadPoolKnobs *This,DOUBLE activityRatio);
   5464   void __RPC_STUB IComStaThreadPoolKnobs_SetActivityRatio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5465   HRESULT WINAPI IComStaThreadPoolKnobs_GetActivityRatio_Proxy(IComStaThreadPoolKnobs *This,DOUBLE *activityRatio);
   5466   void __RPC_STUB IComStaThreadPoolKnobs_GetActivityRatio_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5467   HRESULT WINAPI IComStaThreadPoolKnobs_GetThreadCount_Proxy(IComStaThreadPoolKnobs *This,DWORD *pdwThreads);
   5468   void __RPC_STUB IComStaThreadPoolKnobs_GetThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5469   HRESULT WINAPI IComStaThreadPoolKnobs_GetQueueDepth_Proxy(IComStaThreadPoolKnobs *This,DWORD *pdwQDepth);
   5470   void __RPC_STUB IComStaThreadPoolKnobs_GetQueueDepth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5471   HRESULT WINAPI IComStaThreadPoolKnobs_SetQueueDepth_Proxy(IComStaThreadPoolKnobs *This,__LONG32 dwQDepth);
   5472   void __RPC_STUB IComStaThreadPoolKnobs_SetQueueDepth_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5473 #endif
   5474 
   5475 #ifndef __IComMtaThreadPoolKnobs_INTERFACE_DEFINED__
   5476 #define __IComMtaThreadPoolKnobs_INTERFACE_DEFINED__
   5477   EXTERN_C const IID IID_IComMtaThreadPoolKnobs;
   5478 #if defined(__cplusplus) && !defined(CINTERFACE)
   5479   struct IComMtaThreadPoolKnobs : public IUnknown {
   5480   public:
   5481     virtual HRESULT WINAPI MTASetMaxThreadCount(DWORD dwMaxThreads) = 0;
   5482     virtual HRESULT WINAPI MTAGetMaxThreadCount(DWORD *pdwMaxThreads) = 0;
   5483     virtual HRESULT WINAPI MTASetThrottleValue(DWORD dwThrottle) = 0;
   5484     virtual HRESULT WINAPI MTAGetThrottleValue(DWORD *pdwThrottle) = 0;
   5485   };
   5486 #else
   5487   typedef struct IComMtaThreadPoolKnobsVtbl {
   5488     BEGIN_INTERFACE
   5489       HRESULT (WINAPI *QueryInterface)(IComMtaThreadPoolKnobs *This,REFIID riid,void **ppvObject);
   5490       ULONG (WINAPI *AddRef)(IComMtaThreadPoolKnobs *This);
   5491       ULONG (WINAPI *Release)(IComMtaThreadPoolKnobs *This);
   5492       HRESULT (WINAPI *MTASetMaxThreadCount)(IComMtaThreadPoolKnobs *This,DWORD dwMaxThreads);
   5493       HRESULT (WINAPI *MTAGetMaxThreadCount)(IComMtaThreadPoolKnobs *This,DWORD *pdwMaxThreads);
   5494       HRESULT (WINAPI *MTASetThrottleValue)(IComMtaThreadPoolKnobs *This,DWORD dwThrottle);
   5495       HRESULT (WINAPI *MTAGetThrottleValue)(IComMtaThreadPoolKnobs *This,DWORD *pdwThrottle);
   5496     END_INTERFACE
   5497   } IComMtaThreadPoolKnobsVtbl;
   5498   struct IComMtaThreadPoolKnobs {
   5499     CONST_VTBL struct IComMtaThreadPoolKnobsVtbl *lpVtbl;
   5500   };
   5501 #ifdef COBJMACROS
   5502 #define IComMtaThreadPoolKnobs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5503 #define IComMtaThreadPoolKnobs_AddRef(This) (This)->lpVtbl->AddRef(This)
   5504 #define IComMtaThreadPoolKnobs_Release(This) (This)->lpVtbl->Release(This)
   5505 #define IComMtaThreadPoolKnobs_MTASetMaxThreadCount(This,dwMaxThreads) (This)->lpVtbl->MTASetMaxThreadCount(This,dwMaxThreads)
   5506 #define IComMtaThreadPoolKnobs_MTAGetMaxThreadCount(This,pdwMaxThreads) (This)->lpVtbl->MTAGetMaxThreadCount(This,pdwMaxThreads)
   5507 #define IComMtaThreadPoolKnobs_MTASetThrottleValue(This,dwThrottle) (This)->lpVtbl->MTASetThrottleValue(This,dwThrottle)
   5508 #define IComMtaThreadPoolKnobs_MTAGetThrottleValue(This,pdwThrottle) (This)->lpVtbl->MTAGetThrottleValue(This,pdwThrottle)
   5509 #endif
   5510 #endif
   5511   HRESULT WINAPI IComMtaThreadPoolKnobs_MTASetMaxThreadCount_Proxy(IComMtaThreadPoolKnobs *This,DWORD dwMaxThreads);
   5512   void __RPC_STUB IComMtaThreadPoolKnobs_MTASetMaxThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5513   HRESULT WINAPI IComMtaThreadPoolKnobs_MTAGetMaxThreadCount_Proxy(IComMtaThreadPoolKnobs *This,DWORD *pdwMaxThreads);
   5514   void __RPC_STUB IComMtaThreadPoolKnobs_MTAGetMaxThreadCount_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5515   HRESULT WINAPI IComMtaThreadPoolKnobs_MTASetThrottleValue_Proxy(IComMtaThreadPoolKnobs *This,DWORD dwThrottle);
   5516   void __RPC_STUB IComMtaThreadPoolKnobs_MTASetThrottleValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5517   HRESULT WINAPI IComMtaThreadPoolKnobs_MTAGetThrottleValue_Proxy(IComMtaThreadPoolKnobs *This,DWORD *pdwThrottle);
   5518   void __RPC_STUB IComMtaThreadPoolKnobs_MTAGetThrottleValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5519 #endif
   5520 
   5521 #ifndef __IComStaThreadPoolKnobs2_INTERFACE_DEFINED__
   5522 #define __IComStaThreadPoolKnobs2_INTERFACE_DEFINED__
   5523   EXTERN_C const IID IID_IComStaThreadPoolKnobs2;
   5524 #if defined(__cplusplus) && !defined(CINTERFACE)
   5525   struct IComStaThreadPoolKnobs2 : public IComStaThreadPoolKnobs {
   5526   public:
   5527     virtual HRESULT WINAPI GetMaxCPULoad(DWORD *pdwLoad) = 0;
   5528     virtual HRESULT WINAPI SetMaxCPULoad(__LONG32 pdwLoad) = 0;
   5529     virtual HRESULT WINAPI GetCPUMetricEnabled(WINBOOL *pbMetricEnabled) = 0;
   5530     virtual HRESULT WINAPI SetCPUMetricEnabled(WINBOOL bMetricEnabled) = 0;
   5531     virtual HRESULT WINAPI GetCreateThreadsAggressively(WINBOOL *pbMetricEnabled) = 0;
   5532     virtual HRESULT WINAPI SetCreateThreadsAggressively(WINBOOL bMetricEnabled) = 0;
   5533     virtual HRESULT WINAPI GetMaxCSR(DWORD *pdwCSR) = 0;
   5534     virtual HRESULT WINAPI SetMaxCSR(__LONG32 dwCSR) = 0;
   5535     virtual HRESULT WINAPI GetWaitTimeForThreadCleanup(DWORD *pdwThreadCleanupWaitTime) = 0;
   5536     virtual HRESULT WINAPI SetWaitTimeForThreadCleanup(__LONG32 dwThreadCleanupWaitTime) = 0;
   5537   };
   5538 #else
   5539   typedef struct IComStaThreadPoolKnobs2Vtbl {
   5540     BEGIN_INTERFACE
   5541       HRESULT (WINAPI *QueryInterface)(IComStaThreadPoolKnobs2 *This,REFIID riid,void **ppvObject);
   5542       ULONG (WINAPI *AddRef)(IComStaThreadPoolKnobs2 *This);
   5543       ULONG (WINAPI *Release)(IComStaThreadPoolKnobs2 *This);
   5544       HRESULT (WINAPI *SetMinThreadCount)(IComStaThreadPoolKnobs2 *This,DWORD minThreads);
   5545       HRESULT (WINAPI *GetMinThreadCount)(IComStaThreadPoolKnobs2 *This,DWORD *minThreads);
   5546       HRESULT (WINAPI *SetMaxThreadCount)(IComStaThreadPoolKnobs2 *This,DWORD maxThreads);
   5547       HRESULT (WINAPI *GetMaxThreadCount)(IComStaThreadPoolKnobs2 *This,DWORD *maxThreads);
   5548       HRESULT (WINAPI *SetActivityPerThread)(IComStaThreadPoolKnobs2 *This,DWORD activitiesPerThread);
   5549       HRESULT (WINAPI *GetActivityPerThread)(IComStaThreadPoolKnobs2 *This,DWORD *activitiesPerThread);
   5550       HRESULT (WINAPI *SetActivityRatio)(IComStaThreadPoolKnobs2 *This,DOUBLE activityRatio);
   5551       HRESULT (WINAPI *GetActivityRatio)(IComStaThreadPoolKnobs2 *This,DOUBLE *activityRatio);
   5552       HRESULT (WINAPI *GetThreadCount)(IComStaThreadPoolKnobs2 *This,DWORD *pdwThreads);
   5553       HRESULT (WINAPI *GetQueueDepth)(IComStaThreadPoolKnobs2 *This,DWORD *pdwQDepth);
   5554       HRESULT (WINAPI *SetQueueDepth)(IComStaThreadPoolKnobs2 *This,__LONG32 dwQDepth);
   5555       HRESULT (WINAPI *GetMaxCPULoad)(IComStaThreadPoolKnobs2 *This,DWORD *pdwLoad);
   5556       HRESULT (WINAPI *SetMaxCPULoad)(IComStaThreadPoolKnobs2 *This,__LONG32 pdwLoad);
   5557       HRESULT (WINAPI *GetCPUMetricEnabled)(IComStaThreadPoolKnobs2 *This,WINBOOL *pbMetricEnabled);
   5558       HRESULT (WINAPI *SetCPUMetricEnabled)(IComStaThreadPoolKnobs2 *This,WINBOOL bMetricEnabled);
   5559       HRESULT (WINAPI *GetCreateThreadsAggressively)(IComStaThreadPoolKnobs2 *This,WINBOOL *pbMetricEnabled);
   5560       HRESULT (WINAPI *SetCreateThreadsAggressively)(IComStaThreadPoolKnobs2 *This,WINBOOL bMetricEnabled);
   5561       HRESULT (WINAPI *GetMaxCSR)(IComStaThreadPoolKnobs2 *This,DWORD *pdwCSR);
   5562       HRESULT (WINAPI *SetMaxCSR)(IComStaThreadPoolKnobs2 *This,__LONG32 dwCSR);
   5563       HRESULT (WINAPI *GetWaitTimeForThreadCleanup)(IComStaThreadPoolKnobs2 *This,DWORD *pdwThreadCleanupWaitTime);
   5564       HRESULT (WINAPI *SetWaitTimeForThreadCleanup)(IComStaThreadPoolKnobs2 *This,__LONG32 dwThreadCleanupWaitTime);
   5565     END_INTERFACE
   5566   } IComStaThreadPoolKnobs2Vtbl;
   5567   struct IComStaThreadPoolKnobs2 {
   5568     CONST_VTBL struct IComStaThreadPoolKnobs2Vtbl *lpVtbl;
   5569   };
   5570 #ifdef COBJMACROS
   5571 #define IComStaThreadPoolKnobs2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5572 #define IComStaThreadPoolKnobs2_AddRef(This) (This)->lpVtbl->AddRef(This)
   5573 #define IComStaThreadPoolKnobs2_Release(This) (This)->lpVtbl->Release(This)
   5574 #define IComStaThreadPoolKnobs2_SetMinThreadCount(This,minThreads) (This)->lpVtbl->SetMinThreadCount(This,minThreads)
   5575 #define IComStaThreadPoolKnobs2_GetMinThreadCount(This,minThreads) (This)->lpVtbl->GetMinThreadCount(This,minThreads)
   5576 #define IComStaThreadPoolKnobs2_SetMaxThreadCount(This,maxThreads) (This)->lpVtbl->SetMaxThreadCount(This,maxThreads)
   5577 #define IComStaThreadPoolKnobs2_GetMaxThreadCount(This,maxThreads) (This)->lpVtbl->GetMaxThreadCount(This,maxThreads)
   5578 #define IComStaThreadPoolKnobs2_SetActivityPerThread(This,activitiesPerThread) (This)->lpVtbl->SetActivityPerThread(This,activitiesPerThread)
   5579 #define IComStaThreadPoolKnobs2_GetActivityPerThread(This,activitiesPerThread) (This)->lpVtbl->GetActivityPerThread(This,activitiesPerThread)
   5580 #define IComStaThreadPoolKnobs2_SetActivityRatio(This,activityRatio) (This)->lpVtbl->SetActivityRatio(This,activityRatio)
   5581 #define IComStaThreadPoolKnobs2_GetActivityRatio(This,activityRatio) (This)->lpVtbl->GetActivityRatio(This,activityRatio)
   5582 #define IComStaThreadPoolKnobs2_GetThreadCount(This,pdwThreads) (This)->lpVtbl->GetThreadCount(This,pdwThreads)
   5583 #define IComStaThreadPoolKnobs2_GetQueueDepth(This,pdwQDepth) (This)->lpVtbl->GetQueueDepth(This,pdwQDepth)
   5584 #define IComStaThreadPoolKnobs2_SetQueueDepth(This,dwQDepth) (This)->lpVtbl->SetQueueDepth(This,dwQDepth)
   5585 #define IComStaThreadPoolKnobs2_GetMaxCPULoad(This,pdwLoad) (This)->lpVtbl->GetMaxCPULoad(This,pdwLoad)
   5586 #define IComStaThreadPoolKnobs2_SetMaxCPULoad(This,pdwLoad) (This)->lpVtbl->SetMaxCPULoad(This,pdwLoad)
   5587 #define IComStaThreadPoolKnobs2_GetCPUMetricEnabled(This,pbMetricEnabled) (This)->lpVtbl->GetCPUMetricEnabled(This,pbMetricEnabled)
   5588 #define IComStaThreadPoolKnobs2_SetCPUMetricEnabled(This,bMetricEnabled) (This)->lpVtbl->SetCPUMetricEnabled(This,bMetricEnabled)
   5589 #define IComStaThreadPoolKnobs2_GetCreateThreadsAggressively(This,pbMetricEnabled) (This)->lpVtbl->GetCreateThreadsAggressively(This,pbMetricEnabled)
   5590 #define IComStaThreadPoolKnobs2_SetCreateThreadsAggressively(This,bMetricEnabled) (This)->lpVtbl->SetCreateThreadsAggressively(This,bMetricEnabled)
   5591 #define IComStaThreadPoolKnobs2_GetMaxCSR(This,pdwCSR) (This)->lpVtbl->GetMaxCSR(This,pdwCSR)
   5592 #define IComStaThreadPoolKnobs2_SetMaxCSR(This,dwCSR) (This)->lpVtbl->SetMaxCSR(This,dwCSR)
   5593 #define IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup(This,pdwThreadCleanupWaitTime) (This)->lpVtbl->GetWaitTimeForThreadCleanup(This,pdwThreadCleanupWaitTime)
   5594 #define IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup(This,dwThreadCleanupWaitTime) (This)->lpVtbl->SetWaitTimeForThreadCleanup(This,dwThreadCleanupWaitTime)
   5595 #endif
   5596 #endif
   5597   HRESULT WINAPI IComStaThreadPoolKnobs2_GetMaxCPULoad_Proxy(IComStaThreadPoolKnobs2 *This,DWORD *pdwLoad);
   5598   void __RPC_STUB IComStaThreadPoolKnobs2_GetMaxCPULoad_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5599   HRESULT WINAPI IComStaThreadPoolKnobs2_SetMaxCPULoad_Proxy(IComStaThreadPoolKnobs2 *This,__LONG32 pdwLoad);
   5600   void __RPC_STUB IComStaThreadPoolKnobs2_SetMaxCPULoad_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5601   HRESULT WINAPI IComStaThreadPoolKnobs2_GetCPUMetricEnabled_Proxy(IComStaThreadPoolKnobs2 *This,WINBOOL *pbMetricEnabled);
   5602   void __RPC_STUB IComStaThreadPoolKnobs2_GetCPUMetricEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5603   HRESULT WINAPI IComStaThreadPoolKnobs2_SetCPUMetricEnabled_Proxy(IComStaThreadPoolKnobs2 *This,WINBOOL bMetricEnabled);
   5604   void __RPC_STUB IComStaThreadPoolKnobs2_SetCPUMetricEnabled_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5605   HRESULT WINAPI IComStaThreadPoolKnobs2_GetCreateThreadsAggressively_Proxy(IComStaThreadPoolKnobs2 *This,WINBOOL *pbMetricEnabled);
   5606   void __RPC_STUB IComStaThreadPoolKnobs2_GetCreateThreadsAggressively_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5607   HRESULT WINAPI IComStaThreadPoolKnobs2_SetCreateThreadsAggressively_Proxy(IComStaThreadPoolKnobs2 *This,WINBOOL bMetricEnabled);
   5608   void __RPC_STUB IComStaThreadPoolKnobs2_SetCreateThreadsAggressively_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5609   HRESULT WINAPI IComStaThreadPoolKnobs2_GetMaxCSR_Proxy(IComStaThreadPoolKnobs2 *This,DWORD *pdwCSR);
   5610   void __RPC_STUB IComStaThreadPoolKnobs2_GetMaxCSR_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5611   HRESULT WINAPI IComStaThreadPoolKnobs2_SetMaxCSR_Proxy(IComStaThreadPoolKnobs2 *This,__LONG32 dwCSR);
   5612   void __RPC_STUB IComStaThreadPoolKnobs2_SetMaxCSR_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5613   HRESULT WINAPI IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup_Proxy(IComStaThreadPoolKnobs2 *This,DWORD *pdwThreadCleanupWaitTime);
   5614   void __RPC_STUB IComStaThreadPoolKnobs2_GetWaitTimeForThreadCleanup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5615   HRESULT WINAPI IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup_Proxy(IComStaThreadPoolKnobs2 *This,__LONG32 dwThreadCleanupWaitTime);
   5616   void __RPC_STUB IComStaThreadPoolKnobs2_SetWaitTimeForThreadCleanup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5617 #endif
   5618 
   5619 #ifndef __IProcessInitializer_INTERFACE_DEFINED__
   5620 #define __IProcessInitializer_INTERFACE_DEFINED__
   5621   EXTERN_C const IID IID_IProcessInitializer;
   5622 #if defined(__cplusplus) && !defined(CINTERFACE)
   5623   struct IProcessInitializer : public IUnknown {
   5624   public:
   5625     virtual HRESULT WINAPI Startup(IUnknown *punkProcessControl) = 0;
   5626     virtual HRESULT WINAPI Shutdown(void) = 0;
   5627   };
   5628 #else
   5629   typedef struct IProcessInitializerVtbl {
   5630     BEGIN_INTERFACE
   5631       HRESULT (WINAPI *QueryInterface)(IProcessInitializer *This,REFIID riid,void **ppvObject);
   5632       ULONG (WINAPI *AddRef)(IProcessInitializer *This);
   5633       ULONG (WINAPI *Release)(IProcessInitializer *This);
   5634       HRESULT (WINAPI *Startup)(IProcessInitializer *This,IUnknown *punkProcessControl);
   5635       HRESULT (WINAPI *Shutdown)(IProcessInitializer *This);
   5636     END_INTERFACE
   5637   } IProcessInitializerVtbl;
   5638   struct IProcessInitializer {
   5639     CONST_VTBL struct IProcessInitializerVtbl *lpVtbl;
   5640   };
   5641 #ifdef COBJMACROS
   5642 #define IProcessInitializer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5643 #define IProcessInitializer_AddRef(This) (This)->lpVtbl->AddRef(This)
   5644 #define IProcessInitializer_Release(This) (This)->lpVtbl->Release(This)
   5645 #define IProcessInitializer_Startup(This,punkProcessControl) (This)->lpVtbl->Startup(This,punkProcessControl)
   5646 #define IProcessInitializer_Shutdown(This) (This)->lpVtbl->Shutdown(This)
   5647 #endif
   5648 #endif
   5649   HRESULT WINAPI IProcessInitializer_Startup_Proxy(IProcessInitializer *This,IUnknown *punkProcessControl);
   5650   void __RPC_STUB IProcessInitializer_Startup_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5651   HRESULT WINAPI IProcessInitializer_Shutdown_Proxy(IProcessInitializer *This);
   5652   void __RPC_STUB IProcessInitializer_Shutdown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5653 #endif
   5654 
   5655 #ifndef __IServicePoolConfig_INTERFACE_DEFINED__
   5656 #define __IServicePoolConfig_INTERFACE_DEFINED__
   5657   EXTERN_C const IID IID_IServicePoolConfig;
   5658 #if defined(__cplusplus) && !defined(CINTERFACE)
   5659   struct IServicePoolConfig : public IUnknown {
   5660   public:
   5661     virtual HRESULT WINAPI put_MaxPoolSize(DWORD dwMaxPool) = 0;
   5662     virtual HRESULT WINAPI get_MaxPoolSize(DWORD *pdwMaxPool) = 0;
   5663     virtual HRESULT WINAPI put_MinPoolSize(DWORD dwMinPool) = 0;
   5664     virtual HRESULT WINAPI get_MinPoolSize(DWORD *pdwMinPool) = 0;
   5665     virtual HRESULT WINAPI put_CreationTimeout(DWORD dwCreationTimeout) = 0;
   5666     virtual HRESULT WINAPI get_CreationTimeout(DWORD *pdwCreationTimeout) = 0;
   5667     virtual HRESULT WINAPI put_TransactionAffinity(WINBOOL fTxAffinity) = 0;
   5668     virtual HRESULT WINAPI get_TransactionAffinity(WINBOOL *pfTxAffinity) = 0;
   5669     virtual HRESULT WINAPI put_ClassFactory(IClassFactory *pFactory) = 0;
   5670     virtual HRESULT WINAPI get_ClassFactory(IClassFactory **pFactory) = 0;
   5671   };
   5672 #else
   5673   typedef struct IServicePoolConfigVtbl {
   5674     BEGIN_INTERFACE
   5675       HRESULT (WINAPI *QueryInterface)(IServicePoolConfig *This,REFIID riid,void **ppvObject);
   5676       ULONG (WINAPI *AddRef)(IServicePoolConfig *This);
   5677       ULONG (WINAPI *Release)(IServicePoolConfig *This);
   5678       HRESULT (WINAPI *put_MaxPoolSize)(IServicePoolConfig *This,DWORD dwMaxPool);
   5679       HRESULT (WINAPI *get_MaxPoolSize)(IServicePoolConfig *This,DWORD *pdwMaxPool);
   5680       HRESULT (WINAPI *put_MinPoolSize)(IServicePoolConfig *This,DWORD dwMinPool);
   5681       HRESULT (WINAPI *get_MinPoolSize)(IServicePoolConfig *This,DWORD *pdwMinPool);
   5682       HRESULT (WINAPI *put_CreationTimeout)(IServicePoolConfig *This,DWORD dwCreationTimeout);
   5683       HRESULT (WINAPI *get_CreationTimeout)(IServicePoolConfig *This,DWORD *pdwCreationTimeout);
   5684       HRESULT (WINAPI *put_TransactionAffinity)(IServicePoolConfig *This,WINBOOL fTxAffinity);
   5685       HRESULT (WINAPI *get_TransactionAffinity)(IServicePoolConfig *This,WINBOOL *pfTxAffinity);
   5686       HRESULT (WINAPI *put_ClassFactory)(IServicePoolConfig *This,IClassFactory *pFactory);
   5687       HRESULT (WINAPI *get_ClassFactory)(IServicePoolConfig *This,IClassFactory **pFactory);
   5688     END_INTERFACE
   5689   } IServicePoolConfigVtbl;
   5690   struct IServicePoolConfig {
   5691     CONST_VTBL struct IServicePoolConfigVtbl *lpVtbl;
   5692   };
   5693 #ifdef COBJMACROS
   5694 #define IServicePoolConfig_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5695 #define IServicePoolConfig_AddRef(This) (This)->lpVtbl->AddRef(This)
   5696 #define IServicePoolConfig_Release(This) (This)->lpVtbl->Release(This)
   5697 #define IServicePoolConfig_put_MaxPoolSize(This,dwMaxPool) (This)->lpVtbl->put_MaxPoolSize(This,dwMaxPool)
   5698 #define IServicePoolConfig_get_MaxPoolSize(This,pdwMaxPool) (This)->lpVtbl->get_MaxPoolSize(This,pdwMaxPool)
   5699 #define IServicePoolConfig_put_MinPoolSize(This,dwMinPool) (This)->lpVtbl->put_MinPoolSize(This,dwMinPool)
   5700 #define IServicePoolConfig_get_MinPoolSize(This,pdwMinPool) (This)->lpVtbl->get_MinPoolSize(This,pdwMinPool)
   5701 #define IServicePoolConfig_put_CreationTimeout(This,dwCreationTimeout) (This)->lpVtbl->put_CreationTimeout(This,dwCreationTimeout)
   5702 #define IServicePoolConfig_get_CreationTimeout(This,pdwCreationTimeout) (This)->lpVtbl->get_CreationTimeout(This,pdwCreationTimeout)
   5703 #define IServicePoolConfig_put_TransactionAffinity(This,fTxAffinity) (This)->lpVtbl->put_TransactionAffinity(This,fTxAffinity)
   5704 #define IServicePoolConfig_get_TransactionAffinity(This,pfTxAffinity) (This)->lpVtbl->get_TransactionAffinity(This,pfTxAffinity)
   5705 #define IServicePoolConfig_put_ClassFactory(This,pFactory) (This)->lpVtbl->put_ClassFactory(This,pFactory)
   5706 #define IServicePoolConfig_get_ClassFactory(This,pFactory) (This)->lpVtbl->get_ClassFactory(This,pFactory)
   5707 #endif
   5708 #endif
   5709   HRESULT WINAPI IServicePoolConfig_put_MaxPoolSize_Proxy(IServicePoolConfig *This,DWORD dwMaxPool);
   5710   void __RPC_STUB IServicePoolConfig_put_MaxPoolSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5711   HRESULT WINAPI IServicePoolConfig_get_MaxPoolSize_Proxy(IServicePoolConfig *This,DWORD *pdwMaxPool);
   5712   void __RPC_STUB IServicePoolConfig_get_MaxPoolSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5713   HRESULT WINAPI IServicePoolConfig_put_MinPoolSize_Proxy(IServicePoolConfig *This,DWORD dwMinPool);
   5714   void __RPC_STUB IServicePoolConfig_put_MinPoolSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5715   HRESULT WINAPI IServicePoolConfig_get_MinPoolSize_Proxy(IServicePoolConfig *This,DWORD *pdwMinPool);
   5716   void __RPC_STUB IServicePoolConfig_get_MinPoolSize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5717   HRESULT WINAPI IServicePoolConfig_put_CreationTimeout_Proxy(IServicePoolConfig *This,DWORD dwCreationTimeout);
   5718   void __RPC_STUB IServicePoolConfig_put_CreationTimeout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5719   HRESULT WINAPI IServicePoolConfig_get_CreationTimeout_Proxy(IServicePoolConfig *This,DWORD *pdwCreationTimeout);
   5720   void __RPC_STUB IServicePoolConfig_get_CreationTimeout_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5721   HRESULT WINAPI IServicePoolConfig_put_TransactionAffinity_Proxy(IServicePoolConfig *This,WINBOOL fTxAffinity);
   5722   void __RPC_STUB IServicePoolConfig_put_TransactionAffinity_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5723   HRESULT WINAPI IServicePoolConfig_get_TransactionAffinity_Proxy(IServicePoolConfig *This,WINBOOL *pfTxAffinity);
   5724   void __RPC_STUB IServicePoolConfig_get_TransactionAffinity_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5725   HRESULT WINAPI IServicePoolConfig_put_ClassFactory_Proxy(IServicePoolConfig *This,IClassFactory *pFactory);
   5726   void __RPC_STUB IServicePoolConfig_put_ClassFactory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5727   HRESULT WINAPI IServicePoolConfig_get_ClassFactory_Proxy(IServicePoolConfig *This,IClassFactory **pFactory);
   5728   void __RPC_STUB IServicePoolConfig_get_ClassFactory_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5729 #endif
   5730 
   5731 #ifndef __IServicePool_INTERFACE_DEFINED__
   5732 #define __IServicePool_INTERFACE_DEFINED__
   5733   EXTERN_C const IID IID_IServicePool;
   5734 #if defined(__cplusplus) && !defined(CINTERFACE)
   5735   struct IServicePool : public IUnknown {
   5736   public:
   5737     virtual HRESULT WINAPI Initialize(IUnknown *pPoolConfig) = 0;
   5738     virtual HRESULT WINAPI GetObject(REFIID riid,void **ppv) = 0;
   5739     virtual HRESULT WINAPI Shutdown(void) = 0;
   5740   };
   5741 #else
   5742   typedef struct IServicePoolVtbl {
   5743     BEGIN_INTERFACE
   5744       HRESULT (WINAPI *QueryInterface)(IServicePool *This,REFIID riid,void **ppvObject);
   5745       ULONG (WINAPI *AddRef)(IServicePool *This);
   5746       ULONG (WINAPI *Release)(IServicePool *This);
   5747       HRESULT (WINAPI *Initialize)(IServicePool *This,IUnknown *pPoolConfig);
   5748       HRESULT (WINAPI *GetObject)(IServicePool *This,REFIID riid,void **ppv);
   5749       HRESULT (WINAPI *Shutdown)(IServicePool *This);
   5750     END_INTERFACE
   5751   } IServicePoolVtbl;
   5752   struct IServicePool {
   5753     CONST_VTBL struct IServicePoolVtbl *lpVtbl;
   5754   };
   5755 #ifdef COBJMACROS
   5756 #define IServicePool_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5757 #define IServicePool_AddRef(This) (This)->lpVtbl->AddRef(This)
   5758 #define IServicePool_Release(This) (This)->lpVtbl->Release(This)
   5759 #define IServicePool_Initialize(This,pPoolConfig) (This)->lpVtbl->Initialize(This,pPoolConfig)
   5760 #define IServicePool_GetObject(This,riid,ppv) (This)->lpVtbl->GetObject(This,riid,ppv)
   5761 #define IServicePool_Shutdown(This) (This)->lpVtbl->Shutdown(This)
   5762 #endif
   5763 #endif
   5764   HRESULT WINAPI IServicePool_Initialize_Proxy(IServicePool *This,IUnknown *pPoolConfig);
   5765   void __RPC_STUB IServicePool_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5766   HRESULT WINAPI IServicePool_GetObject_Proxy(IServicePool *This,REFIID riid,void **ppv);
   5767   void __RPC_STUB IServicePool_GetObject_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5768   HRESULT WINAPI IServicePool_Shutdown_Proxy(IServicePool *This);
   5769   void __RPC_STUB IServicePool_Shutdown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5770 #endif
   5771 
   5772 #ifndef __IManagedPooledObj_INTERFACE_DEFINED__
   5773 #define __IManagedPooledObj_INTERFACE_DEFINED__
   5774   EXTERN_C const IID IID_IManagedPooledObj;
   5775 #if defined(__cplusplus) && !defined(CINTERFACE)
   5776   struct IManagedPooledObj : public IUnknown {
   5777   public:
   5778     virtual HRESULT WINAPI SetHeld(WINBOOL m_bHeld) = 0;
   5779   };
   5780 #else
   5781   typedef struct IManagedPooledObjVtbl {
   5782     BEGIN_INTERFACE
   5783       HRESULT (WINAPI *QueryInterface)(IManagedPooledObj *This,REFIID riid,void **ppvObject);
   5784       ULONG (WINAPI *AddRef)(IManagedPooledObj *This);
   5785       ULONG (WINAPI *Release)(IManagedPooledObj *This);
   5786       HRESULT (WINAPI *SetHeld)(IManagedPooledObj *This,WINBOOL m_bHeld);
   5787     END_INTERFACE
   5788   } IManagedPooledObjVtbl;
   5789   struct IManagedPooledObj {
   5790     CONST_VTBL struct IManagedPooledObjVtbl *lpVtbl;
   5791   };
   5792 #ifdef COBJMACROS
   5793 #define IManagedPooledObj_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5794 #define IManagedPooledObj_AddRef(This) (This)->lpVtbl->AddRef(This)
   5795 #define IManagedPooledObj_Release(This) (This)->lpVtbl->Release(This)
   5796 #define IManagedPooledObj_SetHeld(This,m_bHeld) (This)->lpVtbl->SetHeld(This,m_bHeld)
   5797 #endif
   5798 #endif
   5799   HRESULT WINAPI IManagedPooledObj_SetHeld_Proxy(IManagedPooledObj *This,WINBOOL m_bHeld);
   5800   void __RPC_STUB IManagedPooledObj_SetHeld_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5801 #endif
   5802 
   5803 #ifndef __IManagedPoolAction_INTERFACE_DEFINED__
   5804 #define __IManagedPoolAction_INTERFACE_DEFINED__
   5805   EXTERN_C const IID IID_IManagedPoolAction;
   5806 #if defined(__cplusplus) && !defined(CINTERFACE)
   5807   struct IManagedPoolAction : public IUnknown {
   5808   public:
   5809     virtual HRESULT WINAPI LastRelease(void) = 0;
   5810   };
   5811 #else
   5812   typedef struct IManagedPoolActionVtbl {
   5813     BEGIN_INTERFACE
   5814       HRESULT (WINAPI *QueryInterface)(IManagedPoolAction *This,REFIID riid,void **ppvObject);
   5815       ULONG (WINAPI *AddRef)(IManagedPoolAction *This);
   5816       ULONG (WINAPI *Release)(IManagedPoolAction *This);
   5817       HRESULT (WINAPI *LastRelease)(IManagedPoolAction *This);
   5818     END_INTERFACE
   5819   } IManagedPoolActionVtbl;
   5820   struct IManagedPoolAction {
   5821     CONST_VTBL struct IManagedPoolActionVtbl *lpVtbl;
   5822   };
   5823 #ifdef COBJMACROS
   5824 #define IManagedPoolAction_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5825 #define IManagedPoolAction_AddRef(This) (This)->lpVtbl->AddRef(This)
   5826 #define IManagedPoolAction_Release(This) (This)->lpVtbl->Release(This)
   5827 #define IManagedPoolAction_LastRelease(This) (This)->lpVtbl->LastRelease(This)
   5828 #endif
   5829 #endif
   5830   HRESULT WINAPI IManagedPoolAction_LastRelease_Proxy(IManagedPoolAction *This);
   5831   void __RPC_STUB IManagedPoolAction_LastRelease_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5832 #endif
   5833 
   5834 #ifndef __IManagedObjectInfo_INTERFACE_DEFINED__
   5835 #define __IManagedObjectInfo_INTERFACE_DEFINED__
   5836   EXTERN_C const IID IID_IManagedObjectInfo;
   5837 #if defined(__cplusplus) && !defined(CINTERFACE)
   5838   struct IManagedObjectInfo : public IUnknown {
   5839   public:
   5840     virtual HRESULT WINAPI GetIUnknown(IUnknown **pUnk) = 0;
   5841     virtual HRESULT WINAPI GetIObjectControl(IObjectControl **pCtrl) = 0;
   5842     virtual HRESULT WINAPI SetInPool(WINBOOL bInPool,IManagedPooledObj *pPooledObj) = 0;
   5843     virtual HRESULT WINAPI SetWrapperStrength(WINBOOL bStrong) = 0;
   5844   };
   5845 #else
   5846   typedef struct IManagedObjectInfoVtbl {
   5847     BEGIN_INTERFACE
   5848       HRESULT (WINAPI *QueryInterface)(IManagedObjectInfo *This,REFIID riid,void **ppvObject);
   5849       ULONG (WINAPI *AddRef)(IManagedObjectInfo *This);
   5850       ULONG (WINAPI *Release)(IManagedObjectInfo *This);
   5851       HRESULT (WINAPI *GetIUnknown)(IManagedObjectInfo *This,IUnknown **pUnk);
   5852       HRESULT (WINAPI *GetIObjectControl)(IManagedObjectInfo *This,IObjectControl **pCtrl);
   5853       HRESULT (WINAPI *SetInPool)(IManagedObjectInfo *This,WINBOOL bInPool,IManagedPooledObj *pPooledObj);
   5854       HRESULT (WINAPI *SetWrapperStrength)(IManagedObjectInfo *This,WINBOOL bStrong);
   5855     END_INTERFACE
   5856   } IManagedObjectInfoVtbl;
   5857   struct IManagedObjectInfo {
   5858     CONST_VTBL struct IManagedObjectInfoVtbl *lpVtbl;
   5859   };
   5860 #ifdef COBJMACROS
   5861 #define IManagedObjectInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5862 #define IManagedObjectInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
   5863 #define IManagedObjectInfo_Release(This) (This)->lpVtbl->Release(This)
   5864 #define IManagedObjectInfo_GetIUnknown(This,pUnk) (This)->lpVtbl->GetIUnknown(This,pUnk)
   5865 #define IManagedObjectInfo_GetIObjectControl(This,pCtrl) (This)->lpVtbl->GetIObjectControl(This,pCtrl)
   5866 #define IManagedObjectInfo_SetInPool(This,bInPool,pPooledObj) (This)->lpVtbl->SetInPool(This,bInPool,pPooledObj)
   5867 #define IManagedObjectInfo_SetWrapperStrength(This,bStrong) (This)->lpVtbl->SetWrapperStrength(This,bStrong)
   5868 #endif
   5869 #endif
   5870   HRESULT WINAPI IManagedObjectInfo_GetIUnknown_Proxy(IManagedObjectInfo *This,IUnknown **pUnk);
   5871   void __RPC_STUB IManagedObjectInfo_GetIUnknown_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5872   HRESULT WINAPI IManagedObjectInfo_GetIObjectControl_Proxy(IManagedObjectInfo *This,IObjectControl **pCtrl);
   5873   void __RPC_STUB IManagedObjectInfo_GetIObjectControl_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5874   HRESULT WINAPI IManagedObjectInfo_SetInPool_Proxy(IManagedObjectInfo *This,WINBOOL bInPool,IManagedPooledObj *pPooledObj);
   5875   void __RPC_STUB IManagedObjectInfo_SetInPool_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5876   HRESULT WINAPI IManagedObjectInfo_SetWrapperStrength_Proxy(IManagedObjectInfo *This,WINBOOL bStrong);
   5877   void __RPC_STUB IManagedObjectInfo_SetWrapperStrength_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5878 #endif
   5879 
   5880 #ifndef __IAppDomainHelper_INTERFACE_DEFINED__
   5881 #define __IAppDomainHelper_INTERFACE_DEFINED__
   5882   EXTERN_C const IID IID_IAppDomainHelper;
   5883 #if defined(__cplusplus) && !defined(CINTERFACE)
   5884   struct IAppDomainHelper : public IDispatch {
   5885   public:
   5886     virtual HRESULT WINAPI Initialize(IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0028)(void *pv),void *pPool) = 0;
   5887     virtual HRESULT WINAPI DoCallback(IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0029)(void *pv),void *pPool) = 0;
   5888   };
   5889 #else
   5890   typedef struct IAppDomainHelperVtbl {
   5891     BEGIN_INTERFACE
   5892       HRESULT (WINAPI *QueryInterface)(IAppDomainHelper *This,REFIID riid,void **ppvObject);
   5893       ULONG (WINAPI *AddRef)(IAppDomainHelper *This);
   5894       ULONG (WINAPI *Release)(IAppDomainHelper *This);
   5895       HRESULT (WINAPI *GetTypeInfoCount)(IAppDomainHelper *This,UINT *pctinfo);
   5896       HRESULT (WINAPI *GetTypeInfo)(IAppDomainHelper *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   5897       HRESULT (WINAPI *GetIDsOfNames)(IAppDomainHelper *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   5898       HRESULT (WINAPI *Invoke)(IAppDomainHelper *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   5899       HRESULT (WINAPI *Initialize)(IAppDomainHelper *This,IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0028)(void *pv),void *pPool);
   5900       HRESULT (WINAPI *DoCallback)(IAppDomainHelper *This,IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0029)(void *pv),void *pPool);
   5901     END_INTERFACE
   5902   } IAppDomainHelperVtbl;
   5903   struct IAppDomainHelper {
   5904     CONST_VTBL struct IAppDomainHelperVtbl *lpVtbl;
   5905   };
   5906 #ifdef COBJMACROS
   5907 #define IAppDomainHelper_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5908 #define IAppDomainHelper_AddRef(This) (This)->lpVtbl->AddRef(This)
   5909 #define IAppDomainHelper_Release(This) (This)->lpVtbl->Release(This)
   5910 #define IAppDomainHelper_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   5911 #define IAppDomainHelper_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   5912 #define IAppDomainHelper_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   5913 #define IAppDomainHelper_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   5914 #define IAppDomainHelper_Initialize(This,pUnkAD,__MIDL_0028,pPool) (This)->lpVtbl->Initialize(This,pUnkAD,__MIDL_0028,pPool)
   5915 #define IAppDomainHelper_DoCallback(This,pUnkAD,__MIDL_0029,pPool) (This)->lpVtbl->DoCallback(This,pUnkAD,__MIDL_0029,pPool)
   5916 #endif
   5917 #endif
   5918   HRESULT WINAPI IAppDomainHelper_Initialize_Proxy(IAppDomainHelper *This,IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0028)(void *pv),void *pPool);
   5919   void __RPC_STUB IAppDomainHelper_Initialize_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5920   HRESULT WINAPI IAppDomainHelper_DoCallback_Proxy(IAppDomainHelper *This,IUnknown *pUnkAD,HRESULT (WINAPI __MIDL_0029)(void *pv),void *pPool);
   5921   void __RPC_STUB IAppDomainHelper_DoCallback_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5922 #endif
   5923 
   5924 #ifndef __IAssemblyLocator_INTERFACE_DEFINED__
   5925 #define __IAssemblyLocator_INTERFACE_DEFINED__
   5926   EXTERN_C const IID IID_IAssemblyLocator;
   5927 #if defined(__cplusplus) && !defined(CINTERFACE)
   5928   struct IAssemblyLocator : public IDispatch {
   5929   public:
   5930     virtual HRESULT WINAPI GetModules(BSTR applicationDir,BSTR applicationName,BSTR assemblyName,SAFEARRAY **pModules) = 0;
   5931   };
   5932 #else
   5933   typedef struct IAssemblyLocatorVtbl {
   5934     BEGIN_INTERFACE
   5935       HRESULT (WINAPI *QueryInterface)(IAssemblyLocator *This,REFIID riid,void **ppvObject);
   5936       ULONG (WINAPI *AddRef)(IAssemblyLocator *This);
   5937       ULONG (WINAPI *Release)(IAssemblyLocator *This);
   5938       HRESULT (WINAPI *GetTypeInfoCount)(IAssemblyLocator *This,UINT *pctinfo);
   5939       HRESULT (WINAPI *GetTypeInfo)(IAssemblyLocator *This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo);
   5940       HRESULT (WINAPI *GetIDsOfNames)(IAssemblyLocator *This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId);
   5941       HRESULT (WINAPI *Invoke)(IAssemblyLocator *This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr);
   5942       HRESULT (WINAPI *GetModules)(IAssemblyLocator *This,BSTR applicationDir,BSTR applicationName,BSTR assemblyName,SAFEARRAY **pModules);
   5943     END_INTERFACE
   5944   } IAssemblyLocatorVtbl;
   5945   struct IAssemblyLocator {
   5946     CONST_VTBL struct IAssemblyLocatorVtbl *lpVtbl;
   5947   };
   5948 #ifdef COBJMACROS
   5949 #define IAssemblyLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5950 #define IAssemblyLocator_AddRef(This) (This)->lpVtbl->AddRef(This)
   5951 #define IAssemblyLocator_Release(This) (This)->lpVtbl->Release(This)
   5952 #define IAssemblyLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo)
   5953 #define IAssemblyLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo)
   5954 #define IAssemblyLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
   5955 #define IAssemblyLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
   5956 #define IAssemblyLocator_GetModules(This,applicationDir,applicationName,assemblyName,pModules) (This)->lpVtbl->GetModules(This,applicationDir,applicationName,assemblyName,pModules)
   5957 #endif
   5958 #endif
   5959   HRESULT WINAPI IAssemblyLocator_GetModules_Proxy(IAssemblyLocator *This,BSTR applicationDir,BSTR applicationName,BSTR assemblyName,SAFEARRAY **pModules);
   5960   void __RPC_STUB IAssemblyLocator_GetModules_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5961 #endif
   5962 
   5963 #ifndef __IManagedActivationEvents_INTERFACE_DEFINED__
   5964 #define __IManagedActivationEvents_INTERFACE_DEFINED__
   5965   EXTERN_C const IID IID_IManagedActivationEvents;
   5966 #if defined(__cplusplus) && !defined(CINTERFACE)
   5967   struct IManagedActivationEvents : public IUnknown {
   5968   public:
   5969     virtual HRESULT WINAPI CreateManagedStub(IManagedObjectInfo *pInfo,WINBOOL fDist) = 0;
   5970     virtual HRESULT WINAPI DestroyManagedStub(IManagedObjectInfo *pInfo) = 0;
   5971   };
   5972 #else
   5973   typedef struct IManagedActivationEventsVtbl {
   5974     BEGIN_INTERFACE
   5975       HRESULT (WINAPI *QueryInterface)(IManagedActivationEvents *This,REFIID riid,void **ppvObject);
   5976       ULONG (WINAPI *AddRef)(IManagedActivationEvents *This);
   5977       ULONG (WINAPI *Release)(IManagedActivationEvents *This);
   5978       HRESULT (WINAPI *CreateManagedStub)(IManagedActivationEvents *This,IManagedObjectInfo *pInfo,WINBOOL fDist);
   5979       HRESULT (WINAPI *DestroyManagedStub)(IManagedActivationEvents *This,IManagedObjectInfo *pInfo);
   5980     END_INTERFACE
   5981   } IManagedActivationEventsVtbl;
   5982   struct IManagedActivationEvents {
   5983     CONST_VTBL struct IManagedActivationEventsVtbl *lpVtbl;
   5984   };
   5985 #ifdef COBJMACROS
   5986 #define IManagedActivationEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   5987 #define IManagedActivationEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   5988 #define IManagedActivationEvents_Release(This) (This)->lpVtbl->Release(This)
   5989 #define IManagedActivationEvents_CreateManagedStub(This,pInfo,fDist) (This)->lpVtbl->CreateManagedStub(This,pInfo,fDist)
   5990 #define IManagedActivationEvents_DestroyManagedStub(This,pInfo) (This)->lpVtbl->DestroyManagedStub(This,pInfo)
   5991 #endif
   5992 #endif
   5993   HRESULT WINAPI IManagedActivationEvents_CreateManagedStub_Proxy(IManagedActivationEvents *This,IManagedObjectInfo *pInfo,WINBOOL fDist);
   5994   void __RPC_STUB IManagedActivationEvents_CreateManagedStub_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5995   HRESULT WINAPI IManagedActivationEvents_DestroyManagedStub_Proxy(IManagedActivationEvents *This,IManagedObjectInfo *pInfo);
   5996   void __RPC_STUB IManagedActivationEvents_DestroyManagedStub_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   5997 #endif
   5998 
   5999 #ifndef __ISendMethodEvents_INTERFACE_DEFINED__
   6000 #define __ISendMethodEvents_INTERFACE_DEFINED__
   6001   EXTERN_C const IID IID_ISendMethodEvents;
   6002 #if defined(__cplusplus) && !defined(CINTERFACE)
   6003   struct ISendMethodEvents : public IUnknown {
   6004   public:
   6005     virtual HRESULT WINAPI SendMethodCall(const void *pIdentity,REFIID riid,DWORD dwMeth) = 0;
   6006     virtual HRESULT WINAPI SendMethodReturn(const void *pIdentity,REFIID riid,DWORD dwMeth,HRESULT hrCall,HRESULT hrServer) = 0;
   6007   };
   6008 #else
   6009   typedef struct ISendMethodEventsVtbl {
   6010     BEGIN_INTERFACE
   6011       HRESULT (WINAPI *QueryInterface)(ISendMethodEvents *This,REFIID riid,void **ppvObject);
   6012       ULONG (WINAPI *AddRef)(ISendMethodEvents *This);
   6013       ULONG (WINAPI *Release)(ISendMethodEvents *This);
   6014       HRESULT (WINAPI *SendMethodCall)(ISendMethodEvents *This,const void *pIdentity,REFIID riid,DWORD dwMeth);
   6015       HRESULT (WINAPI *SendMethodReturn)(ISendMethodEvents *This,const void *pIdentity,REFIID riid,DWORD dwMeth,HRESULT hrCall,HRESULT hrServer);
   6016     END_INTERFACE
   6017   } ISendMethodEventsVtbl;
   6018   struct ISendMethodEvents {
   6019     CONST_VTBL struct ISendMethodEventsVtbl *lpVtbl;
   6020   };
   6021 #ifdef COBJMACROS
   6022 #define ISendMethodEvents_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6023 #define ISendMethodEvents_AddRef(This) (This)->lpVtbl->AddRef(This)
   6024 #define ISendMethodEvents_Release(This) (This)->lpVtbl->Release(This)
   6025 #define ISendMethodEvents_SendMethodCall(This,pIdentity,riid,dwMeth) (This)->lpVtbl->SendMethodCall(This,pIdentity,riid,dwMeth)
   6026 #define ISendMethodEvents_SendMethodReturn(This,pIdentity,riid,dwMeth,hrCall,hrServer) (This)->lpVtbl->SendMethodReturn(This,pIdentity,riid,dwMeth,hrCall,hrServer)
   6027 #endif
   6028 #endif
   6029   HRESULT WINAPI ISendMethodEvents_SendMethodCall_Proxy(ISendMethodEvents *This,const void *pIdentity,REFIID riid,DWORD dwMeth);
   6030   void __RPC_STUB ISendMethodEvents_SendMethodCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6031   HRESULT WINAPI ISendMethodEvents_SendMethodReturn_Proxy(ISendMethodEvents *This,const void *pIdentity,REFIID riid,DWORD dwMeth,HRESULT hrCall,HRESULT hrServer);
   6032   void __RPC_STUB ISendMethodEvents_SendMethodReturn_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6033 #endif
   6034 
   6035   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0406_v0_0_c_ifspec;
   6036   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0406_v0_0_s_ifspec;
   6037 
   6038 #ifndef __ITransactionResourcePool_INTERFACE_DEFINED__
   6039 #define __ITransactionResourcePool_INTERFACE_DEFINED__
   6040   EXTERN_C const IID IID_ITransactionResourcePool;
   6041 #if defined(__cplusplus) && !defined(CINTERFACE)
   6042   struct ITransactionResourcePool : public IUnknown {
   6043   public:
   6044     virtual HRESULT WINAPI PutResource(IObjPool *pPool,IUnknown *pUnk) = 0;
   6045     virtual HRESULT WINAPI GetResource(IObjPool *pPool,IUnknown **ppUnk) = 0;
   6046   };
   6047 #else
   6048   typedef struct ITransactionResourcePoolVtbl {
   6049     BEGIN_INTERFACE
   6050       HRESULT (WINAPI *QueryInterface)(ITransactionResourcePool *This,REFIID riid,void **ppvObject);
   6051       ULONG (WINAPI *AddRef)(ITransactionResourcePool *This);
   6052       ULONG (WINAPI *Release)(ITransactionResourcePool *This);
   6053       HRESULT (WINAPI *PutResource)(ITransactionResourcePool *This,IObjPool *pPool,IUnknown *pUnk);
   6054       HRESULT (WINAPI *GetResource)(ITransactionResourcePool *This,IObjPool *pPool,IUnknown **ppUnk);
   6055     END_INTERFACE
   6056   } ITransactionResourcePoolVtbl;
   6057   struct ITransactionResourcePool {
   6058     CONST_VTBL struct ITransactionResourcePoolVtbl *lpVtbl;
   6059   };
   6060 #ifdef COBJMACROS
   6061 #define ITransactionResourcePool_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6062 #define ITransactionResourcePool_AddRef(This) (This)->lpVtbl->AddRef(This)
   6063 #define ITransactionResourcePool_Release(This) (This)->lpVtbl->Release(This)
   6064 #define ITransactionResourcePool_PutResource(This,pPool,pUnk) (This)->lpVtbl->PutResource(This,pPool,pUnk)
   6065 #define ITransactionResourcePool_GetResource(This,pPool,ppUnk) (This)->lpVtbl->GetResource(This,pPool,ppUnk)
   6066 #endif
   6067 #endif
   6068   HRESULT WINAPI ITransactionResourcePool_PutResource_Proxy(ITransactionResourcePool *This,IObjPool *pPool,IUnknown *pUnk);
   6069   void __RPC_STUB ITransactionResourcePool_PutResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6070   HRESULT WINAPI ITransactionResourcePool_GetResource_Proxy(ITransactionResourcePool *This,IObjPool *pPool,IUnknown **ppUnk);
   6071   void __RPC_STUB ITransactionResourcePool_GetResource_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6072 #endif
   6073 
   6074   EXTERN_C HRESULT WINAPI MTSCreateActivity (REFIID riid,void **ppobj);
   6075 
   6076   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0407_v0_0_c_ifspec;
   6077   extern RPC_IF_HANDLE __MIDL_itf_autosvcs_0407_v0_0_s_ifspec;
   6078 
   6079 #ifndef __IMTSCall_INTERFACE_DEFINED__
   6080 #define __IMTSCall_INTERFACE_DEFINED__
   6081   EXTERN_C const IID IID_IMTSCall;
   6082 #if defined(__cplusplus) && !defined(CINTERFACE)
   6083   struct IMTSCall : public IUnknown {
   6084   public:
   6085     virtual HRESULT WINAPI OnCall(void) = 0;
   6086   };
   6087 #else
   6088   typedef struct IMTSCallVtbl {
   6089     BEGIN_INTERFACE
   6090       HRESULT (WINAPI *QueryInterface)(IMTSCall *This,REFIID riid,void **ppvObject);
   6091       ULONG (WINAPI *AddRef)(IMTSCall *This);
   6092       ULONG (WINAPI *Release)(IMTSCall *This);
   6093       HRESULT (WINAPI *OnCall)(IMTSCall *This);
   6094     END_INTERFACE
   6095   } IMTSCallVtbl;
   6096   struct IMTSCall {
   6097     CONST_VTBL struct IMTSCallVtbl *lpVtbl;
   6098   };
   6099 #ifdef COBJMACROS
   6100 #define IMTSCall_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6101 #define IMTSCall_AddRef(This) (This)->lpVtbl->AddRef(This)
   6102 #define IMTSCall_Release(This) (This)->lpVtbl->Release(This)
   6103 #define IMTSCall_OnCall(This) (This)->lpVtbl->OnCall(This)
   6104 #endif
   6105 #endif
   6106   HRESULT WINAPI IMTSCall_OnCall_Proxy(IMTSCall *This);
   6107   void __RPC_STUB IMTSCall_OnCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6108 #endif
   6109 
   6110 #ifndef __IContextProperties_INTERFACE_DEFINED__
   6111 #define __IContextProperties_INTERFACE_DEFINED__
   6112   EXTERN_C const IID IID_IContextProperties;
   6113 #if defined(__cplusplus) && !defined(CINTERFACE)
   6114   struct IContextProperties : public IUnknown {
   6115   public:
   6116     virtual HRESULT WINAPI Count(__LONG32 *plCount) = 0;
   6117     virtual HRESULT WINAPI GetProperty(BSTR name,VARIANT *pProperty) = 0;
   6118     virtual HRESULT WINAPI EnumNames(IEnumNames **ppenum) = 0;
   6119     virtual HRESULT WINAPI SetProperty(BSTR name,VARIANT property) = 0;
   6120     virtual HRESULT WINAPI RemoveProperty(BSTR name) = 0;
   6121   };
   6122 #else
   6123   typedef struct IContextPropertiesVtbl {
   6124     BEGIN_INTERFACE
   6125       HRESULT (WINAPI *QueryInterface)(IContextProperties *This,REFIID riid,void **ppvObject);
   6126       ULONG (WINAPI *AddRef)(IContextProperties *This);
   6127       ULONG (WINAPI *Release)(IContextProperties *This);
   6128       HRESULT (WINAPI *Count)(IContextProperties *This,__LONG32 *plCount);
   6129       HRESULT (WINAPI *GetProperty)(IContextProperties *This,BSTR name,VARIANT *pProperty);
   6130       HRESULT (WINAPI *EnumNames)(IContextProperties *This,IEnumNames **ppenum);
   6131       HRESULT (WINAPI *SetProperty)(IContextProperties *This,BSTR name,VARIANT property);
   6132       HRESULT (WINAPI *RemoveProperty)(IContextProperties *This,BSTR name);
   6133     END_INTERFACE
   6134   } IContextPropertiesVtbl;
   6135   struct IContextProperties {
   6136     CONST_VTBL struct IContextPropertiesVtbl *lpVtbl;
   6137   };
   6138 #ifdef COBJMACROS
   6139 #define IContextProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6140 #define IContextProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
   6141 #define IContextProperties_Release(This) (This)->lpVtbl->Release(This)
   6142 #define IContextProperties_Count(This,plCount) (This)->lpVtbl->Count(This,plCount)
   6143 #define IContextProperties_GetProperty(This,name,pProperty) (This)->lpVtbl->GetProperty(This,name,pProperty)
   6144 #define IContextProperties_EnumNames(This,ppenum) (This)->lpVtbl->EnumNames(This,ppenum)
   6145 #define IContextProperties_SetProperty(This,name,property) (This)->lpVtbl->SetProperty(This,name,property)
   6146 #define IContextProperties_RemoveProperty(This,name) (This)->lpVtbl->RemoveProperty(This,name)
   6147 #endif
   6148 #endif
   6149   HRESULT WINAPI IContextProperties_Count_Proxy(IContextProperties *This,__LONG32 *plCount);
   6150   void __RPC_STUB IContextProperties_Count_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6151   HRESULT WINAPI IContextProperties_GetProperty_Proxy(IContextProperties *This,BSTR name,VARIANT *pProperty);
   6152   void __RPC_STUB IContextProperties_GetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6153   HRESULT WINAPI IContextProperties_EnumNames_Proxy(IContextProperties *This,IEnumNames **ppenum);
   6154   void __RPC_STUB IContextProperties_EnumNames_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6155   HRESULT WINAPI IContextProperties_SetProperty_Proxy(IContextProperties *This,BSTR name,VARIANT property);
   6156   void __RPC_STUB IContextProperties_SetProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6157   HRESULT WINAPI IContextProperties_RemoveProperty_Proxy(IContextProperties *This,BSTR name);
   6158   void __RPC_STUB IContextProperties_RemoveProperty_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6159 #endif
   6160 
   6161 #ifndef __IObjPool_INTERFACE_DEFINED__
   6162 #define __IObjPool_INTERFACE_DEFINED__
   6163   EXTERN_C const IID IID_IObjPool;
   6164 #if defined(__cplusplus) && !defined(CINTERFACE)
   6165   struct IObjPool : public IUnknown {
   6166   public:
   6167     virtual void WINAPI Reserved1(void) = 0;
   6168     virtual void WINAPI Reserved2(void) = 0;
   6169     virtual void WINAPI Reserved3(void) = 0;
   6170     virtual void WINAPI Reserved4(void) = 0;
   6171     virtual void WINAPI PutEndTx(IUnknown *pObj) = 0;
   6172     virtual void WINAPI Reserved5(void) = 0;
   6173     virtual void WINAPI Reserved6(void) = 0;
   6174   };
   6175 #else
   6176   typedef struct IObjPoolVtbl {
   6177     BEGIN_INTERFACE
   6178       HRESULT (WINAPI *QueryInterface)(IObjPool *This,REFIID riid,void **ppvObject);
   6179       ULONG (WINAPI *AddRef)(IObjPool *This);
   6180       ULONG (WINAPI *Release)(IObjPool *This);
   6181       void (WINAPI *Reserved1)(IObjPool *This);
   6182       void (WINAPI *Reserved2)(IObjPool *This);
   6183       void (WINAPI *Reserved3)(IObjPool *This);
   6184       void (WINAPI *Reserved4)(IObjPool *This);
   6185       void (WINAPI *PutEndTx)(IObjPool *This,IUnknown *pObj);
   6186       void (WINAPI *Reserved5)(IObjPool *This);
   6187       void (WINAPI *Reserved6)(IObjPool *This);
   6188     END_INTERFACE
   6189   } IObjPoolVtbl;
   6190   struct IObjPool {
   6191     CONST_VTBL struct IObjPoolVtbl *lpVtbl;
   6192   };
   6193 #ifdef COBJMACROS
   6194 #define IObjPool_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6195 #define IObjPool_AddRef(This) (This)->lpVtbl->AddRef(This)
   6196 #define IObjPool_Release(This) (This)->lpVtbl->Release(This)
   6197 #define IObjPool_Reserved1(This) (This)->lpVtbl->Reserved1(This)
   6198 #define IObjPool_Reserved2(This) (This)->lpVtbl->Reserved2(This)
   6199 #define IObjPool_Reserved3(This) (This)->lpVtbl->Reserved3(This)
   6200 #define IObjPool_Reserved4(This) (This)->lpVtbl->Reserved4(This)
   6201 #define IObjPool_PutEndTx(This,pObj) (This)->lpVtbl->PutEndTx(This,pObj)
   6202 #define IObjPool_Reserved5(This) (This)->lpVtbl->Reserved5(This)
   6203 #define IObjPool_Reserved6(This) (This)->lpVtbl->Reserved6(This)
   6204 #endif
   6205 #endif
   6206   void WINAPI IObjPool_Reserved1_Proxy(IObjPool *This);
   6207   void __RPC_STUB IObjPool_Reserved1_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6208   void WINAPI IObjPool_Reserved2_Proxy(IObjPool *This);
   6209   void __RPC_STUB IObjPool_Reserved2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6210   void WINAPI IObjPool_Reserved3_Proxy(IObjPool *This);
   6211   void __RPC_STUB IObjPool_Reserved3_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6212   void WINAPI IObjPool_Reserved4_Proxy(IObjPool *This);
   6213   void __RPC_STUB IObjPool_Reserved4_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6214   void WINAPI IObjPool_PutEndTx_Proxy(IObjPool *This,IUnknown *pObj);
   6215   void __RPC_STUB IObjPool_PutEndTx_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6216   void WINAPI IObjPool_Reserved5_Proxy(IObjPool *This);
   6217   void __RPC_STUB IObjPool_Reserved5_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6218   void WINAPI IObjPool_Reserved6_Proxy(IObjPool *This);
   6219   void __RPC_STUB IObjPool_Reserved6_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6220 #endif
   6221 
   6222 #ifndef __ITransactionProperty_INTERFACE_DEFINED__
   6223 #define __ITransactionProperty_INTERFACE_DEFINED__
   6224   EXTERN_C const IID IID_ITransactionProperty;
   6225 #if defined(__cplusplus) && !defined(CINTERFACE)
   6226   struct ITransactionProperty : public IUnknown {
   6227   public:
   6228     virtual void WINAPI Reserved1(void) = 0;
   6229     virtual void WINAPI Reserved2(void) = 0;
   6230     virtual void WINAPI Reserved3(void) = 0;
   6231     virtual void WINAPI Reserved4(void) = 0;
   6232     virtual void WINAPI Reserved5(void) = 0;
   6233     virtual void WINAPI Reserved6(void) = 0;
   6234     virtual void WINAPI Reserved7(void) = 0;
   6235     virtual void WINAPI Reserved8(void) = 0;
   6236     virtual void WINAPI Reserved9(void) = 0;
   6237     virtual HRESULT WINAPI GetTransactionResourcePool(ITransactionResourcePool **ppTxPool) = 0;
   6238     virtual void WINAPI Reserved10(void) = 0;
   6239     virtual void WINAPI Reserved11(void) = 0;
   6240     virtual void WINAPI Reserved12(void) = 0;
   6241     virtual void WINAPI Reserved13(void) = 0;
   6242     virtual void WINAPI Reserved14(void) = 0;
   6243     virtual void WINAPI Reserved15(void) = 0;
   6244     virtual void WINAPI Reserved16(void) = 0;
   6245     virtual void WINAPI Reserved17(void) = 0;
   6246   };
   6247 #else
   6248   typedef struct ITransactionPropertyVtbl {
   6249     BEGIN_INTERFACE
   6250       HRESULT (WINAPI *QueryInterface)(ITransactionProperty *This,REFIID riid,void **ppvObject);
   6251       ULONG (WINAPI *AddRef)(ITransactionProperty *This);
   6252       ULONG (WINAPI *Release)(ITransactionProperty *This);
   6253       void (WINAPI *Reserved1)(ITransactionProperty *This);
   6254       void (WINAPI *Reserved2)(ITransactionProperty *This);
   6255       void (WINAPI *Reserved3)(ITransactionProperty *This);
   6256       void (WINAPI *Reserved4)(ITransactionProperty *This);
   6257       void (WINAPI *Reserved5)(ITransactionProperty *This);
   6258       void (WINAPI *Reserved6)(ITransactionProperty *This);
   6259       void (WINAPI *Reserved7)(ITransactionProperty *This);
   6260       void (WINAPI *Reserved8)(ITransactionProperty *This);
   6261       void (WINAPI *Reserved9)(ITransactionProperty *This);
   6262       HRESULT (WINAPI *GetTransactionResourcePool)(ITransactionProperty *This,ITransactionResourcePool **ppTxPool);
   6263       void (WINAPI *Reserved10)(ITransactionProperty *This);
   6264       void (WINAPI *Reserved11)(ITransactionProperty *This);
   6265       void (WINAPI *Reserved12)(ITransactionProperty *This);
   6266       void (WINAPI *Reserved13)(ITransactionProperty *This);
   6267       void (WINAPI *Reserved14)(ITransactionProperty *This);
   6268       void (WINAPI *Reserved15)(ITransactionProperty *This);
   6269       void (WINAPI *Reserved16)(ITransactionProperty *This);
   6270       void (WINAPI *Reserved17)(ITransactionProperty *This);
   6271     END_INTERFACE
   6272   } ITransactionPropertyVtbl;
   6273   struct ITransactionProperty {
   6274     CONST_VTBL struct ITransactionPropertyVtbl *lpVtbl;
   6275   };
   6276 #ifdef COBJMACROS
   6277 #define ITransactionProperty_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6278 #define ITransactionProperty_AddRef(This) (This)->lpVtbl->AddRef(This)
   6279 #define ITransactionProperty_Release(This) (This)->lpVtbl->Release(This)
   6280 #define ITransactionProperty_Reserved1(This) (This)->lpVtbl->Reserved1(This)
   6281 #define ITransactionProperty_Reserved2(This) (This)->lpVtbl->Reserved2(This)
   6282 #define ITransactionProperty_Reserved3(This) (This)->lpVtbl->Reserved3(This)
   6283 #define ITransactionProperty_Reserved4(This) (This)->lpVtbl->Reserved4(This)
   6284 #define ITransactionProperty_Reserved5(This) (This)->lpVtbl->Reserved5(This)
   6285 #define ITransactionProperty_Reserved6(This) (This)->lpVtbl->Reserved6(This)
   6286 #define ITransactionProperty_Reserved7(This) (This)->lpVtbl->Reserved7(This)
   6287 #define ITransactionProperty_Reserved8(This) (This)->lpVtbl->Reserved8(This)
   6288 #define ITransactionProperty_Reserved9(This) (This)->lpVtbl->Reserved9(This)
   6289 #define ITransactionProperty_GetTransactionResourcePool(This,ppTxPool) (This)->lpVtbl->GetTransactionResourcePool(This,ppTxPool)
   6290 #define ITransactionProperty_Reserved10(This) (This)->lpVtbl->Reserved10(This)
   6291 #define ITransactionProperty_Reserved11(This) (This)->lpVtbl->Reserved11(This)
   6292 #define ITransactionProperty_Reserved12(This) (This)->lpVtbl->Reserved12(This)
   6293 #define ITransactionProperty_Reserved13(This) (This)->lpVtbl->Reserved13(This)
   6294 #define ITransactionProperty_Reserved14(This) (This)->lpVtbl->Reserved14(This)
   6295 #define ITransactionProperty_Reserved15(This) (This)->lpVtbl->Reserved15(This)
   6296 #define ITransactionProperty_Reserved16(This) (This)->lpVtbl->Reserved16(This)
   6297 #define ITransactionProperty_Reserved17(This) (This)->lpVtbl->Reserved17(This)
   6298 #endif
   6299 #endif
   6300   void WINAPI ITransactionProperty_Reserved1_Proxy(ITransactionProperty *This);
   6301   void __RPC_STUB ITransactionProperty_Reserved1_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6302   void WINAPI ITransactionProperty_Reserved2_Proxy(ITransactionProperty *This);
   6303   void __RPC_STUB ITransactionProperty_Reserved2_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6304   void WINAPI ITransactionProperty_Reserved3_Proxy(ITransactionProperty *This);
   6305   void __RPC_STUB ITransactionProperty_Reserved3_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6306   void WINAPI ITransactionProperty_Reserved4_Proxy(ITransactionProperty *This);
   6307   void __RPC_STUB ITransactionProperty_Reserved4_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6308   void WINAPI ITransactionProperty_Reserved5_Proxy(ITransactionProperty *This);
   6309   void __RPC_STUB ITransactionProperty_Reserved5_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6310   void WINAPI ITransactionProperty_Reserved6_Proxy(ITransactionProperty *This);
   6311   void __RPC_STUB ITransactionProperty_Reserved6_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6312   void WINAPI ITransactionProperty_Reserved7_Proxy(ITransactionProperty *This);
   6313   void __RPC_STUB ITransactionProperty_Reserved7_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6314   void WINAPI ITransactionProperty_Reserved8_Proxy(ITransactionProperty *This);
   6315   void __RPC_STUB ITransactionProperty_Reserved8_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6316   void WINAPI ITransactionProperty_Reserved9_Proxy(ITransactionProperty *This);
   6317   void __RPC_STUB ITransactionProperty_Reserved9_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6318   HRESULT WINAPI ITransactionProperty_GetTransactionResourcePool_Proxy(ITransactionProperty *This,ITransactionResourcePool **ppTxPool);
   6319   void __RPC_STUB ITransactionProperty_GetTransactionResourcePool_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6320   void WINAPI ITransactionProperty_Reserved10_Proxy(ITransactionProperty *This);
   6321   void __RPC_STUB ITransactionProperty_Reserved10_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6322   void WINAPI ITransactionProperty_Reserved11_Proxy(ITransactionProperty *This);
   6323   void __RPC_STUB ITransactionProperty_Reserved11_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6324   void WINAPI ITransactionProperty_Reserved12_Proxy(ITransactionProperty *This);
   6325   void __RPC_STUB ITransactionProperty_Reserved12_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6326   void WINAPI ITransactionProperty_Reserved13_Proxy(ITransactionProperty *This);
   6327   void __RPC_STUB ITransactionProperty_Reserved13_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6328   void WINAPI ITransactionProperty_Reserved14_Proxy(ITransactionProperty *This);
   6329   void __RPC_STUB ITransactionProperty_Reserved14_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6330   void WINAPI ITransactionProperty_Reserved15_Proxy(ITransactionProperty *This);
   6331   void __RPC_STUB ITransactionProperty_Reserved15_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6332   void WINAPI ITransactionProperty_Reserved16_Proxy(ITransactionProperty *This);
   6333   void __RPC_STUB ITransactionProperty_Reserved16_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6334   void WINAPI ITransactionProperty_Reserved17_Proxy(ITransactionProperty *This);
   6335   void __RPC_STUB ITransactionProperty_Reserved17_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6336 #endif
   6337 
   6338 #ifndef __IMTSActivity_INTERFACE_DEFINED__
   6339 #define __IMTSActivity_INTERFACE_DEFINED__
   6340   EXTERN_C const IID IID_IMTSActivity;
   6341 #if defined(__cplusplus) && !defined(CINTERFACE)
   6342   struct IMTSActivity : public IUnknown {
   6343   public:
   6344     virtual HRESULT WINAPI SynchronousCall(IMTSCall *pCall) = 0;
   6345     virtual HRESULT WINAPI AsyncCall(IMTSCall *pCall) = 0;
   6346     virtual void WINAPI Reserved1(void) = 0;
   6347     virtual HRESULT WINAPI BindToCurrentThread(void) = 0;
   6348     virtual HRESULT WINAPI UnbindFromThread(void) = 0;
   6349   };
   6350 #else
   6351   typedef struct IMTSActivityVtbl {
   6352     BEGIN_INTERFACE
   6353       HRESULT (WINAPI *QueryInterface)(IMTSActivity *This,REFIID riid,void **ppvObject);
   6354       ULONG (WINAPI *AddRef)(IMTSActivity *This);
   6355       ULONG (WINAPI *Release)(IMTSActivity *This);
   6356       HRESULT (WINAPI *SynchronousCall)(IMTSActivity *This,IMTSCall *pCall);
   6357       HRESULT (WINAPI *AsyncCall)(IMTSActivity *This,IMTSCall *pCall);
   6358       void (WINAPI *Reserved1)(IMTSActivity *This);
   6359       HRESULT (WINAPI *BindToCurrentThread)(IMTSActivity *This);
   6360       HRESULT (WINAPI *UnbindFromThread)(IMTSActivity *This);
   6361     END_INTERFACE
   6362   } IMTSActivityVtbl;
   6363   struct IMTSActivity {
   6364     CONST_VTBL struct IMTSActivityVtbl *lpVtbl;
   6365   };
   6366 #ifdef COBJMACROS
   6367 #define IMTSActivity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
   6368 #define IMTSActivity_AddRef(This) (This)->lpVtbl->AddRef(This)
   6369 #define IMTSActivity_Release(This) (This)->lpVtbl->Release(This)
   6370 #define IMTSActivity_SynchronousCall(This,pCall) (This)->lpVtbl->SynchronousCall(This,pCall)
   6371 #define IMTSActivity_AsyncCall(This,pCall) (This)->lpVtbl->AsyncCall(This,pCall)
   6372 #define IMTSActivity_Reserved1(This) (This)->lpVtbl->Reserved1(This)
   6373 #define IMTSActivity_BindToCurrentThread(This) (This)->lpVtbl->BindToCurrentThread(This)
   6374 #define IMTSActivity_UnbindFromThread(This) (This)->lpVtbl->UnbindFromThread(This)
   6375 #endif
   6376 #endif
   6377   HRESULT WINAPI IMTSActivity_SynchronousCall_Proxy(IMTSActivity *This,IMTSCall *pCall);
   6378   void __RPC_STUB IMTSActivity_SynchronousCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6379   HRESULT WINAPI IMTSActivity_AsyncCall_Proxy(IMTSActivity *This,IMTSCall *pCall);
   6380   void __RPC_STUB IMTSActivity_AsyncCall_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6381   void WINAPI IMTSActivity_Reserved1_Proxy(IMTSActivity *This);
   6382   void __RPC_STUB IMTSActivity_Reserved1_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6383   HRESULT WINAPI IMTSActivity_BindToCurrentThread_Proxy(IMTSActivity *This);
   6384   void __RPC_STUB IMTSActivity_BindToCurrentThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6385   HRESULT WINAPI IMTSActivity_UnbindFromThread_Proxy(IMTSActivity *This);
   6386   void __RPC_STUB IMTSActivity_UnbindFromThread_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
   6387 #endif
   6388 
   6389 #ifndef __COMSVCSLib_LIBRARY_DEFINED__
   6390 #define __COMSVCSLib_LIBRARY_DEFINED__
   6391   typedef enum __MIDL___MIDL_itf_autosvcs_0412_0001 {
   6392     mtsErrCtxAborted = 0x8004e002,mtsErrCtxAborting = 0x8004e003,mtsErrCtxNoContext = 0x8004e004,mtsErrCtxNotRegistered = 0x8004e005,
   6393     mtsErrCtxSynchTimeout = 0x8004e006,mtsErrCtxOldReference = 0x8004e007,mtsErrCtxRoleNotFound = 0x8004e00c,mtsErrCtxNoSecurity = 0x8004e00d,
   6394     mtsErrCtxWrongThread = 0x8004e00e,mtsErrCtxTMNotAvailable = 0x8004e00f,comQCErrApplicationNotQueued = 0x80110600,
   6395     comQCErrNoQueueableInterfaces = 0x80110601,comQCErrQueuingServiceNotAvailable = 0x80110602,comQCErrQueueTransactMismatch = 0x80110603,
   6396     comqcErrRecorderMarshalled = 0x80110604,comqcErrOutParam = 0x80110605,comqcErrRecorderNotTrusted = 0x80110606,comqcErrPSLoad = 0x80110607,
   6397     comqcErrMarshaledObjSameTxn = 0x80110608,comqcErrInvalidMessage = 0x80110650,comqcErrMsmqSidUnavailable = 0x80110651,
   6398     comqcErrWrongMsgExtension = 0x80110652,comqcErrMsmqServiceUnavailable = 0x80110653,comqcErrMsgNotAuthenticated = 0x80110654,
   6399     comqcErrMsmqConnectorUsed = 0x80110655,comqcErrBadMarshaledObject = 0x80110656
   6400   } Error_Constants;
   6401 
   6402   typedef enum __MIDL___MIDL_itf_autosvcs_0412_0002 {
   6403     LockSetGet = 0,LockMethod = LockSetGet + 1
   6404   } LockModes;
   6405 
   6406   typedef enum __MIDL___MIDL_itf_autosvcs_0412_0003 {
   6407     Standard = 0,Process = Standard + 1
   6408   } ReleaseModes;
   6409 
   6410 #ifndef _tagCrmFlags_
   6411 #define _tagCrmFlags_
   6412   typedef enum tagCRMFLAGS {
   6413     CRMFLAG_FORGETTARGET = 0x1,CRMFLAG_WRITTENDURINGPREPARE = 0x2,CRMFLAG_WRITTENDURINGCOMMIT = 0x4,CRMFLAG_WRITTENDURINGABORT = 0x8,
   6414     CRMFLAG_WRITTENDURINGRECOVERY = 0x10,CRMFLAG_WRITTENDURINGREPLAY = 0x20,CRMFLAG_REPLAYINPROGRESS = 0x40
   6415   } CRMFLAGS;
   6416 #endif
   6417 #ifndef _tagCrmRegFlags_
   6418 #define _tagCrmRegFlags_
   6419   typedef enum tagCRMREGFLAGS {
   6420     CRMREGFLAG_PREPAREPHASE = 0x1,CRMREGFLAG_COMMITPHASE = 0x2,CRMREGFLAG_ABORTPHASE = 0x4,CRMREGFLAG_ALLPHASES = 0x7,
   6421     CRMREGFLAG_FAILIFINDOUBTSREMAIN = 0x10
   6422   } CRMREGFLAGS;
   6423 #endif
   6424 
   6425   EXTERN_C const IID LIBID_COMSVCSLib;
   6426   EXTERN_C const CLSID CLSID_SecurityIdentity;
   6427 #ifdef __cplusplus
   6428   class SecurityIdentity;
   6429 #endif
   6430   EXTERN_C const CLSID CLSID_SecurityCallers;
   6431 #ifdef __cplusplus
   6432   class SecurityCallers;
   6433 #endif
   6434   EXTERN_C const CLSID CLSID_SecurityCallContext;
   6435 #ifdef __cplusplus
   6436   class SecurityCallContext;
   6437 #endif
   6438   EXTERN_C const CLSID CLSID_GetSecurityCallContextAppObject;
   6439 #ifdef __cplusplus
   6440   class GetSecurityCallContextAppObject;
   6441 #endif
   6442   EXTERN_C const CLSID CLSID_Dummy30040732;
   6443 #ifdef __cplusplus
   6444   class Dummy30040732;
   6445 #endif
   6446   EXTERN_C const CLSID CLSID_TransactionContext;
   6447 #ifdef __cplusplus
   6448   class TransactionContext;
   6449 #endif
   6450   EXTERN_C const CLSID CLSID_TransactionContextEx;
   6451 #ifdef __cplusplus
   6452   class TransactionContextEx;
   6453 #endif
   6454   EXTERN_C const CLSID CLSID_ByotServerEx;
   6455 #ifdef __cplusplus
   6456   class ByotServerEx;
   6457 #endif
   6458   EXTERN_C const CLSID CLSID_CServiceConfig;
   6459 #ifdef __cplusplus
   6460   class CServiceConfig;
   6461 #endif
   6462   EXTERN_C const CLSID CLSID_ServicePool;
   6463 #ifdef __cplusplus
   6464   class ServicePool;
   6465 #endif
   6466   EXTERN_C const CLSID CLSID_ServicePoolConfig;
   6467 #ifdef __cplusplus
   6468   class ServicePoolConfig;
   6469 #endif
   6470   EXTERN_C const CLSID CLSID_SharedProperty;
   6471 #ifdef __cplusplus
   6472   class SharedProperty;
   6473 #endif
   6474   EXTERN_C const CLSID CLSID_SharedPropertyGroup;
   6475 #ifdef __cplusplus
   6476   class SharedPropertyGroup;
   6477 #endif
   6478   EXTERN_C const CLSID CLSID_SharedPropertyGroupManager;
   6479 #ifdef __cplusplus
   6480   class SharedPropertyGroupManager;
   6481 #endif
   6482   EXTERN_C const CLSID CLSID_COMEvents;
   6483 #ifdef __cplusplus
   6484   class COMEvents;
   6485 #endif
   6486   EXTERN_C const CLSID CLSID_CoMTSLocator;
   6487 #ifdef __cplusplus
   6488   class CoMTSLocator;
   6489 #endif
   6490   EXTERN_C const CLSID CLSID_MtsGrp;
   6491 #ifdef __cplusplus
   6492   class MtsGrp;
   6493 #endif
   6494   EXTERN_C const CLSID CLSID_ComServiceEvents;
   6495 #ifdef __cplusplus
   6496   class ComServiceEvents;
   6497 #endif
   6498   EXTERN_C const CLSID CLSID_ComSystemAppEventData;
   6499 #ifdef __cplusplus
   6500   class ComSystemAppEventData;
   6501 #endif
   6502   EXTERN_C const CLSID CLSID_CRMClerk;
   6503 #ifdef __cplusplus
   6504   class CRMClerk;
   6505 #endif
   6506   EXTERN_C const CLSID CLSID_CRMRecoveryClerk;
   6507 #ifdef __cplusplus
   6508   class CRMRecoveryClerk;
   6509 #endif
   6510   EXTERN_C const CLSID CLSID_LBEvents;
   6511 #ifdef __cplusplus
   6512   class LBEvents;
   6513 #endif
   6514   EXTERN_C const CLSID CLSID_MessageMover;
   6515 #ifdef __cplusplus
   6516   class MessageMover;
   6517 #endif
   6518   EXTERN_C const CLSID CLSID_DispenserManager;
   6519 #ifdef __cplusplus
   6520   class DispenserManager;
   6521 #endif
   6522   EXTERN_C const CLSID CLSID_PoolMgr;
   6523 #ifdef __cplusplus
   6524   class PoolMgr;
   6525 #endif
   6526   EXTERN_C const CLSID CLSID_EventServer;
   6527 #ifdef __cplusplus
   6528   class EventServer;
   6529 #endif
   6530   EXTERN_C const CLSID CLSID_AppDomainHelper;
   6531 #ifdef __cplusplus
   6532   class AppDomainHelper;
   6533 #endif
   6534   EXTERN_C const CLSID CLSID_ClrAssemblyLocator;
   6535 #ifdef __cplusplus
   6536   class ClrAssemblyLocator;
   6537 #endif
   6538 #endif
   6539 
   6540   ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);
   6541   unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);
   6542   unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);
   6543   void __RPC_API BSTR_UserFree(ULONG *,BSTR *);
   6544   ULONG __RPC_API LPSAFEARRAY_UserSize(ULONG *,ULONG,LPSAFEARRAY *);
   6545   unsigned char *__RPC_API LPSAFEARRAY_UserMarshal(ULONG *,unsigned char *,LPSAFEARRAY *);
   6546   unsigned char *__RPC_API LPSAFEARRAY_UserUnmarshal(ULONG *,unsigned char *,LPSAFEARRAY *);
   6547   void __RPC_API LPSAFEARRAY_UserFree(ULONG *,LPSAFEARRAY *);
   6548   ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);
   6549   unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);
   6550   unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);
   6551   void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);
   6552 
   6553 #ifdef __cplusplus
   6554 }
   6555 #endif
   6556 #endif
   6557