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