netcfgn.h 45 KB

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