Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2518 lines
74 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 6.00.0361 */
  3. /* Compiler settings for netcfgx.idl:
  4. Oicf, W1, Zp8, env=Win32 (32b run)
  5. protocol : dce , ms_ext, c_ext, robust
  6. error checks: allocation ref bounds_check enum stub_data
  7. VC __declspec() decoration level:
  8. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  9. DECLSPEC_UUID(), MIDL_INTERFACE()
  10. */
  11. //@@MIDL_FILE_HEADING( )
  12. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __netcfgx_h__
  27. #define __netcfgx_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IEnumNetCfgBindingInterface_FWD_DEFINED__
  33. #define __IEnumNetCfgBindingInterface_FWD_DEFINED__
  34. typedef interface IEnumNetCfgBindingInterface IEnumNetCfgBindingInterface;
  35. #endif /* __IEnumNetCfgBindingInterface_FWD_DEFINED__ */
  36. #ifndef __IEnumNetCfgBindingPath_FWD_DEFINED__
  37. #define __IEnumNetCfgBindingPath_FWD_DEFINED__
  38. typedef interface IEnumNetCfgBindingPath IEnumNetCfgBindingPath;
  39. #endif /* __IEnumNetCfgBindingPath_FWD_DEFINED__ */
  40. #ifndef __IEnumNetCfgComponent_FWD_DEFINED__
  41. #define __IEnumNetCfgComponent_FWD_DEFINED__
  42. typedef interface IEnumNetCfgComponent IEnumNetCfgComponent;
  43. #endif /* __IEnumNetCfgComponent_FWD_DEFINED__ */
  44. #ifndef __INetCfg_FWD_DEFINED__
  45. #define __INetCfg_FWD_DEFINED__
  46. typedef interface INetCfg INetCfg;
  47. #endif /* __INetCfg_FWD_DEFINED__ */
  48. #ifndef __INetCfgLock_FWD_DEFINED__
  49. #define __INetCfgLock_FWD_DEFINED__
  50. typedef interface INetCfgLock INetCfgLock;
  51. #endif /* __INetCfgLock_FWD_DEFINED__ */
  52. #ifndef __INetCfgBindingInterface_FWD_DEFINED__
  53. #define __INetCfgBindingInterface_FWD_DEFINED__
  54. typedef interface INetCfgBindingInterface INetCfgBindingInterface;
  55. #endif /* __INetCfgBindingInterface_FWD_DEFINED__ */
  56. #ifndef __INetCfgBindingPath_FWD_DEFINED__
  57. #define __INetCfgBindingPath_FWD_DEFINED__
  58. typedef interface INetCfgBindingPath INetCfgBindingPath;
  59. #endif /* __INetCfgBindingPath_FWD_DEFINED__ */
  60. #ifndef __INetCfgClass_FWD_DEFINED__
  61. #define __INetCfgClass_FWD_DEFINED__
  62. typedef interface INetCfgClass INetCfgClass;
  63. #endif /* __INetCfgClass_FWD_DEFINED__ */
  64. #ifndef __INetCfgClassSetup_FWD_DEFINED__
  65. #define __INetCfgClassSetup_FWD_DEFINED__
  66. typedef interface INetCfgClassSetup INetCfgClassSetup;
  67. #endif /* __INetCfgClassSetup_FWD_DEFINED__ */
  68. #ifndef __INetCfgComponent_FWD_DEFINED__
  69. #define __INetCfgComponent_FWD_DEFINED__
  70. typedef interface INetCfgComponent INetCfgComponent;
  71. #endif /* __INetCfgComponent_FWD_DEFINED__ */
  72. #ifndef __INetCfgComponentBindings_FWD_DEFINED__
  73. #define __INetCfgComponentBindings_FWD_DEFINED__
  74. typedef interface INetCfgComponentBindings INetCfgComponentBindings;
  75. #endif /* __INetCfgComponentBindings_FWD_DEFINED__ */
  76. #ifndef __INetCfgSysPrep_FWD_DEFINED__
  77. #define __INetCfgSysPrep_FWD_DEFINED__
  78. typedef interface INetCfgSysPrep INetCfgSysPrep;
  79. #endif /* __INetCfgSysPrep_FWD_DEFINED__ */
  80. /* header files for imported files */
  81. #include "unknwn.h"
  82. #include "prsht.h"
  83. #ifdef __cplusplus
  84. extern "C"{
  85. #endif
  86. void * __RPC_USER MIDL_user_allocate(size_t);
  87. void __RPC_USER MIDL_user_free( void * );
  88. /* interface __MIDL_itf_netcfgx_0000 */
  89. /* [local] */
  90. //+-------------------------------------------------------------------------
  91. //
  92. // Microsoft Windows
  93. // Copyright (c) Microsoft Corporation. All rights reserved.
  94. //
  95. //--------------------------------------------------------------------------
  96. #if ( _MSC_VER >= 800 )
  97. #pragma warning(disable:4201)
  98. #endif
  99. EXTERN_C const CLSID CLSID_CNetCfg;
  100. #define NETCFG_E_ALREADY_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA020)
  101. #define NETCFG_E_NOT_INITIALIZED MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA021)
  102. #define NETCFG_E_IN_USE MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA022)
  103. #define NETCFG_E_NO_WRITE_LOCK MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA024)
  104. #define NETCFG_E_NEED_REBOOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA025)
  105. #define NETCFG_E_ACTIVE_RAS_CONNECTIONS MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA026)
  106. #define NETCFG_E_ADAPTER_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA027)
  107. #define NETCFG_E_COMPONENT_REMOVED_PENDING_REBOOT MAKE_HRESULT(SEVERITY_ERROR, FACILITY_ITF, 0xA028)
  108. #define NETCFG_S_REBOOT MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA020)
  109. #define NETCFG_S_DISABLE_QUERY MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA022)
  110. #define NETCFG_S_STILL_REFERENCED MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA023)
  111. #define NETCFG_S_CAUSED_SETUP_CHANGE MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA024)
  112. #define NETCFG_S_COMMIT_NOW MAKE_HRESULT(SEVERITY_SUCCESS, FACILITY_ITF, 0xA025)
  113. #define NETCFG_CLIENT_CID_MS_MSClient TEXT("ms_msclient")
  114. #define NETCFG_SERVICE_CID_MS_SERVER TEXT("ms_server")
  115. #define NETCFG_SERVICE_CID_MS_NETBIOS TEXT("ms_netbios")
  116. #define NETCFG_SERVICE_CID_MS_PSCHED TEXT("ms_pschedpc")
  117. #define NETCFG_SERVICE_CID_MS_WLBS TEXT("ms_wlbs")
  118. #define NETCFG_TRANS_CID_MS_APPLETALK TEXT("ms_appletalk")
  119. #define NETCFG_TRANS_CID_MS_NETBEUI TEXT("ms_netbeui")
  120. #define NETCFG_TRANS_CID_MS_NETMON TEXT("ms_netmon")
  121. #define NETCFG_TRANS_CID_MS_NWIPX TEXT("ms_nwipx")
  122. #define NETCFG_TRANS_CID_MS_NWSPX TEXT("ms_nwspx")
  123. #define NETCFG_TRANS_CID_MS_TCPIP TEXT("ms_tcpip")
  124. extern RPC_IF_HANDLE __MIDL_itf_netcfgx_0000_v0_0_c_ifspec;
  125. extern RPC_IF_HANDLE __MIDL_itf_netcfgx_0000_v0_0_s_ifspec;
  126. #ifndef __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__
  127. #define __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__
  128. /* interface IEnumNetCfgBindingInterface */
  129. /* [unique][uuid][object][local] */
  130. EXTERN_C const IID IID_IEnumNetCfgBindingInterface;
  131. #if defined(__cplusplus) && !defined(CINTERFACE)
  132. MIDL_INTERFACE("C0E8AE90-306E-11D1-AACF-00805FC1270E")
  133. IEnumNetCfgBindingInterface : public IUnknown
  134. {
  135. public:
  136. virtual HRESULT STDMETHODCALLTYPE Next(
  137. /* [in] */ ULONG celt,
  138. /* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
  139. /* [out] */ ULONG *pceltFetched) = 0;
  140. virtual HRESULT STDMETHODCALLTYPE Skip(
  141. /* [in] */ ULONG celt) = 0;
  142. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  143. virtual HRESULT STDMETHODCALLTYPE Clone(
  144. /* [out] */ IEnumNetCfgBindingInterface **ppenum) = 0;
  145. };
  146. #else /* C style interface */
  147. typedef struct IEnumNetCfgBindingInterfaceVtbl
  148. {
  149. BEGIN_INTERFACE
  150. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  151. IEnumNetCfgBindingInterface * This,
  152. /* [in] */ REFIID riid,
  153. /* [iid_is][out] */ void **ppvObject);
  154. ULONG ( STDMETHODCALLTYPE *AddRef )(
  155. IEnumNetCfgBindingInterface * This);
  156. ULONG ( STDMETHODCALLTYPE *Release )(
  157. IEnumNetCfgBindingInterface * This);
  158. HRESULT ( STDMETHODCALLTYPE *Next )(
  159. IEnumNetCfgBindingInterface * This,
  160. /* [in] */ ULONG celt,
  161. /* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
  162. /* [out] */ ULONG *pceltFetched);
  163. HRESULT ( STDMETHODCALLTYPE *Skip )(
  164. IEnumNetCfgBindingInterface * This,
  165. /* [in] */ ULONG celt);
  166. HRESULT ( STDMETHODCALLTYPE *Reset )(
  167. IEnumNetCfgBindingInterface * This);
  168. HRESULT ( STDMETHODCALLTYPE *Clone )(
  169. IEnumNetCfgBindingInterface * This,
  170. /* [out] */ IEnumNetCfgBindingInterface **ppenum);
  171. END_INTERFACE
  172. } IEnumNetCfgBindingInterfaceVtbl;
  173. interface IEnumNetCfgBindingInterface
  174. {
  175. CONST_VTBL struct IEnumNetCfgBindingInterfaceVtbl *lpVtbl;
  176. };
  177. #ifdef COBJMACROS
  178. #define IEnumNetCfgBindingInterface_QueryInterface(This,riid,ppvObject) \
  179. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  180. #define IEnumNetCfgBindingInterface_AddRef(This) \
  181. (This)->lpVtbl -> AddRef(This)
  182. #define IEnumNetCfgBindingInterface_Release(This) \
  183. (This)->lpVtbl -> Release(This)
  184. #define IEnumNetCfgBindingInterface_Next(This,celt,rgelt,pceltFetched) \
  185. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  186. #define IEnumNetCfgBindingInterface_Skip(This,celt) \
  187. (This)->lpVtbl -> Skip(This,celt)
  188. #define IEnumNetCfgBindingInterface_Reset(This) \
  189. (This)->lpVtbl -> Reset(This)
  190. #define IEnumNetCfgBindingInterface_Clone(This,ppenum) \
  191. (This)->lpVtbl -> Clone(This,ppenum)
  192. #endif /* COBJMACROS */
  193. #endif /* C style interface */
  194. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Next_Proxy(
  195. IEnumNetCfgBindingInterface * This,
  196. /* [in] */ ULONG celt,
  197. /* [length_is][size_is][out] */ INetCfgBindingInterface **rgelt,
  198. /* [out] */ ULONG *pceltFetched);
  199. void __RPC_STUB IEnumNetCfgBindingInterface_Next_Stub(
  200. IRpcStubBuffer *This,
  201. IRpcChannelBuffer *_pRpcChannelBuffer,
  202. PRPC_MESSAGE _pRpcMessage,
  203. DWORD *_pdwStubPhase);
  204. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Skip_Proxy(
  205. IEnumNetCfgBindingInterface * This,
  206. /* [in] */ ULONG celt);
  207. void __RPC_STUB IEnumNetCfgBindingInterface_Skip_Stub(
  208. IRpcStubBuffer *This,
  209. IRpcChannelBuffer *_pRpcChannelBuffer,
  210. PRPC_MESSAGE _pRpcMessage,
  211. DWORD *_pdwStubPhase);
  212. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Reset_Proxy(
  213. IEnumNetCfgBindingInterface * This);
  214. void __RPC_STUB IEnumNetCfgBindingInterface_Reset_Stub(
  215. IRpcStubBuffer *This,
  216. IRpcChannelBuffer *_pRpcChannelBuffer,
  217. PRPC_MESSAGE _pRpcMessage,
  218. DWORD *_pdwStubPhase);
  219. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingInterface_Clone_Proxy(
  220. IEnumNetCfgBindingInterface * This,
  221. /* [out] */ IEnumNetCfgBindingInterface **ppenum);
  222. void __RPC_STUB IEnumNetCfgBindingInterface_Clone_Stub(
  223. IRpcStubBuffer *This,
  224. IRpcChannelBuffer *_pRpcChannelBuffer,
  225. PRPC_MESSAGE _pRpcMessage,
  226. DWORD *_pdwStubPhase);
  227. #endif /* __IEnumNetCfgBindingInterface_INTERFACE_DEFINED__ */
  228. #ifndef __IEnumNetCfgBindingPath_INTERFACE_DEFINED__
  229. #define __IEnumNetCfgBindingPath_INTERFACE_DEFINED__
  230. /* interface IEnumNetCfgBindingPath */
  231. /* [unique][uuid][object][local] */
  232. EXTERN_C const IID IID_IEnumNetCfgBindingPath;
  233. #if defined(__cplusplus) && !defined(CINTERFACE)
  234. MIDL_INTERFACE("C0E8AE91-306E-11D1-AACF-00805FC1270E")
  235. IEnumNetCfgBindingPath : public IUnknown
  236. {
  237. public:
  238. virtual HRESULT STDMETHODCALLTYPE Next(
  239. /* [in] */ ULONG celt,
  240. /* [length_is][size_is][out] */ INetCfgBindingPath **rgelt,
  241. /* [out] */ ULONG *pceltFetched) = 0;
  242. virtual HRESULT STDMETHODCALLTYPE Skip(
  243. /* [in] */ ULONG celt) = 0;
  244. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  245. virtual HRESULT STDMETHODCALLTYPE Clone(
  246. /* [out] */ IEnumNetCfgBindingPath **ppenum) = 0;
  247. };
  248. #else /* C style interface */
  249. typedef struct IEnumNetCfgBindingPathVtbl
  250. {
  251. BEGIN_INTERFACE
  252. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  253. IEnumNetCfgBindingPath * This,
  254. /* [in] */ REFIID riid,
  255. /* [iid_is][out] */ void **ppvObject);
  256. ULONG ( STDMETHODCALLTYPE *AddRef )(
  257. IEnumNetCfgBindingPath * This);
  258. ULONG ( STDMETHODCALLTYPE *Release )(
  259. IEnumNetCfgBindingPath * This);
  260. HRESULT ( STDMETHODCALLTYPE *Next )(
  261. IEnumNetCfgBindingPath * This,
  262. /* [in] */ ULONG celt,
  263. /* [length_is][size_is][out] */ INetCfgBindingPath **rgelt,
  264. /* [out] */ ULONG *pceltFetched);
  265. HRESULT ( STDMETHODCALLTYPE *Skip )(
  266. IEnumNetCfgBindingPath * This,
  267. /* [in] */ ULONG celt);
  268. HRESULT ( STDMETHODCALLTYPE *Reset )(
  269. IEnumNetCfgBindingPath * This);
  270. HRESULT ( STDMETHODCALLTYPE *Clone )(
  271. IEnumNetCfgBindingPath * This,
  272. /* [out] */ IEnumNetCfgBindingPath **ppenum);
  273. END_INTERFACE
  274. } IEnumNetCfgBindingPathVtbl;
  275. interface IEnumNetCfgBindingPath
  276. {
  277. CONST_VTBL struct IEnumNetCfgBindingPathVtbl *lpVtbl;
  278. };
  279. #ifdef COBJMACROS
  280. #define IEnumNetCfgBindingPath_QueryInterface(This,riid,ppvObject) \
  281. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  282. #define IEnumNetCfgBindingPath_AddRef(This) \
  283. (This)->lpVtbl -> AddRef(This)
  284. #define IEnumNetCfgBindingPath_Release(This) \
  285. (This)->lpVtbl -> Release(This)
  286. #define IEnumNetCfgBindingPath_Next(This,celt,rgelt,pceltFetched) \
  287. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  288. #define IEnumNetCfgBindingPath_Skip(This,celt) \
  289. (This)->lpVtbl -> Skip(This,celt)
  290. #define IEnumNetCfgBindingPath_Reset(This) \
  291. (This)->lpVtbl -> Reset(This)
  292. #define IEnumNetCfgBindingPath_Clone(This,ppenum) \
  293. (This)->lpVtbl -> Clone(This,ppenum)
  294. #endif /* COBJMACROS */
  295. #endif /* C style interface */
  296. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingPath_Next_Proxy(
  297. IEnumNetCfgBindingPath * This,
  298. /* [in] */ ULONG celt,
  299. /* [length_is][size_is][out] */ INetCfgBindingPath **rgelt,
  300. /* [out] */ ULONG *pceltFetched);
  301. void __RPC_STUB IEnumNetCfgBindingPath_Next_Stub(
  302. IRpcStubBuffer *This,
  303. IRpcChannelBuffer *_pRpcChannelBuffer,
  304. PRPC_MESSAGE _pRpcMessage,
  305. DWORD *_pdwStubPhase);
  306. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingPath_Skip_Proxy(
  307. IEnumNetCfgBindingPath * This,
  308. /* [in] */ ULONG celt);
  309. void __RPC_STUB IEnumNetCfgBindingPath_Skip_Stub(
  310. IRpcStubBuffer *This,
  311. IRpcChannelBuffer *_pRpcChannelBuffer,
  312. PRPC_MESSAGE _pRpcMessage,
  313. DWORD *_pdwStubPhase);
  314. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingPath_Reset_Proxy(
  315. IEnumNetCfgBindingPath * This);
  316. void __RPC_STUB IEnumNetCfgBindingPath_Reset_Stub(
  317. IRpcStubBuffer *This,
  318. IRpcChannelBuffer *_pRpcChannelBuffer,
  319. PRPC_MESSAGE _pRpcMessage,
  320. DWORD *_pdwStubPhase);
  321. HRESULT STDMETHODCALLTYPE IEnumNetCfgBindingPath_Clone_Proxy(
  322. IEnumNetCfgBindingPath * This,
  323. /* [out] */ IEnumNetCfgBindingPath **ppenum);
  324. void __RPC_STUB IEnumNetCfgBindingPath_Clone_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. #endif /* __IEnumNetCfgBindingPath_INTERFACE_DEFINED__ */
  330. #ifndef __IEnumNetCfgComponent_INTERFACE_DEFINED__
  331. #define __IEnumNetCfgComponent_INTERFACE_DEFINED__
  332. /* interface IEnumNetCfgComponent */
  333. /* [unique][uuid][object][local] */
  334. EXTERN_C const IID IID_IEnumNetCfgComponent;
  335. #if defined(__cplusplus) && !defined(CINTERFACE)
  336. MIDL_INTERFACE("C0E8AE92-306E-11D1-AACF-00805FC1270E")
  337. IEnumNetCfgComponent : public IUnknown
  338. {
  339. public:
  340. virtual HRESULT STDMETHODCALLTYPE Next(
  341. /* [in] */ ULONG celt,
  342. /* [length_is][size_is][out] */ INetCfgComponent **rgelt,
  343. /* [out] */ ULONG *pceltFetched) = 0;
  344. virtual HRESULT STDMETHODCALLTYPE Skip(
  345. /* [in] */ ULONG celt) = 0;
  346. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  347. virtual HRESULT STDMETHODCALLTYPE Clone(
  348. /* [out] */ IEnumNetCfgComponent **ppenum) = 0;
  349. };
  350. #else /* C style interface */
  351. typedef struct IEnumNetCfgComponentVtbl
  352. {
  353. BEGIN_INTERFACE
  354. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  355. IEnumNetCfgComponent * This,
  356. /* [in] */ REFIID riid,
  357. /* [iid_is][out] */ void **ppvObject);
  358. ULONG ( STDMETHODCALLTYPE *AddRef )(
  359. IEnumNetCfgComponent * This);
  360. ULONG ( STDMETHODCALLTYPE *Release )(
  361. IEnumNetCfgComponent * This);
  362. HRESULT ( STDMETHODCALLTYPE *Next )(
  363. IEnumNetCfgComponent * This,
  364. /* [in] */ ULONG celt,
  365. /* [length_is][size_is][out] */ INetCfgComponent **rgelt,
  366. /* [out] */ ULONG *pceltFetched);
  367. HRESULT ( STDMETHODCALLTYPE *Skip )(
  368. IEnumNetCfgComponent * This,
  369. /* [in] */ ULONG celt);
  370. HRESULT ( STDMETHODCALLTYPE *Reset )(
  371. IEnumNetCfgComponent * This);
  372. HRESULT ( STDMETHODCALLTYPE *Clone )(
  373. IEnumNetCfgComponent * This,
  374. /* [out] */ IEnumNetCfgComponent **ppenum);
  375. END_INTERFACE
  376. } IEnumNetCfgComponentVtbl;
  377. interface IEnumNetCfgComponent
  378. {
  379. CONST_VTBL struct IEnumNetCfgComponentVtbl *lpVtbl;
  380. };
  381. #ifdef COBJMACROS
  382. #define IEnumNetCfgComponent_QueryInterface(This,riid,ppvObject) \
  383. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  384. #define IEnumNetCfgComponent_AddRef(This) \
  385. (This)->lpVtbl -> AddRef(This)
  386. #define IEnumNetCfgComponent_Release(This) \
  387. (This)->lpVtbl -> Release(This)
  388. #define IEnumNetCfgComponent_Next(This,celt,rgelt,pceltFetched) \
  389. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  390. #define IEnumNetCfgComponent_Skip(This,celt) \
  391. (This)->lpVtbl -> Skip(This,celt)
  392. #define IEnumNetCfgComponent_Reset(This) \
  393. (This)->lpVtbl -> Reset(This)
  394. #define IEnumNetCfgComponent_Clone(This,ppenum) \
  395. (This)->lpVtbl -> Clone(This,ppenum)
  396. #endif /* COBJMACROS */
  397. #endif /* C style interface */
  398. HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Next_Proxy(
  399. IEnumNetCfgComponent * This,
  400. /* [in] */ ULONG celt,
  401. /* [length_is][size_is][out] */ INetCfgComponent **rgelt,
  402. /* [out] */ ULONG *pceltFetched);
  403. void __RPC_STUB IEnumNetCfgComponent_Next_Stub(
  404. IRpcStubBuffer *This,
  405. IRpcChannelBuffer *_pRpcChannelBuffer,
  406. PRPC_MESSAGE _pRpcMessage,
  407. DWORD *_pdwStubPhase);
  408. HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Skip_Proxy(
  409. IEnumNetCfgComponent * This,
  410. /* [in] */ ULONG celt);
  411. void __RPC_STUB IEnumNetCfgComponent_Skip_Stub(
  412. IRpcStubBuffer *This,
  413. IRpcChannelBuffer *_pRpcChannelBuffer,
  414. PRPC_MESSAGE _pRpcMessage,
  415. DWORD *_pdwStubPhase);
  416. HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Reset_Proxy(
  417. IEnumNetCfgComponent * This);
  418. void __RPC_STUB IEnumNetCfgComponent_Reset_Stub(
  419. IRpcStubBuffer *This,
  420. IRpcChannelBuffer *_pRpcChannelBuffer,
  421. PRPC_MESSAGE _pRpcMessage,
  422. DWORD *_pdwStubPhase);
  423. HRESULT STDMETHODCALLTYPE IEnumNetCfgComponent_Clone_Proxy(
  424. IEnumNetCfgComponent * This,
  425. /* [out] */ IEnumNetCfgComponent **ppenum);
  426. void __RPC_STUB IEnumNetCfgComponent_Clone_Stub(
  427. IRpcStubBuffer *This,
  428. IRpcChannelBuffer *_pRpcChannelBuffer,
  429. PRPC_MESSAGE _pRpcMessage,
  430. DWORD *_pdwStubPhase);
  431. #endif /* __IEnumNetCfgComponent_INTERFACE_DEFINED__ */
  432. #ifndef __INetCfg_INTERFACE_DEFINED__
  433. #define __INetCfg_INTERFACE_DEFINED__
  434. /* interface INetCfg */
  435. /* [unique][uuid][object][local] */
  436. EXTERN_C const IID IID_INetCfg;
  437. #if defined(__cplusplus) && !defined(CINTERFACE)
  438. MIDL_INTERFACE("C0E8AE93-306E-11D1-AACF-00805FC1270E")
  439. INetCfg : public IUnknown
  440. {
  441. public:
  442. virtual HRESULT STDMETHODCALLTYPE Initialize(
  443. /* [in] */ PVOID pvReserved) = 0;
  444. virtual HRESULT STDMETHODCALLTYPE Uninitialize( void) = 0;
  445. virtual HRESULT STDMETHODCALLTYPE Apply( void) = 0;
  446. virtual HRESULT STDMETHODCALLTYPE Cancel( void) = 0;
  447. virtual HRESULT STDMETHODCALLTYPE EnumComponents(
  448. /* [in] */ const GUID *pguidClass,
  449. /* [out] */ IEnumNetCfgComponent **ppenumComponent) = 0;
  450. virtual HRESULT STDMETHODCALLTYPE FindComponent(
  451. /* [string][in] */ LPCWSTR pszwInfId,
  452. /* [out] */ INetCfgComponent **pComponent) = 0;
  453. virtual HRESULT STDMETHODCALLTYPE QueryNetCfgClass(
  454. /* [in] */ const GUID *pguidClass,
  455. /* [in] */ REFIID riid,
  456. /* [iid_is][out] */ void **ppvObject) = 0;
  457. };
  458. #else /* C style interface */
  459. typedef struct INetCfgVtbl
  460. {
  461. BEGIN_INTERFACE
  462. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  463. INetCfg * This,
  464. /* [in] */ REFIID riid,
  465. /* [iid_is][out] */ void **ppvObject);
  466. ULONG ( STDMETHODCALLTYPE *AddRef )(
  467. INetCfg * This);
  468. ULONG ( STDMETHODCALLTYPE *Release )(
  469. INetCfg * This);
  470. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  471. INetCfg * This,
  472. /* [in] */ PVOID pvReserved);
  473. HRESULT ( STDMETHODCALLTYPE *Uninitialize )(
  474. INetCfg * This);
  475. HRESULT ( STDMETHODCALLTYPE *Apply )(
  476. INetCfg * This);
  477. HRESULT ( STDMETHODCALLTYPE *Cancel )(
  478. INetCfg * This);
  479. HRESULT ( STDMETHODCALLTYPE *EnumComponents )(
  480. INetCfg * This,
  481. /* [in] */ const GUID *pguidClass,
  482. /* [out] */ IEnumNetCfgComponent **ppenumComponent);
  483. HRESULT ( STDMETHODCALLTYPE *FindComponent )(
  484. INetCfg * This,
  485. /* [string][in] */ LPCWSTR pszwInfId,
  486. /* [out] */ INetCfgComponent **pComponent);
  487. HRESULT ( STDMETHODCALLTYPE *QueryNetCfgClass )(
  488. INetCfg * This,
  489. /* [in] */ const GUID *pguidClass,
  490. /* [in] */ REFIID riid,
  491. /* [iid_is][out] */ void **ppvObject);
  492. END_INTERFACE
  493. } INetCfgVtbl;
  494. interface INetCfg
  495. {
  496. CONST_VTBL struct INetCfgVtbl *lpVtbl;
  497. };
  498. #ifdef COBJMACROS
  499. #define INetCfg_QueryInterface(This,riid,ppvObject) \
  500. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  501. #define INetCfg_AddRef(This) \
  502. (This)->lpVtbl -> AddRef(This)
  503. #define INetCfg_Release(This) \
  504. (This)->lpVtbl -> Release(This)
  505. #define INetCfg_Initialize(This,pvReserved) \
  506. (This)->lpVtbl -> Initialize(This,pvReserved)
  507. #define INetCfg_Uninitialize(This) \
  508. (This)->lpVtbl -> Uninitialize(This)
  509. #define INetCfg_Apply(This) \
  510. (This)->lpVtbl -> Apply(This)
  511. #define INetCfg_Cancel(This) \
  512. (This)->lpVtbl -> Cancel(This)
  513. #define INetCfg_EnumComponents(This,pguidClass,ppenumComponent) \
  514. (This)->lpVtbl -> EnumComponents(This,pguidClass,ppenumComponent)
  515. #define INetCfg_FindComponent(This,pszwInfId,pComponent) \
  516. (This)->lpVtbl -> FindComponent(This,pszwInfId,pComponent)
  517. #define INetCfg_QueryNetCfgClass(This,pguidClass,riid,ppvObject) \
  518. (This)->lpVtbl -> QueryNetCfgClass(This,pguidClass,riid,ppvObject)
  519. #endif /* COBJMACROS */
  520. #endif /* C style interface */
  521. HRESULT STDMETHODCALLTYPE INetCfg_Initialize_Proxy(
  522. INetCfg * This,
  523. /* [in] */ PVOID pvReserved);
  524. void __RPC_STUB INetCfg_Initialize_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. HRESULT STDMETHODCALLTYPE INetCfg_Uninitialize_Proxy(
  530. INetCfg * This);
  531. void __RPC_STUB INetCfg_Uninitialize_Stub(
  532. IRpcStubBuffer *This,
  533. IRpcChannelBuffer *_pRpcChannelBuffer,
  534. PRPC_MESSAGE _pRpcMessage,
  535. DWORD *_pdwStubPhase);
  536. HRESULT STDMETHODCALLTYPE INetCfg_Apply_Proxy(
  537. INetCfg * This);
  538. void __RPC_STUB INetCfg_Apply_Stub(
  539. IRpcStubBuffer *This,
  540. IRpcChannelBuffer *_pRpcChannelBuffer,
  541. PRPC_MESSAGE _pRpcMessage,
  542. DWORD *_pdwStubPhase);
  543. HRESULT STDMETHODCALLTYPE INetCfg_Cancel_Proxy(
  544. INetCfg * This);
  545. void __RPC_STUB INetCfg_Cancel_Stub(
  546. IRpcStubBuffer *This,
  547. IRpcChannelBuffer *_pRpcChannelBuffer,
  548. PRPC_MESSAGE _pRpcMessage,
  549. DWORD *_pdwStubPhase);
  550. HRESULT STDMETHODCALLTYPE INetCfg_EnumComponents_Proxy(
  551. INetCfg * This,
  552. /* [in] */ const GUID *pguidClass,
  553. /* [out] */ IEnumNetCfgComponent **ppenumComponent);
  554. void __RPC_STUB INetCfg_EnumComponents_Stub(
  555. IRpcStubBuffer *This,
  556. IRpcChannelBuffer *_pRpcChannelBuffer,
  557. PRPC_MESSAGE _pRpcMessage,
  558. DWORD *_pdwStubPhase);
  559. HRESULT STDMETHODCALLTYPE INetCfg_FindComponent_Proxy(
  560. INetCfg * This,
  561. /* [string][in] */ LPCWSTR pszwInfId,
  562. /* [out] */ INetCfgComponent **pComponent);
  563. void __RPC_STUB INetCfg_FindComponent_Stub(
  564. IRpcStubBuffer *This,
  565. IRpcChannelBuffer *_pRpcChannelBuffer,
  566. PRPC_MESSAGE _pRpcMessage,
  567. DWORD *_pdwStubPhase);
  568. HRESULT STDMETHODCALLTYPE INetCfg_QueryNetCfgClass_Proxy(
  569. INetCfg * This,
  570. /* [in] */ const GUID *pguidClass,
  571. /* [in] */ REFIID riid,
  572. /* [iid_is][out] */ void **ppvObject);
  573. void __RPC_STUB INetCfg_QueryNetCfgClass_Stub(
  574. IRpcStubBuffer *This,
  575. IRpcChannelBuffer *_pRpcChannelBuffer,
  576. PRPC_MESSAGE _pRpcMessage,
  577. DWORD *_pdwStubPhase);
  578. #endif /* __INetCfg_INTERFACE_DEFINED__ */
  579. #ifndef __INetCfgLock_INTERFACE_DEFINED__
  580. #define __INetCfgLock_INTERFACE_DEFINED__
  581. /* interface INetCfgLock */
  582. /* [unique][uuid][object][local] */
  583. EXTERN_C const IID IID_INetCfgLock;
  584. #if defined(__cplusplus) && !defined(CINTERFACE)
  585. MIDL_INTERFACE("C0E8AE9F-306E-11D1-AACF-00805FC1270E")
  586. INetCfgLock : public IUnknown
  587. {
  588. public:
  589. virtual HRESULT STDMETHODCALLTYPE AcquireWriteLock(
  590. /* [in] */ DWORD cmsTimeout,
  591. /* [string][in] */ LPCWSTR pszwClientDescription,
  592. /* [string][out] */ LPWSTR *ppszwClientDescription) = 0;
  593. virtual HRESULT STDMETHODCALLTYPE ReleaseWriteLock( void) = 0;
  594. virtual HRESULT STDMETHODCALLTYPE IsWriteLocked(
  595. /* [string][out] */ LPWSTR *ppszwClientDescription) = 0;
  596. };
  597. #else /* C style interface */
  598. typedef struct INetCfgLockVtbl
  599. {
  600. BEGIN_INTERFACE
  601. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  602. INetCfgLock * This,
  603. /* [in] */ REFIID riid,
  604. /* [iid_is][out] */ void **ppvObject);
  605. ULONG ( STDMETHODCALLTYPE *AddRef )(
  606. INetCfgLock * This);
  607. ULONG ( STDMETHODCALLTYPE *Release )(
  608. INetCfgLock * This);
  609. HRESULT ( STDMETHODCALLTYPE *AcquireWriteLock )(
  610. INetCfgLock * This,
  611. /* [in] */ DWORD cmsTimeout,
  612. /* [string][in] */ LPCWSTR pszwClientDescription,
  613. /* [string][out] */ LPWSTR *ppszwClientDescription);
  614. HRESULT ( STDMETHODCALLTYPE *ReleaseWriteLock )(
  615. INetCfgLock * This);
  616. HRESULT ( STDMETHODCALLTYPE *IsWriteLocked )(
  617. INetCfgLock * This,
  618. /* [string][out] */ LPWSTR *ppszwClientDescription);
  619. END_INTERFACE
  620. } INetCfgLockVtbl;
  621. interface INetCfgLock
  622. {
  623. CONST_VTBL struct INetCfgLockVtbl *lpVtbl;
  624. };
  625. #ifdef COBJMACROS
  626. #define INetCfgLock_QueryInterface(This,riid,ppvObject) \
  627. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  628. #define INetCfgLock_AddRef(This) \
  629. (This)->lpVtbl -> AddRef(This)
  630. #define INetCfgLock_Release(This) \
  631. (This)->lpVtbl -> Release(This)
  632. #define INetCfgLock_AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription) \
  633. (This)->lpVtbl -> AcquireWriteLock(This,cmsTimeout,pszwClientDescription,ppszwClientDescription)
  634. #define INetCfgLock_ReleaseWriteLock(This) \
  635. (This)->lpVtbl -> ReleaseWriteLock(This)
  636. #define INetCfgLock_IsWriteLocked(This,ppszwClientDescription) \
  637. (This)->lpVtbl -> IsWriteLocked(This,ppszwClientDescription)
  638. #endif /* COBJMACROS */
  639. #endif /* C style interface */
  640. HRESULT STDMETHODCALLTYPE INetCfgLock_AcquireWriteLock_Proxy(
  641. INetCfgLock * This,
  642. /* [in] */ DWORD cmsTimeout,
  643. /* [string][in] */ LPCWSTR pszwClientDescription,
  644. /* [string][out] */ LPWSTR *ppszwClientDescription);
  645. void __RPC_STUB INetCfgLock_AcquireWriteLock_Stub(
  646. IRpcStubBuffer *This,
  647. IRpcChannelBuffer *_pRpcChannelBuffer,
  648. PRPC_MESSAGE _pRpcMessage,
  649. DWORD *_pdwStubPhase);
  650. HRESULT STDMETHODCALLTYPE INetCfgLock_ReleaseWriteLock_Proxy(
  651. INetCfgLock * This);
  652. void __RPC_STUB INetCfgLock_ReleaseWriteLock_Stub(
  653. IRpcStubBuffer *This,
  654. IRpcChannelBuffer *_pRpcChannelBuffer,
  655. PRPC_MESSAGE _pRpcMessage,
  656. DWORD *_pdwStubPhase);
  657. HRESULT STDMETHODCALLTYPE INetCfgLock_IsWriteLocked_Proxy(
  658. INetCfgLock * This,
  659. /* [string][out] */ LPWSTR *ppszwClientDescription);
  660. void __RPC_STUB INetCfgLock_IsWriteLocked_Stub(
  661. IRpcStubBuffer *This,
  662. IRpcChannelBuffer *_pRpcChannelBuffer,
  663. PRPC_MESSAGE _pRpcMessage,
  664. DWORD *_pdwStubPhase);
  665. #endif /* __INetCfgLock_INTERFACE_DEFINED__ */
  666. #ifndef __INetCfgBindingInterface_INTERFACE_DEFINED__
  667. #define __INetCfgBindingInterface_INTERFACE_DEFINED__
  668. /* interface INetCfgBindingInterface */
  669. /* [unique][uuid][object][local] */
  670. EXTERN_C const IID IID_INetCfgBindingInterface;
  671. #if defined(__cplusplus) && !defined(CINTERFACE)
  672. MIDL_INTERFACE("C0E8AE94-306E-11D1-AACF-00805FC1270E")
  673. INetCfgBindingInterface : public IUnknown
  674. {
  675. public:
  676. virtual HRESULT STDMETHODCALLTYPE GetName(
  677. /* [string][out] */ LPWSTR *ppszwInterfaceName) = 0;
  678. virtual HRESULT STDMETHODCALLTYPE GetUpperComponent(
  679. /* [out] */ INetCfgComponent **ppnccItem) = 0;
  680. virtual HRESULT STDMETHODCALLTYPE GetLowerComponent(
  681. /* [out] */ INetCfgComponent **ppnccItem) = 0;
  682. };
  683. #else /* C style interface */
  684. typedef struct INetCfgBindingInterfaceVtbl
  685. {
  686. BEGIN_INTERFACE
  687. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  688. INetCfgBindingInterface * This,
  689. /* [in] */ REFIID riid,
  690. /* [iid_is][out] */ void **ppvObject);
  691. ULONG ( STDMETHODCALLTYPE *AddRef )(
  692. INetCfgBindingInterface * This);
  693. ULONG ( STDMETHODCALLTYPE *Release )(
  694. INetCfgBindingInterface * This);
  695. HRESULT ( STDMETHODCALLTYPE *GetName )(
  696. INetCfgBindingInterface * This,
  697. /* [string][out] */ LPWSTR *ppszwInterfaceName);
  698. HRESULT ( STDMETHODCALLTYPE *GetUpperComponent )(
  699. INetCfgBindingInterface * This,
  700. /* [out] */ INetCfgComponent **ppnccItem);
  701. HRESULT ( STDMETHODCALLTYPE *GetLowerComponent )(
  702. INetCfgBindingInterface * This,
  703. /* [out] */ INetCfgComponent **ppnccItem);
  704. END_INTERFACE
  705. } INetCfgBindingInterfaceVtbl;
  706. interface INetCfgBindingInterface
  707. {
  708. CONST_VTBL struct INetCfgBindingInterfaceVtbl *lpVtbl;
  709. };
  710. #ifdef COBJMACROS
  711. #define INetCfgBindingInterface_QueryInterface(This,riid,ppvObject) \
  712. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  713. #define INetCfgBindingInterface_AddRef(This) \
  714. (This)->lpVtbl -> AddRef(This)
  715. #define INetCfgBindingInterface_Release(This) \
  716. (This)->lpVtbl -> Release(This)
  717. #define INetCfgBindingInterface_GetName(This,ppszwInterfaceName) \
  718. (This)->lpVtbl -> GetName(This,ppszwInterfaceName)
  719. #define INetCfgBindingInterface_GetUpperComponent(This,ppnccItem) \
  720. (This)->lpVtbl -> GetUpperComponent(This,ppnccItem)
  721. #define INetCfgBindingInterface_GetLowerComponent(This,ppnccItem) \
  722. (This)->lpVtbl -> GetLowerComponent(This,ppnccItem)
  723. #endif /* COBJMACROS */
  724. #endif /* C style interface */
  725. HRESULT STDMETHODCALLTYPE INetCfgBindingInterface_GetName_Proxy(
  726. INetCfgBindingInterface * This,
  727. /* [string][out] */ LPWSTR *ppszwInterfaceName);
  728. void __RPC_STUB INetCfgBindingInterface_GetName_Stub(
  729. IRpcStubBuffer *This,
  730. IRpcChannelBuffer *_pRpcChannelBuffer,
  731. PRPC_MESSAGE _pRpcMessage,
  732. DWORD *_pdwStubPhase);
  733. HRESULT STDMETHODCALLTYPE INetCfgBindingInterface_GetUpperComponent_Proxy(
  734. INetCfgBindingInterface * This,
  735. /* [out] */ INetCfgComponent **ppnccItem);
  736. void __RPC_STUB INetCfgBindingInterface_GetUpperComponent_Stub(
  737. IRpcStubBuffer *This,
  738. IRpcChannelBuffer *_pRpcChannelBuffer,
  739. PRPC_MESSAGE _pRpcMessage,
  740. DWORD *_pdwStubPhase);
  741. HRESULT STDMETHODCALLTYPE INetCfgBindingInterface_GetLowerComponent_Proxy(
  742. INetCfgBindingInterface * This,
  743. /* [out] */ INetCfgComponent **ppnccItem);
  744. void __RPC_STUB INetCfgBindingInterface_GetLowerComponent_Stub(
  745. IRpcStubBuffer *This,
  746. IRpcChannelBuffer *_pRpcChannelBuffer,
  747. PRPC_MESSAGE _pRpcMessage,
  748. DWORD *_pdwStubPhase);
  749. #endif /* __INetCfgBindingInterface_INTERFACE_DEFINED__ */
  750. #ifndef __INetCfgBindingPath_INTERFACE_DEFINED__
  751. #define __INetCfgBindingPath_INTERFACE_DEFINED__
  752. /* interface INetCfgBindingPath */
  753. /* [unique][uuid][object][local] */
  754. EXTERN_C const IID IID_INetCfgBindingPath;
  755. #if defined(__cplusplus) && !defined(CINTERFACE)
  756. MIDL_INTERFACE("C0E8AE96-306E-11D1-AACF-00805FC1270E")
  757. INetCfgBindingPath : public IUnknown
  758. {
  759. public:
  760. virtual HRESULT STDMETHODCALLTYPE IsSamePathAs(
  761. /* [in] */ INetCfgBindingPath *pPath) = 0;
  762. virtual HRESULT STDMETHODCALLTYPE IsSubPathOf(
  763. /* [in] */ INetCfgBindingPath *pPath) = 0;
  764. virtual HRESULT STDMETHODCALLTYPE IsEnabled( void) = 0;
  765. virtual HRESULT STDMETHODCALLTYPE Enable(
  766. /* [in] */ BOOL fEnable) = 0;
  767. virtual HRESULT STDMETHODCALLTYPE GetPathToken(
  768. /* [string][out] */ LPWSTR *ppszwPathToken) = 0;
  769. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  770. /* [out] */ INetCfgComponent **ppComponent) = 0;
  771. virtual HRESULT STDMETHODCALLTYPE GetDepth(
  772. /* [out] */ ULONG *pcInterfaces) = 0;
  773. virtual HRESULT STDMETHODCALLTYPE EnumBindingInterfaces(
  774. /* [out] */ IEnumNetCfgBindingInterface **ppenumInterface) = 0;
  775. };
  776. #else /* C style interface */
  777. typedef struct INetCfgBindingPathVtbl
  778. {
  779. BEGIN_INTERFACE
  780. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  781. INetCfgBindingPath * This,
  782. /* [in] */ REFIID riid,
  783. /* [iid_is][out] */ void **ppvObject);
  784. ULONG ( STDMETHODCALLTYPE *AddRef )(
  785. INetCfgBindingPath * This);
  786. ULONG ( STDMETHODCALLTYPE *Release )(
  787. INetCfgBindingPath * This);
  788. HRESULT ( STDMETHODCALLTYPE *IsSamePathAs )(
  789. INetCfgBindingPath * This,
  790. /* [in] */ INetCfgBindingPath *pPath);
  791. HRESULT ( STDMETHODCALLTYPE *IsSubPathOf )(
  792. INetCfgBindingPath * This,
  793. /* [in] */ INetCfgBindingPath *pPath);
  794. HRESULT ( STDMETHODCALLTYPE *IsEnabled )(
  795. INetCfgBindingPath * This);
  796. HRESULT ( STDMETHODCALLTYPE *Enable )(
  797. INetCfgBindingPath * This,
  798. /* [in] */ BOOL fEnable);
  799. HRESULT ( STDMETHODCALLTYPE *GetPathToken )(
  800. INetCfgBindingPath * This,
  801. /* [string][out] */ LPWSTR *ppszwPathToken);
  802. HRESULT ( STDMETHODCALLTYPE *GetOwner )(
  803. INetCfgBindingPath * This,
  804. /* [out] */ INetCfgComponent **ppComponent);
  805. HRESULT ( STDMETHODCALLTYPE *GetDepth )(
  806. INetCfgBindingPath * This,
  807. /* [out] */ ULONG *pcInterfaces);
  808. HRESULT ( STDMETHODCALLTYPE *EnumBindingInterfaces )(
  809. INetCfgBindingPath * This,
  810. /* [out] */ IEnumNetCfgBindingInterface **ppenumInterface);
  811. END_INTERFACE
  812. } INetCfgBindingPathVtbl;
  813. interface INetCfgBindingPath
  814. {
  815. CONST_VTBL struct INetCfgBindingPathVtbl *lpVtbl;
  816. };
  817. #ifdef COBJMACROS
  818. #define INetCfgBindingPath_QueryInterface(This,riid,ppvObject) \
  819. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  820. #define INetCfgBindingPath_AddRef(This) \
  821. (This)->lpVtbl -> AddRef(This)
  822. #define INetCfgBindingPath_Release(This) \
  823. (This)->lpVtbl -> Release(This)
  824. #define INetCfgBindingPath_IsSamePathAs(This,pPath) \
  825. (This)->lpVtbl -> IsSamePathAs(This,pPath)
  826. #define INetCfgBindingPath_IsSubPathOf(This,pPath) \
  827. (This)->lpVtbl -> IsSubPathOf(This,pPath)
  828. #define INetCfgBindingPath_IsEnabled(This) \
  829. (This)->lpVtbl -> IsEnabled(This)
  830. #define INetCfgBindingPath_Enable(This,fEnable) \
  831. (This)->lpVtbl -> Enable(This,fEnable)
  832. #define INetCfgBindingPath_GetPathToken(This,ppszwPathToken) \
  833. (This)->lpVtbl -> GetPathToken(This,ppszwPathToken)
  834. #define INetCfgBindingPath_GetOwner(This,ppComponent) \
  835. (This)->lpVtbl -> GetOwner(This,ppComponent)
  836. #define INetCfgBindingPath_GetDepth(This,pcInterfaces) \
  837. (This)->lpVtbl -> GetDepth(This,pcInterfaces)
  838. #define INetCfgBindingPath_EnumBindingInterfaces(This,ppenumInterface) \
  839. (This)->lpVtbl -> EnumBindingInterfaces(This,ppenumInterface)
  840. #endif /* COBJMACROS */
  841. #endif /* C style interface */
  842. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_IsSamePathAs_Proxy(
  843. INetCfgBindingPath * This,
  844. /* [in] */ INetCfgBindingPath *pPath);
  845. void __RPC_STUB INetCfgBindingPath_IsSamePathAs_Stub(
  846. IRpcStubBuffer *This,
  847. IRpcChannelBuffer *_pRpcChannelBuffer,
  848. PRPC_MESSAGE _pRpcMessage,
  849. DWORD *_pdwStubPhase);
  850. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_IsSubPathOf_Proxy(
  851. INetCfgBindingPath * This,
  852. /* [in] */ INetCfgBindingPath *pPath);
  853. void __RPC_STUB INetCfgBindingPath_IsSubPathOf_Stub(
  854. IRpcStubBuffer *This,
  855. IRpcChannelBuffer *_pRpcChannelBuffer,
  856. PRPC_MESSAGE _pRpcMessage,
  857. DWORD *_pdwStubPhase);
  858. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_IsEnabled_Proxy(
  859. INetCfgBindingPath * This);
  860. void __RPC_STUB INetCfgBindingPath_IsEnabled_Stub(
  861. IRpcStubBuffer *This,
  862. IRpcChannelBuffer *_pRpcChannelBuffer,
  863. PRPC_MESSAGE _pRpcMessage,
  864. DWORD *_pdwStubPhase);
  865. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_Enable_Proxy(
  866. INetCfgBindingPath * This,
  867. /* [in] */ BOOL fEnable);
  868. void __RPC_STUB INetCfgBindingPath_Enable_Stub(
  869. IRpcStubBuffer *This,
  870. IRpcChannelBuffer *_pRpcChannelBuffer,
  871. PRPC_MESSAGE _pRpcMessage,
  872. DWORD *_pdwStubPhase);
  873. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_GetPathToken_Proxy(
  874. INetCfgBindingPath * This,
  875. /* [string][out] */ LPWSTR *ppszwPathToken);
  876. void __RPC_STUB INetCfgBindingPath_GetPathToken_Stub(
  877. IRpcStubBuffer *This,
  878. IRpcChannelBuffer *_pRpcChannelBuffer,
  879. PRPC_MESSAGE _pRpcMessage,
  880. DWORD *_pdwStubPhase);
  881. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_GetOwner_Proxy(
  882. INetCfgBindingPath * This,
  883. /* [out] */ INetCfgComponent **ppComponent);
  884. void __RPC_STUB INetCfgBindingPath_GetOwner_Stub(
  885. IRpcStubBuffer *This,
  886. IRpcChannelBuffer *_pRpcChannelBuffer,
  887. PRPC_MESSAGE _pRpcMessage,
  888. DWORD *_pdwStubPhase);
  889. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_GetDepth_Proxy(
  890. INetCfgBindingPath * This,
  891. /* [out] */ ULONG *pcInterfaces);
  892. void __RPC_STUB INetCfgBindingPath_GetDepth_Stub(
  893. IRpcStubBuffer *This,
  894. IRpcChannelBuffer *_pRpcChannelBuffer,
  895. PRPC_MESSAGE _pRpcMessage,
  896. DWORD *_pdwStubPhase);
  897. HRESULT STDMETHODCALLTYPE INetCfgBindingPath_EnumBindingInterfaces_Proxy(
  898. INetCfgBindingPath * This,
  899. /* [out] */ IEnumNetCfgBindingInterface **ppenumInterface);
  900. void __RPC_STUB INetCfgBindingPath_EnumBindingInterfaces_Stub(
  901. IRpcStubBuffer *This,
  902. IRpcChannelBuffer *_pRpcChannelBuffer,
  903. PRPC_MESSAGE _pRpcMessage,
  904. DWORD *_pdwStubPhase);
  905. #endif /* __INetCfgBindingPath_INTERFACE_DEFINED__ */
  906. #ifndef __INetCfgClass_INTERFACE_DEFINED__
  907. #define __INetCfgClass_INTERFACE_DEFINED__
  908. /* interface INetCfgClass */
  909. /* [unique][uuid][object][local] */
  910. EXTERN_C const IID IID_INetCfgClass;
  911. #if defined(__cplusplus) && !defined(CINTERFACE)
  912. MIDL_INTERFACE("C0E8AE97-306E-11D1-AACF-00805FC1270E")
  913. INetCfgClass : public IUnknown
  914. {
  915. public:
  916. virtual HRESULT STDMETHODCALLTYPE FindComponent(
  917. /* [string][in] */ LPCWSTR pszwInfId,
  918. /* [out] */ INetCfgComponent **ppnccItem) = 0;
  919. virtual HRESULT STDMETHODCALLTYPE EnumComponents(
  920. /* [out] */ IEnumNetCfgComponent **ppenumComponent) = 0;
  921. };
  922. #else /* C style interface */
  923. typedef struct INetCfgClassVtbl
  924. {
  925. BEGIN_INTERFACE
  926. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  927. INetCfgClass * This,
  928. /* [in] */ REFIID riid,
  929. /* [iid_is][out] */ void **ppvObject);
  930. ULONG ( STDMETHODCALLTYPE *AddRef )(
  931. INetCfgClass * This);
  932. ULONG ( STDMETHODCALLTYPE *Release )(
  933. INetCfgClass * This);
  934. HRESULT ( STDMETHODCALLTYPE *FindComponent )(
  935. INetCfgClass * This,
  936. /* [string][in] */ LPCWSTR pszwInfId,
  937. /* [out] */ INetCfgComponent **ppnccItem);
  938. HRESULT ( STDMETHODCALLTYPE *EnumComponents )(
  939. INetCfgClass * This,
  940. /* [out] */ IEnumNetCfgComponent **ppenumComponent);
  941. END_INTERFACE
  942. } INetCfgClassVtbl;
  943. interface INetCfgClass
  944. {
  945. CONST_VTBL struct INetCfgClassVtbl *lpVtbl;
  946. };
  947. #ifdef COBJMACROS
  948. #define INetCfgClass_QueryInterface(This,riid,ppvObject) \
  949. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  950. #define INetCfgClass_AddRef(This) \
  951. (This)->lpVtbl -> AddRef(This)
  952. #define INetCfgClass_Release(This) \
  953. (This)->lpVtbl -> Release(This)
  954. #define INetCfgClass_FindComponent(This,pszwInfId,ppnccItem) \
  955. (This)->lpVtbl -> FindComponent(This,pszwInfId,ppnccItem)
  956. #define INetCfgClass_EnumComponents(This,ppenumComponent) \
  957. (This)->lpVtbl -> EnumComponents(This,ppenumComponent)
  958. #endif /* COBJMACROS */
  959. #endif /* C style interface */
  960. HRESULT STDMETHODCALLTYPE INetCfgClass_FindComponent_Proxy(
  961. INetCfgClass * This,
  962. /* [string][in] */ LPCWSTR pszwInfId,
  963. /* [out] */ INetCfgComponent **ppnccItem);
  964. void __RPC_STUB INetCfgClass_FindComponent_Stub(
  965. IRpcStubBuffer *This,
  966. IRpcChannelBuffer *_pRpcChannelBuffer,
  967. PRPC_MESSAGE _pRpcMessage,
  968. DWORD *_pdwStubPhase);
  969. HRESULT STDMETHODCALLTYPE INetCfgClass_EnumComponents_Proxy(
  970. INetCfgClass * This,
  971. /* [out] */ IEnumNetCfgComponent **ppenumComponent);
  972. void __RPC_STUB INetCfgClass_EnumComponents_Stub(
  973. IRpcStubBuffer *This,
  974. IRpcChannelBuffer *_pRpcChannelBuffer,
  975. PRPC_MESSAGE _pRpcMessage,
  976. DWORD *_pdwStubPhase);
  977. #endif /* __INetCfgClass_INTERFACE_DEFINED__ */
  978. #ifndef __INetCfgClassSetup_INTERFACE_DEFINED__
  979. #define __INetCfgClassSetup_INTERFACE_DEFINED__
  980. /* interface INetCfgClassSetup */
  981. /* [unique][uuid][object][local] */
  982. typedef
  983. enum tagOBO_TOKEN_TYPE
  984. { OBO_USER = 1,
  985. OBO_COMPONENT = 2,
  986. OBO_SOFTWARE = 3
  987. } OBO_TOKEN_TYPE;
  988. typedef struct tagOBO_TOKEN
  989. {
  990. OBO_TOKEN_TYPE Type;
  991. INetCfgComponent *pncc;
  992. LPCWSTR pszwManufacturer;
  993. LPCWSTR pszwProduct;
  994. LPCWSTR pszwDisplayName;
  995. BOOL fRegistered;
  996. } OBO_TOKEN;
  997. EXTERN_C const IID IID_INetCfgClassSetup;
  998. #if defined(__cplusplus) && !defined(CINTERFACE)
  999. MIDL_INTERFACE("C0E8AE9D-306E-11D1-AACF-00805FC1270E")
  1000. INetCfgClassSetup : public IUnknown
  1001. {
  1002. public:
  1003. virtual HRESULT STDMETHODCALLTYPE SelectAndInstall(
  1004. /* [in] */ HWND hwndParent,
  1005. /* [in] */ OBO_TOKEN *pOboToken,
  1006. /* [out] */ INetCfgComponent **ppnccItem) = 0;
  1007. virtual HRESULT STDMETHODCALLTYPE Install(
  1008. /* [string][in] */ LPCWSTR pszwInfId,
  1009. /* [in] */ OBO_TOKEN *pOboToken,
  1010. /* [in] */ DWORD dwSetupFlags,
  1011. /* [in] */ DWORD dwUpgradeFromBuildNo,
  1012. /* [string][in] */ LPCWSTR pszwAnswerFile,
  1013. /* [string][in] */ LPCWSTR pszwAnswerSections,
  1014. /* [out] */ INetCfgComponent **ppnccItem) = 0;
  1015. virtual HRESULT STDMETHODCALLTYPE DeInstall(
  1016. /* [in] */ INetCfgComponent *pComponent,
  1017. /* [in] */ OBO_TOKEN *pOboToken,
  1018. /* [out] */ LPWSTR *pmszwRefs) = 0;
  1019. };
  1020. #else /* C style interface */
  1021. typedef struct INetCfgClassSetupVtbl
  1022. {
  1023. BEGIN_INTERFACE
  1024. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1025. INetCfgClassSetup * This,
  1026. /* [in] */ REFIID riid,
  1027. /* [iid_is][out] */ void **ppvObject);
  1028. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1029. INetCfgClassSetup * This);
  1030. ULONG ( STDMETHODCALLTYPE *Release )(
  1031. INetCfgClassSetup * This);
  1032. HRESULT ( STDMETHODCALLTYPE *SelectAndInstall )(
  1033. INetCfgClassSetup * This,
  1034. /* [in] */ HWND hwndParent,
  1035. /* [in] */ OBO_TOKEN *pOboToken,
  1036. /* [out] */ INetCfgComponent **ppnccItem);
  1037. HRESULT ( STDMETHODCALLTYPE *Install )(
  1038. INetCfgClassSetup * This,
  1039. /* [string][in] */ LPCWSTR pszwInfId,
  1040. /* [in] */ OBO_TOKEN *pOboToken,
  1041. /* [in] */ DWORD dwSetupFlags,
  1042. /* [in] */ DWORD dwUpgradeFromBuildNo,
  1043. /* [string][in] */ LPCWSTR pszwAnswerFile,
  1044. /* [string][in] */ LPCWSTR pszwAnswerSections,
  1045. /* [out] */ INetCfgComponent **ppnccItem);
  1046. HRESULT ( STDMETHODCALLTYPE *DeInstall )(
  1047. INetCfgClassSetup * This,
  1048. /* [in] */ INetCfgComponent *pComponent,
  1049. /* [in] */ OBO_TOKEN *pOboToken,
  1050. /* [out] */ LPWSTR *pmszwRefs);
  1051. END_INTERFACE
  1052. } INetCfgClassSetupVtbl;
  1053. interface INetCfgClassSetup
  1054. {
  1055. CONST_VTBL struct INetCfgClassSetupVtbl *lpVtbl;
  1056. };
  1057. #ifdef COBJMACROS
  1058. #define INetCfgClassSetup_QueryInterface(This,riid,ppvObject) \
  1059. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1060. #define INetCfgClassSetup_AddRef(This) \
  1061. (This)->lpVtbl -> AddRef(This)
  1062. #define INetCfgClassSetup_Release(This) \
  1063. (This)->lpVtbl -> Release(This)
  1064. #define INetCfgClassSetup_SelectAndInstall(This,hwndParent,pOboToken,ppnccItem) \
  1065. (This)->lpVtbl -> SelectAndInstall(This,hwndParent,pOboToken,ppnccItem)
  1066. #define INetCfgClassSetup_Install(This,pszwInfId,pOboToken,dwSetupFlags,dwUpgradeFromBuildNo,pszwAnswerFile,pszwAnswerSections,ppnccItem) \
  1067. (This)->lpVtbl -> Install(This,pszwInfId,pOboToken,dwSetupFlags,dwUpgradeFromBuildNo,pszwAnswerFile,pszwAnswerSections,ppnccItem)
  1068. #define INetCfgClassSetup_DeInstall(This,pComponent,pOboToken,pmszwRefs) \
  1069. (This)->lpVtbl -> DeInstall(This,pComponent,pOboToken,pmszwRefs)
  1070. #endif /* COBJMACROS */
  1071. #endif /* C style interface */
  1072. HRESULT STDMETHODCALLTYPE INetCfgClassSetup_SelectAndInstall_Proxy(
  1073. INetCfgClassSetup * This,
  1074. /* [in] */ HWND hwndParent,
  1075. /* [in] */ OBO_TOKEN *pOboToken,
  1076. /* [out] */ INetCfgComponent **ppnccItem);
  1077. void __RPC_STUB INetCfgClassSetup_SelectAndInstall_Stub(
  1078. IRpcStubBuffer *This,
  1079. IRpcChannelBuffer *_pRpcChannelBuffer,
  1080. PRPC_MESSAGE _pRpcMessage,
  1081. DWORD *_pdwStubPhase);
  1082. HRESULT STDMETHODCALLTYPE INetCfgClassSetup_Install_Proxy(
  1083. INetCfgClassSetup * This,
  1084. /* [string][in] */ LPCWSTR pszwInfId,
  1085. /* [in] */ OBO_TOKEN *pOboToken,
  1086. /* [in] */ DWORD dwSetupFlags,
  1087. /* [in] */ DWORD dwUpgradeFromBuildNo,
  1088. /* [string][in] */ LPCWSTR pszwAnswerFile,
  1089. /* [string][in] */ LPCWSTR pszwAnswerSections,
  1090. /* [out] */ INetCfgComponent **ppnccItem);
  1091. void __RPC_STUB INetCfgClassSetup_Install_Stub(
  1092. IRpcStubBuffer *This,
  1093. IRpcChannelBuffer *_pRpcChannelBuffer,
  1094. PRPC_MESSAGE _pRpcMessage,
  1095. DWORD *_pdwStubPhase);
  1096. HRESULT STDMETHODCALLTYPE INetCfgClassSetup_DeInstall_Proxy(
  1097. INetCfgClassSetup * This,
  1098. /* [in] */ INetCfgComponent *pComponent,
  1099. /* [in] */ OBO_TOKEN *pOboToken,
  1100. /* [out] */ LPWSTR *pmszwRefs);
  1101. void __RPC_STUB INetCfgClassSetup_DeInstall_Stub(
  1102. IRpcStubBuffer *This,
  1103. IRpcChannelBuffer *_pRpcChannelBuffer,
  1104. PRPC_MESSAGE _pRpcMessage,
  1105. DWORD *_pdwStubPhase);
  1106. #endif /* __INetCfgClassSetup_INTERFACE_DEFINED__ */
  1107. #ifndef __INetCfgComponent_INTERFACE_DEFINED__
  1108. #define __INetCfgComponent_INTERFACE_DEFINED__
  1109. /* interface INetCfgComponent */
  1110. /* [unique][uuid][object][local] */
  1111. typedef
  1112. enum tagCOMPONENT_CHARACTERISTICS
  1113. { NCF_VIRTUAL = 0x1,
  1114. NCF_SOFTWARE_ENUMERATED = 0x2,
  1115. NCF_PHYSICAL = 0x4,
  1116. NCF_HIDDEN = 0x8,
  1117. NCF_NO_SERVICE = 0x10,
  1118. NCF_NOT_USER_REMOVABLE = 0x20,
  1119. NCF_MULTIPORT_INSTANCED_ADAPTER = 0x40,
  1120. NCF_HAS_UI = 0x80,
  1121. NCF_SINGLE_INSTANCE = 0x100,
  1122. NCF_FILTER = 0x400,
  1123. NCF_DONTEXPOSELOWER = 0x1000,
  1124. NCF_HIDE_BINDING = 0x2000,
  1125. NCF_NDIS_PROTOCOL = 0x4000,
  1126. NCF_FIXED_BINDING = 0x20000
  1127. } COMPONENT_CHARACTERISTICS;
  1128. typedef
  1129. enum tagNCRP_FLAGS
  1130. { NCRP_QUERY_PROPERTY_UI = 0x1,
  1131. NCRP_SHOW_PROPERTY_UI = 0x2
  1132. } NCRP_FLAGS;
  1133. EXTERN_C const IID IID_INetCfgComponent;
  1134. #if defined(__cplusplus) && !defined(CINTERFACE)
  1135. MIDL_INTERFACE("C0E8AE99-306E-11D1-AACF-00805FC1270E")
  1136. INetCfgComponent : public IUnknown
  1137. {
  1138. public:
  1139. virtual HRESULT STDMETHODCALLTYPE GetDisplayName(
  1140. /* [string][out] */ LPWSTR *ppszwDisplayName) = 0;
  1141. virtual HRESULT STDMETHODCALLTYPE SetDisplayName(
  1142. /* [string][in] */ LPCWSTR pszwDisplayName) = 0;
  1143. virtual HRESULT STDMETHODCALLTYPE GetHelpText(
  1144. /* [string][out] */ LPWSTR *pszwHelpText) = 0;
  1145. virtual HRESULT STDMETHODCALLTYPE GetId(
  1146. /* [string][out] */ LPWSTR *ppszwId) = 0;
  1147. virtual HRESULT STDMETHODCALLTYPE GetCharacteristics(
  1148. /* [out] */ LPDWORD pdwCharacteristics) = 0;
  1149. virtual HRESULT STDMETHODCALLTYPE GetInstanceGuid(
  1150. /* [out] */ GUID *pGuid) = 0;
  1151. virtual HRESULT STDMETHODCALLTYPE GetPnpDevNodeId(
  1152. /* [string][out] */ LPWSTR *ppszwDevNodeId) = 0;
  1153. virtual HRESULT STDMETHODCALLTYPE GetClassGuid(
  1154. /* [out] */ GUID *pGuid) = 0;
  1155. virtual HRESULT STDMETHODCALLTYPE GetBindName(
  1156. /* [string][out] */ LPWSTR *ppszwBindName) = 0;
  1157. virtual HRESULT STDMETHODCALLTYPE GetDeviceStatus(
  1158. /* [out] */ ULONG *pulStatus) = 0;
  1159. virtual HRESULT STDMETHODCALLTYPE OpenParamKey(
  1160. /* [out] */ HKEY *phkey) = 0;
  1161. virtual HRESULT STDMETHODCALLTYPE RaisePropertyUi(
  1162. /* [in] */ HWND hwndParent,
  1163. /* [in] */ DWORD dwFlags,
  1164. /* [in] */ IUnknown *punkContext) = 0;
  1165. };
  1166. #else /* C style interface */
  1167. typedef struct INetCfgComponentVtbl
  1168. {
  1169. BEGIN_INTERFACE
  1170. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1171. INetCfgComponent * This,
  1172. /* [in] */ REFIID riid,
  1173. /* [iid_is][out] */ void **ppvObject);
  1174. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1175. INetCfgComponent * This);
  1176. ULONG ( STDMETHODCALLTYPE *Release )(
  1177. INetCfgComponent * This);
  1178. HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
  1179. INetCfgComponent * This,
  1180. /* [string][out] */ LPWSTR *ppszwDisplayName);
  1181. HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
  1182. INetCfgComponent * This,
  1183. /* [string][in] */ LPCWSTR pszwDisplayName);
  1184. HRESULT ( STDMETHODCALLTYPE *GetHelpText )(
  1185. INetCfgComponent * This,
  1186. /* [string][out] */ LPWSTR *pszwHelpText);
  1187. HRESULT ( STDMETHODCALLTYPE *GetId )(
  1188. INetCfgComponent * This,
  1189. /* [string][out] */ LPWSTR *ppszwId);
  1190. HRESULT ( STDMETHODCALLTYPE *GetCharacteristics )(
  1191. INetCfgComponent * This,
  1192. /* [out] */ LPDWORD pdwCharacteristics);
  1193. HRESULT ( STDMETHODCALLTYPE *GetInstanceGuid )(
  1194. INetCfgComponent * This,
  1195. /* [out] */ GUID *pGuid);
  1196. HRESULT ( STDMETHODCALLTYPE *GetPnpDevNodeId )(
  1197. INetCfgComponent * This,
  1198. /* [string][out] */ LPWSTR *ppszwDevNodeId);
  1199. HRESULT ( STDMETHODCALLTYPE *GetClassGuid )(
  1200. INetCfgComponent * This,
  1201. /* [out] */ GUID *pGuid);
  1202. HRESULT ( STDMETHODCALLTYPE *GetBindName )(
  1203. INetCfgComponent * This,
  1204. /* [string][out] */ LPWSTR *ppszwBindName);
  1205. HRESULT ( STDMETHODCALLTYPE *GetDeviceStatus )(
  1206. INetCfgComponent * This,
  1207. /* [out] */ ULONG *pulStatus);
  1208. HRESULT ( STDMETHODCALLTYPE *OpenParamKey )(
  1209. INetCfgComponent * This,
  1210. /* [out] */ HKEY *phkey);
  1211. HRESULT ( STDMETHODCALLTYPE *RaisePropertyUi )(
  1212. INetCfgComponent * This,
  1213. /* [in] */ HWND hwndParent,
  1214. /* [in] */ DWORD dwFlags,
  1215. /* [in] */ IUnknown *punkContext);
  1216. END_INTERFACE
  1217. } INetCfgComponentVtbl;
  1218. interface INetCfgComponent
  1219. {
  1220. CONST_VTBL struct INetCfgComponentVtbl *lpVtbl;
  1221. };
  1222. #ifdef COBJMACROS
  1223. #define INetCfgComponent_QueryInterface(This,riid,ppvObject) \
  1224. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1225. #define INetCfgComponent_AddRef(This) \
  1226. (This)->lpVtbl -> AddRef(This)
  1227. #define INetCfgComponent_Release(This) \
  1228. (This)->lpVtbl -> Release(This)
  1229. #define INetCfgComponent_GetDisplayName(This,ppszwDisplayName) \
  1230. (This)->lpVtbl -> GetDisplayName(This,ppszwDisplayName)
  1231. #define INetCfgComponent_SetDisplayName(This,pszwDisplayName) \
  1232. (This)->lpVtbl -> SetDisplayName(This,pszwDisplayName)
  1233. #define INetCfgComponent_GetHelpText(This,pszwHelpText) \
  1234. (This)->lpVtbl -> GetHelpText(This,pszwHelpText)
  1235. #define INetCfgComponent_GetId(This,ppszwId) \
  1236. (This)->lpVtbl -> GetId(This,ppszwId)
  1237. #define INetCfgComponent_GetCharacteristics(This,pdwCharacteristics) \
  1238. (This)->lpVtbl -> GetCharacteristics(This,pdwCharacteristics)
  1239. #define INetCfgComponent_GetInstanceGuid(This,pGuid) \
  1240. (This)->lpVtbl -> GetInstanceGuid(This,pGuid)
  1241. #define INetCfgComponent_GetPnpDevNodeId(This,ppszwDevNodeId) \
  1242. (This)->lpVtbl -> GetPnpDevNodeId(This,ppszwDevNodeId)
  1243. #define INetCfgComponent_GetClassGuid(This,pGuid) \
  1244. (This)->lpVtbl -> GetClassGuid(This,pGuid)
  1245. #define INetCfgComponent_GetBindName(This,ppszwBindName) \
  1246. (This)->lpVtbl -> GetBindName(This,ppszwBindName)
  1247. #define INetCfgComponent_GetDeviceStatus(This,pulStatus) \
  1248. (This)->lpVtbl -> GetDeviceStatus(This,pulStatus)
  1249. #define INetCfgComponent_OpenParamKey(This,phkey) \
  1250. (This)->lpVtbl -> OpenParamKey(This,phkey)
  1251. #define INetCfgComponent_RaisePropertyUi(This,hwndParent,dwFlags,punkContext) \
  1252. (This)->lpVtbl -> RaisePropertyUi(This,hwndParent,dwFlags,punkContext)
  1253. #endif /* COBJMACROS */
  1254. #endif /* C style interface */
  1255. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetDisplayName_Proxy(
  1256. INetCfgComponent * This,
  1257. /* [string][out] */ LPWSTR *ppszwDisplayName);
  1258. void __RPC_STUB INetCfgComponent_GetDisplayName_Stub(
  1259. IRpcStubBuffer *This,
  1260. IRpcChannelBuffer *_pRpcChannelBuffer,
  1261. PRPC_MESSAGE _pRpcMessage,
  1262. DWORD *_pdwStubPhase);
  1263. HRESULT STDMETHODCALLTYPE INetCfgComponent_SetDisplayName_Proxy(
  1264. INetCfgComponent * This,
  1265. /* [string][in] */ LPCWSTR pszwDisplayName);
  1266. void __RPC_STUB INetCfgComponent_SetDisplayName_Stub(
  1267. IRpcStubBuffer *This,
  1268. IRpcChannelBuffer *_pRpcChannelBuffer,
  1269. PRPC_MESSAGE _pRpcMessage,
  1270. DWORD *_pdwStubPhase);
  1271. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetHelpText_Proxy(
  1272. INetCfgComponent * This,
  1273. /* [string][out] */ LPWSTR *pszwHelpText);
  1274. void __RPC_STUB INetCfgComponent_GetHelpText_Stub(
  1275. IRpcStubBuffer *This,
  1276. IRpcChannelBuffer *_pRpcChannelBuffer,
  1277. PRPC_MESSAGE _pRpcMessage,
  1278. DWORD *_pdwStubPhase);
  1279. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetId_Proxy(
  1280. INetCfgComponent * This,
  1281. /* [string][out] */ LPWSTR *ppszwId);
  1282. void __RPC_STUB INetCfgComponent_GetId_Stub(
  1283. IRpcStubBuffer *This,
  1284. IRpcChannelBuffer *_pRpcChannelBuffer,
  1285. PRPC_MESSAGE _pRpcMessage,
  1286. DWORD *_pdwStubPhase);
  1287. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetCharacteristics_Proxy(
  1288. INetCfgComponent * This,
  1289. /* [out] */ LPDWORD pdwCharacteristics);
  1290. void __RPC_STUB INetCfgComponent_GetCharacteristics_Stub(
  1291. IRpcStubBuffer *This,
  1292. IRpcChannelBuffer *_pRpcChannelBuffer,
  1293. PRPC_MESSAGE _pRpcMessage,
  1294. DWORD *_pdwStubPhase);
  1295. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetInstanceGuid_Proxy(
  1296. INetCfgComponent * This,
  1297. /* [out] */ GUID *pGuid);
  1298. void __RPC_STUB INetCfgComponent_GetInstanceGuid_Stub(
  1299. IRpcStubBuffer *This,
  1300. IRpcChannelBuffer *_pRpcChannelBuffer,
  1301. PRPC_MESSAGE _pRpcMessage,
  1302. DWORD *_pdwStubPhase);
  1303. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetPnpDevNodeId_Proxy(
  1304. INetCfgComponent * This,
  1305. /* [string][out] */ LPWSTR *ppszwDevNodeId);
  1306. void __RPC_STUB INetCfgComponent_GetPnpDevNodeId_Stub(
  1307. IRpcStubBuffer *This,
  1308. IRpcChannelBuffer *_pRpcChannelBuffer,
  1309. PRPC_MESSAGE _pRpcMessage,
  1310. DWORD *_pdwStubPhase);
  1311. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetClassGuid_Proxy(
  1312. INetCfgComponent * This,
  1313. /* [out] */ GUID *pGuid);
  1314. void __RPC_STUB INetCfgComponent_GetClassGuid_Stub(
  1315. IRpcStubBuffer *This,
  1316. IRpcChannelBuffer *_pRpcChannelBuffer,
  1317. PRPC_MESSAGE _pRpcMessage,
  1318. DWORD *_pdwStubPhase);
  1319. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetBindName_Proxy(
  1320. INetCfgComponent * This,
  1321. /* [string][out] */ LPWSTR *ppszwBindName);
  1322. void __RPC_STUB INetCfgComponent_GetBindName_Stub(
  1323. IRpcStubBuffer *This,
  1324. IRpcChannelBuffer *_pRpcChannelBuffer,
  1325. PRPC_MESSAGE _pRpcMessage,
  1326. DWORD *_pdwStubPhase);
  1327. HRESULT STDMETHODCALLTYPE INetCfgComponent_GetDeviceStatus_Proxy(
  1328. INetCfgComponent * This,
  1329. /* [out] */ ULONG *pulStatus);
  1330. void __RPC_STUB INetCfgComponent_GetDeviceStatus_Stub(
  1331. IRpcStubBuffer *This,
  1332. IRpcChannelBuffer *_pRpcChannelBuffer,
  1333. PRPC_MESSAGE _pRpcMessage,
  1334. DWORD *_pdwStubPhase);
  1335. HRESULT STDMETHODCALLTYPE INetCfgComponent_OpenParamKey_Proxy(
  1336. INetCfgComponent * This,
  1337. /* [out] */ HKEY *phkey);
  1338. void __RPC_STUB INetCfgComponent_OpenParamKey_Stub(
  1339. IRpcStubBuffer *This,
  1340. IRpcChannelBuffer *_pRpcChannelBuffer,
  1341. PRPC_MESSAGE _pRpcMessage,
  1342. DWORD *_pdwStubPhase);
  1343. HRESULT STDMETHODCALLTYPE INetCfgComponent_RaisePropertyUi_Proxy(
  1344. INetCfgComponent * This,
  1345. /* [in] */ HWND hwndParent,
  1346. /* [in] */ DWORD dwFlags,
  1347. /* [in] */ IUnknown *punkContext);
  1348. void __RPC_STUB INetCfgComponent_RaisePropertyUi_Stub(
  1349. IRpcStubBuffer *This,
  1350. IRpcChannelBuffer *_pRpcChannelBuffer,
  1351. PRPC_MESSAGE _pRpcMessage,
  1352. DWORD *_pdwStubPhase);
  1353. #endif /* __INetCfgComponent_INTERFACE_DEFINED__ */
  1354. #ifndef __INetCfgComponentBindings_INTERFACE_DEFINED__
  1355. #define __INetCfgComponentBindings_INTERFACE_DEFINED__
  1356. /* interface INetCfgComponentBindings */
  1357. /* [unique][uuid][object][local] */
  1358. typedef
  1359. enum tagSUPPORTS_BINDING_INTERFACE_FLAGS
  1360. { NCF_LOWER = 0x1,
  1361. NCF_UPPER = 0x2
  1362. } SUPPORTS_BINDING_INTERFACE_FLAGS;
  1363. typedef
  1364. enum tagENUM_BINDING_PATHS_FLAGS
  1365. { EBP_ABOVE = 0x1,
  1366. EBP_BELOW = 0x2
  1367. } ENUM_BINDING_PATHS_FLAGS;
  1368. EXTERN_C const IID IID_INetCfgComponentBindings;
  1369. #if defined(__cplusplus) && !defined(CINTERFACE)
  1370. MIDL_INTERFACE("C0E8AE9E-306E-11D1-AACF-00805FC1270E")
  1371. INetCfgComponentBindings : public IUnknown
  1372. {
  1373. public:
  1374. virtual HRESULT STDMETHODCALLTYPE BindTo(
  1375. /* [in] */ INetCfgComponent *pnccItem) = 0;
  1376. virtual HRESULT STDMETHODCALLTYPE UnbindFrom(
  1377. /* [in] */ INetCfgComponent *pnccItem) = 0;
  1378. virtual HRESULT STDMETHODCALLTYPE SupportsBindingInterface(
  1379. /* [in] */ DWORD dwFlags,
  1380. /* [in] */ LPCWSTR pszwInterfaceName) = 0;
  1381. virtual HRESULT STDMETHODCALLTYPE IsBoundTo(
  1382. /* [in] */ INetCfgComponent *pnccItem) = 0;
  1383. virtual HRESULT STDMETHODCALLTYPE IsBindableTo(
  1384. /* [in] */ INetCfgComponent *pnccItem) = 0;
  1385. virtual HRESULT STDMETHODCALLTYPE EnumBindingPaths(
  1386. /* [in] */ DWORD dwFlags,
  1387. /* [out] */ IEnumNetCfgBindingPath **ppIEnum) = 0;
  1388. virtual HRESULT STDMETHODCALLTYPE MoveBefore(
  1389. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1390. /* [in] */ INetCfgBindingPath *pncbItemDest) = 0;
  1391. virtual HRESULT STDMETHODCALLTYPE MoveAfter(
  1392. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1393. /* [in] */ INetCfgBindingPath *pncbItemDest) = 0;
  1394. };
  1395. #else /* C style interface */
  1396. typedef struct INetCfgComponentBindingsVtbl
  1397. {
  1398. BEGIN_INTERFACE
  1399. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1400. INetCfgComponentBindings * This,
  1401. /* [in] */ REFIID riid,
  1402. /* [iid_is][out] */ void **ppvObject);
  1403. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1404. INetCfgComponentBindings * This);
  1405. ULONG ( STDMETHODCALLTYPE *Release )(
  1406. INetCfgComponentBindings * This);
  1407. HRESULT ( STDMETHODCALLTYPE *BindTo )(
  1408. INetCfgComponentBindings * This,
  1409. /* [in] */ INetCfgComponent *pnccItem);
  1410. HRESULT ( STDMETHODCALLTYPE *UnbindFrom )(
  1411. INetCfgComponentBindings * This,
  1412. /* [in] */ INetCfgComponent *pnccItem);
  1413. HRESULT ( STDMETHODCALLTYPE *SupportsBindingInterface )(
  1414. INetCfgComponentBindings * This,
  1415. /* [in] */ DWORD dwFlags,
  1416. /* [in] */ LPCWSTR pszwInterfaceName);
  1417. HRESULT ( STDMETHODCALLTYPE *IsBoundTo )(
  1418. INetCfgComponentBindings * This,
  1419. /* [in] */ INetCfgComponent *pnccItem);
  1420. HRESULT ( STDMETHODCALLTYPE *IsBindableTo )(
  1421. INetCfgComponentBindings * This,
  1422. /* [in] */ INetCfgComponent *pnccItem);
  1423. HRESULT ( STDMETHODCALLTYPE *EnumBindingPaths )(
  1424. INetCfgComponentBindings * This,
  1425. /* [in] */ DWORD dwFlags,
  1426. /* [out] */ IEnumNetCfgBindingPath **ppIEnum);
  1427. HRESULT ( STDMETHODCALLTYPE *MoveBefore )(
  1428. INetCfgComponentBindings * This,
  1429. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1430. /* [in] */ INetCfgBindingPath *pncbItemDest);
  1431. HRESULT ( STDMETHODCALLTYPE *MoveAfter )(
  1432. INetCfgComponentBindings * This,
  1433. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1434. /* [in] */ INetCfgBindingPath *pncbItemDest);
  1435. END_INTERFACE
  1436. } INetCfgComponentBindingsVtbl;
  1437. interface INetCfgComponentBindings
  1438. {
  1439. CONST_VTBL struct INetCfgComponentBindingsVtbl *lpVtbl;
  1440. };
  1441. #ifdef COBJMACROS
  1442. #define INetCfgComponentBindings_QueryInterface(This,riid,ppvObject) \
  1443. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1444. #define INetCfgComponentBindings_AddRef(This) \
  1445. (This)->lpVtbl -> AddRef(This)
  1446. #define INetCfgComponentBindings_Release(This) \
  1447. (This)->lpVtbl -> Release(This)
  1448. #define INetCfgComponentBindings_BindTo(This,pnccItem) \
  1449. (This)->lpVtbl -> BindTo(This,pnccItem)
  1450. #define INetCfgComponentBindings_UnbindFrom(This,pnccItem) \
  1451. (This)->lpVtbl -> UnbindFrom(This,pnccItem)
  1452. #define INetCfgComponentBindings_SupportsBindingInterface(This,dwFlags,pszwInterfaceName) \
  1453. (This)->lpVtbl -> SupportsBindingInterface(This,dwFlags,pszwInterfaceName)
  1454. #define INetCfgComponentBindings_IsBoundTo(This,pnccItem) \
  1455. (This)->lpVtbl -> IsBoundTo(This,pnccItem)
  1456. #define INetCfgComponentBindings_IsBindableTo(This,pnccItem) \
  1457. (This)->lpVtbl -> IsBindableTo(This,pnccItem)
  1458. #define INetCfgComponentBindings_EnumBindingPaths(This,dwFlags,ppIEnum) \
  1459. (This)->lpVtbl -> EnumBindingPaths(This,dwFlags,ppIEnum)
  1460. #define INetCfgComponentBindings_MoveBefore(This,pncbItemSrc,pncbItemDest) \
  1461. (This)->lpVtbl -> MoveBefore(This,pncbItemSrc,pncbItemDest)
  1462. #define INetCfgComponentBindings_MoveAfter(This,pncbItemSrc,pncbItemDest) \
  1463. (This)->lpVtbl -> MoveAfter(This,pncbItemSrc,pncbItemDest)
  1464. #endif /* COBJMACROS */
  1465. #endif /* C style interface */
  1466. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_BindTo_Proxy(
  1467. INetCfgComponentBindings * This,
  1468. /* [in] */ INetCfgComponent *pnccItem);
  1469. void __RPC_STUB INetCfgComponentBindings_BindTo_Stub(
  1470. IRpcStubBuffer *This,
  1471. IRpcChannelBuffer *_pRpcChannelBuffer,
  1472. PRPC_MESSAGE _pRpcMessage,
  1473. DWORD *_pdwStubPhase);
  1474. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_UnbindFrom_Proxy(
  1475. INetCfgComponentBindings * This,
  1476. /* [in] */ INetCfgComponent *pnccItem);
  1477. void __RPC_STUB INetCfgComponentBindings_UnbindFrom_Stub(
  1478. IRpcStubBuffer *This,
  1479. IRpcChannelBuffer *_pRpcChannelBuffer,
  1480. PRPC_MESSAGE _pRpcMessage,
  1481. DWORD *_pdwStubPhase);
  1482. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_SupportsBindingInterface_Proxy(
  1483. INetCfgComponentBindings * This,
  1484. /* [in] */ DWORD dwFlags,
  1485. /* [in] */ LPCWSTR pszwInterfaceName);
  1486. void __RPC_STUB INetCfgComponentBindings_SupportsBindingInterface_Stub(
  1487. IRpcStubBuffer *This,
  1488. IRpcChannelBuffer *_pRpcChannelBuffer,
  1489. PRPC_MESSAGE _pRpcMessage,
  1490. DWORD *_pdwStubPhase);
  1491. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_IsBoundTo_Proxy(
  1492. INetCfgComponentBindings * This,
  1493. /* [in] */ INetCfgComponent *pnccItem);
  1494. void __RPC_STUB INetCfgComponentBindings_IsBoundTo_Stub(
  1495. IRpcStubBuffer *This,
  1496. IRpcChannelBuffer *_pRpcChannelBuffer,
  1497. PRPC_MESSAGE _pRpcMessage,
  1498. DWORD *_pdwStubPhase);
  1499. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_IsBindableTo_Proxy(
  1500. INetCfgComponentBindings * This,
  1501. /* [in] */ INetCfgComponent *pnccItem);
  1502. void __RPC_STUB INetCfgComponentBindings_IsBindableTo_Stub(
  1503. IRpcStubBuffer *This,
  1504. IRpcChannelBuffer *_pRpcChannelBuffer,
  1505. PRPC_MESSAGE _pRpcMessage,
  1506. DWORD *_pdwStubPhase);
  1507. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_EnumBindingPaths_Proxy(
  1508. INetCfgComponentBindings * This,
  1509. /* [in] */ DWORD dwFlags,
  1510. /* [out] */ IEnumNetCfgBindingPath **ppIEnum);
  1511. void __RPC_STUB INetCfgComponentBindings_EnumBindingPaths_Stub(
  1512. IRpcStubBuffer *This,
  1513. IRpcChannelBuffer *_pRpcChannelBuffer,
  1514. PRPC_MESSAGE _pRpcMessage,
  1515. DWORD *_pdwStubPhase);
  1516. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_MoveBefore_Proxy(
  1517. INetCfgComponentBindings * This,
  1518. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1519. /* [in] */ INetCfgBindingPath *pncbItemDest);
  1520. void __RPC_STUB INetCfgComponentBindings_MoveBefore_Stub(
  1521. IRpcStubBuffer *This,
  1522. IRpcChannelBuffer *_pRpcChannelBuffer,
  1523. PRPC_MESSAGE _pRpcMessage,
  1524. DWORD *_pdwStubPhase);
  1525. HRESULT STDMETHODCALLTYPE INetCfgComponentBindings_MoveAfter_Proxy(
  1526. INetCfgComponentBindings * This,
  1527. /* [in] */ INetCfgBindingPath *pncbItemSrc,
  1528. /* [in] */ INetCfgBindingPath *pncbItemDest);
  1529. void __RPC_STUB INetCfgComponentBindings_MoveAfter_Stub(
  1530. IRpcStubBuffer *This,
  1531. IRpcChannelBuffer *_pRpcChannelBuffer,
  1532. PRPC_MESSAGE _pRpcMessage,
  1533. DWORD *_pdwStubPhase);
  1534. #endif /* __INetCfgComponentBindings_INTERFACE_DEFINED__ */
  1535. #ifndef __INetCfgSysPrep_INTERFACE_DEFINED__
  1536. #define __INetCfgSysPrep_INTERFACE_DEFINED__
  1537. /* interface INetCfgSysPrep */
  1538. /* [unique][uuid][object][local] */
  1539. EXTERN_C const IID IID_INetCfgSysPrep;
  1540. #if defined(__cplusplus) && !defined(CINTERFACE)
  1541. MIDL_INTERFACE("C0E8AE98-306E-11D1-AACF-00805FC1270E")
  1542. INetCfgSysPrep : public IUnknown
  1543. {
  1544. public:
  1545. virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstDword(
  1546. /* [string][in] */ LPCWSTR pwszSection,
  1547. /* [string][in] */ LPCWSTR pwszKey,
  1548. /* [in] */ DWORD dwValue) = 0;
  1549. virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstString(
  1550. /* [string][in] */ LPCWSTR pwszSection,
  1551. /* [string][in] */ LPCWSTR pwszKey,
  1552. /* [string][in] */ LPCWSTR pwszValue) = 0;
  1553. virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstStringAsBool(
  1554. /* [string][in] */ LPCWSTR pwszSection,
  1555. /* [string][in] */ LPCWSTR pwszKey,
  1556. /* [in] */ BOOL fValue) = 0;
  1557. virtual HRESULT STDMETHODCALLTYPE HrSetupSetFirstMultiSzField(
  1558. /* [string][in] */ LPCWSTR pwszSection,
  1559. /* [string][in] */ LPCWSTR pwszKey,
  1560. /* [in] */ LPCWSTR pmszValue) = 0;
  1561. };
  1562. #else /* C style interface */
  1563. typedef struct INetCfgSysPrepVtbl
  1564. {
  1565. BEGIN_INTERFACE
  1566. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1567. INetCfgSysPrep * This,
  1568. /* [in] */ REFIID riid,
  1569. /* [iid_is][out] */ void **ppvObject);
  1570. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1571. INetCfgSysPrep * This);
  1572. ULONG ( STDMETHODCALLTYPE *Release )(
  1573. INetCfgSysPrep * This);
  1574. HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstDword )(
  1575. INetCfgSysPrep * This,
  1576. /* [string][in] */ LPCWSTR pwszSection,
  1577. /* [string][in] */ LPCWSTR pwszKey,
  1578. /* [in] */ DWORD dwValue);
  1579. HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstString )(
  1580. INetCfgSysPrep * This,
  1581. /* [string][in] */ LPCWSTR pwszSection,
  1582. /* [string][in] */ LPCWSTR pwszKey,
  1583. /* [string][in] */ LPCWSTR pwszValue);
  1584. HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstStringAsBool )(
  1585. INetCfgSysPrep * This,
  1586. /* [string][in] */ LPCWSTR pwszSection,
  1587. /* [string][in] */ LPCWSTR pwszKey,
  1588. /* [in] */ BOOL fValue);
  1589. HRESULT ( STDMETHODCALLTYPE *HrSetupSetFirstMultiSzField )(
  1590. INetCfgSysPrep * This,
  1591. /* [string][in] */ LPCWSTR pwszSection,
  1592. /* [string][in] */ LPCWSTR pwszKey,
  1593. /* [in] */ LPCWSTR pmszValue);
  1594. END_INTERFACE
  1595. } INetCfgSysPrepVtbl;
  1596. interface INetCfgSysPrep
  1597. {
  1598. CONST_VTBL struct INetCfgSysPrepVtbl *lpVtbl;
  1599. };
  1600. #ifdef COBJMACROS
  1601. #define INetCfgSysPrep_QueryInterface(This,riid,ppvObject) \
  1602. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1603. #define INetCfgSysPrep_AddRef(This) \
  1604. (This)->lpVtbl -> AddRef(This)
  1605. #define INetCfgSysPrep_Release(This) \
  1606. (This)->lpVtbl -> Release(This)
  1607. #define INetCfgSysPrep_HrSetupSetFirstDword(This,pwszSection,pwszKey,dwValue) \
  1608. (This)->lpVtbl -> HrSetupSetFirstDword(This,pwszSection,pwszKey,dwValue)
  1609. #define INetCfgSysPrep_HrSetupSetFirstString(This,pwszSection,pwszKey,pwszValue) \
  1610. (This)->lpVtbl -> HrSetupSetFirstString(This,pwszSection,pwszKey,pwszValue)
  1611. #define INetCfgSysPrep_HrSetupSetFirstStringAsBool(This,pwszSection,pwszKey,fValue) \
  1612. (This)->lpVtbl -> HrSetupSetFirstStringAsBool(This,pwszSection,pwszKey,fValue)
  1613. #define INetCfgSysPrep_HrSetupSetFirstMultiSzField(This,pwszSection,pwszKey,pmszValue) \
  1614. (This)->lpVtbl -> HrSetupSetFirstMultiSzField(This,pwszSection,pwszKey,pmszValue)
  1615. #endif /* COBJMACROS */
  1616. #endif /* C style interface */
  1617. HRESULT STDMETHODCALLTYPE INetCfgSysPrep_HrSetupSetFirstDword_Proxy(
  1618. INetCfgSysPrep * This,
  1619. /* [string][in] */ LPCWSTR pwszSection,
  1620. /* [string][in] */ LPCWSTR pwszKey,
  1621. /* [in] */ DWORD dwValue);
  1622. void __RPC_STUB INetCfgSysPrep_HrSetupSetFirstDword_Stub(
  1623. IRpcStubBuffer *This,
  1624. IRpcChannelBuffer *_pRpcChannelBuffer,
  1625. PRPC_MESSAGE _pRpcMessage,
  1626. DWORD *_pdwStubPhase);
  1627. HRESULT STDMETHODCALLTYPE INetCfgSysPrep_HrSetupSetFirstString_Proxy(
  1628. INetCfgSysPrep * This,
  1629. /* [string][in] */ LPCWSTR pwszSection,
  1630. /* [string][in] */ LPCWSTR pwszKey,
  1631. /* [string][in] */ LPCWSTR pwszValue);
  1632. void __RPC_STUB INetCfgSysPrep_HrSetupSetFirstString_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. HRESULT STDMETHODCALLTYPE INetCfgSysPrep_HrSetupSetFirstStringAsBool_Proxy(
  1638. INetCfgSysPrep * This,
  1639. /* [string][in] */ LPCWSTR pwszSection,
  1640. /* [string][in] */ LPCWSTR pwszKey,
  1641. /* [in] */ BOOL fValue);
  1642. void __RPC_STUB INetCfgSysPrep_HrSetupSetFirstStringAsBool_Stub(
  1643. IRpcStubBuffer *This,
  1644. IRpcChannelBuffer *_pRpcChannelBuffer,
  1645. PRPC_MESSAGE _pRpcMessage,
  1646. DWORD *_pdwStubPhase);
  1647. HRESULT STDMETHODCALLTYPE INetCfgSysPrep_HrSetupSetFirstMultiSzField_Proxy(
  1648. INetCfgSysPrep * This,
  1649. /* [string][in] */ LPCWSTR pwszSection,
  1650. /* [string][in] */ LPCWSTR pwszKey,
  1651. /* [in] */ LPCWSTR pmszValue);
  1652. void __RPC_STUB INetCfgSysPrep_HrSetupSetFirstMultiSzField_Stub(
  1653. IRpcStubBuffer *This,
  1654. IRpcChannelBuffer *_pRpcChannelBuffer,
  1655. PRPC_MESSAGE _pRpcMessage,
  1656. DWORD *_pdwStubPhase);
  1657. #endif /* __INetCfgSysPrep_INTERFACE_DEFINED__ */
  1658. /* Additional Prototypes for ALL interfaces */
  1659. /* end of Additional Prototypes */
  1660. #ifdef __cplusplus
  1661. }
  1662. #endif
  1663. #endif