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