zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

netcfgn.h (45331B) - Raw


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