1 2 3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */ 4 5 6 /* File created by MIDL compiler version 7.00.0555 */ 7 /* Compiler settings for netcfgn.idl: 8 Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555 9 protocol : dce , ms_ext, c_ext, robust 10 error checks: allocation ref bounds_check enum stub_data 11 VC __declspec() decoration level: 12 __declspec(uuid()), __declspec(selectany), __declspec(novtable) 13 DECLSPEC_UUID(), MIDL_INTERFACE() 14 */ 15 /* @@MIDL_FILE_HEADING( ) */ 16 17 #pragma warning( disable: 4049 ) /* more than 64k source lines */ 18 19 20 /* verify that the <rpcndr.h> version is high enough to compile this file*/ 21 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 22 #define __REQUIRED_RPCNDR_H_VERSION__ 500 23 #endif 24 25 /* verify that the <rpcsal.h> version is high enough to compile this file*/ 26 #ifndef __REQUIRED_RPCSAL_H_VERSION__ 27 #define __REQUIRED_RPCSAL_H_VERSION__ 100 28 #endif 29 30 #include "rpc.h" 31 #include "rpcndr.h" 32 33 #ifndef __RPCNDR_H_VERSION__ 34 #error this stub requires an updated version of <rpcndr.h> 35 #endif // __RPCNDR_H_VERSION__ 36 37 #ifndef COM_NO_WINDOWS_H 38 #include "windows.h" 39 #include "ole2.h" 40 #endif /*COM_NO_WINDOWS_H*/ 41 42 #ifndef __netcfgn_h__ 43 #define __netcfgn_h__ 44 45 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 46 #pragma once 47 #endif 48 49 /* Forward Declarations */ 50 51 #ifndef __INetCfgPnpReconfigCallback_FWD_DEFINED__ 52 #define __INetCfgPnpReconfigCallback_FWD_DEFINED__ 53 typedef interface INetCfgPnpReconfigCallback INetCfgPnpReconfigCallback; 54 #endif /* __INetCfgPnpReconfigCallback_FWD_DEFINED__ */ 55 56 57 #ifndef __INetCfgComponentControl_FWD_DEFINED__ 58 #define __INetCfgComponentControl_FWD_DEFINED__ 59 typedef interface INetCfgComponentControl INetCfgComponentControl; 60 #endif /* __INetCfgComponentControl_FWD_DEFINED__ */ 61 62 63 #ifndef __INetCfgComponentSetup_FWD_DEFINED__ 64 #define __INetCfgComponentSetup_FWD_DEFINED__ 65 typedef interface INetCfgComponentSetup INetCfgComponentSetup; 66 #endif /* __INetCfgComponentSetup_FWD_DEFINED__ */ 67 68 69 #ifndef __INetCfgComponentPropertyUi_FWD_DEFINED__ 70 #define __INetCfgComponentPropertyUi_FWD_DEFINED__ 71 typedef interface INetCfgComponentPropertyUi INetCfgComponentPropertyUi; 72 #endif /* __INetCfgComponentPropertyUi_FWD_DEFINED__ */ 73 74 75 #ifndef __INetCfgComponentNotifyBinding_FWD_DEFINED__ 76 #define __INetCfgComponentNotifyBinding_FWD_DEFINED__ 77 typedef interface INetCfgComponentNotifyBinding INetCfgComponentNotifyBinding; 78 #endif /* __INetCfgComponentNotifyBinding_FWD_DEFINED__ */ 79 80 81 #ifndef __INetCfgComponentNotifyGlobal_FWD_DEFINED__ 82 #define __INetCfgComponentNotifyGlobal_FWD_DEFINED__ 83 typedef interface INetCfgComponentNotifyGlobal INetCfgComponentNotifyGlobal; 84 #endif /* __INetCfgComponentNotifyGlobal_FWD_DEFINED__ */ 85 86 87 #ifndef __INetCfgComponentUpperEdge_FWD_DEFINED__ 88 #define __INetCfgComponentUpperEdge_FWD_DEFINED__ 89 typedef interface INetCfgComponentUpperEdge INetCfgComponentUpperEdge; 90 #endif /* __INetCfgComponentUpperEdge_FWD_DEFINED__ */ 91 92 93 #ifndef __INetLanConnectionUiInfo_FWD_DEFINED__ 94 #define __INetLanConnectionUiInfo_FWD_DEFINED__ 95 typedef interface INetLanConnectionUiInfo INetLanConnectionUiInfo; 96 #endif /* __INetLanConnectionUiInfo_FWD_DEFINED__ */ 97 98 99 #ifndef __INetRasConnectionIpUiInfo_FWD_DEFINED__ 100 #define __INetRasConnectionIpUiInfo_FWD_DEFINED__ 101 typedef interface INetRasConnectionIpUiInfo INetRasConnectionIpUiInfo; 102 #endif /* __INetRasConnectionIpUiInfo_FWD_DEFINED__ */ 103 104 105 #ifndef __INetCfgComponentSysPrep_FWD_DEFINED__ 106 #define __INetCfgComponentSysPrep_FWD_DEFINED__ 107 typedef interface INetCfgComponentSysPrep INetCfgComponentSysPrep; 108 #endif /* __INetCfgComponentSysPrep_FWD_DEFINED__ */ 109 110 111 /* header files for imported files */ 112 #include "unknwn.h" 113 #include "netcfgx.h" 114 115 #ifdef __cplusplus 116 extern "C"{ 117 #endif 118 119 120 /* interface __MIDL_itf_netcfgn_0000_0000 */ 121 /* [local] */ 122 123 //+------------------------------------------------------------------------- 124 // 125 // Microsoft Windows 126 // Copyright (c) Microsoft Corporation. All rights reserved. 127 // 128 //-------------------------------------------------------------------------- 129 #if ( _MSC_VER >= 800 ) 130 #pragma warning(disable:4201) 131 #endif 132 133 134 extern RPC_IF_HANDLE __MIDL_itf_netcfgn_0000_0000_v0_0_c_ifspec; 135 extern RPC_IF_HANDLE __MIDL_itf_netcfgn_0000_0000_v0_0_s_ifspec; 136 137 #ifndef __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__ 138 #define __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__ 139 140 /* interface INetCfgPnpReconfigCallback */ 141 /* [unique][uuid][object][local] */ 142 143 typedef /* [v1_enum] */ 144 enum tagNCPNP_RECONFIG_LAYER 145 { NCRL_NDIS = 1, 146 NCRL_TDI = 2 147 } NCPNP_RECONFIG_LAYER; 148 149 150 EXTERN_C const IID IID_INetCfgPnpReconfigCallback; 151 152 #if defined(__cplusplus) && !defined(CINTERFACE) 153 154 MIDL_INTERFACE("8d84bd35-e227-11d2-b700-00a0c98a6a85") 155 INetCfgPnpReconfigCallback : public IUnknown 156 { 157 public: 158 virtual HRESULT STDMETHODCALLTYPE SendPnpReconfig( 159 /* [annotation][in] */ 160 __in NCPNP_RECONFIG_LAYER Layer, 161 /* [annotation][in] */ 162 __in LPCWSTR pszwUpper, 163 /* [annotation][in] */ 164 __in LPCWSTR pszwLower, 165 /* [annotation][in] */ 166 __in_bcount(dwSizeOfData) PVOID pvData, 167 /* [annotation][in] */ 168 __in DWORD dwSizeOfData) = 0; 169 170 }; 171 172 #else /* C style interface */ 173 174 typedef struct INetCfgPnpReconfigCallbackVtbl 175 { 176 BEGIN_INTERFACE 177 178 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 179 INetCfgPnpReconfigCallback * This, 180 /* [in] */ REFIID riid, 181 /* [annotation][iid_is][out] */ 182 __RPC__deref_out void **ppvObject); 183 184 ULONG ( STDMETHODCALLTYPE *AddRef )( 185 INetCfgPnpReconfigCallback * This); 186 187 ULONG ( STDMETHODCALLTYPE *Release )( 188 INetCfgPnpReconfigCallback * This); 189 190 HRESULT ( STDMETHODCALLTYPE *SendPnpReconfig )( 191 INetCfgPnpReconfigCallback * This, 192 /* [annotation][in] */ 193 __in NCPNP_RECONFIG_LAYER Layer, 194 /* [annotation][in] */ 195 __in LPCWSTR pszwUpper, 196 /* [annotation][in] */ 197 __in LPCWSTR pszwLower, 198 /* [annotation][in] */ 199 __in_bcount(dwSizeOfData) PVOID pvData, 200 /* [annotation][in] */ 201 __in DWORD dwSizeOfData); 202 203 END_INTERFACE 204 } INetCfgPnpReconfigCallbackVtbl; 205 206 interface INetCfgPnpReconfigCallback 207 { 208 CONST_VTBL struct INetCfgPnpReconfigCallbackVtbl *lpVtbl; 209 }; 210 211 212 213 #ifdef COBJMACROS 214 215 216 #define INetCfgPnpReconfigCallback_QueryInterface(This,riid,ppvObject) \ 217 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 218 219 #define INetCfgPnpReconfigCallback_AddRef(This) \ 220 ( (This)->lpVtbl -> AddRef(This) ) 221 222 #define INetCfgPnpReconfigCallback_Release(This) \ 223 ( (This)->lpVtbl -> Release(This) ) 224 225 226 #define INetCfgPnpReconfigCallback_SendPnpReconfig(This,Layer,pszwUpper,pszwLower,pvData,dwSizeOfData) \ 227 ( (This)->lpVtbl -> SendPnpReconfig(This,Layer,pszwUpper,pszwLower,pvData,dwSizeOfData) ) 228 229 #endif /* COBJMACROS */ 230 231 232 #endif /* C style interface */ 233 234 235 236 237 #endif /* __INetCfgPnpReconfigCallback_INTERFACE_DEFINED__ */ 238 239 240 #ifndef __INetCfgComponentControl_INTERFACE_DEFINED__ 241 #define __INetCfgComponentControl_INTERFACE_DEFINED__ 242 243 /* interface INetCfgComponentControl */ 244 /* [unique][uuid][object][local] */ 245 246 247 EXTERN_C const IID IID_INetCfgComponentControl; 248 249 #if defined(__cplusplus) && !defined(CINTERFACE) 250 251 MIDL_INTERFACE("932238df-bea1-11d0-9298-00c04fc99dcf") 252 INetCfgComponentControl : public IUnknown 253 { 254 public: 255 virtual HRESULT STDMETHODCALLTYPE Initialize( 256 /* [annotation][in] */ 257 __in INetCfgComponent *pIComp, 258 /* [annotation][in] */ 259 __in INetCfg *pINetCfg, 260 /* [annotation][in] */ 261 __in BOOL fInstalling) = 0; 262 263 virtual HRESULT STDMETHODCALLTYPE ApplyRegistryChanges( void) = 0; 264 265 virtual HRESULT STDMETHODCALLTYPE ApplyPnpChanges( 266 /* [annotation][in] */ 267 __in INetCfgPnpReconfigCallback *pICallback) = 0; 268 269 virtual HRESULT STDMETHODCALLTYPE CancelChanges( void) = 0; 270 271 }; 272 273 #else /* C style interface */ 274 275 typedef struct INetCfgComponentControlVtbl 276 { 277 BEGIN_INTERFACE 278 279 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 280 INetCfgComponentControl * This, 281 /* [in] */ REFIID riid, 282 /* [annotation][iid_is][out] */ 283 __RPC__deref_out void **ppvObject); 284 285 ULONG ( STDMETHODCALLTYPE *AddRef )( 286 INetCfgComponentControl * This); 287 288 ULONG ( STDMETHODCALLTYPE *Release )( 289 INetCfgComponentControl * This); 290 291 HRESULT ( STDMETHODCALLTYPE *Initialize )( 292 INetCfgComponentControl * This, 293 /* [annotation][in] */ 294 __in INetCfgComponent *pIComp, 295 /* [annotation][in] */ 296 __in INetCfg *pINetCfg, 297 /* [annotation][in] */ 298 __in BOOL fInstalling); 299 300 HRESULT ( STDMETHODCALLTYPE *ApplyRegistryChanges )( 301 INetCfgComponentControl * This); 302 303 HRESULT ( STDMETHODCALLTYPE *ApplyPnpChanges )( 304 INetCfgComponentControl * This, 305 /* [annotation][in] */ 306 __in INetCfgPnpReconfigCallback *pICallback); 307 308 HRESULT ( STDMETHODCALLTYPE *CancelChanges )( 309 INetCfgComponentControl * This); 310 311 END_INTERFACE 312 } INetCfgComponentControlVtbl; 313 314 interface INetCfgComponentControl 315 { 316 CONST_VTBL struct INetCfgComponentControlVtbl *lpVtbl; 317 }; 318 319 320 321 #ifdef COBJMACROS 322 323 324 #define INetCfgComponentControl_QueryInterface(This,riid,ppvObject) \ 325 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 326 327 #define INetCfgComponentControl_AddRef(This) \ 328 ( (This)->lpVtbl -> AddRef(This) ) 329 330 #define INetCfgComponentControl_Release(This) \ 331 ( (This)->lpVtbl -> Release(This) ) 332 333 334 #define INetCfgComponentControl_Initialize(This,pIComp,pINetCfg,fInstalling) \ 335 ( (This)->lpVtbl -> Initialize(This,pIComp,pINetCfg,fInstalling) ) 336 337 #define INetCfgComponentControl_ApplyRegistryChanges(This) \ 338 ( (This)->lpVtbl -> ApplyRegistryChanges(This) ) 339 340 #define INetCfgComponentControl_ApplyPnpChanges(This,pICallback) \ 341 ( (This)->lpVtbl -> ApplyPnpChanges(This,pICallback) ) 342 343 #define INetCfgComponentControl_CancelChanges(This) \ 344 ( (This)->lpVtbl -> CancelChanges(This) ) 345 346 #endif /* COBJMACROS */ 347 348 349 #endif /* C style interface */ 350 351 352 353 354 #endif /* __INetCfgComponentControl_INTERFACE_DEFINED__ */ 355 356 357 #ifndef __INetCfgComponentSetup_INTERFACE_DEFINED__ 358 #define __INetCfgComponentSetup_INTERFACE_DEFINED__ 359 360 /* interface INetCfgComponentSetup */ 361 /* [unique][uuid][object][local] */ 362 363 typedef /* [v1_enum] */ 364 enum tagNETWORK_INSTALL_TIME 365 { NSF_PRIMARYINSTALL = 0x1, 366 NSF_POSTSYSINSTALL = 0x2 367 } NETWORK_INSTALL_TIME; 368 369 typedef /* [v1_enum] */ 370 enum tagNETWORK_UPGRADE_TYPE 371 { NSF_WIN16_UPGRADE = 0x10, 372 NSF_WIN95_UPGRADE = 0x20, 373 NSF_WINNT_WKS_UPGRADE = 0x40, 374 NSF_WINNT_SVR_UPGRADE = 0x80, 375 NSF_WINNT_SBS_UPGRADE = 0x100, 376 NSF_COMPONENT_UPDATE = 0x200 377 } NETWORK_UPGRADE_TYPE; 378 379 380 EXTERN_C const IID IID_INetCfgComponentSetup; 381 382 #if defined(__cplusplus) && !defined(CINTERFACE) 383 384 MIDL_INTERFACE("932238e3-bea1-11d0-9298-00c04fc99dcf") 385 INetCfgComponentSetup : public IUnknown 386 { 387 public: 388 virtual HRESULT STDMETHODCALLTYPE Install( 389 /* [annotation][in] */ 390 __in DWORD dwSetupFlags) = 0; 391 392 virtual HRESULT STDMETHODCALLTYPE Upgrade( 393 /* [annotation][in] */ 394 __in DWORD dwSetupFlags, 395 /* [annotation][in] */ 396 __in DWORD dwUpgradeFomBuildNo) = 0; 397 398 virtual HRESULT STDMETHODCALLTYPE ReadAnswerFile( 399 /* [annotation][in] */ 400 __in LPCWSTR pszwAnswerFile, 401 /* [annotation][in] */ 402 __in LPCWSTR pszwAnswerSections) = 0; 403 404 virtual HRESULT STDMETHODCALLTYPE Removing( void) = 0; 405 406 }; 407 408 #else /* C style interface */ 409 410 typedef struct INetCfgComponentSetupVtbl 411 { 412 BEGIN_INTERFACE 413 414 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 415 INetCfgComponentSetup * This, 416 /* [in] */ REFIID riid, 417 /* [annotation][iid_is][out] */ 418 __RPC__deref_out void **ppvObject); 419 420 ULONG ( STDMETHODCALLTYPE *AddRef )( 421 INetCfgComponentSetup * This); 422 423 ULONG ( STDMETHODCALLTYPE *Release )( 424 INetCfgComponentSetup * This); 425 426 HRESULT ( STDMETHODCALLTYPE *Install )( 427 INetCfgComponentSetup * This, 428 /* [annotation][in] */ 429 __in DWORD dwSetupFlags); 430 431 HRESULT ( STDMETHODCALLTYPE *Upgrade )( 432 INetCfgComponentSetup * This, 433 /* [annotation][in] */ 434 __in DWORD dwSetupFlags, 435 /* [annotation][in] */ 436 __in DWORD dwUpgradeFomBuildNo); 437 438 HRESULT ( STDMETHODCALLTYPE *ReadAnswerFile )( 439 INetCfgComponentSetup * This, 440 /* [annotation][in] */ 441 __in LPCWSTR pszwAnswerFile, 442 /* [annotation][in] */ 443 __in LPCWSTR pszwAnswerSections); 444 445 HRESULT ( STDMETHODCALLTYPE *Removing )( 446 INetCfgComponentSetup * This); 447 448 END_INTERFACE 449 } INetCfgComponentSetupVtbl; 450 451 interface INetCfgComponentSetup 452 { 453 CONST_VTBL struct INetCfgComponentSetupVtbl *lpVtbl; 454 }; 455 456 457 458 #ifdef COBJMACROS 459 460 461 #define INetCfgComponentSetup_QueryInterface(This,riid,ppvObject) \ 462 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 463 464 #define INetCfgComponentSetup_AddRef(This) \ 465 ( (This)->lpVtbl -> AddRef(This) ) 466 467 #define INetCfgComponentSetup_Release(This) \ 468 ( (This)->lpVtbl -> Release(This) ) 469 470 471 #define INetCfgComponentSetup_Install(This,dwSetupFlags) \ 472 ( (This)->lpVtbl -> Install(This,dwSetupFlags) ) 473 474 #define INetCfgComponentSetup_Upgrade(This,dwSetupFlags,dwUpgradeFomBuildNo) \ 475 ( (This)->lpVtbl -> Upgrade(This,dwSetupFlags,dwUpgradeFomBuildNo) ) 476 477 #define INetCfgComponentSetup_ReadAnswerFile(This,pszwAnswerFile,pszwAnswerSections) \ 478 ( (This)->lpVtbl -> ReadAnswerFile(This,pszwAnswerFile,pszwAnswerSections) ) 479 480 #define INetCfgComponentSetup_Removing(This) \ 481 ( (This)->lpVtbl -> Removing(This) ) 482 483 #endif /* COBJMACROS */ 484 485 486 #endif /* C style interface */ 487 488 489 490 491 #endif /* __INetCfgComponentSetup_INTERFACE_DEFINED__ */ 492 493 494 #ifndef __INetCfgComponentPropertyUi_INTERFACE_DEFINED__ 495 #define __INetCfgComponentPropertyUi_INTERFACE_DEFINED__ 496 497 /* interface INetCfgComponentPropertyUi */ 498 /* [unique][uuid][object][local] */ 499 500 typedef /* [v1_enum] */ 501 enum tagDEFAULT_PAGES 502 { DPP_ADVANCED = 1 503 } DEFAULT_PAGES; 504 505 506 EXTERN_C const IID IID_INetCfgComponentPropertyUi; 507 508 #if defined(__cplusplus) && !defined(CINTERFACE) 509 510 MIDL_INTERFACE("932238e0-bea1-11d0-9298-00c04fc99dcf") 511 INetCfgComponentPropertyUi : public IUnknown 512 { 513 public: 514 virtual HRESULT STDMETHODCALLTYPE QueryPropertyUi( 515 /* [annotation][in] */ 516 __in IUnknown *pUnkReserved) = 0; 517 518 virtual HRESULT STDMETHODCALLTYPE SetContext( 519 /* [annotation][in] */ 520 __in IUnknown *pUnkReserved) = 0; 521 522 virtual HRESULT STDMETHODCALLTYPE MergePropPages( 523 /* [annotation][out][in] */ 524 __inout DWORD *pdwDefPages, 525 /* [annotation][out] */ 526 __out BYTE **pahpspPrivate, 527 /* [annotation][out] */ 528 __out UINT *pcPages, 529 /* [annotation][in] */ 530 __in HWND hwndParent, 531 /* [annotation][in] */ 532 __in_opt LPCWSTR *pszStartPage) = 0; 533 534 virtual HRESULT STDMETHODCALLTYPE ValidateProperties( 535 /* [annotation][in] */ 536 __in HWND hwndSheet) = 0; 537 538 virtual HRESULT STDMETHODCALLTYPE ApplyProperties( void) = 0; 539 540 virtual HRESULT STDMETHODCALLTYPE CancelProperties( void) = 0; 541 542 }; 543 544 #else /* C style interface */ 545 546 typedef struct INetCfgComponentPropertyUiVtbl 547 { 548 BEGIN_INTERFACE 549 550 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 551 INetCfgComponentPropertyUi * This, 552 /* [in] */ REFIID riid, 553 /* [annotation][iid_is][out] */ 554 __RPC__deref_out void **ppvObject); 555 556 ULONG ( STDMETHODCALLTYPE *AddRef )( 557 INetCfgComponentPropertyUi * This); 558 559 ULONG ( STDMETHODCALLTYPE *Release )( 560 INetCfgComponentPropertyUi * This); 561 562 HRESULT ( STDMETHODCALLTYPE *QueryPropertyUi )( 563 INetCfgComponentPropertyUi * This, 564 /* [annotation][in] */ 565 __in IUnknown *pUnkReserved); 566 567 HRESULT ( STDMETHODCALLTYPE *SetContext )( 568 INetCfgComponentPropertyUi * This, 569 /* [annotation][in] */ 570 __in IUnknown *pUnkReserved); 571 572 HRESULT ( STDMETHODCALLTYPE *MergePropPages )( 573 INetCfgComponentPropertyUi * This, 574 /* [annotation][out][in] */ 575 __inout DWORD *pdwDefPages, 576 /* [annotation][out] */ 577 __out BYTE **pahpspPrivate, 578 /* [annotation][out] */ 579 __out UINT *pcPages, 580 /* [annotation][in] */ 581 __in HWND hwndParent, 582 /* [annotation][in] */ 583 __in_opt LPCWSTR *pszStartPage); 584 585 HRESULT ( STDMETHODCALLTYPE *ValidateProperties )( 586 INetCfgComponentPropertyUi * This, 587 /* [annotation][in] */ 588 __in HWND hwndSheet); 589 590 HRESULT ( STDMETHODCALLTYPE *ApplyProperties )( 591 INetCfgComponentPropertyUi * This); 592 593 HRESULT ( STDMETHODCALLTYPE *CancelProperties )( 594 INetCfgComponentPropertyUi * This); 595 596 END_INTERFACE 597 } INetCfgComponentPropertyUiVtbl; 598 599 interface INetCfgComponentPropertyUi 600 { 601 CONST_VTBL struct INetCfgComponentPropertyUiVtbl *lpVtbl; 602 }; 603 604 605 606 #ifdef COBJMACROS 607 608 609 #define INetCfgComponentPropertyUi_QueryInterface(This,riid,ppvObject) \ 610 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 611 612 #define INetCfgComponentPropertyUi_AddRef(This) \ 613 ( (This)->lpVtbl -> AddRef(This) ) 614 615 #define INetCfgComponentPropertyUi_Release(This) \ 616 ( (This)->lpVtbl -> Release(This) ) 617 618 619 #define INetCfgComponentPropertyUi_QueryPropertyUi(This,pUnkReserved) \ 620 ( (This)->lpVtbl -> QueryPropertyUi(This,pUnkReserved) ) 621 622 #define INetCfgComponentPropertyUi_SetContext(This,pUnkReserved) \ 623 ( (This)->lpVtbl -> SetContext(This,pUnkReserved) ) 624 625 #define INetCfgComponentPropertyUi_MergePropPages(This,pdwDefPages,pahpspPrivate,pcPages,hwndParent,pszStartPage) \ 626 ( (This)->lpVtbl -> MergePropPages(This,pdwDefPages,pahpspPrivate,pcPages,hwndParent,pszStartPage) ) 627 628 #define INetCfgComponentPropertyUi_ValidateProperties(This,hwndSheet) \ 629 ( (This)->lpVtbl -> ValidateProperties(This,hwndSheet) ) 630 631 #define INetCfgComponentPropertyUi_ApplyProperties(This) \ 632 ( (This)->lpVtbl -> ApplyProperties(This) ) 633 634 #define INetCfgComponentPropertyUi_CancelProperties(This) \ 635 ( (This)->lpVtbl -> CancelProperties(This) ) 636 637 #endif /* COBJMACROS */ 638 639 640 #endif /* C style interface */ 641 642 643 644 645 #endif /* __INetCfgComponentPropertyUi_INTERFACE_DEFINED__ */ 646 647 648 #ifndef __INetCfgComponentNotifyBinding_INTERFACE_DEFINED__ 649 #define __INetCfgComponentNotifyBinding_INTERFACE_DEFINED__ 650 651 /* interface INetCfgComponentNotifyBinding */ 652 /* [unique][uuid][object][local] */ 653 654 typedef /* [v1_enum] */ 655 enum tagBIND_FLAGS1 656 { NCN_ADD = 0x1, 657 NCN_REMOVE = 0x2, 658 NCN_UPDATE = 0x4, 659 NCN_ENABLE = 0x10, 660 NCN_DISABLE = 0x20, 661 NCN_BINDING_PATH = 0x100, 662 NCN_PROPERTYCHANGE = 0x200, 663 NCN_NET = 0x10000, 664 NCN_NETTRANS = 0x20000, 665 NCN_NETCLIENT = 0x40000, 666 NCN_NETSERVICE = 0x80000 667 } BIND_FLAGS1; 668 669 670 EXTERN_C const IID IID_INetCfgComponentNotifyBinding; 671 672 #if defined(__cplusplus) && !defined(CINTERFACE) 673 674 MIDL_INTERFACE("932238e1-bea1-11d0-9298-00c04fc99dcf") 675 INetCfgComponentNotifyBinding : public IUnknown 676 { 677 public: 678 virtual HRESULT STDMETHODCALLTYPE QueryBindingPath( 679 /* [annotation][in] */ 680 __in DWORD dwChangeFlag, 681 /* [annotation][in] */ 682 __in INetCfgBindingPath *pIPath) = 0; 683 684 virtual HRESULT STDMETHODCALLTYPE NotifyBindingPath( 685 /* [annotation][in] */ 686 __in DWORD dwChangeFlag, 687 /* [annotation][in] */ 688 __in INetCfgBindingPath *pIPath) = 0; 689 690 }; 691 692 #else /* C style interface */ 693 694 typedef struct INetCfgComponentNotifyBindingVtbl 695 { 696 BEGIN_INTERFACE 697 698 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 699 INetCfgComponentNotifyBinding * This, 700 /* [in] */ REFIID riid, 701 /* [annotation][iid_is][out] */ 702 __RPC__deref_out void **ppvObject); 703 704 ULONG ( STDMETHODCALLTYPE *AddRef )( 705 INetCfgComponentNotifyBinding * This); 706 707 ULONG ( STDMETHODCALLTYPE *Release )( 708 INetCfgComponentNotifyBinding * This); 709 710 HRESULT ( STDMETHODCALLTYPE *QueryBindingPath )( 711 INetCfgComponentNotifyBinding * This, 712 /* [annotation][in] */ 713 __in DWORD dwChangeFlag, 714 /* [annotation][in] */ 715 __in INetCfgBindingPath *pIPath); 716 717 HRESULT ( STDMETHODCALLTYPE *NotifyBindingPath )( 718 INetCfgComponentNotifyBinding * This, 719 /* [annotation][in] */ 720 __in DWORD dwChangeFlag, 721 /* [annotation][in] */ 722 __in INetCfgBindingPath *pIPath); 723 724 END_INTERFACE 725 } INetCfgComponentNotifyBindingVtbl; 726 727 interface INetCfgComponentNotifyBinding 728 { 729 CONST_VTBL struct INetCfgComponentNotifyBindingVtbl *lpVtbl; 730 }; 731 732 733 734 #ifdef COBJMACROS 735 736 737 #define INetCfgComponentNotifyBinding_QueryInterface(This,riid,ppvObject) \ 738 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 739 740 #define INetCfgComponentNotifyBinding_AddRef(This) \ 741 ( (This)->lpVtbl -> AddRef(This) ) 742 743 #define INetCfgComponentNotifyBinding_Release(This) \ 744 ( (This)->lpVtbl -> Release(This) ) 745 746 747 #define INetCfgComponentNotifyBinding_QueryBindingPath(This,dwChangeFlag,pIPath) \ 748 ( (This)->lpVtbl -> QueryBindingPath(This,dwChangeFlag,pIPath) ) 749 750 #define INetCfgComponentNotifyBinding_NotifyBindingPath(This,dwChangeFlag,pIPath) \ 751 ( (This)->lpVtbl -> NotifyBindingPath(This,dwChangeFlag,pIPath) ) 752 753 #endif /* COBJMACROS */ 754 755 756 #endif /* C style interface */ 757 758 759 760 761 #endif /* __INetCfgComponentNotifyBinding_INTERFACE_DEFINED__ */ 762 763 764 #ifndef __INetCfgComponentNotifyGlobal_INTERFACE_DEFINED__ 765 #define __INetCfgComponentNotifyGlobal_INTERFACE_DEFINED__ 766 767 /* interface INetCfgComponentNotifyGlobal */ 768 /* [unique][uuid][object][local] */ 769 770 771 EXTERN_C const IID IID_INetCfgComponentNotifyGlobal; 772 773 #if defined(__cplusplus) && !defined(CINTERFACE) 774 775 MIDL_INTERFACE("932238e2-bea1-11d0-9298-00c04fc99dcf") 776 INetCfgComponentNotifyGlobal : public IUnknown 777 { 778 public: 779 virtual HRESULT STDMETHODCALLTYPE GetSupportedNotifications( 780 /* [annotation][out] */ 781 __out DWORD *dwNotifications) = 0; 782 783 virtual HRESULT STDMETHODCALLTYPE SysQueryBindingPath( 784 /* [annotation][in] */ 785 __in DWORD dwChangeFlag, 786 /* [annotation][in] */ 787 __in INetCfgBindingPath *pIPath) = 0; 788 789 virtual HRESULT STDMETHODCALLTYPE SysNotifyBindingPath( 790 /* [annotation][in] */ 791 __in DWORD dwChangeFlag, 792 /* [annotation][in] */ 793 __in INetCfgBindingPath *pIPath) = 0; 794 795 virtual HRESULT STDMETHODCALLTYPE SysNotifyComponent( 796 /* [annotation][in] */ 797 __in DWORD dwChangeFlag, 798 /* [annotation][in] */ 799 __in INetCfgComponent *pIComp) = 0; 800 801 }; 802 803 #else /* C style interface */ 804 805 typedef struct INetCfgComponentNotifyGlobalVtbl 806 { 807 BEGIN_INTERFACE 808 809 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 810 INetCfgComponentNotifyGlobal * This, 811 /* [in] */ REFIID riid, 812 /* [annotation][iid_is][out] */ 813 __RPC__deref_out void **ppvObject); 814 815 ULONG ( STDMETHODCALLTYPE *AddRef )( 816 INetCfgComponentNotifyGlobal * This); 817 818 ULONG ( STDMETHODCALLTYPE *Release )( 819 INetCfgComponentNotifyGlobal * This); 820 821 HRESULT ( STDMETHODCALLTYPE *GetSupportedNotifications )( 822 INetCfgComponentNotifyGlobal * This, 823 /* [annotation][out] */ 824 __out DWORD *dwNotifications); 825 826 HRESULT ( STDMETHODCALLTYPE *SysQueryBindingPath )( 827 INetCfgComponentNotifyGlobal * This, 828 /* [annotation][in] */ 829 __in DWORD dwChangeFlag, 830 /* [annotation][in] */ 831 __in INetCfgBindingPath *pIPath); 832 833 HRESULT ( STDMETHODCALLTYPE *SysNotifyBindingPath )( 834 INetCfgComponentNotifyGlobal * This, 835 /* [annotation][in] */ 836 __in DWORD dwChangeFlag, 837 /* [annotation][in] */ 838 __in INetCfgBindingPath *pIPath); 839 840 HRESULT ( STDMETHODCALLTYPE *SysNotifyComponent )( 841 INetCfgComponentNotifyGlobal * This, 842 /* [annotation][in] */ 843 __in DWORD dwChangeFlag, 844 /* [annotation][in] */ 845 __in INetCfgComponent *pIComp); 846 847 END_INTERFACE 848 } INetCfgComponentNotifyGlobalVtbl; 849 850 interface INetCfgComponentNotifyGlobal 851 { 852 CONST_VTBL struct INetCfgComponentNotifyGlobalVtbl *lpVtbl; 853 }; 854 855 856 857 #ifdef COBJMACROS 858 859 860 #define INetCfgComponentNotifyGlobal_QueryInterface(This,riid,ppvObject) \ 861 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 862 863 #define INetCfgComponentNotifyGlobal_AddRef(This) \ 864 ( (This)->lpVtbl -> AddRef(This) ) 865 866 #define INetCfgComponentNotifyGlobal_Release(This) \ 867 ( (This)->lpVtbl -> Release(This) ) 868 869 870 #define INetCfgComponentNotifyGlobal_GetSupportedNotifications(This,dwNotifications) \ 871 ( (This)->lpVtbl -> GetSupportedNotifications(This,dwNotifications) ) 872 873 #define INetCfgComponentNotifyGlobal_SysQueryBindingPath(This,dwChangeFlag,pIPath) \ 874 ( (This)->lpVtbl -> SysQueryBindingPath(This,dwChangeFlag,pIPath) ) 875 876 #define INetCfgComponentNotifyGlobal_SysNotifyBindingPath(This,dwChangeFlag,pIPath) \ 877 ( (This)->lpVtbl -> SysNotifyBindingPath(This,dwChangeFlag,pIPath) ) 878 879 #define INetCfgComponentNotifyGlobal_SysNotifyComponent(This,dwChangeFlag,pIComp) \ 880 ( (This)->lpVtbl -> SysNotifyComponent(This,dwChangeFlag,pIComp) ) 881 882 #endif /* COBJMACROS */ 883 884 885 #endif /* C style interface */ 886 887 888 889 890 #endif /* __INetCfgComponentNotifyGlobal_INTERFACE_DEFINED__ */ 891 892 893 #ifndef __INetCfgComponentUpperEdge_INTERFACE_DEFINED__ 894 #define __INetCfgComponentUpperEdge_INTERFACE_DEFINED__ 895 896 /* interface INetCfgComponentUpperEdge */ 897 /* [unique][uuid][object][local] */ 898 899 900 EXTERN_C const IID IID_INetCfgComponentUpperEdge; 901 902 #if defined(__cplusplus) && !defined(CINTERFACE) 903 904 MIDL_INTERFACE("932238e4-bea1-11d0-9298-00c04fc99dcf") 905 INetCfgComponentUpperEdge : public IUnknown 906 { 907 public: 908 virtual HRESULT STDMETHODCALLTYPE GetInterfaceIdsForAdapter( 909 /* [annotation][in] */ 910 __in INetCfgComponent *pAdapter, 911 /* [annotation][out] */ 912 __out DWORD *pdwNumInterfaces, 913 /* [annotation][out] */ 914 __deref_out_opt GUID **ppguidInterfaceIds) = 0; 915 916 virtual HRESULT STDMETHODCALLTYPE AddInterfacesToAdapter( 917 /* [annotation][in] */ 918 __in INetCfgComponent *pAdapter, 919 /* [annotation][in] */ 920 __in DWORD dwNumInterfaces) = 0; 921 922 virtual HRESULT STDMETHODCALLTYPE RemoveInterfacesFromAdapter( 923 /* [annotation][in] */ 924 __in INetCfgComponent *pAdapter, 925 /* [annotation][in] */ 926 __in DWORD dwNumInterfaces, 927 /* [annotation][in] */ 928 __in const GUID *pguidInterfaceIds) = 0; 929 930 }; 931 932 #else /* C style interface */ 933 934 typedef struct INetCfgComponentUpperEdgeVtbl 935 { 936 BEGIN_INTERFACE 937 938 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 939 INetCfgComponentUpperEdge * This, 940 /* [in] */ REFIID riid, 941 /* [annotation][iid_is][out] */ 942 __RPC__deref_out void **ppvObject); 943 944 ULONG ( STDMETHODCALLTYPE *AddRef )( 945 INetCfgComponentUpperEdge * This); 946 947 ULONG ( STDMETHODCALLTYPE *Release )( 948 INetCfgComponentUpperEdge * This); 949 950 HRESULT ( STDMETHODCALLTYPE *GetInterfaceIdsForAdapter )( 951 INetCfgComponentUpperEdge * This, 952 /* [annotation][in] */ 953 __in INetCfgComponent *pAdapter, 954 /* [annotation][out] */ 955 __out DWORD *pdwNumInterfaces, 956 /* [annotation][out] */ 957 __deref_out_opt GUID **ppguidInterfaceIds); 958 959 HRESULT ( STDMETHODCALLTYPE *AddInterfacesToAdapter )( 960 INetCfgComponentUpperEdge * This, 961 /* [annotation][in] */ 962 __in INetCfgComponent *pAdapter, 963 /* [annotation][in] */ 964 __in DWORD dwNumInterfaces); 965 966 HRESULT ( STDMETHODCALLTYPE *RemoveInterfacesFromAdapter )( 967 INetCfgComponentUpperEdge * This, 968 /* [annotation][in] */ 969 __in INetCfgComponent *pAdapter, 970 /* [annotation][in] */ 971 __in DWORD dwNumInterfaces, 972 /* [annotation][in] */ 973 __in const GUID *pguidInterfaceIds); 974 975 END_INTERFACE 976 } INetCfgComponentUpperEdgeVtbl; 977 978 interface INetCfgComponentUpperEdge 979 { 980 CONST_VTBL struct INetCfgComponentUpperEdgeVtbl *lpVtbl; 981 }; 982 983 984 985 #ifdef COBJMACROS 986 987 988 #define INetCfgComponentUpperEdge_QueryInterface(This,riid,ppvObject) \ 989 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 990 991 #define INetCfgComponentUpperEdge_AddRef(This) \ 992 ( (This)->lpVtbl -> AddRef(This) ) 993 994 #define INetCfgComponentUpperEdge_Release(This) \ 995 ( (This)->lpVtbl -> Release(This) ) 996 997 998 #define INetCfgComponentUpperEdge_GetInterfaceIdsForAdapter(This,pAdapter,pdwNumInterfaces,ppguidInterfaceIds) \ 999 ( (This)->lpVtbl -> GetInterfaceIdsForAdapter(This,pAdapter,pdwNumInterfaces,ppguidInterfaceIds) ) 1000 1001 #define INetCfgComponentUpperEdge_AddInterfacesToAdapter(This,pAdapter,dwNumInterfaces) \ 1002 ( (This)->lpVtbl -> AddInterfacesToAdapter(This,pAdapter,dwNumInterfaces) ) 1003 1004 #define INetCfgComponentUpperEdge_RemoveInterfacesFromAdapter(This,pAdapter,dwNumInterfaces,pguidInterfaceIds) \ 1005 ( (This)->lpVtbl -> RemoveInterfacesFromAdapter(This,pAdapter,dwNumInterfaces,pguidInterfaceIds) ) 1006 1007 #endif /* COBJMACROS */ 1008 1009 1010 #endif /* C style interface */ 1011 1012 1013 1014 1015 #endif /* __INetCfgComponentUpperEdge_INTERFACE_DEFINED__ */ 1016 1017 1018 #ifndef __INetLanConnectionUiInfo_INTERFACE_DEFINED__ 1019 #define __INetLanConnectionUiInfo_INTERFACE_DEFINED__ 1020 1021 /* interface INetLanConnectionUiInfo */ 1022 /* [unique][uuid][object] */ 1023 1024 1025 EXTERN_C const IID IID_INetLanConnectionUiInfo; 1026 1027 #if defined(__cplusplus) && !defined(CINTERFACE) 1028 1029 MIDL_INTERFACE("C08956A6-1CD3-11D1-B1C5-00805FC1270E") 1030 INetLanConnectionUiInfo : public IUnknown 1031 { 1032 public: 1033 virtual HRESULT STDMETHODCALLTYPE GetDeviceGuid( 1034 /* [out] */ __RPC__out GUID *pguid) = 0; 1035 1036 }; 1037 1038 #else /* C style interface */ 1039 1040 typedef struct INetLanConnectionUiInfoVtbl 1041 { 1042 BEGIN_INTERFACE 1043 1044 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 1045 __RPC__in INetLanConnectionUiInfo * This, 1046 /* [in] */ __RPC__in REFIID riid, 1047 /* [annotation][iid_is][out] */ 1048 __RPC__deref_out void **ppvObject); 1049 1050 ULONG ( STDMETHODCALLTYPE *AddRef )( 1051 __RPC__in INetLanConnectionUiInfo * This); 1052 1053 ULONG ( STDMETHODCALLTYPE *Release )( 1054 __RPC__in INetLanConnectionUiInfo * This); 1055 1056 HRESULT ( STDMETHODCALLTYPE *GetDeviceGuid )( 1057 __RPC__in INetLanConnectionUiInfo * This, 1058 /* [out] */ __RPC__out GUID *pguid); 1059 1060 END_INTERFACE 1061 } INetLanConnectionUiInfoVtbl; 1062 1063 interface INetLanConnectionUiInfo 1064 { 1065 CONST_VTBL struct INetLanConnectionUiInfoVtbl *lpVtbl; 1066 }; 1067 1068 1069 1070 #ifdef COBJMACROS 1071 1072 1073 #define INetLanConnectionUiInfo_QueryInterface(This,riid,ppvObject) \ 1074 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1075 1076 #define INetLanConnectionUiInfo_AddRef(This) \ 1077 ( (This)->lpVtbl -> AddRef(This) ) 1078 1079 #define INetLanConnectionUiInfo_Release(This) \ 1080 ( (This)->lpVtbl -> Release(This) ) 1081 1082 1083 #define INetLanConnectionUiInfo_GetDeviceGuid(This,pguid) \ 1084 ( (This)->lpVtbl -> GetDeviceGuid(This,pguid) ) 1085 1086 #endif /* COBJMACROS */ 1087 1088 1089 #endif /* C style interface */ 1090 1091 1092 1093 1094 #endif /* __INetLanConnectionUiInfo_INTERFACE_DEFINED__ */ 1095 1096 1097 #ifndef __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__ 1098 #define __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__ 1099 1100 /* interface INetRasConnectionIpUiInfo */ 1101 /* [unique][uuid][object] */ 1102 1103 typedef 1104 enum tagRASCON_IPUI_FLAGS 1105 { RCUIF_VPN = 0x1, 1106 RCUIF_DEMAND_DIAL = 0x2, 1107 RCUIF_NOT_ADMIN = 0x4, 1108 RCUIF_USE_IPv4_STATICADDRESS = 0x8, 1109 RCUIF_USE_IPv4_NAME_SERVERS = 0x10, 1110 RCUIF_USE_IPv4_REMOTE_GATEWAY = 0x20, 1111 RCUIF_USE_IPv4_EXPLICIT_METRIC = 0x40, 1112 RCUIF_USE_HEADER_COMPRESSION = 0x80, 1113 RCUIF_USE_DISABLE_REGISTER_DNS = 0x100, 1114 RCUIF_USE_PRIVATE_DNS_SUFFIX = 0x200, 1115 RCUIF_ENABLE_NBT = 0x400, 1116 RCUIF_USE_IPv6_STATICADDRESS = 0x800, 1117 RCUIF_USE_IPv6_NAME_SERVERS = 0x1000, 1118 RCUIF_USE_IPv6_REMOTE_GATEWAY = 0x2000, 1119 RCUIF_USE_IPv6_EXPLICIT_METRIC = 0x4000, 1120 RCUIF_DISABLE_CLASS_BASED_ROUTE = 0x8000 1121 } RASCON_UIINFO_FLAGS; 1122 1123 typedef struct tagRASCON_IPUI 1124 { 1125 GUID guidConnection; 1126 BOOL fIPv6Cfg; 1127 DWORD dwFlags; 1128 WCHAR pszwIpAddr[ 16 ]; 1129 WCHAR pszwDnsAddr[ 16 ]; 1130 WCHAR pszwDns2Addr[ 16 ]; 1131 WCHAR pszwWinsAddr[ 16 ]; 1132 WCHAR pszwWins2Addr[ 16 ]; 1133 WCHAR pszwDnsSuffix[ 256 ]; 1134 WCHAR pszwIpv6Addr[ 65 ]; 1135 DWORD dwIpv6PrefixLength; 1136 WCHAR pszwIpv6DnsAddr[ 65 ]; 1137 WCHAR pszwIpv6Dns2Addr[ 65 ]; 1138 DWORD dwIPv4InfMetric; 1139 DWORD dwIPv6InfMetric; 1140 } RASCON_IPUI; 1141 1142 1143 EXTERN_C const IID IID_INetRasConnectionIpUiInfo; 1144 1145 #if defined(__cplusplus) && !defined(CINTERFACE) 1146 1147 MIDL_INTERFACE("FAEDCF58-31FE-11D1-AAD2-00805FC1270E") 1148 INetRasConnectionIpUiInfo : public IUnknown 1149 { 1150 public: 1151 virtual HRESULT STDMETHODCALLTYPE GetUiInfo( 1152 /* [out] */ __RPC__out RASCON_IPUI *pInfo) = 0; 1153 1154 }; 1155 1156 #else /* C style interface */ 1157 1158 typedef struct INetRasConnectionIpUiInfoVtbl 1159 { 1160 BEGIN_INTERFACE 1161 1162 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 1163 __RPC__in INetRasConnectionIpUiInfo * This, 1164 /* [in] */ __RPC__in REFIID riid, 1165 /* [annotation][iid_is][out] */ 1166 __RPC__deref_out void **ppvObject); 1167 1168 ULONG ( STDMETHODCALLTYPE *AddRef )( 1169 __RPC__in INetRasConnectionIpUiInfo * This); 1170 1171 ULONG ( STDMETHODCALLTYPE *Release )( 1172 __RPC__in INetRasConnectionIpUiInfo * This); 1173 1174 HRESULT ( STDMETHODCALLTYPE *GetUiInfo )( 1175 __RPC__in INetRasConnectionIpUiInfo * This, 1176 /* [out] */ __RPC__out RASCON_IPUI *pInfo); 1177 1178 END_INTERFACE 1179 } INetRasConnectionIpUiInfoVtbl; 1180 1181 interface INetRasConnectionIpUiInfo 1182 { 1183 CONST_VTBL struct INetRasConnectionIpUiInfoVtbl *lpVtbl; 1184 }; 1185 1186 1187 1188 #ifdef COBJMACROS 1189 1190 1191 #define INetRasConnectionIpUiInfo_QueryInterface(This,riid,ppvObject) \ 1192 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1193 1194 #define INetRasConnectionIpUiInfo_AddRef(This) \ 1195 ( (This)->lpVtbl -> AddRef(This) ) 1196 1197 #define INetRasConnectionIpUiInfo_Release(This) \ 1198 ( (This)->lpVtbl -> Release(This) ) 1199 1200 1201 #define INetRasConnectionIpUiInfo_GetUiInfo(This,pInfo) \ 1202 ( (This)->lpVtbl -> GetUiInfo(This,pInfo) ) 1203 1204 #endif /* COBJMACROS */ 1205 1206 1207 #endif /* C style interface */ 1208 1209 1210 1211 1212 #endif /* __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__ */ 1213 1214 1215 #ifndef __INetCfgComponentSysPrep_INTERFACE_DEFINED__ 1216 #define __INetCfgComponentSysPrep_INTERFACE_DEFINED__ 1217 1218 /* interface INetCfgComponentSysPrep */ 1219 /* [unique][uuid][object][local] */ 1220 1221 1222 EXTERN_C const IID IID_INetCfgComponentSysPrep; 1223 1224 #if defined(__cplusplus) && !defined(CINTERFACE) 1225 1226 MIDL_INTERFACE("C0E8AE9A-306E-11D1-AACF-00805FC1270E") 1227 INetCfgComponentSysPrep : public IUnknown 1228 { 1229 public: 1230 virtual HRESULT STDMETHODCALLTYPE SaveAdapterParameters( 1231 /* [annotation][in] */ 1232 __in INetCfgSysPrep *pncsp, 1233 /* [annotation][in] */ 1234 __in LPCWSTR pszwAnswerSections, 1235 /* [annotation][in] */ 1236 __in GUID *pAdapterInstanceGuid) = 0; 1237 1238 virtual HRESULT STDMETHODCALLTYPE RestoreAdapterParameters( 1239 /* [annotation][in] */ 1240 __in LPCWSTR pszwAnswerFile, 1241 /* [annotation][in] */ 1242 __in LPCWSTR pszwAnswerSection, 1243 /* [annotation][in] */ 1244 __in GUID *pAdapterInstanceGuid) = 0; 1245 1246 }; 1247 1248 #else /* C style interface */ 1249 1250 typedef struct INetCfgComponentSysPrepVtbl 1251 { 1252 BEGIN_INTERFACE 1253 1254 HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 1255 INetCfgComponentSysPrep * This, 1256 /* [in] */ REFIID riid, 1257 /* [annotation][iid_is][out] */ 1258 __RPC__deref_out void **ppvObject); 1259 1260 ULONG ( STDMETHODCALLTYPE *AddRef )( 1261 INetCfgComponentSysPrep * This); 1262 1263 ULONG ( STDMETHODCALLTYPE *Release )( 1264 INetCfgComponentSysPrep * This); 1265 1266 HRESULT ( STDMETHODCALLTYPE *SaveAdapterParameters )( 1267 INetCfgComponentSysPrep * This, 1268 /* [annotation][in] */ 1269 __in INetCfgSysPrep *pncsp, 1270 /* [annotation][in] */ 1271 __in LPCWSTR pszwAnswerSections, 1272 /* [annotation][in] */ 1273 __in GUID *pAdapterInstanceGuid); 1274 1275 HRESULT ( STDMETHODCALLTYPE *RestoreAdapterParameters )( 1276 INetCfgComponentSysPrep * This, 1277 /* [annotation][in] */ 1278 __in LPCWSTR pszwAnswerFile, 1279 /* [annotation][in] */ 1280 __in LPCWSTR pszwAnswerSection, 1281 /* [annotation][in] */ 1282 __in GUID *pAdapterInstanceGuid); 1283 1284 END_INTERFACE 1285 } INetCfgComponentSysPrepVtbl; 1286 1287 interface INetCfgComponentSysPrep 1288 { 1289 CONST_VTBL struct INetCfgComponentSysPrepVtbl *lpVtbl; 1290 }; 1291 1292 1293 1294 #ifdef COBJMACROS 1295 1296 1297 #define INetCfgComponentSysPrep_QueryInterface(This,riid,ppvObject) \ 1298 ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 1299 1300 #define INetCfgComponentSysPrep_AddRef(This) \ 1301 ( (This)->lpVtbl -> AddRef(This) ) 1302 1303 #define INetCfgComponentSysPrep_Release(This) \ 1304 ( (This)->lpVtbl -> Release(This) ) 1305 1306 1307 #define INetCfgComponentSysPrep_SaveAdapterParameters(This,pncsp,pszwAnswerSections,pAdapterInstanceGuid) \ 1308 ( (This)->lpVtbl -> SaveAdapterParameters(This,pncsp,pszwAnswerSections,pAdapterInstanceGuid) ) 1309 1310 #define INetCfgComponentSysPrep_RestoreAdapterParameters(This,pszwAnswerFile,pszwAnswerSection,pAdapterInstanceGuid) \ 1311 ( (This)->lpVtbl -> RestoreAdapterParameters(This,pszwAnswerFile,pszwAnswerSection,pAdapterInstanceGuid) ) 1312 1313 #endif /* COBJMACROS */ 1314 1315 1316 #endif /* C style interface */ 1317 1318 1319 1320 1321 #endif /* __INetCfgComponentSysPrep_INTERFACE_DEFINED__ */ 1322 1323 1324 /* Additional Prototypes for ALL interfaces */ 1325 1326 /* end of Additional Prototypes */ 1327 1328 #ifdef __cplusplus 1329 } 1330 #endif 1331 1332 #endif 1333 1334 1335 1336