1 /*** Autogenerated by WIDL 6.4 from include/wsmandisp.idl - Do not edit ***/ 2 3 #ifdef _WIN32 4 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 5 #define __REQUIRED_RPCNDR_H_VERSION__ 475 6 #endif 7 #include <rpc.h> 8 #include <rpcndr.h> 9 #endif 10 11 #ifndef COM_NO_WINDOWS_H 12 #include <windows.h> 13 #include <ole2.h> 14 #endif 15 16 #ifndef __wsmandisp_h__ 17 #define __wsmandisp_h__ 18 19 /* Forward declarations */ 20 21 #ifndef __WSMan_FWD_DEFINED__ 22 #define __WSMan_FWD_DEFINED__ 23 #ifdef __cplusplus 24 typedef class WSMan WSMan; 25 #else 26 typedef struct WSMan WSMan; 27 #endif /* defined __cplusplus */ 28 #endif /* defined __WSMan_FWD_DEFINED__ */ 29 30 #ifndef __WSManInternal_FWD_DEFINED__ 31 #define __WSManInternal_FWD_DEFINED__ 32 #ifdef __cplusplus 33 typedef class WSManInternal WSManInternal; 34 #else 35 typedef struct WSManInternal WSManInternal; 36 #endif /* defined __cplusplus */ 37 #endif /* defined __WSManInternal_FWD_DEFINED__ */ 38 39 #ifndef __IWSMan_FWD_DEFINED__ 40 #define __IWSMan_FWD_DEFINED__ 41 typedef interface IWSMan IWSMan; 42 #ifdef __cplusplus 43 interface IWSMan; 44 #endif /* __cplusplus */ 45 #endif 46 47 #ifndef __IWSManEx_FWD_DEFINED__ 48 #define __IWSManEx_FWD_DEFINED__ 49 typedef interface IWSManEx IWSManEx; 50 #ifdef __cplusplus 51 interface IWSManEx; 52 #endif /* __cplusplus */ 53 #endif 54 55 #ifndef __IWSManEx2_FWD_DEFINED__ 56 #define __IWSManEx2_FWD_DEFINED__ 57 typedef interface IWSManEx2 IWSManEx2; 58 #ifdef __cplusplus 59 interface IWSManEx2; 60 #endif /* __cplusplus */ 61 #endif 62 63 #ifndef __IWSManEx3_FWD_DEFINED__ 64 #define __IWSManEx3_FWD_DEFINED__ 65 typedef interface IWSManEx3 IWSManEx3; 66 #ifdef __cplusplus 67 interface IWSManEx3; 68 #endif /* __cplusplus */ 69 #endif 70 71 #ifndef __IWSManConnectionOptions_FWD_DEFINED__ 72 #define __IWSManConnectionOptions_FWD_DEFINED__ 73 typedef interface IWSManConnectionOptions IWSManConnectionOptions; 74 #ifdef __cplusplus 75 interface IWSManConnectionOptions; 76 #endif /* __cplusplus */ 77 #endif 78 79 #ifndef __IWSManConnectionOptionsEx_FWD_DEFINED__ 80 #define __IWSManConnectionOptionsEx_FWD_DEFINED__ 81 typedef interface IWSManConnectionOptionsEx IWSManConnectionOptionsEx; 82 #ifdef __cplusplus 83 interface IWSManConnectionOptionsEx; 84 #endif /* __cplusplus */ 85 #endif 86 87 #ifndef __IWSManConnectionOptionsEx2_FWD_DEFINED__ 88 #define __IWSManConnectionOptionsEx2_FWD_DEFINED__ 89 typedef interface IWSManConnectionOptionsEx2 IWSManConnectionOptionsEx2; 90 #ifdef __cplusplus 91 interface IWSManConnectionOptionsEx2; 92 #endif /* __cplusplus */ 93 #endif 94 95 #ifndef __IWSManSession_FWD_DEFINED__ 96 #define __IWSManSession_FWD_DEFINED__ 97 typedef interface IWSManSession IWSManSession; 98 #ifdef __cplusplus 99 interface IWSManSession; 100 #endif /* __cplusplus */ 101 #endif 102 103 #ifndef __IWSManEnumerator_FWD_DEFINED__ 104 #define __IWSManEnumerator_FWD_DEFINED__ 105 typedef interface IWSManEnumerator IWSManEnumerator; 106 #ifdef __cplusplus 107 interface IWSManEnumerator; 108 #endif /* __cplusplus */ 109 #endif 110 111 #ifndef __IWSManResourceLocator_FWD_DEFINED__ 112 #define __IWSManResourceLocator_FWD_DEFINED__ 113 typedef interface IWSManResourceLocator IWSManResourceLocator; 114 #ifdef __cplusplus 115 interface IWSManResourceLocator; 116 #endif /* __cplusplus */ 117 #endif 118 119 #ifndef __IWSManResourceLocatorInternal_FWD_DEFINED__ 120 #define __IWSManResourceLocatorInternal_FWD_DEFINED__ 121 typedef interface IWSManResourceLocatorInternal IWSManResourceLocatorInternal; 122 #ifdef __cplusplus 123 interface IWSManResourceLocatorInternal; 124 #endif /* __cplusplus */ 125 #endif 126 127 #ifndef __IWSManInternal_FWD_DEFINED__ 128 #define __IWSManInternal_FWD_DEFINED__ 129 typedef interface IWSManInternal IWSManInternal; 130 #ifdef __cplusplus 131 interface IWSManInternal; 132 #endif /* __cplusplus */ 133 #endif 134 135 /* Headers for imported files */ 136 137 #include <oaidl.h> 138 139 #ifdef __cplusplus 140 extern "C" { 141 #endif 142 143 #include <winapifamily.h> 144 145 #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) 146 #ifndef __WSManAutomation_LIBRARY_DEFINED__ 147 #define __WSManAutomation_LIBRARY_DEFINED__ 148 149 DEFINE_GUID(LIBID_WSManAutomation, 0xf010be25, 0x296d, 0x4036, 0x98,0x0f, 0x5a,0x06,0x69,0xa1,0x75,0x77); 150 151 typedef enum _WSManSessionFlags { 152 WSManFlagUTF8 = 0x1, 153 WSManFlagCredUsernamePassword = 0x1000, 154 WSManFlagSkipCACheck = 0x2000, 155 WSManFlagSkipCNCheck = 0x4000, 156 WSManFlagUseNoAuthentication = 0x8000, 157 WSManFlagUseDigest = 0x10000, 158 WSManFlagUseNegotiate = 0x20000, 159 WSManFlagUseBasic = 0x40000, 160 WSManFlagUseKerberos = 0x80000, 161 WSManFlagNoEncryption = 0x100000, 162 WSManFlagUseClientCertificate = 0x200000, 163 WSManFlagEnableSPNServerPort = 0x400000, 164 WSManFlagUTF16 = 0x800000, 165 WSManFlagUseCredSsp = 0x1000000, 166 WSManFlagSkipRevocationCheck = 0x2000000, 167 WSManFlagAllowNegotiateImplicitCredentials = 0x4000000, 168 WSManFlagUseSsl = 0x8000000 169 } WSManSessionFlags; 170 typedef enum _WSManEnumFlags { 171 WSManFlagReturnObject = 0x0, 172 WSManFlagHierarchyDeep = 0x0, 173 WSManFlagAssociatedInstance = 0x0, 174 WSManFlagNonXmlText = 0x1, 175 WSManFlagReturnEPR = 0x2, 176 WSManFlagReturnObjectAndEPR = 0x4, 177 WSManFlagHierarchyShallow = 0x20, 178 WSManFlagHierarchyDeepBasePropsOnly = 0x40, 179 WSManFlagAssociationInstance = 0x80 180 } WSManEnumFlags; 181 typedef enum _WSManProxyAccessTypeFlags { 182 WSManProxyIEConfig = 0x1, 183 WSManProxyWinHttpConfig = 0x2, 184 WSManProxyAutoDetect = 0x4, 185 WSManProxyNoProxyServer = 0x8 186 } WSManProxyAccessTypeFlags; 187 typedef enum _WSManProxyAuthenticationFlags { 188 WSManFlagProxyAuthenticationUseNegotiate = 0x1, 189 WSManFlagProxyAuthenticationUseBasic = 0x2, 190 WSManFlagProxyAuthenticationUseDigest = 0x4 191 } WSManProxyAuthenticationFlags; 192 #ifndef __IWSMan_FWD_DEFINED__ 193 #define __IWSMan_FWD_DEFINED__ 194 typedef interface IWSMan IWSMan; 195 #ifdef __cplusplus 196 interface IWSMan; 197 #endif /* __cplusplus */ 198 #endif 199 200 #ifndef __IWSManEx_FWD_DEFINED__ 201 #define __IWSManEx_FWD_DEFINED__ 202 typedef interface IWSManEx IWSManEx; 203 #ifdef __cplusplus 204 interface IWSManEx; 205 #endif /* __cplusplus */ 206 #endif 207 208 #ifndef __IWSManEx2_FWD_DEFINED__ 209 #define __IWSManEx2_FWD_DEFINED__ 210 typedef interface IWSManEx2 IWSManEx2; 211 #ifdef __cplusplus 212 interface IWSManEx2; 213 #endif /* __cplusplus */ 214 #endif 215 216 #ifndef __IWSManEx3_FWD_DEFINED__ 217 #define __IWSManEx3_FWD_DEFINED__ 218 typedef interface IWSManEx3 IWSManEx3; 219 #ifdef __cplusplus 220 interface IWSManEx3; 221 #endif /* __cplusplus */ 222 #endif 223 224 #ifndef __IWSManConnectionOptions_FWD_DEFINED__ 225 #define __IWSManConnectionOptions_FWD_DEFINED__ 226 typedef interface IWSManConnectionOptions IWSManConnectionOptions; 227 #ifdef __cplusplus 228 interface IWSManConnectionOptions; 229 #endif /* __cplusplus */ 230 #endif 231 232 #ifndef __IWSManConnectionOptionsEx_FWD_DEFINED__ 233 #define __IWSManConnectionOptionsEx_FWD_DEFINED__ 234 typedef interface IWSManConnectionOptionsEx IWSManConnectionOptionsEx; 235 #ifdef __cplusplus 236 interface IWSManConnectionOptionsEx; 237 #endif /* __cplusplus */ 238 #endif 239 240 #ifndef __IWSManConnectionOptionsEx2_FWD_DEFINED__ 241 #define __IWSManConnectionOptionsEx2_FWD_DEFINED__ 242 typedef interface IWSManConnectionOptionsEx2 IWSManConnectionOptionsEx2; 243 #ifdef __cplusplus 244 interface IWSManConnectionOptionsEx2; 245 #endif /* __cplusplus */ 246 #endif 247 248 #ifndef __IWSManSession_FWD_DEFINED__ 249 #define __IWSManSession_FWD_DEFINED__ 250 typedef interface IWSManSession IWSManSession; 251 #ifdef __cplusplus 252 interface IWSManSession; 253 #endif /* __cplusplus */ 254 #endif 255 256 #ifndef __IWSManSessionEx_FWD_DEFINED__ 257 #define __IWSManSessionEx_FWD_DEFINED__ 258 typedef interface IWSManSessionEx IWSManSessionEx; 259 #ifdef __cplusplus 260 interface IWSManSessionEx; 261 #endif /* __cplusplus */ 262 #endif 263 264 #ifndef __IWSManEnumerator_FWD_DEFINED__ 265 #define __IWSManEnumerator_FWD_DEFINED__ 266 typedef interface IWSManEnumerator IWSManEnumerator; 267 #ifdef __cplusplus 268 interface IWSManEnumerator; 269 #endif /* __cplusplus */ 270 #endif 271 272 #ifndef __IWSManResourceLocator_FWD_DEFINED__ 273 #define __IWSManResourceLocator_FWD_DEFINED__ 274 typedef interface IWSManResourceLocator IWSManResourceLocator; 275 #ifdef __cplusplus 276 interface IWSManResourceLocator; 277 #endif /* __cplusplus */ 278 #endif 279 280 #ifndef __IWSManResourceLocatorInternal_FWD_DEFINED__ 281 #define __IWSManResourceLocatorInternal_FWD_DEFINED__ 282 typedef interface IWSManResourceLocatorInternal IWSManResourceLocatorInternal; 283 #ifdef __cplusplus 284 interface IWSManResourceLocatorInternal; 285 #endif /* __cplusplus */ 286 #endif 287 288 #ifndef __IWSManInternal_FWD_DEFINED__ 289 #define __IWSManInternal_FWD_DEFINED__ 290 typedef interface IWSManInternal IWSManInternal; 291 #ifdef __cplusplus 292 interface IWSManInternal; 293 #endif /* __cplusplus */ 294 #endif 295 296 /***************************************************************************** 297 * WSMan coclass 298 */ 299 300 DEFINE_GUID(CLSID_WSMan, 0xbced617b, 0xec03, 0x420b, 0x85,0x08, 0x97,0x7d,0xc7,0xa6,0x86,0xbd); 301 302 #ifdef __cplusplus 303 class DECLSPEC_UUID("bced617b-ec03-420b-8508-977dc7a686bd") WSMan; 304 #ifdef __CRT_UUID_DECL 305 __CRT_UUID_DECL(WSMan, 0xbced617b, 0xec03, 0x420b, 0x85,0x08, 0x97,0x7d,0xc7,0xa6,0x86,0xbd) 306 #endif 307 #endif 308 309 /***************************************************************************** 310 * WSManInternal coclass 311 */ 312 313 DEFINE_GUID(CLSID_WSManInternal, 0x7de087a5, 0x5dcb, 0x4df7, 0xbb,0x12, 0x09,0x24,0xad,0x8f,0xbd,0x9a); 314 315 #ifdef __cplusplus 316 class DECLSPEC_UUID("7de087a5-5dcb-4df7-bb12-0924ad8fbd9a") WSManInternal; 317 #ifdef __CRT_UUID_DECL 318 __CRT_UUID_DECL(WSManInternal, 0x7de087a5, 0x5dcb, 0x4df7, 0xbb,0x12, 0x09,0x24,0xad,0x8f,0xbd,0x9a) 319 #endif 320 #endif 321 322 #endif /* __WSManAutomation_LIBRARY_DEFINED__ */ 323 /***************************************************************************** 324 * IWSMan interface 325 */ 326 #ifndef __IWSMan_INTERFACE_DEFINED__ 327 #define __IWSMan_INTERFACE_DEFINED__ 328 329 DEFINE_GUID(IID_IWSMan, 0x190d8637, 0x5cd3, 0x496d, 0xad,0x24, 0x69,0x63,0x6b,0xb5,0xa3,0xb5); 330 #if defined(__cplusplus) && !defined(CINTERFACE) 331 MIDL_INTERFACE("190d8637-5cd3-496d-ad24-69636bb5a3b5") 332 IWSMan : public IDispatch 333 { 334 virtual HRESULT STDMETHODCALLTYPE CreateSession( 335 BSTR connection, 336 LONG flags, 337 IDispatch *connectionOptions, 338 IDispatch **session) = 0; 339 340 virtual HRESULT STDMETHODCALLTYPE CreateConnectionOptions( 341 IDispatch **connectionOptions) = 0; 342 343 virtual HRESULT STDMETHODCALLTYPE get_CommandLine( 344 BSTR *value) = 0; 345 346 virtual HRESULT STDMETHODCALLTYPE get_Error( 347 BSTR *value) = 0; 348 349 }; 350 #ifdef __CRT_UUID_DECL 351 __CRT_UUID_DECL(IWSMan, 0x190d8637, 0x5cd3, 0x496d, 0xad,0x24, 0x69,0x63,0x6b,0xb5,0xa3,0xb5) 352 #endif 353 #else 354 typedef struct IWSManVtbl { 355 BEGIN_INTERFACE 356 357 /*** IUnknown methods ***/ 358 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 359 IWSMan *This, 360 REFIID riid, 361 void **ppvObject); 362 363 ULONG (STDMETHODCALLTYPE *AddRef)( 364 IWSMan *This); 365 366 ULONG (STDMETHODCALLTYPE *Release)( 367 IWSMan *This); 368 369 /*** IDispatch methods ***/ 370 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 371 IWSMan *This, 372 UINT *pctinfo); 373 374 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 375 IWSMan *This, 376 UINT iTInfo, 377 LCID lcid, 378 ITypeInfo **ppTInfo); 379 380 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 381 IWSMan *This, 382 REFIID riid, 383 LPOLESTR *rgszNames, 384 UINT cNames, 385 LCID lcid, 386 DISPID *rgDispId); 387 388 HRESULT (STDMETHODCALLTYPE *Invoke)( 389 IWSMan *This, 390 DISPID dispIdMember, 391 REFIID riid, 392 LCID lcid, 393 WORD wFlags, 394 DISPPARAMS *pDispParams, 395 VARIANT *pVarResult, 396 EXCEPINFO *pExcepInfo, 397 UINT *puArgErr); 398 399 /*** IWSMan methods ***/ 400 HRESULT (STDMETHODCALLTYPE *CreateSession)( 401 IWSMan *This, 402 BSTR connection, 403 LONG flags, 404 IDispatch *connectionOptions, 405 IDispatch **session); 406 407 HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)( 408 IWSMan *This, 409 IDispatch **connectionOptions); 410 411 HRESULT (STDMETHODCALLTYPE *get_CommandLine)( 412 IWSMan *This, 413 BSTR *value); 414 415 HRESULT (STDMETHODCALLTYPE *get_Error)( 416 IWSMan *This, 417 BSTR *value); 418 419 END_INTERFACE 420 } IWSManVtbl; 421 422 interface IWSMan { 423 CONST_VTBL IWSManVtbl* lpVtbl; 424 }; 425 426 #ifdef COBJMACROS 427 #ifndef WIDL_C_INLINE_WRAPPERS 428 /*** IUnknown methods ***/ 429 #define IWSMan_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 430 #define IWSMan_AddRef(This) (This)->lpVtbl->AddRef(This) 431 #define IWSMan_Release(This) (This)->lpVtbl->Release(This) 432 /*** IDispatch methods ***/ 433 #define IWSMan_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 434 #define IWSMan_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 435 #define IWSMan_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 436 #define IWSMan_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 437 /*** IWSMan methods ***/ 438 #define IWSMan_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session) 439 #define IWSMan_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions) 440 #define IWSMan_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value) 441 #define IWSMan_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 442 #else 443 /*** IUnknown methods ***/ 444 static FORCEINLINE HRESULT IWSMan_QueryInterface(IWSMan* This,REFIID riid,void **ppvObject) { 445 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 446 } 447 static FORCEINLINE ULONG IWSMan_AddRef(IWSMan* This) { 448 return This->lpVtbl->AddRef(This); 449 } 450 static FORCEINLINE ULONG IWSMan_Release(IWSMan* This) { 451 return This->lpVtbl->Release(This); 452 } 453 /*** IDispatch methods ***/ 454 static FORCEINLINE HRESULT IWSMan_GetTypeInfoCount(IWSMan* This,UINT *pctinfo) { 455 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 456 } 457 static FORCEINLINE HRESULT IWSMan_GetTypeInfo(IWSMan* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 458 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 459 } 460 static FORCEINLINE HRESULT IWSMan_GetIDsOfNames(IWSMan* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 461 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 462 } 463 static FORCEINLINE HRESULT IWSMan_Invoke(IWSMan* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 464 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 465 } 466 /*** IWSMan methods ***/ 467 static FORCEINLINE HRESULT IWSMan_CreateSession(IWSMan* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) { 468 return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session); 469 } 470 static FORCEINLINE HRESULT IWSMan_CreateConnectionOptions(IWSMan* This,IDispatch **connectionOptions) { 471 return This->lpVtbl->CreateConnectionOptions(This,connectionOptions); 472 } 473 static FORCEINLINE HRESULT IWSMan_get_CommandLine(IWSMan* This,BSTR *value) { 474 return This->lpVtbl->get_CommandLine(This,value); 475 } 476 static FORCEINLINE HRESULT IWSMan_get_Error(IWSMan* This,BSTR *value) { 477 return This->lpVtbl->get_Error(This,value); 478 } 479 #endif 480 #endif 481 482 #endif 483 484 485 #endif /* __IWSMan_INTERFACE_DEFINED__ */ 486 487 /***************************************************************************** 488 * IWSManEx interface 489 */ 490 #ifndef __IWSManEx_INTERFACE_DEFINED__ 491 #define __IWSManEx_INTERFACE_DEFINED__ 492 493 DEFINE_GUID(IID_IWSManEx, 0x2d53bdaa, 0x798e, 0x49e6, 0xa1,0xaa, 0x74,0xd0,0x12,0x56,0xf4,0x11); 494 #if defined(__cplusplus) && !defined(CINTERFACE) 495 MIDL_INTERFACE("2d53bdaa-798e-49e6-a1aa-74d01256f411") 496 IWSManEx : public IWSMan 497 { 498 virtual HRESULT STDMETHODCALLTYPE CreateResourceLocator( 499 BSTR strResourceLocator, 500 IDispatch **newResourceLocator) = 0; 501 502 virtual HRESULT STDMETHODCALLTYPE SessionFlagUTF8( 503 LONG *flags) = 0; 504 505 virtual HRESULT STDMETHODCALLTYPE SessionFlagCredUsernamePassword( 506 LONG *flags) = 0; 507 508 virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipCACheck( 509 LONG *flags) = 0; 510 511 virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipCNCheck( 512 LONG *flags) = 0; 513 514 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseDigest( 515 LONG *flags) = 0; 516 517 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseNegotiate( 518 LONG *flags) = 0; 519 520 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseBasic( 521 LONG *flags) = 0; 522 523 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseKerberos( 524 LONG *flags) = 0; 525 526 virtual HRESULT STDMETHODCALLTYPE SessionFlagNoEncryption( 527 LONG *flags) = 0; 528 529 virtual HRESULT STDMETHODCALLTYPE SessionFlagEnableSPNServerPort( 530 LONG *flags) = 0; 531 532 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseNoAuthentication( 533 LONG *flags) = 0; 534 535 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagNonXmlText( 536 LONG *flags) = 0; 537 538 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnEPR( 539 LONG *flags) = 0; 540 541 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnObjectAndEPR( 542 LONG *flags) = 0; 543 544 virtual HRESULT STDMETHODCALLTYPE GetErrorMessage( 545 DWORD errorNumber, 546 BSTR *errorMessage) = 0; 547 548 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyDeep( 549 LONG *flags) = 0; 550 551 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyShallow( 552 LONG *flags) = 0; 553 554 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagHierarchyDeepBasePropsOnly( 555 LONG *flags) = 0; 556 557 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagReturnObject( 558 LONG *flags) = 0; 559 560 }; 561 #ifdef __CRT_UUID_DECL 562 __CRT_UUID_DECL(IWSManEx, 0x2d53bdaa, 0x798e, 0x49e6, 0xa1,0xaa, 0x74,0xd0,0x12,0x56,0xf4,0x11) 563 #endif 564 #else 565 typedef struct IWSManExVtbl { 566 BEGIN_INTERFACE 567 568 /*** IUnknown methods ***/ 569 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 570 IWSManEx *This, 571 REFIID riid, 572 void **ppvObject); 573 574 ULONG (STDMETHODCALLTYPE *AddRef)( 575 IWSManEx *This); 576 577 ULONG (STDMETHODCALLTYPE *Release)( 578 IWSManEx *This); 579 580 /*** IDispatch methods ***/ 581 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 582 IWSManEx *This, 583 UINT *pctinfo); 584 585 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 586 IWSManEx *This, 587 UINT iTInfo, 588 LCID lcid, 589 ITypeInfo **ppTInfo); 590 591 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 592 IWSManEx *This, 593 REFIID riid, 594 LPOLESTR *rgszNames, 595 UINT cNames, 596 LCID lcid, 597 DISPID *rgDispId); 598 599 HRESULT (STDMETHODCALLTYPE *Invoke)( 600 IWSManEx *This, 601 DISPID dispIdMember, 602 REFIID riid, 603 LCID lcid, 604 WORD wFlags, 605 DISPPARAMS *pDispParams, 606 VARIANT *pVarResult, 607 EXCEPINFO *pExcepInfo, 608 UINT *puArgErr); 609 610 /*** IWSMan methods ***/ 611 HRESULT (STDMETHODCALLTYPE *CreateSession)( 612 IWSManEx *This, 613 BSTR connection, 614 LONG flags, 615 IDispatch *connectionOptions, 616 IDispatch **session); 617 618 HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)( 619 IWSManEx *This, 620 IDispatch **connectionOptions); 621 622 HRESULT (STDMETHODCALLTYPE *get_CommandLine)( 623 IWSManEx *This, 624 BSTR *value); 625 626 HRESULT (STDMETHODCALLTYPE *get_Error)( 627 IWSManEx *This, 628 BSTR *value); 629 630 /*** IWSManEx methods ***/ 631 HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)( 632 IWSManEx *This, 633 BSTR strResourceLocator, 634 IDispatch **newResourceLocator); 635 636 HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)( 637 IWSManEx *This, 638 LONG *flags); 639 640 HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)( 641 IWSManEx *This, 642 LONG *flags); 643 644 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)( 645 IWSManEx *This, 646 LONG *flags); 647 648 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)( 649 IWSManEx *This, 650 LONG *flags); 651 652 HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)( 653 IWSManEx *This, 654 LONG *flags); 655 656 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)( 657 IWSManEx *This, 658 LONG *flags); 659 660 HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)( 661 IWSManEx *This, 662 LONG *flags); 663 664 HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)( 665 IWSManEx *This, 666 LONG *flags); 667 668 HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)( 669 IWSManEx *This, 670 LONG *flags); 671 672 HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)( 673 IWSManEx *This, 674 LONG *flags); 675 676 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)( 677 IWSManEx *This, 678 LONG *flags); 679 680 HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)( 681 IWSManEx *This, 682 LONG *flags); 683 684 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)( 685 IWSManEx *This, 686 LONG *flags); 687 688 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)( 689 IWSManEx *This, 690 LONG *flags); 691 692 HRESULT (STDMETHODCALLTYPE *GetErrorMessage)( 693 IWSManEx *This, 694 DWORD errorNumber, 695 BSTR *errorMessage); 696 697 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)( 698 IWSManEx *This, 699 LONG *flags); 700 701 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)( 702 IWSManEx *This, 703 LONG *flags); 704 705 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)( 706 IWSManEx *This, 707 LONG *flags); 708 709 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)( 710 IWSManEx *This, 711 LONG *flags); 712 713 END_INTERFACE 714 } IWSManExVtbl; 715 716 interface IWSManEx { 717 CONST_VTBL IWSManExVtbl* lpVtbl; 718 }; 719 720 #ifdef COBJMACROS 721 #ifndef WIDL_C_INLINE_WRAPPERS 722 /*** IUnknown methods ***/ 723 #define IWSManEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 724 #define IWSManEx_AddRef(This) (This)->lpVtbl->AddRef(This) 725 #define IWSManEx_Release(This) (This)->lpVtbl->Release(This) 726 /*** IDispatch methods ***/ 727 #define IWSManEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 728 #define IWSManEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 729 #define IWSManEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 730 #define IWSManEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 731 /*** IWSMan methods ***/ 732 #define IWSManEx_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session) 733 #define IWSManEx_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions) 734 #define IWSManEx_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value) 735 #define IWSManEx_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 736 /*** IWSManEx methods ***/ 737 #define IWSManEx_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator) 738 #define IWSManEx_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags) 739 #define IWSManEx_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags) 740 #define IWSManEx_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags) 741 #define IWSManEx_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags) 742 #define IWSManEx_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags) 743 #define IWSManEx_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags) 744 #define IWSManEx_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags) 745 #define IWSManEx_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags) 746 #define IWSManEx_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags) 747 #define IWSManEx_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags) 748 #define IWSManEx_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags) 749 #define IWSManEx_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags) 750 #define IWSManEx_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags) 751 #define IWSManEx_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags) 752 #define IWSManEx_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage) 753 #define IWSManEx_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags) 754 #define IWSManEx_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags) 755 #define IWSManEx_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) 756 #define IWSManEx_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags) 757 #else 758 /*** IUnknown methods ***/ 759 static FORCEINLINE HRESULT IWSManEx_QueryInterface(IWSManEx* This,REFIID riid,void **ppvObject) { 760 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 761 } 762 static FORCEINLINE ULONG IWSManEx_AddRef(IWSManEx* This) { 763 return This->lpVtbl->AddRef(This); 764 } 765 static FORCEINLINE ULONG IWSManEx_Release(IWSManEx* This) { 766 return This->lpVtbl->Release(This); 767 } 768 /*** IDispatch methods ***/ 769 static FORCEINLINE HRESULT IWSManEx_GetTypeInfoCount(IWSManEx* This,UINT *pctinfo) { 770 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 771 } 772 static FORCEINLINE HRESULT IWSManEx_GetTypeInfo(IWSManEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 773 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 774 } 775 static FORCEINLINE HRESULT IWSManEx_GetIDsOfNames(IWSManEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 776 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 777 } 778 static FORCEINLINE HRESULT IWSManEx_Invoke(IWSManEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 779 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 780 } 781 /*** IWSMan methods ***/ 782 static FORCEINLINE HRESULT IWSManEx_CreateSession(IWSManEx* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) { 783 return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session); 784 } 785 static FORCEINLINE HRESULT IWSManEx_CreateConnectionOptions(IWSManEx* This,IDispatch **connectionOptions) { 786 return This->lpVtbl->CreateConnectionOptions(This,connectionOptions); 787 } 788 static FORCEINLINE HRESULT IWSManEx_get_CommandLine(IWSManEx* This,BSTR *value) { 789 return This->lpVtbl->get_CommandLine(This,value); 790 } 791 static FORCEINLINE HRESULT IWSManEx_get_Error(IWSManEx* This,BSTR *value) { 792 return This->lpVtbl->get_Error(This,value); 793 } 794 /*** IWSManEx methods ***/ 795 static FORCEINLINE HRESULT IWSManEx_CreateResourceLocator(IWSManEx* This,BSTR strResourceLocator,IDispatch **newResourceLocator) { 796 return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator); 797 } 798 static FORCEINLINE HRESULT IWSManEx_SessionFlagUTF8(IWSManEx* This,LONG *flags) { 799 return This->lpVtbl->SessionFlagUTF8(This,flags); 800 } 801 static FORCEINLINE HRESULT IWSManEx_SessionFlagCredUsernamePassword(IWSManEx* This,LONG *flags) { 802 return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags); 803 } 804 static FORCEINLINE HRESULT IWSManEx_SessionFlagSkipCACheck(IWSManEx* This,LONG *flags) { 805 return This->lpVtbl->SessionFlagSkipCACheck(This,flags); 806 } 807 static FORCEINLINE HRESULT IWSManEx_SessionFlagSkipCNCheck(IWSManEx* This,LONG *flags) { 808 return This->lpVtbl->SessionFlagSkipCNCheck(This,flags); 809 } 810 static FORCEINLINE HRESULT IWSManEx_SessionFlagUseDigest(IWSManEx* This,LONG *flags) { 811 return This->lpVtbl->SessionFlagUseDigest(This,flags); 812 } 813 static FORCEINLINE HRESULT IWSManEx_SessionFlagUseNegotiate(IWSManEx* This,LONG *flags) { 814 return This->lpVtbl->SessionFlagUseNegotiate(This,flags); 815 } 816 static FORCEINLINE HRESULT IWSManEx_SessionFlagUseBasic(IWSManEx* This,LONG *flags) { 817 return This->lpVtbl->SessionFlagUseBasic(This,flags); 818 } 819 static FORCEINLINE HRESULT IWSManEx_SessionFlagUseKerberos(IWSManEx* This,LONG *flags) { 820 return This->lpVtbl->SessionFlagUseKerberos(This,flags); 821 } 822 static FORCEINLINE HRESULT IWSManEx_SessionFlagNoEncryption(IWSManEx* This,LONG *flags) { 823 return This->lpVtbl->SessionFlagNoEncryption(This,flags); 824 } 825 static FORCEINLINE HRESULT IWSManEx_SessionFlagEnableSPNServerPort(IWSManEx* This,LONG *flags) { 826 return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags); 827 } 828 static FORCEINLINE HRESULT IWSManEx_SessionFlagUseNoAuthentication(IWSManEx* This,LONG *flags) { 829 return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags); 830 } 831 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagNonXmlText(IWSManEx* This,LONG *flags) { 832 return This->lpVtbl->EnumerationFlagNonXmlText(This,flags); 833 } 834 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnEPR(IWSManEx* This,LONG *flags) { 835 return This->lpVtbl->EnumerationFlagReturnEPR(This,flags); 836 } 837 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnObjectAndEPR(IWSManEx* This,LONG *flags) { 838 return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags); 839 } 840 static FORCEINLINE HRESULT IWSManEx_GetErrorMessage(IWSManEx* This,DWORD errorNumber,BSTR *errorMessage) { 841 return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage); 842 } 843 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyDeep(IWSManEx* This,LONG *flags) { 844 return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags); 845 } 846 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyShallow(IWSManEx* This,LONG *flags) { 847 return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags); 848 } 849 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx* This,LONG *flags) { 850 return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags); 851 } 852 static FORCEINLINE HRESULT IWSManEx_EnumerationFlagReturnObject(IWSManEx* This,LONG *flags) { 853 return This->lpVtbl->EnumerationFlagReturnObject(This,flags); 854 } 855 #endif 856 #endif 857 858 #endif 859 860 861 #endif /* __IWSManEx_INTERFACE_DEFINED__ */ 862 863 /***************************************************************************** 864 * IWSManEx2 interface 865 */ 866 #ifndef __IWSManEx2_INTERFACE_DEFINED__ 867 #define __IWSManEx2_INTERFACE_DEFINED__ 868 869 DEFINE_GUID(IID_IWSManEx2, 0x1d1b5ae0, 0x42d9, 0x4021, 0x82,0x61, 0x39,0x87,0x61,0x95,0x12,0xe9); 870 #if defined(__cplusplus) && !defined(CINTERFACE) 871 MIDL_INTERFACE("1d1b5ae0-42d9-4021-8261-3987619512e9") 872 IWSManEx2 : public IWSManEx 873 { 874 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseClientCertificate( 875 LONG *flags) = 0; 876 877 }; 878 #ifdef __CRT_UUID_DECL 879 __CRT_UUID_DECL(IWSManEx2, 0x1d1b5ae0, 0x42d9, 0x4021, 0x82,0x61, 0x39,0x87,0x61,0x95,0x12,0xe9) 880 #endif 881 #else 882 typedef struct IWSManEx2Vtbl { 883 BEGIN_INTERFACE 884 885 /*** IUnknown methods ***/ 886 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 887 IWSManEx2 *This, 888 REFIID riid, 889 void **ppvObject); 890 891 ULONG (STDMETHODCALLTYPE *AddRef)( 892 IWSManEx2 *This); 893 894 ULONG (STDMETHODCALLTYPE *Release)( 895 IWSManEx2 *This); 896 897 /*** IDispatch methods ***/ 898 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 899 IWSManEx2 *This, 900 UINT *pctinfo); 901 902 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 903 IWSManEx2 *This, 904 UINT iTInfo, 905 LCID lcid, 906 ITypeInfo **ppTInfo); 907 908 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 909 IWSManEx2 *This, 910 REFIID riid, 911 LPOLESTR *rgszNames, 912 UINT cNames, 913 LCID lcid, 914 DISPID *rgDispId); 915 916 HRESULT (STDMETHODCALLTYPE *Invoke)( 917 IWSManEx2 *This, 918 DISPID dispIdMember, 919 REFIID riid, 920 LCID lcid, 921 WORD wFlags, 922 DISPPARAMS *pDispParams, 923 VARIANT *pVarResult, 924 EXCEPINFO *pExcepInfo, 925 UINT *puArgErr); 926 927 /*** IWSMan methods ***/ 928 HRESULT (STDMETHODCALLTYPE *CreateSession)( 929 IWSManEx2 *This, 930 BSTR connection, 931 LONG flags, 932 IDispatch *connectionOptions, 933 IDispatch **session); 934 935 HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)( 936 IWSManEx2 *This, 937 IDispatch **connectionOptions); 938 939 HRESULT (STDMETHODCALLTYPE *get_CommandLine)( 940 IWSManEx2 *This, 941 BSTR *value); 942 943 HRESULT (STDMETHODCALLTYPE *get_Error)( 944 IWSManEx2 *This, 945 BSTR *value); 946 947 /*** IWSManEx methods ***/ 948 HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)( 949 IWSManEx2 *This, 950 BSTR strResourceLocator, 951 IDispatch **newResourceLocator); 952 953 HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)( 954 IWSManEx2 *This, 955 LONG *flags); 956 957 HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)( 958 IWSManEx2 *This, 959 LONG *flags); 960 961 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)( 962 IWSManEx2 *This, 963 LONG *flags); 964 965 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)( 966 IWSManEx2 *This, 967 LONG *flags); 968 969 HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)( 970 IWSManEx2 *This, 971 LONG *flags); 972 973 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)( 974 IWSManEx2 *This, 975 LONG *flags); 976 977 HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)( 978 IWSManEx2 *This, 979 LONG *flags); 980 981 HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)( 982 IWSManEx2 *This, 983 LONG *flags); 984 985 HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)( 986 IWSManEx2 *This, 987 LONG *flags); 988 989 HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)( 990 IWSManEx2 *This, 991 LONG *flags); 992 993 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)( 994 IWSManEx2 *This, 995 LONG *flags); 996 997 HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)( 998 IWSManEx2 *This, 999 LONG *flags); 1000 1001 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)( 1002 IWSManEx2 *This, 1003 LONG *flags); 1004 1005 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)( 1006 IWSManEx2 *This, 1007 LONG *flags); 1008 1009 HRESULT (STDMETHODCALLTYPE *GetErrorMessage)( 1010 IWSManEx2 *This, 1011 DWORD errorNumber, 1012 BSTR *errorMessage); 1013 1014 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)( 1015 IWSManEx2 *This, 1016 LONG *flags); 1017 1018 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)( 1019 IWSManEx2 *This, 1020 LONG *flags); 1021 1022 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)( 1023 IWSManEx2 *This, 1024 LONG *flags); 1025 1026 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)( 1027 IWSManEx2 *This, 1028 LONG *flags); 1029 1030 /*** IWSManEx2 methods ***/ 1031 HRESULT (STDMETHODCALLTYPE *SessionFlagUseClientCertificate)( 1032 IWSManEx2 *This, 1033 LONG *flags); 1034 1035 END_INTERFACE 1036 } IWSManEx2Vtbl; 1037 1038 interface IWSManEx2 { 1039 CONST_VTBL IWSManEx2Vtbl* lpVtbl; 1040 }; 1041 1042 #ifdef COBJMACROS 1043 #ifndef WIDL_C_INLINE_WRAPPERS 1044 /*** IUnknown methods ***/ 1045 #define IWSManEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1046 #define IWSManEx2_AddRef(This) (This)->lpVtbl->AddRef(This) 1047 #define IWSManEx2_Release(This) (This)->lpVtbl->Release(This) 1048 /*** IDispatch methods ***/ 1049 #define IWSManEx2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1050 #define IWSManEx2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1051 #define IWSManEx2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1052 #define IWSManEx2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1053 /*** IWSMan methods ***/ 1054 #define IWSManEx2_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session) 1055 #define IWSManEx2_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions) 1056 #define IWSManEx2_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value) 1057 #define IWSManEx2_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 1058 /*** IWSManEx methods ***/ 1059 #define IWSManEx2_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator) 1060 #define IWSManEx2_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags) 1061 #define IWSManEx2_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags) 1062 #define IWSManEx2_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags) 1063 #define IWSManEx2_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags) 1064 #define IWSManEx2_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags) 1065 #define IWSManEx2_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags) 1066 #define IWSManEx2_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags) 1067 #define IWSManEx2_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags) 1068 #define IWSManEx2_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags) 1069 #define IWSManEx2_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags) 1070 #define IWSManEx2_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags) 1071 #define IWSManEx2_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags) 1072 #define IWSManEx2_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags) 1073 #define IWSManEx2_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags) 1074 #define IWSManEx2_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage) 1075 #define IWSManEx2_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags) 1076 #define IWSManEx2_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags) 1077 #define IWSManEx2_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) 1078 #define IWSManEx2_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags) 1079 /*** IWSManEx2 methods ***/ 1080 #define IWSManEx2_SessionFlagUseClientCertificate(This,flags) (This)->lpVtbl->SessionFlagUseClientCertificate(This,flags) 1081 #else 1082 /*** IUnknown methods ***/ 1083 static FORCEINLINE HRESULT IWSManEx2_QueryInterface(IWSManEx2* This,REFIID riid,void **ppvObject) { 1084 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1085 } 1086 static FORCEINLINE ULONG IWSManEx2_AddRef(IWSManEx2* This) { 1087 return This->lpVtbl->AddRef(This); 1088 } 1089 static FORCEINLINE ULONG IWSManEx2_Release(IWSManEx2* This) { 1090 return This->lpVtbl->Release(This); 1091 } 1092 /*** IDispatch methods ***/ 1093 static FORCEINLINE HRESULT IWSManEx2_GetTypeInfoCount(IWSManEx2* This,UINT *pctinfo) { 1094 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 1095 } 1096 static FORCEINLINE HRESULT IWSManEx2_GetTypeInfo(IWSManEx2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 1097 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 1098 } 1099 static FORCEINLINE HRESULT IWSManEx2_GetIDsOfNames(IWSManEx2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 1100 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 1101 } 1102 static FORCEINLINE HRESULT IWSManEx2_Invoke(IWSManEx2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 1103 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 1104 } 1105 /*** IWSMan methods ***/ 1106 static FORCEINLINE HRESULT IWSManEx2_CreateSession(IWSManEx2* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) { 1107 return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session); 1108 } 1109 static FORCEINLINE HRESULT IWSManEx2_CreateConnectionOptions(IWSManEx2* This,IDispatch **connectionOptions) { 1110 return This->lpVtbl->CreateConnectionOptions(This,connectionOptions); 1111 } 1112 static FORCEINLINE HRESULT IWSManEx2_get_CommandLine(IWSManEx2* This,BSTR *value) { 1113 return This->lpVtbl->get_CommandLine(This,value); 1114 } 1115 static FORCEINLINE HRESULT IWSManEx2_get_Error(IWSManEx2* This,BSTR *value) { 1116 return This->lpVtbl->get_Error(This,value); 1117 } 1118 /*** IWSManEx methods ***/ 1119 static FORCEINLINE HRESULT IWSManEx2_CreateResourceLocator(IWSManEx2* This,BSTR strResourceLocator,IDispatch **newResourceLocator) { 1120 return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator); 1121 } 1122 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUTF8(IWSManEx2* This,LONG *flags) { 1123 return This->lpVtbl->SessionFlagUTF8(This,flags); 1124 } 1125 static FORCEINLINE HRESULT IWSManEx2_SessionFlagCredUsernamePassword(IWSManEx2* This,LONG *flags) { 1126 return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags); 1127 } 1128 static FORCEINLINE HRESULT IWSManEx2_SessionFlagSkipCACheck(IWSManEx2* This,LONG *flags) { 1129 return This->lpVtbl->SessionFlagSkipCACheck(This,flags); 1130 } 1131 static FORCEINLINE HRESULT IWSManEx2_SessionFlagSkipCNCheck(IWSManEx2* This,LONG *flags) { 1132 return This->lpVtbl->SessionFlagSkipCNCheck(This,flags); 1133 } 1134 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseDigest(IWSManEx2* This,LONG *flags) { 1135 return This->lpVtbl->SessionFlagUseDigest(This,flags); 1136 } 1137 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseNegotiate(IWSManEx2* This,LONG *flags) { 1138 return This->lpVtbl->SessionFlagUseNegotiate(This,flags); 1139 } 1140 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseBasic(IWSManEx2* This,LONG *flags) { 1141 return This->lpVtbl->SessionFlagUseBasic(This,flags); 1142 } 1143 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseKerberos(IWSManEx2* This,LONG *flags) { 1144 return This->lpVtbl->SessionFlagUseKerberos(This,flags); 1145 } 1146 static FORCEINLINE HRESULT IWSManEx2_SessionFlagNoEncryption(IWSManEx2* This,LONG *flags) { 1147 return This->lpVtbl->SessionFlagNoEncryption(This,flags); 1148 } 1149 static FORCEINLINE HRESULT IWSManEx2_SessionFlagEnableSPNServerPort(IWSManEx2* This,LONG *flags) { 1150 return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags); 1151 } 1152 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseNoAuthentication(IWSManEx2* This,LONG *flags) { 1153 return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags); 1154 } 1155 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagNonXmlText(IWSManEx2* This,LONG *flags) { 1156 return This->lpVtbl->EnumerationFlagNonXmlText(This,flags); 1157 } 1158 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnEPR(IWSManEx2* This,LONG *flags) { 1159 return This->lpVtbl->EnumerationFlagReturnEPR(This,flags); 1160 } 1161 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnObjectAndEPR(IWSManEx2* This,LONG *flags) { 1162 return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags); 1163 } 1164 static FORCEINLINE HRESULT IWSManEx2_GetErrorMessage(IWSManEx2* This,DWORD errorNumber,BSTR *errorMessage) { 1165 return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage); 1166 } 1167 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyDeep(IWSManEx2* This,LONG *flags) { 1168 return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags); 1169 } 1170 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyShallow(IWSManEx2* This,LONG *flags) { 1171 return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags); 1172 } 1173 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx2* This,LONG *flags) { 1174 return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags); 1175 } 1176 static FORCEINLINE HRESULT IWSManEx2_EnumerationFlagReturnObject(IWSManEx2* This,LONG *flags) { 1177 return This->lpVtbl->EnumerationFlagReturnObject(This,flags); 1178 } 1179 /*** IWSManEx2 methods ***/ 1180 static FORCEINLINE HRESULT IWSManEx2_SessionFlagUseClientCertificate(IWSManEx2* This,LONG *flags) { 1181 return This->lpVtbl->SessionFlagUseClientCertificate(This,flags); 1182 } 1183 #endif 1184 #endif 1185 1186 #endif 1187 1188 1189 #endif /* __IWSManEx2_INTERFACE_DEFINED__ */ 1190 1191 /***************************************************************************** 1192 * IWSManEx3 interface 1193 */ 1194 #ifndef __IWSManEx3_INTERFACE_DEFINED__ 1195 #define __IWSManEx3_INTERFACE_DEFINED__ 1196 1197 DEFINE_GUID(IID_IWSManEx3, 0x6400e966, 0x011d, 0x4eac, 0x84,0x74, 0x04,0x9e,0x08,0x48,0xaf,0xad); 1198 #if defined(__cplusplus) && !defined(CINTERFACE) 1199 MIDL_INTERFACE("6400e966-011d-4eac-8474-049e0848afad") 1200 IWSManEx3 : public IWSManEx2 1201 { 1202 virtual HRESULT STDMETHODCALLTYPE SessionFlagUTF16( 1203 LONG *flags) = 0; 1204 1205 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseCredSsp( 1206 LONG *flags) = 0; 1207 1208 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagAssociationInstance( 1209 LONG *flags) = 0; 1210 1211 virtual HRESULT STDMETHODCALLTYPE EnumerationFlagAssociatedInstance( 1212 LONG *flags) = 0; 1213 1214 virtual HRESULT STDMETHODCALLTYPE SessionFlagSkipRevocationCheck( 1215 LONG *flags) = 0; 1216 1217 virtual HRESULT STDMETHODCALLTYPE SessionFlagAllowNegotiateImplicitCredentials( 1218 LONG *flags) = 0; 1219 1220 virtual HRESULT STDMETHODCALLTYPE SessionFlagUseSsl( 1221 LONG *flags) = 0; 1222 1223 }; 1224 #ifdef __CRT_UUID_DECL 1225 __CRT_UUID_DECL(IWSManEx3, 0x6400e966, 0x011d, 0x4eac, 0x84,0x74, 0x04,0x9e,0x08,0x48,0xaf,0xad) 1226 #endif 1227 #else 1228 typedef struct IWSManEx3Vtbl { 1229 BEGIN_INTERFACE 1230 1231 /*** IUnknown methods ***/ 1232 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 1233 IWSManEx3 *This, 1234 REFIID riid, 1235 void **ppvObject); 1236 1237 ULONG (STDMETHODCALLTYPE *AddRef)( 1238 IWSManEx3 *This); 1239 1240 ULONG (STDMETHODCALLTYPE *Release)( 1241 IWSManEx3 *This); 1242 1243 /*** IDispatch methods ***/ 1244 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 1245 IWSManEx3 *This, 1246 UINT *pctinfo); 1247 1248 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 1249 IWSManEx3 *This, 1250 UINT iTInfo, 1251 LCID lcid, 1252 ITypeInfo **ppTInfo); 1253 1254 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 1255 IWSManEx3 *This, 1256 REFIID riid, 1257 LPOLESTR *rgszNames, 1258 UINT cNames, 1259 LCID lcid, 1260 DISPID *rgDispId); 1261 1262 HRESULT (STDMETHODCALLTYPE *Invoke)( 1263 IWSManEx3 *This, 1264 DISPID dispIdMember, 1265 REFIID riid, 1266 LCID lcid, 1267 WORD wFlags, 1268 DISPPARAMS *pDispParams, 1269 VARIANT *pVarResult, 1270 EXCEPINFO *pExcepInfo, 1271 UINT *puArgErr); 1272 1273 /*** IWSMan methods ***/ 1274 HRESULT (STDMETHODCALLTYPE *CreateSession)( 1275 IWSManEx3 *This, 1276 BSTR connection, 1277 LONG flags, 1278 IDispatch *connectionOptions, 1279 IDispatch **session); 1280 1281 HRESULT (STDMETHODCALLTYPE *CreateConnectionOptions)( 1282 IWSManEx3 *This, 1283 IDispatch **connectionOptions); 1284 1285 HRESULT (STDMETHODCALLTYPE *get_CommandLine)( 1286 IWSManEx3 *This, 1287 BSTR *value); 1288 1289 HRESULT (STDMETHODCALLTYPE *get_Error)( 1290 IWSManEx3 *This, 1291 BSTR *value); 1292 1293 /*** IWSManEx methods ***/ 1294 HRESULT (STDMETHODCALLTYPE *CreateResourceLocator)( 1295 IWSManEx3 *This, 1296 BSTR strResourceLocator, 1297 IDispatch **newResourceLocator); 1298 1299 HRESULT (STDMETHODCALLTYPE *SessionFlagUTF8)( 1300 IWSManEx3 *This, 1301 LONG *flags); 1302 1303 HRESULT (STDMETHODCALLTYPE *SessionFlagCredUsernamePassword)( 1304 IWSManEx3 *This, 1305 LONG *flags); 1306 1307 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCACheck)( 1308 IWSManEx3 *This, 1309 LONG *flags); 1310 1311 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipCNCheck)( 1312 IWSManEx3 *This, 1313 LONG *flags); 1314 1315 HRESULT (STDMETHODCALLTYPE *SessionFlagUseDigest)( 1316 IWSManEx3 *This, 1317 LONG *flags); 1318 1319 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNegotiate)( 1320 IWSManEx3 *This, 1321 LONG *flags); 1322 1323 HRESULT (STDMETHODCALLTYPE *SessionFlagUseBasic)( 1324 IWSManEx3 *This, 1325 LONG *flags); 1326 1327 HRESULT (STDMETHODCALLTYPE *SessionFlagUseKerberos)( 1328 IWSManEx3 *This, 1329 LONG *flags); 1330 1331 HRESULT (STDMETHODCALLTYPE *SessionFlagNoEncryption)( 1332 IWSManEx3 *This, 1333 LONG *flags); 1334 1335 HRESULT (STDMETHODCALLTYPE *SessionFlagEnableSPNServerPort)( 1336 IWSManEx3 *This, 1337 LONG *flags); 1338 1339 HRESULT (STDMETHODCALLTYPE *SessionFlagUseNoAuthentication)( 1340 IWSManEx3 *This, 1341 LONG *flags); 1342 1343 HRESULT (STDMETHODCALLTYPE *EnumerationFlagNonXmlText)( 1344 IWSManEx3 *This, 1345 LONG *flags); 1346 1347 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnEPR)( 1348 IWSManEx3 *This, 1349 LONG *flags); 1350 1351 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObjectAndEPR)( 1352 IWSManEx3 *This, 1353 LONG *flags); 1354 1355 HRESULT (STDMETHODCALLTYPE *GetErrorMessage)( 1356 IWSManEx3 *This, 1357 DWORD errorNumber, 1358 BSTR *errorMessage); 1359 1360 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeep)( 1361 IWSManEx3 *This, 1362 LONG *flags); 1363 1364 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyShallow)( 1365 IWSManEx3 *This, 1366 LONG *flags); 1367 1368 HRESULT (STDMETHODCALLTYPE *EnumerationFlagHierarchyDeepBasePropsOnly)( 1369 IWSManEx3 *This, 1370 LONG *flags); 1371 1372 HRESULT (STDMETHODCALLTYPE *EnumerationFlagReturnObject)( 1373 IWSManEx3 *This, 1374 LONG *flags); 1375 1376 /*** IWSManEx2 methods ***/ 1377 HRESULT (STDMETHODCALLTYPE *SessionFlagUseClientCertificate)( 1378 IWSManEx3 *This, 1379 LONG *flags); 1380 1381 /*** IWSManEx3 methods ***/ 1382 HRESULT (STDMETHODCALLTYPE *SessionFlagUTF16)( 1383 IWSManEx3 *This, 1384 LONG *flags); 1385 1386 HRESULT (STDMETHODCALLTYPE *SessionFlagUseCredSsp)( 1387 IWSManEx3 *This, 1388 LONG *flags); 1389 1390 HRESULT (STDMETHODCALLTYPE *EnumerationFlagAssociationInstance)( 1391 IWSManEx3 *This, 1392 LONG *flags); 1393 1394 HRESULT (STDMETHODCALLTYPE *EnumerationFlagAssociatedInstance)( 1395 IWSManEx3 *This, 1396 LONG *flags); 1397 1398 HRESULT (STDMETHODCALLTYPE *SessionFlagSkipRevocationCheck)( 1399 IWSManEx3 *This, 1400 LONG *flags); 1401 1402 HRESULT (STDMETHODCALLTYPE *SessionFlagAllowNegotiateImplicitCredentials)( 1403 IWSManEx3 *This, 1404 LONG *flags); 1405 1406 HRESULT (STDMETHODCALLTYPE *SessionFlagUseSsl)( 1407 IWSManEx3 *This, 1408 LONG *flags); 1409 1410 END_INTERFACE 1411 } IWSManEx3Vtbl; 1412 1413 interface IWSManEx3 { 1414 CONST_VTBL IWSManEx3Vtbl* lpVtbl; 1415 }; 1416 1417 #ifdef COBJMACROS 1418 #ifndef WIDL_C_INLINE_WRAPPERS 1419 /*** IUnknown methods ***/ 1420 #define IWSManEx3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1421 #define IWSManEx3_AddRef(This) (This)->lpVtbl->AddRef(This) 1422 #define IWSManEx3_Release(This) (This)->lpVtbl->Release(This) 1423 /*** IDispatch methods ***/ 1424 #define IWSManEx3_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1425 #define IWSManEx3_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1426 #define IWSManEx3_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1427 #define IWSManEx3_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1428 /*** IWSMan methods ***/ 1429 #define IWSManEx3_CreateSession(This,connection,flags,connectionOptions,session) (This)->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session) 1430 #define IWSManEx3_CreateConnectionOptions(This,connectionOptions) (This)->lpVtbl->CreateConnectionOptions(This,connectionOptions) 1431 #define IWSManEx3_get_CommandLine(This,value) (This)->lpVtbl->get_CommandLine(This,value) 1432 #define IWSManEx3_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 1433 /*** IWSManEx methods ***/ 1434 #define IWSManEx3_CreateResourceLocator(This,strResourceLocator,newResourceLocator) (This)->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator) 1435 #define IWSManEx3_SessionFlagUTF8(This,flags) (This)->lpVtbl->SessionFlagUTF8(This,flags) 1436 #define IWSManEx3_SessionFlagCredUsernamePassword(This,flags) (This)->lpVtbl->SessionFlagCredUsernamePassword(This,flags) 1437 #define IWSManEx3_SessionFlagSkipCACheck(This,flags) (This)->lpVtbl->SessionFlagSkipCACheck(This,flags) 1438 #define IWSManEx3_SessionFlagSkipCNCheck(This,flags) (This)->lpVtbl->SessionFlagSkipCNCheck(This,flags) 1439 #define IWSManEx3_SessionFlagUseDigest(This,flags) (This)->lpVtbl->SessionFlagUseDigest(This,flags) 1440 #define IWSManEx3_SessionFlagUseNegotiate(This,flags) (This)->lpVtbl->SessionFlagUseNegotiate(This,flags) 1441 #define IWSManEx3_SessionFlagUseBasic(This,flags) (This)->lpVtbl->SessionFlagUseBasic(This,flags) 1442 #define IWSManEx3_SessionFlagUseKerberos(This,flags) (This)->lpVtbl->SessionFlagUseKerberos(This,flags) 1443 #define IWSManEx3_SessionFlagNoEncryption(This,flags) (This)->lpVtbl->SessionFlagNoEncryption(This,flags) 1444 #define IWSManEx3_SessionFlagEnableSPNServerPort(This,flags) (This)->lpVtbl->SessionFlagEnableSPNServerPort(This,flags) 1445 #define IWSManEx3_SessionFlagUseNoAuthentication(This,flags) (This)->lpVtbl->SessionFlagUseNoAuthentication(This,flags) 1446 #define IWSManEx3_EnumerationFlagNonXmlText(This,flags) (This)->lpVtbl->EnumerationFlagNonXmlText(This,flags) 1447 #define IWSManEx3_EnumerationFlagReturnEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnEPR(This,flags) 1448 #define IWSManEx3_EnumerationFlagReturnObjectAndEPR(This,flags) (This)->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags) 1449 #define IWSManEx3_GetErrorMessage(This,errorNumber,errorMessage) (This)->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage) 1450 #define IWSManEx3_EnumerationFlagHierarchyDeep(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeep(This,flags) 1451 #define IWSManEx3_EnumerationFlagHierarchyShallow(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyShallow(This,flags) 1452 #define IWSManEx3_EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) (This)->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags) 1453 #define IWSManEx3_EnumerationFlagReturnObject(This,flags) (This)->lpVtbl->EnumerationFlagReturnObject(This,flags) 1454 /*** IWSManEx2 methods ***/ 1455 #define IWSManEx3_SessionFlagUseClientCertificate(This,flags) (This)->lpVtbl->SessionFlagUseClientCertificate(This,flags) 1456 /*** IWSManEx3 methods ***/ 1457 #define IWSManEx3_SessionFlagUTF16(This,flags) (This)->lpVtbl->SessionFlagUTF16(This,flags) 1458 #define IWSManEx3_SessionFlagUseCredSsp(This,flags) (This)->lpVtbl->SessionFlagUseCredSsp(This,flags) 1459 #define IWSManEx3_EnumerationFlagAssociationInstance(This,flags) (This)->lpVtbl->EnumerationFlagAssociationInstance(This,flags) 1460 #define IWSManEx3_EnumerationFlagAssociatedInstance(This,flags) (This)->lpVtbl->EnumerationFlagAssociatedInstance(This,flags) 1461 #define IWSManEx3_SessionFlagSkipRevocationCheck(This,flags) (This)->lpVtbl->SessionFlagSkipRevocationCheck(This,flags) 1462 #define IWSManEx3_SessionFlagAllowNegotiateImplicitCredentials(This,flags) (This)->lpVtbl->SessionFlagAllowNegotiateImplicitCredentials(This,flags) 1463 #define IWSManEx3_SessionFlagUseSsl(This,flags) (This)->lpVtbl->SessionFlagUseSsl(This,flags) 1464 #else 1465 /*** IUnknown methods ***/ 1466 static FORCEINLINE HRESULT IWSManEx3_QueryInterface(IWSManEx3* This,REFIID riid,void **ppvObject) { 1467 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1468 } 1469 static FORCEINLINE ULONG IWSManEx3_AddRef(IWSManEx3* This) { 1470 return This->lpVtbl->AddRef(This); 1471 } 1472 static FORCEINLINE ULONG IWSManEx3_Release(IWSManEx3* This) { 1473 return This->lpVtbl->Release(This); 1474 } 1475 /*** IDispatch methods ***/ 1476 static FORCEINLINE HRESULT IWSManEx3_GetTypeInfoCount(IWSManEx3* This,UINT *pctinfo) { 1477 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 1478 } 1479 static FORCEINLINE HRESULT IWSManEx3_GetTypeInfo(IWSManEx3* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 1480 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 1481 } 1482 static FORCEINLINE HRESULT IWSManEx3_GetIDsOfNames(IWSManEx3* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 1483 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 1484 } 1485 static FORCEINLINE HRESULT IWSManEx3_Invoke(IWSManEx3* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 1486 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 1487 } 1488 /*** IWSMan methods ***/ 1489 static FORCEINLINE HRESULT IWSManEx3_CreateSession(IWSManEx3* This,BSTR connection,LONG flags,IDispatch *connectionOptions,IDispatch **session) { 1490 return This->lpVtbl->CreateSession(This,connection,flags,connectionOptions,session); 1491 } 1492 static FORCEINLINE HRESULT IWSManEx3_CreateConnectionOptions(IWSManEx3* This,IDispatch **connectionOptions) { 1493 return This->lpVtbl->CreateConnectionOptions(This,connectionOptions); 1494 } 1495 static FORCEINLINE HRESULT IWSManEx3_get_CommandLine(IWSManEx3* This,BSTR *value) { 1496 return This->lpVtbl->get_CommandLine(This,value); 1497 } 1498 static FORCEINLINE HRESULT IWSManEx3_get_Error(IWSManEx3* This,BSTR *value) { 1499 return This->lpVtbl->get_Error(This,value); 1500 } 1501 /*** IWSManEx methods ***/ 1502 static FORCEINLINE HRESULT IWSManEx3_CreateResourceLocator(IWSManEx3* This,BSTR strResourceLocator,IDispatch **newResourceLocator) { 1503 return This->lpVtbl->CreateResourceLocator(This,strResourceLocator,newResourceLocator); 1504 } 1505 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUTF8(IWSManEx3* This,LONG *flags) { 1506 return This->lpVtbl->SessionFlagUTF8(This,flags); 1507 } 1508 static FORCEINLINE HRESULT IWSManEx3_SessionFlagCredUsernamePassword(IWSManEx3* This,LONG *flags) { 1509 return This->lpVtbl->SessionFlagCredUsernamePassword(This,flags); 1510 } 1511 static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipCACheck(IWSManEx3* This,LONG *flags) { 1512 return This->lpVtbl->SessionFlagSkipCACheck(This,flags); 1513 } 1514 static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipCNCheck(IWSManEx3* This,LONG *flags) { 1515 return This->lpVtbl->SessionFlagSkipCNCheck(This,flags); 1516 } 1517 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseDigest(IWSManEx3* This,LONG *flags) { 1518 return This->lpVtbl->SessionFlagUseDigest(This,flags); 1519 } 1520 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseNegotiate(IWSManEx3* This,LONG *flags) { 1521 return This->lpVtbl->SessionFlagUseNegotiate(This,flags); 1522 } 1523 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseBasic(IWSManEx3* This,LONG *flags) { 1524 return This->lpVtbl->SessionFlagUseBasic(This,flags); 1525 } 1526 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseKerberos(IWSManEx3* This,LONG *flags) { 1527 return This->lpVtbl->SessionFlagUseKerberos(This,flags); 1528 } 1529 static FORCEINLINE HRESULT IWSManEx3_SessionFlagNoEncryption(IWSManEx3* This,LONG *flags) { 1530 return This->lpVtbl->SessionFlagNoEncryption(This,flags); 1531 } 1532 static FORCEINLINE HRESULT IWSManEx3_SessionFlagEnableSPNServerPort(IWSManEx3* This,LONG *flags) { 1533 return This->lpVtbl->SessionFlagEnableSPNServerPort(This,flags); 1534 } 1535 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseNoAuthentication(IWSManEx3* This,LONG *flags) { 1536 return This->lpVtbl->SessionFlagUseNoAuthentication(This,flags); 1537 } 1538 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagNonXmlText(IWSManEx3* This,LONG *flags) { 1539 return This->lpVtbl->EnumerationFlagNonXmlText(This,flags); 1540 } 1541 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnEPR(IWSManEx3* This,LONG *flags) { 1542 return This->lpVtbl->EnumerationFlagReturnEPR(This,flags); 1543 } 1544 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnObjectAndEPR(IWSManEx3* This,LONG *flags) { 1545 return This->lpVtbl->EnumerationFlagReturnObjectAndEPR(This,flags); 1546 } 1547 static FORCEINLINE HRESULT IWSManEx3_GetErrorMessage(IWSManEx3* This,DWORD errorNumber,BSTR *errorMessage) { 1548 return This->lpVtbl->GetErrorMessage(This,errorNumber,errorMessage); 1549 } 1550 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyDeep(IWSManEx3* This,LONG *flags) { 1551 return This->lpVtbl->EnumerationFlagHierarchyDeep(This,flags); 1552 } 1553 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyShallow(IWSManEx3* This,LONG *flags) { 1554 return This->lpVtbl->EnumerationFlagHierarchyShallow(This,flags); 1555 } 1556 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagHierarchyDeepBasePropsOnly(IWSManEx3* This,LONG *flags) { 1557 return This->lpVtbl->EnumerationFlagHierarchyDeepBasePropsOnly(This,flags); 1558 } 1559 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagReturnObject(IWSManEx3* This,LONG *flags) { 1560 return This->lpVtbl->EnumerationFlagReturnObject(This,flags); 1561 } 1562 /*** IWSManEx2 methods ***/ 1563 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseClientCertificate(IWSManEx3* This,LONG *flags) { 1564 return This->lpVtbl->SessionFlagUseClientCertificate(This,flags); 1565 } 1566 /*** IWSManEx3 methods ***/ 1567 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUTF16(IWSManEx3* This,LONG *flags) { 1568 return This->lpVtbl->SessionFlagUTF16(This,flags); 1569 } 1570 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseCredSsp(IWSManEx3* This,LONG *flags) { 1571 return This->lpVtbl->SessionFlagUseCredSsp(This,flags); 1572 } 1573 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagAssociationInstance(IWSManEx3* This,LONG *flags) { 1574 return This->lpVtbl->EnumerationFlagAssociationInstance(This,flags); 1575 } 1576 static FORCEINLINE HRESULT IWSManEx3_EnumerationFlagAssociatedInstance(IWSManEx3* This,LONG *flags) { 1577 return This->lpVtbl->EnumerationFlagAssociatedInstance(This,flags); 1578 } 1579 static FORCEINLINE HRESULT IWSManEx3_SessionFlagSkipRevocationCheck(IWSManEx3* This,LONG *flags) { 1580 return This->lpVtbl->SessionFlagSkipRevocationCheck(This,flags); 1581 } 1582 static FORCEINLINE HRESULT IWSManEx3_SessionFlagAllowNegotiateImplicitCredentials(IWSManEx3* This,LONG *flags) { 1583 return This->lpVtbl->SessionFlagAllowNegotiateImplicitCredentials(This,flags); 1584 } 1585 static FORCEINLINE HRESULT IWSManEx3_SessionFlagUseSsl(IWSManEx3* This,LONG *flags) { 1586 return This->lpVtbl->SessionFlagUseSsl(This,flags); 1587 } 1588 #endif 1589 #endif 1590 1591 #endif 1592 1593 1594 #endif /* __IWSManEx3_INTERFACE_DEFINED__ */ 1595 1596 /***************************************************************************** 1597 * IWSManConnectionOptions interface 1598 */ 1599 #ifndef __IWSManConnectionOptions_INTERFACE_DEFINED__ 1600 #define __IWSManConnectionOptions_INTERFACE_DEFINED__ 1601 1602 DEFINE_GUID(IID_IWSManConnectionOptions, 0xf704e861, 0x9e52, 0x464f, 0xb7,0x86, 0xda,0x5e,0xb2,0x32,0x0f,0xdd); 1603 #if defined(__cplusplus) && !defined(CINTERFACE) 1604 MIDL_INTERFACE("f704e861-9e52-464f-b786-da5eb2320fdd") 1605 IWSManConnectionOptions : public IDispatch 1606 { 1607 virtual HRESULT STDMETHODCALLTYPE get_UserName( 1608 BSTR *name) = 0; 1609 1610 virtual HRESULT STDMETHODCALLTYPE put_UserName( 1611 BSTR name) = 0; 1612 1613 virtual HRESULT STDMETHODCALLTYPE put_Password( 1614 BSTR password) = 0; 1615 1616 }; 1617 #ifdef __CRT_UUID_DECL 1618 __CRT_UUID_DECL(IWSManConnectionOptions, 0xf704e861, 0x9e52, 0x464f, 0xb7,0x86, 0xda,0x5e,0xb2,0x32,0x0f,0xdd) 1619 #endif 1620 #else 1621 typedef struct IWSManConnectionOptionsVtbl { 1622 BEGIN_INTERFACE 1623 1624 /*** IUnknown methods ***/ 1625 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 1626 IWSManConnectionOptions *This, 1627 REFIID riid, 1628 void **ppvObject); 1629 1630 ULONG (STDMETHODCALLTYPE *AddRef)( 1631 IWSManConnectionOptions *This); 1632 1633 ULONG (STDMETHODCALLTYPE *Release)( 1634 IWSManConnectionOptions *This); 1635 1636 /*** IDispatch methods ***/ 1637 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 1638 IWSManConnectionOptions *This, 1639 UINT *pctinfo); 1640 1641 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 1642 IWSManConnectionOptions *This, 1643 UINT iTInfo, 1644 LCID lcid, 1645 ITypeInfo **ppTInfo); 1646 1647 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 1648 IWSManConnectionOptions *This, 1649 REFIID riid, 1650 LPOLESTR *rgszNames, 1651 UINT cNames, 1652 LCID lcid, 1653 DISPID *rgDispId); 1654 1655 HRESULT (STDMETHODCALLTYPE *Invoke)( 1656 IWSManConnectionOptions *This, 1657 DISPID dispIdMember, 1658 REFIID riid, 1659 LCID lcid, 1660 WORD wFlags, 1661 DISPPARAMS *pDispParams, 1662 VARIANT *pVarResult, 1663 EXCEPINFO *pExcepInfo, 1664 UINT *puArgErr); 1665 1666 /*** IWSManConnectionOptions methods ***/ 1667 HRESULT (STDMETHODCALLTYPE *get_UserName)( 1668 IWSManConnectionOptions *This, 1669 BSTR *name); 1670 1671 HRESULT (STDMETHODCALLTYPE *put_UserName)( 1672 IWSManConnectionOptions *This, 1673 BSTR name); 1674 1675 HRESULT (STDMETHODCALLTYPE *put_Password)( 1676 IWSManConnectionOptions *This, 1677 BSTR password); 1678 1679 END_INTERFACE 1680 } IWSManConnectionOptionsVtbl; 1681 1682 interface IWSManConnectionOptions { 1683 CONST_VTBL IWSManConnectionOptionsVtbl* lpVtbl; 1684 }; 1685 1686 #ifdef COBJMACROS 1687 #ifndef WIDL_C_INLINE_WRAPPERS 1688 /*** IUnknown methods ***/ 1689 #define IWSManConnectionOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1690 #define IWSManConnectionOptions_AddRef(This) (This)->lpVtbl->AddRef(This) 1691 #define IWSManConnectionOptions_Release(This) (This)->lpVtbl->Release(This) 1692 /*** IDispatch methods ***/ 1693 #define IWSManConnectionOptions_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1694 #define IWSManConnectionOptions_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1695 #define IWSManConnectionOptions_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1696 #define IWSManConnectionOptions_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1697 /*** IWSManConnectionOptions methods ***/ 1698 #define IWSManConnectionOptions_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name) 1699 #define IWSManConnectionOptions_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name) 1700 #define IWSManConnectionOptions_put_Password(This,password) (This)->lpVtbl->put_Password(This,password) 1701 #else 1702 /*** IUnknown methods ***/ 1703 static FORCEINLINE HRESULT IWSManConnectionOptions_QueryInterface(IWSManConnectionOptions* This,REFIID riid,void **ppvObject) { 1704 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1705 } 1706 static FORCEINLINE ULONG IWSManConnectionOptions_AddRef(IWSManConnectionOptions* This) { 1707 return This->lpVtbl->AddRef(This); 1708 } 1709 static FORCEINLINE ULONG IWSManConnectionOptions_Release(IWSManConnectionOptions* This) { 1710 return This->lpVtbl->Release(This); 1711 } 1712 /*** IDispatch methods ***/ 1713 static FORCEINLINE HRESULT IWSManConnectionOptions_GetTypeInfoCount(IWSManConnectionOptions* This,UINT *pctinfo) { 1714 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 1715 } 1716 static FORCEINLINE HRESULT IWSManConnectionOptions_GetTypeInfo(IWSManConnectionOptions* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 1717 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 1718 } 1719 static FORCEINLINE HRESULT IWSManConnectionOptions_GetIDsOfNames(IWSManConnectionOptions* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 1720 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 1721 } 1722 static FORCEINLINE HRESULT IWSManConnectionOptions_Invoke(IWSManConnectionOptions* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 1723 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 1724 } 1725 /*** IWSManConnectionOptions methods ***/ 1726 static FORCEINLINE HRESULT IWSManConnectionOptions_get_UserName(IWSManConnectionOptions* This,BSTR *name) { 1727 return This->lpVtbl->get_UserName(This,name); 1728 } 1729 static FORCEINLINE HRESULT IWSManConnectionOptions_put_UserName(IWSManConnectionOptions* This,BSTR name) { 1730 return This->lpVtbl->put_UserName(This,name); 1731 } 1732 static FORCEINLINE HRESULT IWSManConnectionOptions_put_Password(IWSManConnectionOptions* This,BSTR password) { 1733 return This->lpVtbl->put_Password(This,password); 1734 } 1735 #endif 1736 #endif 1737 1738 #endif 1739 1740 1741 #endif /* __IWSManConnectionOptions_INTERFACE_DEFINED__ */ 1742 1743 /***************************************************************************** 1744 * IWSManConnectionOptionsEx interface 1745 */ 1746 #ifndef __IWSManConnectionOptionsEx_INTERFACE_DEFINED__ 1747 #define __IWSManConnectionOptionsEx_INTERFACE_DEFINED__ 1748 1749 DEFINE_GUID(IID_IWSManConnectionOptionsEx, 0xef43edf7, 0x2a48, 0x4d93, 0x95,0x26, 0x8b,0xd6,0xab,0x6d,0x4a,0x6b); 1750 #if defined(__cplusplus) && !defined(CINTERFACE) 1751 MIDL_INTERFACE("ef43edf7-2a48-4d93-9526-8bd6ab6d4a6b") 1752 IWSManConnectionOptionsEx : public IWSManConnectionOptions 1753 { 1754 virtual HRESULT STDMETHODCALLTYPE get_CertificateThumbprint( 1755 BSTR *thumbprint) = 0; 1756 1757 virtual HRESULT STDMETHODCALLTYPE put_CertificateThumbprint( 1758 BSTR thumbprint) = 0; 1759 1760 }; 1761 #ifdef __CRT_UUID_DECL 1762 __CRT_UUID_DECL(IWSManConnectionOptionsEx, 0xef43edf7, 0x2a48, 0x4d93, 0x95,0x26, 0x8b,0xd6,0xab,0x6d,0x4a,0x6b) 1763 #endif 1764 #else 1765 typedef struct IWSManConnectionOptionsExVtbl { 1766 BEGIN_INTERFACE 1767 1768 /*** IUnknown methods ***/ 1769 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 1770 IWSManConnectionOptionsEx *This, 1771 REFIID riid, 1772 void **ppvObject); 1773 1774 ULONG (STDMETHODCALLTYPE *AddRef)( 1775 IWSManConnectionOptionsEx *This); 1776 1777 ULONG (STDMETHODCALLTYPE *Release)( 1778 IWSManConnectionOptionsEx *This); 1779 1780 /*** IDispatch methods ***/ 1781 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 1782 IWSManConnectionOptionsEx *This, 1783 UINT *pctinfo); 1784 1785 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 1786 IWSManConnectionOptionsEx *This, 1787 UINT iTInfo, 1788 LCID lcid, 1789 ITypeInfo **ppTInfo); 1790 1791 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 1792 IWSManConnectionOptionsEx *This, 1793 REFIID riid, 1794 LPOLESTR *rgszNames, 1795 UINT cNames, 1796 LCID lcid, 1797 DISPID *rgDispId); 1798 1799 HRESULT (STDMETHODCALLTYPE *Invoke)( 1800 IWSManConnectionOptionsEx *This, 1801 DISPID dispIdMember, 1802 REFIID riid, 1803 LCID lcid, 1804 WORD wFlags, 1805 DISPPARAMS *pDispParams, 1806 VARIANT *pVarResult, 1807 EXCEPINFO *pExcepInfo, 1808 UINT *puArgErr); 1809 1810 /*** IWSManConnectionOptions methods ***/ 1811 HRESULT (STDMETHODCALLTYPE *get_UserName)( 1812 IWSManConnectionOptionsEx *This, 1813 BSTR *name); 1814 1815 HRESULT (STDMETHODCALLTYPE *put_UserName)( 1816 IWSManConnectionOptionsEx *This, 1817 BSTR name); 1818 1819 HRESULT (STDMETHODCALLTYPE *put_Password)( 1820 IWSManConnectionOptionsEx *This, 1821 BSTR password); 1822 1823 /*** IWSManConnectionOptionsEx methods ***/ 1824 HRESULT (STDMETHODCALLTYPE *get_CertificateThumbprint)( 1825 IWSManConnectionOptionsEx *This, 1826 BSTR *thumbprint); 1827 1828 HRESULT (STDMETHODCALLTYPE *put_CertificateThumbprint)( 1829 IWSManConnectionOptionsEx *This, 1830 BSTR thumbprint); 1831 1832 END_INTERFACE 1833 } IWSManConnectionOptionsExVtbl; 1834 1835 interface IWSManConnectionOptionsEx { 1836 CONST_VTBL IWSManConnectionOptionsExVtbl* lpVtbl; 1837 }; 1838 1839 #ifdef COBJMACROS 1840 #ifndef WIDL_C_INLINE_WRAPPERS 1841 /*** IUnknown methods ***/ 1842 #define IWSManConnectionOptionsEx_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 1843 #define IWSManConnectionOptionsEx_AddRef(This) (This)->lpVtbl->AddRef(This) 1844 #define IWSManConnectionOptionsEx_Release(This) (This)->lpVtbl->Release(This) 1845 /*** IDispatch methods ***/ 1846 #define IWSManConnectionOptionsEx_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 1847 #define IWSManConnectionOptionsEx_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 1848 #define IWSManConnectionOptionsEx_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 1849 #define IWSManConnectionOptionsEx_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 1850 /*** IWSManConnectionOptions methods ***/ 1851 #define IWSManConnectionOptionsEx_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name) 1852 #define IWSManConnectionOptionsEx_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name) 1853 #define IWSManConnectionOptionsEx_put_Password(This,password) (This)->lpVtbl->put_Password(This,password) 1854 /*** IWSManConnectionOptionsEx methods ***/ 1855 #define IWSManConnectionOptionsEx_get_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->get_CertificateThumbprint(This,thumbprint) 1856 #define IWSManConnectionOptionsEx_put_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->put_CertificateThumbprint(This,thumbprint) 1857 #else 1858 /*** IUnknown methods ***/ 1859 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_QueryInterface(IWSManConnectionOptionsEx* This,REFIID riid,void **ppvObject) { 1860 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 1861 } 1862 static FORCEINLINE ULONG IWSManConnectionOptionsEx_AddRef(IWSManConnectionOptionsEx* This) { 1863 return This->lpVtbl->AddRef(This); 1864 } 1865 static FORCEINLINE ULONG IWSManConnectionOptionsEx_Release(IWSManConnectionOptionsEx* This) { 1866 return This->lpVtbl->Release(This); 1867 } 1868 /*** IDispatch methods ***/ 1869 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetTypeInfoCount(IWSManConnectionOptionsEx* This,UINT *pctinfo) { 1870 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 1871 } 1872 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetTypeInfo(IWSManConnectionOptionsEx* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 1873 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 1874 } 1875 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_GetIDsOfNames(IWSManConnectionOptionsEx* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 1876 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 1877 } 1878 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_Invoke(IWSManConnectionOptionsEx* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 1879 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 1880 } 1881 /*** IWSManConnectionOptions methods ***/ 1882 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_get_UserName(IWSManConnectionOptionsEx* This,BSTR *name) { 1883 return This->lpVtbl->get_UserName(This,name); 1884 } 1885 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_UserName(IWSManConnectionOptionsEx* This,BSTR name) { 1886 return This->lpVtbl->put_UserName(This,name); 1887 } 1888 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_Password(IWSManConnectionOptionsEx* This,BSTR password) { 1889 return This->lpVtbl->put_Password(This,password); 1890 } 1891 /*** IWSManConnectionOptionsEx methods ***/ 1892 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_get_CertificateThumbprint(IWSManConnectionOptionsEx* This,BSTR *thumbprint) { 1893 return This->lpVtbl->get_CertificateThumbprint(This,thumbprint); 1894 } 1895 static FORCEINLINE HRESULT IWSManConnectionOptionsEx_put_CertificateThumbprint(IWSManConnectionOptionsEx* This,BSTR thumbprint) { 1896 return This->lpVtbl->put_CertificateThumbprint(This,thumbprint); 1897 } 1898 #endif 1899 #endif 1900 1901 #endif 1902 1903 1904 #endif /* __IWSManConnectionOptionsEx_INTERFACE_DEFINED__ */ 1905 1906 /***************************************************************************** 1907 * IWSManConnectionOptionsEx2 interface 1908 */ 1909 #ifndef __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__ 1910 #define __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__ 1911 1912 DEFINE_GUID(IID_IWSManConnectionOptionsEx2, 0xf500c9ec, 0x24ee, 0x48ab, 0xb3,0x8d, 0xfc,0x9a,0x16,0x4c,0x65,0x8e); 1913 #if defined(__cplusplus) && !defined(CINTERFACE) 1914 MIDL_INTERFACE("f500c9ec-24ee-48ab-b38d-fc9a164c658e") 1915 IWSManConnectionOptionsEx2 : public IWSManConnectionOptionsEx 1916 { 1917 virtual HRESULT STDMETHODCALLTYPE SetProxy( 1918 LONG accessType = 0, 1919 LONG authenticationMechanism = 0, 1920 BSTR userName = L"", 1921 BSTR password = L"") = 0; 1922 1923 virtual HRESULT STDMETHODCALLTYPE ProxyIEConfig( 1924 LONG *value) = 0; 1925 1926 virtual HRESULT STDMETHODCALLTYPE ProxyWinHttpConfig( 1927 LONG *value) = 0; 1928 1929 virtual HRESULT STDMETHODCALLTYPE ProxyAutoDetect( 1930 LONG *value) = 0; 1931 1932 virtual HRESULT STDMETHODCALLTYPE ProxyNoProxyServer( 1933 LONG *value) = 0; 1934 1935 virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseNegotiate( 1936 LONG *value) = 0; 1937 1938 virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseBasic( 1939 LONG *value) = 0; 1940 1941 virtual HRESULT STDMETHODCALLTYPE ProxyAuthenticationUseDigest( 1942 LONG *value) = 0; 1943 1944 }; 1945 #ifdef __CRT_UUID_DECL 1946 __CRT_UUID_DECL(IWSManConnectionOptionsEx2, 0xf500c9ec, 0x24ee, 0x48ab, 0xb3,0x8d, 0xfc,0x9a,0x16,0x4c,0x65,0x8e) 1947 #endif 1948 #else 1949 typedef struct IWSManConnectionOptionsEx2Vtbl { 1950 BEGIN_INTERFACE 1951 1952 /*** IUnknown methods ***/ 1953 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 1954 IWSManConnectionOptionsEx2 *This, 1955 REFIID riid, 1956 void **ppvObject); 1957 1958 ULONG (STDMETHODCALLTYPE *AddRef)( 1959 IWSManConnectionOptionsEx2 *This); 1960 1961 ULONG (STDMETHODCALLTYPE *Release)( 1962 IWSManConnectionOptionsEx2 *This); 1963 1964 /*** IDispatch methods ***/ 1965 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 1966 IWSManConnectionOptionsEx2 *This, 1967 UINT *pctinfo); 1968 1969 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 1970 IWSManConnectionOptionsEx2 *This, 1971 UINT iTInfo, 1972 LCID lcid, 1973 ITypeInfo **ppTInfo); 1974 1975 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 1976 IWSManConnectionOptionsEx2 *This, 1977 REFIID riid, 1978 LPOLESTR *rgszNames, 1979 UINT cNames, 1980 LCID lcid, 1981 DISPID *rgDispId); 1982 1983 HRESULT (STDMETHODCALLTYPE *Invoke)( 1984 IWSManConnectionOptionsEx2 *This, 1985 DISPID dispIdMember, 1986 REFIID riid, 1987 LCID lcid, 1988 WORD wFlags, 1989 DISPPARAMS *pDispParams, 1990 VARIANT *pVarResult, 1991 EXCEPINFO *pExcepInfo, 1992 UINT *puArgErr); 1993 1994 /*** IWSManConnectionOptions methods ***/ 1995 HRESULT (STDMETHODCALLTYPE *get_UserName)( 1996 IWSManConnectionOptionsEx2 *This, 1997 BSTR *name); 1998 1999 HRESULT (STDMETHODCALLTYPE *put_UserName)( 2000 IWSManConnectionOptionsEx2 *This, 2001 BSTR name); 2002 2003 HRESULT (STDMETHODCALLTYPE *put_Password)( 2004 IWSManConnectionOptionsEx2 *This, 2005 BSTR password); 2006 2007 /*** IWSManConnectionOptionsEx methods ***/ 2008 HRESULT (STDMETHODCALLTYPE *get_CertificateThumbprint)( 2009 IWSManConnectionOptionsEx2 *This, 2010 BSTR *thumbprint); 2011 2012 HRESULT (STDMETHODCALLTYPE *put_CertificateThumbprint)( 2013 IWSManConnectionOptionsEx2 *This, 2014 BSTR thumbprint); 2015 2016 /*** IWSManConnectionOptionsEx2 methods ***/ 2017 HRESULT (STDMETHODCALLTYPE *SetProxy)( 2018 IWSManConnectionOptionsEx2 *This, 2019 LONG accessType, 2020 LONG authenticationMechanism, 2021 BSTR userName, 2022 BSTR password); 2023 2024 HRESULT (STDMETHODCALLTYPE *ProxyIEConfig)( 2025 IWSManConnectionOptionsEx2 *This, 2026 LONG *value); 2027 2028 HRESULT (STDMETHODCALLTYPE *ProxyWinHttpConfig)( 2029 IWSManConnectionOptionsEx2 *This, 2030 LONG *value); 2031 2032 HRESULT (STDMETHODCALLTYPE *ProxyAutoDetect)( 2033 IWSManConnectionOptionsEx2 *This, 2034 LONG *value); 2035 2036 HRESULT (STDMETHODCALLTYPE *ProxyNoProxyServer)( 2037 IWSManConnectionOptionsEx2 *This, 2038 LONG *value); 2039 2040 HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseNegotiate)( 2041 IWSManConnectionOptionsEx2 *This, 2042 LONG *value); 2043 2044 HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseBasic)( 2045 IWSManConnectionOptionsEx2 *This, 2046 LONG *value); 2047 2048 HRESULT (STDMETHODCALLTYPE *ProxyAuthenticationUseDigest)( 2049 IWSManConnectionOptionsEx2 *This, 2050 LONG *value); 2051 2052 END_INTERFACE 2053 } IWSManConnectionOptionsEx2Vtbl; 2054 2055 interface IWSManConnectionOptionsEx2 { 2056 CONST_VTBL IWSManConnectionOptionsEx2Vtbl* lpVtbl; 2057 }; 2058 2059 #ifdef COBJMACROS 2060 #ifndef WIDL_C_INLINE_WRAPPERS 2061 /*** IUnknown methods ***/ 2062 #define IWSManConnectionOptionsEx2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2063 #define IWSManConnectionOptionsEx2_AddRef(This) (This)->lpVtbl->AddRef(This) 2064 #define IWSManConnectionOptionsEx2_Release(This) (This)->lpVtbl->Release(This) 2065 /*** IDispatch methods ***/ 2066 #define IWSManConnectionOptionsEx2_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 2067 #define IWSManConnectionOptionsEx2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 2068 #define IWSManConnectionOptionsEx2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 2069 #define IWSManConnectionOptionsEx2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 2070 /*** IWSManConnectionOptions methods ***/ 2071 #define IWSManConnectionOptionsEx2_get_UserName(This,name) (This)->lpVtbl->get_UserName(This,name) 2072 #define IWSManConnectionOptionsEx2_put_UserName(This,name) (This)->lpVtbl->put_UserName(This,name) 2073 #define IWSManConnectionOptionsEx2_put_Password(This,password) (This)->lpVtbl->put_Password(This,password) 2074 /*** IWSManConnectionOptionsEx methods ***/ 2075 #define IWSManConnectionOptionsEx2_get_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->get_CertificateThumbprint(This,thumbprint) 2076 #define IWSManConnectionOptionsEx2_put_CertificateThumbprint(This,thumbprint) (This)->lpVtbl->put_CertificateThumbprint(This,thumbprint) 2077 /*** IWSManConnectionOptionsEx2 methods ***/ 2078 #define IWSManConnectionOptionsEx2_SetProxy(This,accessType,authenticationMechanism,userName,password) (This)->lpVtbl->SetProxy(This,accessType,authenticationMechanism,userName,password) 2079 #define IWSManConnectionOptionsEx2_ProxyIEConfig(This,value) (This)->lpVtbl->ProxyIEConfig(This,value) 2080 #define IWSManConnectionOptionsEx2_ProxyWinHttpConfig(This,value) (This)->lpVtbl->ProxyWinHttpConfig(This,value) 2081 #define IWSManConnectionOptionsEx2_ProxyAutoDetect(This,value) (This)->lpVtbl->ProxyAutoDetect(This,value) 2082 #define IWSManConnectionOptionsEx2_ProxyNoProxyServer(This,value) (This)->lpVtbl->ProxyNoProxyServer(This,value) 2083 #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseNegotiate(This,value) (This)->lpVtbl->ProxyAuthenticationUseNegotiate(This,value) 2084 #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseBasic(This,value) (This)->lpVtbl->ProxyAuthenticationUseBasic(This,value) 2085 #define IWSManConnectionOptionsEx2_ProxyAuthenticationUseDigest(This,value) (This)->lpVtbl->ProxyAuthenticationUseDigest(This,value) 2086 #else 2087 /*** IUnknown methods ***/ 2088 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_QueryInterface(IWSManConnectionOptionsEx2* This,REFIID riid,void **ppvObject) { 2089 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2090 } 2091 static FORCEINLINE ULONG IWSManConnectionOptionsEx2_AddRef(IWSManConnectionOptionsEx2* This) { 2092 return This->lpVtbl->AddRef(This); 2093 } 2094 static FORCEINLINE ULONG IWSManConnectionOptionsEx2_Release(IWSManConnectionOptionsEx2* This) { 2095 return This->lpVtbl->Release(This); 2096 } 2097 /*** IDispatch methods ***/ 2098 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetTypeInfoCount(IWSManConnectionOptionsEx2* This,UINT *pctinfo) { 2099 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 2100 } 2101 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetTypeInfo(IWSManConnectionOptionsEx2* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 2102 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 2103 } 2104 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_GetIDsOfNames(IWSManConnectionOptionsEx2* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 2105 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 2106 } 2107 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_Invoke(IWSManConnectionOptionsEx2* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 2108 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 2109 } 2110 /*** IWSManConnectionOptions methods ***/ 2111 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_get_UserName(IWSManConnectionOptionsEx2* This,BSTR *name) { 2112 return This->lpVtbl->get_UserName(This,name); 2113 } 2114 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_UserName(IWSManConnectionOptionsEx2* This,BSTR name) { 2115 return This->lpVtbl->put_UserName(This,name); 2116 } 2117 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_Password(IWSManConnectionOptionsEx2* This,BSTR password) { 2118 return This->lpVtbl->put_Password(This,password); 2119 } 2120 /*** IWSManConnectionOptionsEx methods ***/ 2121 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_get_CertificateThumbprint(IWSManConnectionOptionsEx2* This,BSTR *thumbprint) { 2122 return This->lpVtbl->get_CertificateThumbprint(This,thumbprint); 2123 } 2124 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_put_CertificateThumbprint(IWSManConnectionOptionsEx2* This,BSTR thumbprint) { 2125 return This->lpVtbl->put_CertificateThumbprint(This,thumbprint); 2126 } 2127 /*** IWSManConnectionOptionsEx2 methods ***/ 2128 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_SetProxy(IWSManConnectionOptionsEx2* This,LONG accessType,LONG authenticationMechanism,BSTR userName,BSTR password) { 2129 return This->lpVtbl->SetProxy(This,accessType,authenticationMechanism,userName,password); 2130 } 2131 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyIEConfig(IWSManConnectionOptionsEx2* This,LONG *value) { 2132 return This->lpVtbl->ProxyIEConfig(This,value); 2133 } 2134 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyWinHttpConfig(IWSManConnectionOptionsEx2* This,LONG *value) { 2135 return This->lpVtbl->ProxyWinHttpConfig(This,value); 2136 } 2137 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAutoDetect(IWSManConnectionOptionsEx2* This,LONG *value) { 2138 return This->lpVtbl->ProxyAutoDetect(This,value); 2139 } 2140 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyNoProxyServer(IWSManConnectionOptionsEx2* This,LONG *value) { 2141 return This->lpVtbl->ProxyNoProxyServer(This,value); 2142 } 2143 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseNegotiate(IWSManConnectionOptionsEx2* This,LONG *value) { 2144 return This->lpVtbl->ProxyAuthenticationUseNegotiate(This,value); 2145 } 2146 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseBasic(IWSManConnectionOptionsEx2* This,LONG *value) { 2147 return This->lpVtbl->ProxyAuthenticationUseBasic(This,value); 2148 } 2149 static FORCEINLINE HRESULT IWSManConnectionOptionsEx2_ProxyAuthenticationUseDigest(IWSManConnectionOptionsEx2* This,LONG *value) { 2150 return This->lpVtbl->ProxyAuthenticationUseDigest(This,value); 2151 } 2152 #endif 2153 #endif 2154 2155 #endif 2156 2157 2158 #endif /* __IWSManConnectionOptionsEx2_INTERFACE_DEFINED__ */ 2159 2160 /***************************************************************************** 2161 * IWSManSession interface 2162 */ 2163 #ifndef __IWSManSession_INTERFACE_DEFINED__ 2164 #define __IWSManSession_INTERFACE_DEFINED__ 2165 2166 DEFINE_GUID(IID_IWSManSession, 0xfc84dc58, 0x1286, 0x40c4, 0x9d,0xa0, 0xc8,0xef,0x6e,0xc2,0x41,0xe0); 2167 #if defined(__cplusplus) && !defined(CINTERFACE) 2168 MIDL_INTERFACE("fc84dc58-1286-40c4-9da0-c8ef6ec241e0") 2169 IWSManSession : public IDispatch 2170 { 2171 virtual HRESULT STDMETHODCALLTYPE Get( 2172 VARIANT resourceUri, 2173 LONG flags, 2174 BSTR *resource) = 0; 2175 2176 virtual HRESULT STDMETHODCALLTYPE Put( 2177 VARIANT resourceUri, 2178 BSTR resource, 2179 LONG flags, 2180 BSTR *resultResource) = 0; 2181 2182 virtual HRESULT STDMETHODCALLTYPE Create( 2183 VARIANT resourceUri, 2184 BSTR resource, 2185 LONG flags, 2186 BSTR *newUri) = 0; 2187 2188 virtual HRESULT STDMETHODCALLTYPE Delete( 2189 VARIANT resourceUri, 2190 LONG flags = 0) = 0; 2191 2192 virtual HRESULT STDMETHODCALLTYPE Invoke( 2193 BSTR actionUri, 2194 VARIANT resourceUri, 2195 BSTR parameters, 2196 LONG flags, 2197 BSTR *result) = 0; 2198 2199 virtual HRESULT STDMETHODCALLTYPE Enumerate( 2200 VARIANT resourceUri, 2201 BSTR filter, 2202 BSTR dialect, 2203 LONG flags, 2204 IDispatch **resultSet) = 0; 2205 2206 virtual HRESULT STDMETHODCALLTYPE Identify( 2207 LONG flags, 2208 BSTR *result) = 0; 2209 2210 virtual HRESULT STDMETHODCALLTYPE get_Error( 2211 BSTR *value) = 0; 2212 2213 virtual HRESULT STDMETHODCALLTYPE get_BatchItems( 2214 LONG *value) = 0; 2215 2216 virtual HRESULT STDMETHODCALLTYPE put_BatchItems( 2217 LONG value) = 0; 2218 2219 virtual HRESULT STDMETHODCALLTYPE get_Timeout( 2220 LONG *value) = 0; 2221 2222 virtual HRESULT STDMETHODCALLTYPE put_Timeout( 2223 LONG value) = 0; 2224 2225 }; 2226 #ifdef __CRT_UUID_DECL 2227 __CRT_UUID_DECL(IWSManSession, 0xfc84dc58, 0x1286, 0x40c4, 0x9d,0xa0, 0xc8,0xef,0x6e,0xc2,0x41,0xe0) 2228 #endif 2229 #else 2230 typedef struct IWSManSessionVtbl { 2231 BEGIN_INTERFACE 2232 2233 /*** IUnknown methods ***/ 2234 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2235 IWSManSession *This, 2236 REFIID riid, 2237 void **ppvObject); 2238 2239 ULONG (STDMETHODCALLTYPE *AddRef)( 2240 IWSManSession *This); 2241 2242 ULONG (STDMETHODCALLTYPE *Release)( 2243 IWSManSession *This); 2244 2245 /*** IDispatch methods ***/ 2246 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 2247 IWSManSession *This, 2248 UINT *pctinfo); 2249 2250 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 2251 IWSManSession *This, 2252 UINT iTInfo, 2253 LCID lcid, 2254 ITypeInfo **ppTInfo); 2255 2256 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 2257 IWSManSession *This, 2258 REFIID riid, 2259 LPOLESTR *rgszNames, 2260 UINT cNames, 2261 LCID lcid, 2262 DISPID *rgDispId); 2263 2264 HRESULT (STDMETHODCALLTYPE *Invoke)( 2265 IWSManSession *This, 2266 DISPID dispIdMember, 2267 REFIID riid, 2268 LCID lcid, 2269 WORD wFlags, 2270 DISPPARAMS *pDispParams, 2271 VARIANT *pVarResult, 2272 EXCEPINFO *pExcepInfo, 2273 UINT *puArgErr); 2274 2275 /*** IWSManSession methods ***/ 2276 HRESULT (STDMETHODCALLTYPE *Get)( 2277 IWSManSession *This, 2278 VARIANT resourceUri, 2279 LONG flags, 2280 BSTR *resource); 2281 2282 HRESULT (STDMETHODCALLTYPE *Put)( 2283 IWSManSession *This, 2284 VARIANT resourceUri, 2285 BSTR resource, 2286 LONG flags, 2287 BSTR *resultResource); 2288 2289 HRESULT (STDMETHODCALLTYPE *Create)( 2290 IWSManSession *This, 2291 VARIANT resourceUri, 2292 BSTR resource, 2293 LONG flags, 2294 BSTR *newUri); 2295 2296 HRESULT (STDMETHODCALLTYPE *Delete)( 2297 IWSManSession *This, 2298 VARIANT resourceUri, 2299 LONG flags); 2300 2301 HRESULT (STDMETHODCALLTYPE *IWSManSession_Invoke)( 2302 IWSManSession *This, 2303 BSTR actionUri, 2304 VARIANT resourceUri, 2305 BSTR parameters, 2306 LONG flags, 2307 BSTR *result); 2308 2309 HRESULT (STDMETHODCALLTYPE *Enumerate)( 2310 IWSManSession *This, 2311 VARIANT resourceUri, 2312 BSTR filter, 2313 BSTR dialect, 2314 LONG flags, 2315 IDispatch **resultSet); 2316 2317 HRESULT (STDMETHODCALLTYPE *Identify)( 2318 IWSManSession *This, 2319 LONG flags, 2320 BSTR *result); 2321 2322 HRESULT (STDMETHODCALLTYPE *get_Error)( 2323 IWSManSession *This, 2324 BSTR *value); 2325 2326 HRESULT (STDMETHODCALLTYPE *get_BatchItems)( 2327 IWSManSession *This, 2328 LONG *value); 2329 2330 HRESULT (STDMETHODCALLTYPE *put_BatchItems)( 2331 IWSManSession *This, 2332 LONG value); 2333 2334 HRESULT (STDMETHODCALLTYPE *get_Timeout)( 2335 IWSManSession *This, 2336 LONG *value); 2337 2338 HRESULT (STDMETHODCALLTYPE *put_Timeout)( 2339 IWSManSession *This, 2340 LONG value); 2341 2342 END_INTERFACE 2343 } IWSManSessionVtbl; 2344 2345 interface IWSManSession { 2346 CONST_VTBL IWSManSessionVtbl* lpVtbl; 2347 }; 2348 2349 #ifdef COBJMACROS 2350 #ifndef WIDL_C_INLINE_WRAPPERS 2351 /*** IUnknown methods ***/ 2352 #define IWSManSession_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2353 #define IWSManSession_AddRef(This) (This)->lpVtbl->AddRef(This) 2354 #define IWSManSession_Release(This) (This)->lpVtbl->Release(This) 2355 /*** IDispatch methods ***/ 2356 #define IWSManSession_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 2357 #define IWSManSession_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 2358 #define IWSManSession_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 2359 /*** IWSManSession methods ***/ 2360 #define IWSManSession_Get(This,resourceUri,flags,resource) (This)->lpVtbl->Get(This,resourceUri,flags,resource) 2361 #define IWSManSession_Put(This,resourceUri,resource,flags,resultResource) (This)->lpVtbl->Put(This,resourceUri,resource,flags,resultResource) 2362 #define IWSManSession_Create(This,resourceUri,resource,flags,newUri) (This)->lpVtbl->Create(This,resourceUri,resource,flags,newUri) 2363 #define IWSManSession_Delete(This,resourceUri,flags) (This)->lpVtbl->Delete(This,resourceUri,flags) 2364 #define IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result) (This)->lpVtbl->IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result) 2365 #define IWSManSession_Enumerate(This,resourceUri,filter,dialect,flags,resultSet) (This)->lpVtbl->Enumerate(This,resourceUri,filter,dialect,flags,resultSet) 2366 #define IWSManSession_Identify(This,flags,result) (This)->lpVtbl->Identify(This,flags,result) 2367 #define IWSManSession_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 2368 #define IWSManSession_get_BatchItems(This,value) (This)->lpVtbl->get_BatchItems(This,value) 2369 #define IWSManSession_put_BatchItems(This,value) (This)->lpVtbl->put_BatchItems(This,value) 2370 #define IWSManSession_get_Timeout(This,value) (This)->lpVtbl->get_Timeout(This,value) 2371 #define IWSManSession_put_Timeout(This,value) (This)->lpVtbl->put_Timeout(This,value) 2372 #else 2373 /*** IUnknown methods ***/ 2374 static FORCEINLINE HRESULT IWSManSession_QueryInterface(IWSManSession* This,REFIID riid,void **ppvObject) { 2375 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2376 } 2377 static FORCEINLINE ULONG IWSManSession_AddRef(IWSManSession* This) { 2378 return This->lpVtbl->AddRef(This); 2379 } 2380 static FORCEINLINE ULONG IWSManSession_Release(IWSManSession* This) { 2381 return This->lpVtbl->Release(This); 2382 } 2383 /*** IDispatch methods ***/ 2384 static FORCEINLINE HRESULT IWSManSession_GetTypeInfoCount(IWSManSession* This,UINT *pctinfo) { 2385 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 2386 } 2387 static FORCEINLINE HRESULT IWSManSession_GetTypeInfo(IWSManSession* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 2388 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 2389 } 2390 static FORCEINLINE HRESULT IWSManSession_GetIDsOfNames(IWSManSession* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 2391 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 2392 } 2393 /*** IWSManSession methods ***/ 2394 static FORCEINLINE HRESULT IWSManSession_Get(IWSManSession* This,VARIANT resourceUri,LONG flags,BSTR *resource) { 2395 return This->lpVtbl->Get(This,resourceUri,flags,resource); 2396 } 2397 static FORCEINLINE HRESULT IWSManSession_Put(IWSManSession* This,VARIANT resourceUri,BSTR resource,LONG flags,BSTR *resultResource) { 2398 return This->lpVtbl->Put(This,resourceUri,resource,flags,resultResource); 2399 } 2400 static FORCEINLINE HRESULT IWSManSession_Create(IWSManSession* This,VARIANT resourceUri,BSTR resource,LONG flags,BSTR *newUri) { 2401 return This->lpVtbl->Create(This,resourceUri,resource,flags,newUri); 2402 } 2403 static FORCEINLINE HRESULT IWSManSession_Delete(IWSManSession* This,VARIANT resourceUri,LONG flags) { 2404 return This->lpVtbl->Delete(This,resourceUri,flags); 2405 } 2406 static FORCEINLINE HRESULT IWSManSession_Invoke(IWSManSession* This,BSTR actionUri,VARIANT resourceUri,BSTR parameters,LONG flags,BSTR *result) { 2407 return This->lpVtbl->IWSManSession_Invoke(This,actionUri,resourceUri,parameters,flags,result); 2408 } 2409 static FORCEINLINE HRESULT IWSManSession_Enumerate(IWSManSession* This,VARIANT resourceUri,BSTR filter,BSTR dialect,LONG flags,IDispatch **resultSet) { 2410 return This->lpVtbl->Enumerate(This,resourceUri,filter,dialect,flags,resultSet); 2411 } 2412 static FORCEINLINE HRESULT IWSManSession_Identify(IWSManSession* This,LONG flags,BSTR *result) { 2413 return This->lpVtbl->Identify(This,flags,result); 2414 } 2415 static FORCEINLINE HRESULT IWSManSession_get_Error(IWSManSession* This,BSTR *value) { 2416 return This->lpVtbl->get_Error(This,value); 2417 } 2418 static FORCEINLINE HRESULT IWSManSession_get_BatchItems(IWSManSession* This,LONG *value) { 2419 return This->lpVtbl->get_BatchItems(This,value); 2420 } 2421 static FORCEINLINE HRESULT IWSManSession_put_BatchItems(IWSManSession* This,LONG value) { 2422 return This->lpVtbl->put_BatchItems(This,value); 2423 } 2424 static FORCEINLINE HRESULT IWSManSession_get_Timeout(IWSManSession* This,LONG *value) { 2425 return This->lpVtbl->get_Timeout(This,value); 2426 } 2427 static FORCEINLINE HRESULT IWSManSession_put_Timeout(IWSManSession* This,LONG value) { 2428 return This->lpVtbl->put_Timeout(This,value); 2429 } 2430 #endif 2431 #endif 2432 2433 #endif 2434 2435 2436 #endif /* __IWSManSession_INTERFACE_DEFINED__ */ 2437 2438 /***************************************************************************** 2439 * IWSManEnumerator interface 2440 */ 2441 #ifndef __IWSManEnumerator_INTERFACE_DEFINED__ 2442 #define __IWSManEnumerator_INTERFACE_DEFINED__ 2443 2444 DEFINE_GUID(IID_IWSManEnumerator, 0xf3457ca9, 0xabb9, 0x4fa5, 0xb8,0x50, 0x90,0xe8,0xca,0x30,0x0e,0x7f); 2445 #if defined(__cplusplus) && !defined(CINTERFACE) 2446 MIDL_INTERFACE("f3457ca9-abb9-4fa5-b850-90e8ca300e7f") 2447 IWSManEnumerator : public IDispatch 2448 { 2449 virtual HRESULT STDMETHODCALLTYPE ReadItem( 2450 BSTR *resource) = 0; 2451 2452 virtual HRESULT STDMETHODCALLTYPE get_AtEndOfStream( 2453 VARIANT_BOOL *eos) = 0; 2454 2455 virtual HRESULT STDMETHODCALLTYPE get_Error( 2456 BSTR *value) = 0; 2457 2458 }; 2459 #ifdef __CRT_UUID_DECL 2460 __CRT_UUID_DECL(IWSManEnumerator, 0xf3457ca9, 0xabb9, 0x4fa5, 0xb8,0x50, 0x90,0xe8,0xca,0x30,0x0e,0x7f) 2461 #endif 2462 #else 2463 typedef struct IWSManEnumeratorVtbl { 2464 BEGIN_INTERFACE 2465 2466 /*** IUnknown methods ***/ 2467 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2468 IWSManEnumerator *This, 2469 REFIID riid, 2470 void **ppvObject); 2471 2472 ULONG (STDMETHODCALLTYPE *AddRef)( 2473 IWSManEnumerator *This); 2474 2475 ULONG (STDMETHODCALLTYPE *Release)( 2476 IWSManEnumerator *This); 2477 2478 /*** IDispatch methods ***/ 2479 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 2480 IWSManEnumerator *This, 2481 UINT *pctinfo); 2482 2483 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 2484 IWSManEnumerator *This, 2485 UINT iTInfo, 2486 LCID lcid, 2487 ITypeInfo **ppTInfo); 2488 2489 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 2490 IWSManEnumerator *This, 2491 REFIID riid, 2492 LPOLESTR *rgszNames, 2493 UINT cNames, 2494 LCID lcid, 2495 DISPID *rgDispId); 2496 2497 HRESULT (STDMETHODCALLTYPE *Invoke)( 2498 IWSManEnumerator *This, 2499 DISPID dispIdMember, 2500 REFIID riid, 2501 LCID lcid, 2502 WORD wFlags, 2503 DISPPARAMS *pDispParams, 2504 VARIANT *pVarResult, 2505 EXCEPINFO *pExcepInfo, 2506 UINT *puArgErr); 2507 2508 /*** IWSManEnumerator methods ***/ 2509 HRESULT (STDMETHODCALLTYPE *ReadItem)( 2510 IWSManEnumerator *This, 2511 BSTR *resource); 2512 2513 HRESULT (STDMETHODCALLTYPE *get_AtEndOfStream)( 2514 IWSManEnumerator *This, 2515 VARIANT_BOOL *eos); 2516 2517 HRESULT (STDMETHODCALLTYPE *get_Error)( 2518 IWSManEnumerator *This, 2519 BSTR *value); 2520 2521 END_INTERFACE 2522 } IWSManEnumeratorVtbl; 2523 2524 interface IWSManEnumerator { 2525 CONST_VTBL IWSManEnumeratorVtbl* lpVtbl; 2526 }; 2527 2528 #ifdef COBJMACROS 2529 #ifndef WIDL_C_INLINE_WRAPPERS 2530 /*** IUnknown methods ***/ 2531 #define IWSManEnumerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2532 #define IWSManEnumerator_AddRef(This) (This)->lpVtbl->AddRef(This) 2533 #define IWSManEnumerator_Release(This) (This)->lpVtbl->Release(This) 2534 /*** IDispatch methods ***/ 2535 #define IWSManEnumerator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 2536 #define IWSManEnumerator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 2537 #define IWSManEnumerator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 2538 #define IWSManEnumerator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 2539 /*** IWSManEnumerator methods ***/ 2540 #define IWSManEnumerator_ReadItem(This,resource) (This)->lpVtbl->ReadItem(This,resource) 2541 #define IWSManEnumerator_get_AtEndOfStream(This,eos) (This)->lpVtbl->get_AtEndOfStream(This,eos) 2542 #define IWSManEnumerator_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 2543 #else 2544 /*** IUnknown methods ***/ 2545 static FORCEINLINE HRESULT IWSManEnumerator_QueryInterface(IWSManEnumerator* This,REFIID riid,void **ppvObject) { 2546 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2547 } 2548 static FORCEINLINE ULONG IWSManEnumerator_AddRef(IWSManEnumerator* This) { 2549 return This->lpVtbl->AddRef(This); 2550 } 2551 static FORCEINLINE ULONG IWSManEnumerator_Release(IWSManEnumerator* This) { 2552 return This->lpVtbl->Release(This); 2553 } 2554 /*** IDispatch methods ***/ 2555 static FORCEINLINE HRESULT IWSManEnumerator_GetTypeInfoCount(IWSManEnumerator* This,UINT *pctinfo) { 2556 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 2557 } 2558 static FORCEINLINE HRESULT IWSManEnumerator_GetTypeInfo(IWSManEnumerator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 2559 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 2560 } 2561 static FORCEINLINE HRESULT IWSManEnumerator_GetIDsOfNames(IWSManEnumerator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 2562 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 2563 } 2564 static FORCEINLINE HRESULT IWSManEnumerator_Invoke(IWSManEnumerator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 2565 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 2566 } 2567 /*** IWSManEnumerator methods ***/ 2568 static FORCEINLINE HRESULT IWSManEnumerator_ReadItem(IWSManEnumerator* This,BSTR *resource) { 2569 return This->lpVtbl->ReadItem(This,resource); 2570 } 2571 static FORCEINLINE HRESULT IWSManEnumerator_get_AtEndOfStream(IWSManEnumerator* This,VARIANT_BOOL *eos) { 2572 return This->lpVtbl->get_AtEndOfStream(This,eos); 2573 } 2574 static FORCEINLINE HRESULT IWSManEnumerator_get_Error(IWSManEnumerator* This,BSTR *value) { 2575 return This->lpVtbl->get_Error(This,value); 2576 } 2577 #endif 2578 #endif 2579 2580 #endif 2581 2582 2583 #endif /* __IWSManEnumerator_INTERFACE_DEFINED__ */ 2584 2585 /***************************************************************************** 2586 * IWSManResourceLocator interface 2587 */ 2588 #ifndef __IWSManResourceLocator_INTERFACE_DEFINED__ 2589 #define __IWSManResourceLocator_INTERFACE_DEFINED__ 2590 2591 DEFINE_GUID(IID_IWSManResourceLocator, 0xa7a1ba28, 0xde41, 0x466a, 0xad,0x0a, 0xc4,0x05,0x9e,0xad,0x74,0x28); 2592 #if defined(__cplusplus) && !defined(CINTERFACE) 2593 MIDL_INTERFACE("a7a1ba28-de41-466a-ad0a-c4059ead7428") 2594 IWSManResourceLocator : public IDispatch 2595 { 2596 virtual HRESULT STDMETHODCALLTYPE put_ResourceURI( 2597 BSTR uri) = 0; 2598 2599 virtual HRESULT STDMETHODCALLTYPE get_ResourceURI( 2600 BSTR *uri) = 0; 2601 2602 virtual HRESULT STDMETHODCALLTYPE AddSelector( 2603 BSTR resourceSelName, 2604 VARIANT selValue) = 0; 2605 2606 virtual HRESULT STDMETHODCALLTYPE ClearSelectors( 2607 ) = 0; 2608 2609 virtual HRESULT STDMETHODCALLTYPE get_FragmentPath( 2610 BSTR *text) = 0; 2611 2612 virtual HRESULT STDMETHODCALLTYPE put_FragmentPath( 2613 BSTR text) = 0; 2614 2615 virtual HRESULT STDMETHODCALLTYPE get_FragmentDialect( 2616 BSTR *text) = 0; 2617 2618 virtual HRESULT STDMETHODCALLTYPE put_FragmentDialect( 2619 BSTR text) = 0; 2620 2621 virtual HRESULT STDMETHODCALLTYPE AddOption( 2622 BSTR OptionName, 2623 VARIANT OptionValue, 2624 WINBOOL mustComply = 0) = 0; 2625 2626 virtual HRESULT STDMETHODCALLTYPE put_MustUnderstandOptions( 2627 WINBOOL mustUnderstand) = 0; 2628 2629 virtual HRESULT STDMETHODCALLTYPE get_MustUnderstandOptions( 2630 WINBOOL *mustUnderstand) = 0; 2631 2632 virtual HRESULT STDMETHODCALLTYPE ClearOptions( 2633 ) = 0; 2634 2635 virtual HRESULT STDMETHODCALLTYPE get_Error( 2636 BSTR *value) = 0; 2637 2638 }; 2639 #ifdef __CRT_UUID_DECL 2640 __CRT_UUID_DECL(IWSManResourceLocator, 0xa7a1ba28, 0xde41, 0x466a, 0xad,0x0a, 0xc4,0x05,0x9e,0xad,0x74,0x28) 2641 #endif 2642 #else 2643 typedef struct IWSManResourceLocatorVtbl { 2644 BEGIN_INTERFACE 2645 2646 /*** IUnknown methods ***/ 2647 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2648 IWSManResourceLocator *This, 2649 REFIID riid, 2650 void **ppvObject); 2651 2652 ULONG (STDMETHODCALLTYPE *AddRef)( 2653 IWSManResourceLocator *This); 2654 2655 ULONG (STDMETHODCALLTYPE *Release)( 2656 IWSManResourceLocator *This); 2657 2658 /*** IDispatch methods ***/ 2659 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 2660 IWSManResourceLocator *This, 2661 UINT *pctinfo); 2662 2663 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 2664 IWSManResourceLocator *This, 2665 UINT iTInfo, 2666 LCID lcid, 2667 ITypeInfo **ppTInfo); 2668 2669 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 2670 IWSManResourceLocator *This, 2671 REFIID riid, 2672 LPOLESTR *rgszNames, 2673 UINT cNames, 2674 LCID lcid, 2675 DISPID *rgDispId); 2676 2677 HRESULT (STDMETHODCALLTYPE *Invoke)( 2678 IWSManResourceLocator *This, 2679 DISPID dispIdMember, 2680 REFIID riid, 2681 LCID lcid, 2682 WORD wFlags, 2683 DISPPARAMS *pDispParams, 2684 VARIANT *pVarResult, 2685 EXCEPINFO *pExcepInfo, 2686 UINT *puArgErr); 2687 2688 /*** IWSManResourceLocator methods ***/ 2689 HRESULT (STDMETHODCALLTYPE *put_ResourceURI)( 2690 IWSManResourceLocator *This, 2691 BSTR uri); 2692 2693 HRESULT (STDMETHODCALLTYPE *get_ResourceURI)( 2694 IWSManResourceLocator *This, 2695 BSTR *uri); 2696 2697 HRESULT (STDMETHODCALLTYPE *AddSelector)( 2698 IWSManResourceLocator *This, 2699 BSTR resourceSelName, 2700 VARIANT selValue); 2701 2702 HRESULT (STDMETHODCALLTYPE *ClearSelectors)( 2703 IWSManResourceLocator *This); 2704 2705 HRESULT (STDMETHODCALLTYPE *get_FragmentPath)( 2706 IWSManResourceLocator *This, 2707 BSTR *text); 2708 2709 HRESULT (STDMETHODCALLTYPE *put_FragmentPath)( 2710 IWSManResourceLocator *This, 2711 BSTR text); 2712 2713 HRESULT (STDMETHODCALLTYPE *get_FragmentDialect)( 2714 IWSManResourceLocator *This, 2715 BSTR *text); 2716 2717 HRESULT (STDMETHODCALLTYPE *put_FragmentDialect)( 2718 IWSManResourceLocator *This, 2719 BSTR text); 2720 2721 HRESULT (STDMETHODCALLTYPE *AddOption)( 2722 IWSManResourceLocator *This, 2723 BSTR OptionName, 2724 VARIANT OptionValue, 2725 WINBOOL mustComply); 2726 2727 HRESULT (STDMETHODCALLTYPE *put_MustUnderstandOptions)( 2728 IWSManResourceLocator *This, 2729 WINBOOL mustUnderstand); 2730 2731 HRESULT (STDMETHODCALLTYPE *get_MustUnderstandOptions)( 2732 IWSManResourceLocator *This, 2733 WINBOOL *mustUnderstand); 2734 2735 HRESULT (STDMETHODCALLTYPE *ClearOptions)( 2736 IWSManResourceLocator *This); 2737 2738 HRESULT (STDMETHODCALLTYPE *get_Error)( 2739 IWSManResourceLocator *This, 2740 BSTR *value); 2741 2742 END_INTERFACE 2743 } IWSManResourceLocatorVtbl; 2744 2745 interface IWSManResourceLocator { 2746 CONST_VTBL IWSManResourceLocatorVtbl* lpVtbl; 2747 }; 2748 2749 #ifdef COBJMACROS 2750 #ifndef WIDL_C_INLINE_WRAPPERS 2751 /*** IUnknown methods ***/ 2752 #define IWSManResourceLocator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2753 #define IWSManResourceLocator_AddRef(This) (This)->lpVtbl->AddRef(This) 2754 #define IWSManResourceLocator_Release(This) (This)->lpVtbl->Release(This) 2755 /*** IDispatch methods ***/ 2756 #define IWSManResourceLocator_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 2757 #define IWSManResourceLocator_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 2758 #define IWSManResourceLocator_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 2759 #define IWSManResourceLocator_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 2760 /*** IWSManResourceLocator methods ***/ 2761 #define IWSManResourceLocator_put_ResourceURI(This,uri) (This)->lpVtbl->put_ResourceURI(This,uri) 2762 #define IWSManResourceLocator_get_ResourceURI(This,uri) (This)->lpVtbl->get_ResourceURI(This,uri) 2763 #define IWSManResourceLocator_AddSelector(This,resourceSelName,selValue) (This)->lpVtbl->AddSelector(This,resourceSelName,selValue) 2764 #define IWSManResourceLocator_ClearSelectors(This) (This)->lpVtbl->ClearSelectors(This) 2765 #define IWSManResourceLocator_get_FragmentPath(This,text) (This)->lpVtbl->get_FragmentPath(This,text) 2766 #define IWSManResourceLocator_put_FragmentPath(This,text) (This)->lpVtbl->put_FragmentPath(This,text) 2767 #define IWSManResourceLocator_get_FragmentDialect(This,text) (This)->lpVtbl->get_FragmentDialect(This,text) 2768 #define IWSManResourceLocator_put_FragmentDialect(This,text) (This)->lpVtbl->put_FragmentDialect(This,text) 2769 #define IWSManResourceLocator_AddOption(This,OptionName,OptionValue,mustComply) (This)->lpVtbl->AddOption(This,OptionName,OptionValue,mustComply) 2770 #define IWSManResourceLocator_put_MustUnderstandOptions(This,mustUnderstand) (This)->lpVtbl->put_MustUnderstandOptions(This,mustUnderstand) 2771 #define IWSManResourceLocator_get_MustUnderstandOptions(This,mustUnderstand) (This)->lpVtbl->get_MustUnderstandOptions(This,mustUnderstand) 2772 #define IWSManResourceLocator_ClearOptions(This) (This)->lpVtbl->ClearOptions(This) 2773 #define IWSManResourceLocator_get_Error(This,value) (This)->lpVtbl->get_Error(This,value) 2774 #else 2775 /*** IUnknown methods ***/ 2776 static FORCEINLINE HRESULT IWSManResourceLocator_QueryInterface(IWSManResourceLocator* This,REFIID riid,void **ppvObject) { 2777 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2778 } 2779 static FORCEINLINE ULONG IWSManResourceLocator_AddRef(IWSManResourceLocator* This) { 2780 return This->lpVtbl->AddRef(This); 2781 } 2782 static FORCEINLINE ULONG IWSManResourceLocator_Release(IWSManResourceLocator* This) { 2783 return This->lpVtbl->Release(This); 2784 } 2785 /*** IDispatch methods ***/ 2786 static FORCEINLINE HRESULT IWSManResourceLocator_GetTypeInfoCount(IWSManResourceLocator* This,UINT *pctinfo) { 2787 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 2788 } 2789 static FORCEINLINE HRESULT IWSManResourceLocator_GetTypeInfo(IWSManResourceLocator* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 2790 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 2791 } 2792 static FORCEINLINE HRESULT IWSManResourceLocator_GetIDsOfNames(IWSManResourceLocator* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 2793 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 2794 } 2795 static FORCEINLINE HRESULT IWSManResourceLocator_Invoke(IWSManResourceLocator* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 2796 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 2797 } 2798 /*** IWSManResourceLocator methods ***/ 2799 static FORCEINLINE HRESULT IWSManResourceLocator_put_ResourceURI(IWSManResourceLocator* This,BSTR uri) { 2800 return This->lpVtbl->put_ResourceURI(This,uri); 2801 } 2802 static FORCEINLINE HRESULT IWSManResourceLocator_get_ResourceURI(IWSManResourceLocator* This,BSTR *uri) { 2803 return This->lpVtbl->get_ResourceURI(This,uri); 2804 } 2805 static FORCEINLINE HRESULT IWSManResourceLocator_AddSelector(IWSManResourceLocator* This,BSTR resourceSelName,VARIANT selValue) { 2806 return This->lpVtbl->AddSelector(This,resourceSelName,selValue); 2807 } 2808 static FORCEINLINE HRESULT IWSManResourceLocator_ClearSelectors(IWSManResourceLocator* This) { 2809 return This->lpVtbl->ClearSelectors(This); 2810 } 2811 static FORCEINLINE HRESULT IWSManResourceLocator_get_FragmentPath(IWSManResourceLocator* This,BSTR *text) { 2812 return This->lpVtbl->get_FragmentPath(This,text); 2813 } 2814 static FORCEINLINE HRESULT IWSManResourceLocator_put_FragmentPath(IWSManResourceLocator* This,BSTR text) { 2815 return This->lpVtbl->put_FragmentPath(This,text); 2816 } 2817 static FORCEINLINE HRESULT IWSManResourceLocator_get_FragmentDialect(IWSManResourceLocator* This,BSTR *text) { 2818 return This->lpVtbl->get_FragmentDialect(This,text); 2819 } 2820 static FORCEINLINE HRESULT IWSManResourceLocator_put_FragmentDialect(IWSManResourceLocator* This,BSTR text) { 2821 return This->lpVtbl->put_FragmentDialect(This,text); 2822 } 2823 static FORCEINLINE HRESULT IWSManResourceLocator_AddOption(IWSManResourceLocator* This,BSTR OptionName,VARIANT OptionValue,WINBOOL mustComply) { 2824 return This->lpVtbl->AddOption(This,OptionName,OptionValue,mustComply); 2825 } 2826 static FORCEINLINE HRESULT IWSManResourceLocator_put_MustUnderstandOptions(IWSManResourceLocator* This,WINBOOL mustUnderstand) { 2827 return This->lpVtbl->put_MustUnderstandOptions(This,mustUnderstand); 2828 } 2829 static FORCEINLINE HRESULT IWSManResourceLocator_get_MustUnderstandOptions(IWSManResourceLocator* This,WINBOOL *mustUnderstand) { 2830 return This->lpVtbl->get_MustUnderstandOptions(This,mustUnderstand); 2831 } 2832 static FORCEINLINE HRESULT IWSManResourceLocator_ClearOptions(IWSManResourceLocator* This) { 2833 return This->lpVtbl->ClearOptions(This); 2834 } 2835 static FORCEINLINE HRESULT IWSManResourceLocator_get_Error(IWSManResourceLocator* This,BSTR *value) { 2836 return This->lpVtbl->get_Error(This,value); 2837 } 2838 #endif 2839 #endif 2840 2841 #endif 2842 2843 2844 #endif /* __IWSManResourceLocator_INTERFACE_DEFINED__ */ 2845 2846 /***************************************************************************** 2847 * IWSManResourceLocatorInternal interface 2848 */ 2849 #ifndef __IWSManResourceLocatorInternal_INTERFACE_DEFINED__ 2850 #define __IWSManResourceLocatorInternal_INTERFACE_DEFINED__ 2851 2852 DEFINE_GUID(IID_IWSManResourceLocatorInternal, 0xeffaead7, 0x7ec8, 0x4716, 0xb9,0xbe, 0xf2,0xe7,0xe9,0xfb,0x4a,0xdb); 2853 #if defined(__cplusplus) && !defined(CINTERFACE) 2854 MIDL_INTERFACE("effaead7-7ec8-4716-b9be-f2e7e9fb4adb") 2855 IWSManResourceLocatorInternal : public IUnknown 2856 { 2857 }; 2858 #ifdef __CRT_UUID_DECL 2859 __CRT_UUID_DECL(IWSManResourceLocatorInternal, 0xeffaead7, 0x7ec8, 0x4716, 0xb9,0xbe, 0xf2,0xe7,0xe9,0xfb,0x4a,0xdb) 2860 #endif 2861 #else 2862 typedef struct IWSManResourceLocatorInternalVtbl { 2863 BEGIN_INTERFACE 2864 2865 /*** IUnknown methods ***/ 2866 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2867 IWSManResourceLocatorInternal *This, 2868 REFIID riid, 2869 void **ppvObject); 2870 2871 ULONG (STDMETHODCALLTYPE *AddRef)( 2872 IWSManResourceLocatorInternal *This); 2873 2874 ULONG (STDMETHODCALLTYPE *Release)( 2875 IWSManResourceLocatorInternal *This); 2876 2877 END_INTERFACE 2878 } IWSManResourceLocatorInternalVtbl; 2879 2880 interface IWSManResourceLocatorInternal { 2881 CONST_VTBL IWSManResourceLocatorInternalVtbl* lpVtbl; 2882 }; 2883 2884 #ifdef COBJMACROS 2885 #ifndef WIDL_C_INLINE_WRAPPERS 2886 /*** IUnknown methods ***/ 2887 #define IWSManResourceLocatorInternal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2888 #define IWSManResourceLocatorInternal_AddRef(This) (This)->lpVtbl->AddRef(This) 2889 #define IWSManResourceLocatorInternal_Release(This) (This)->lpVtbl->Release(This) 2890 #else 2891 /*** IUnknown methods ***/ 2892 static FORCEINLINE HRESULT IWSManResourceLocatorInternal_QueryInterface(IWSManResourceLocatorInternal* This,REFIID riid,void **ppvObject) { 2893 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 2894 } 2895 static FORCEINLINE ULONG IWSManResourceLocatorInternal_AddRef(IWSManResourceLocatorInternal* This) { 2896 return This->lpVtbl->AddRef(This); 2897 } 2898 static FORCEINLINE ULONG IWSManResourceLocatorInternal_Release(IWSManResourceLocatorInternal* This) { 2899 return This->lpVtbl->Release(This); 2900 } 2901 #endif 2902 #endif 2903 2904 #endif 2905 2906 2907 #endif /* __IWSManResourceLocatorInternal_INTERFACE_DEFINED__ */ 2908 2909 /***************************************************************************** 2910 * IWSManInternal interface 2911 */ 2912 #ifndef __IWSManInternal_INTERFACE_DEFINED__ 2913 #define __IWSManInternal_INTERFACE_DEFINED__ 2914 2915 DEFINE_GUID(IID_IWSManInternal, 0x04ae2b1d, 0x9954, 0x4d99, 0x94,0xa9, 0xa9,0x61,0xe7,0x2c,0x3a,0x13); 2916 #if defined(__cplusplus) && !defined(CINTERFACE) 2917 MIDL_INTERFACE("04ae2b1d-9954-4d99-94a9-a961e72c3a13") 2918 IWSManInternal : public IDispatch 2919 { 2920 virtual HRESULT STDMETHODCALLTYPE ConfigSDDL( 2921 IDispatch *session, 2922 VARIANT resourceUri, 2923 LONG flags, 2924 BSTR *resource) = 0; 2925 2926 }; 2927 #ifdef __CRT_UUID_DECL 2928 __CRT_UUID_DECL(IWSManInternal, 0x04ae2b1d, 0x9954, 0x4d99, 0x94,0xa9, 0xa9,0x61,0xe7,0x2c,0x3a,0x13) 2929 #endif 2930 #else 2931 typedef struct IWSManInternalVtbl { 2932 BEGIN_INTERFACE 2933 2934 /*** IUnknown methods ***/ 2935 HRESULT (STDMETHODCALLTYPE *QueryInterface)( 2936 IWSManInternal *This, 2937 REFIID riid, 2938 void **ppvObject); 2939 2940 ULONG (STDMETHODCALLTYPE *AddRef)( 2941 IWSManInternal *This); 2942 2943 ULONG (STDMETHODCALLTYPE *Release)( 2944 IWSManInternal *This); 2945 2946 /*** IDispatch methods ***/ 2947 HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)( 2948 IWSManInternal *This, 2949 UINT *pctinfo); 2950 2951 HRESULT (STDMETHODCALLTYPE *GetTypeInfo)( 2952 IWSManInternal *This, 2953 UINT iTInfo, 2954 LCID lcid, 2955 ITypeInfo **ppTInfo); 2956 2957 HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)( 2958 IWSManInternal *This, 2959 REFIID riid, 2960 LPOLESTR *rgszNames, 2961 UINT cNames, 2962 LCID lcid, 2963 DISPID *rgDispId); 2964 2965 HRESULT (STDMETHODCALLTYPE *Invoke)( 2966 IWSManInternal *This, 2967 DISPID dispIdMember, 2968 REFIID riid, 2969 LCID lcid, 2970 WORD wFlags, 2971 DISPPARAMS *pDispParams, 2972 VARIANT *pVarResult, 2973 EXCEPINFO *pExcepInfo, 2974 UINT *puArgErr); 2975 2976 /*** IWSManInternal methods ***/ 2977 HRESULT (STDMETHODCALLTYPE *ConfigSDDL)( 2978 IWSManInternal *This, 2979 IDispatch *session, 2980 VARIANT resourceUri, 2981 LONG flags, 2982 BSTR *resource); 2983 2984 END_INTERFACE 2985 } IWSManInternalVtbl; 2986 2987 interface IWSManInternal { 2988 CONST_VTBL IWSManInternalVtbl* lpVtbl; 2989 }; 2990 2991 #ifdef COBJMACROS 2992 #ifndef WIDL_C_INLINE_WRAPPERS 2993 /*** IUnknown methods ***/ 2994 #define IWSManInternal_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) 2995 #define IWSManInternal_AddRef(This) (This)->lpVtbl->AddRef(This) 2996 #define IWSManInternal_Release(This) (This)->lpVtbl->Release(This) 2997 /*** IDispatch methods ***/ 2998 #define IWSManInternal_GetTypeInfoCount(This,pctinfo) (This)->lpVtbl->GetTypeInfoCount(This,pctinfo) 2999 #define IWSManInternal_GetTypeInfo(This,iTInfo,lcid,ppTInfo) (This)->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo) 3000 #define IWSManInternal_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) (This)->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) 3001 #define IWSManInternal_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) (This)->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) 3002 /*** IWSManInternal methods ***/ 3003 #define IWSManInternal_ConfigSDDL(This,session,resourceUri,flags,resource) (This)->lpVtbl->ConfigSDDL(This,session,resourceUri,flags,resource) 3004 #else 3005 /*** IUnknown methods ***/ 3006 static FORCEINLINE HRESULT IWSManInternal_QueryInterface(IWSManInternal* This,REFIID riid,void **ppvObject) { 3007 return This->lpVtbl->QueryInterface(This,riid,ppvObject); 3008 } 3009 static FORCEINLINE ULONG IWSManInternal_AddRef(IWSManInternal* This) { 3010 return This->lpVtbl->AddRef(This); 3011 } 3012 static FORCEINLINE ULONG IWSManInternal_Release(IWSManInternal* This) { 3013 return This->lpVtbl->Release(This); 3014 } 3015 /*** IDispatch methods ***/ 3016 static FORCEINLINE HRESULT IWSManInternal_GetTypeInfoCount(IWSManInternal* This,UINT *pctinfo) { 3017 return This->lpVtbl->GetTypeInfoCount(This,pctinfo); 3018 } 3019 static FORCEINLINE HRESULT IWSManInternal_GetTypeInfo(IWSManInternal* This,UINT iTInfo,LCID lcid,ITypeInfo **ppTInfo) { 3020 return This->lpVtbl->GetTypeInfo(This,iTInfo,lcid,ppTInfo); 3021 } 3022 static FORCEINLINE HRESULT IWSManInternal_GetIDsOfNames(IWSManInternal* This,REFIID riid,LPOLESTR *rgszNames,UINT cNames,LCID lcid,DISPID *rgDispId) { 3023 return This->lpVtbl->GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId); 3024 } 3025 static FORCEINLINE HRESULT IWSManInternal_Invoke(IWSManInternal* This,DISPID dispIdMember,REFIID riid,LCID lcid,WORD wFlags,DISPPARAMS *pDispParams,VARIANT *pVarResult,EXCEPINFO *pExcepInfo,UINT *puArgErr) { 3026 return This->lpVtbl->Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr); 3027 } 3028 /*** IWSManInternal methods ***/ 3029 static FORCEINLINE HRESULT IWSManInternal_ConfigSDDL(IWSManInternal* This,IDispatch *session,VARIANT resourceUri,LONG flags,BSTR *resource) { 3030 return This->lpVtbl->ConfigSDDL(This,session,resourceUri,flags,resource); 3031 } 3032 #endif 3033 #endif 3034 3035 #endif 3036 3037 3038 #endif /* __IWSManInternal_INTERFACE_DEFINED__ */ 3039 3040 #endif 3041 /* Begin additional prototypes for all interfaces */ 3042 3043 3044 /* End additional prototypes */ 3045 3046 #ifdef __cplusplus 3047 } 3048 #endif 3049 3050 #endif /* __wsmandisp_h__ */ 3051