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.

1075 lines
31 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 netcfgp.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 __netcfgp_h__
  27. #define __netcfgp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IIpxAdapterInfo_FWD_DEFINED__
  33. #define __IIpxAdapterInfo_FWD_DEFINED__
  34. typedef interface IIpxAdapterInfo IIpxAdapterInfo;
  35. #endif /* __IIpxAdapterInfo_FWD_DEFINED__ */
  36. #ifndef __ITcpipProperties_FWD_DEFINED__
  37. #define __ITcpipProperties_FWD_DEFINED__
  38. typedef interface ITcpipProperties ITcpipProperties;
  39. #endif /* __ITcpipProperties_FWD_DEFINED__ */
  40. #ifndef __INetCfgInternalSetup_FWD_DEFINED__
  41. #define __INetCfgInternalSetup_FWD_DEFINED__
  42. typedef interface INetCfgInternalSetup INetCfgInternalSetup;
  43. #endif /* __INetCfgInternalSetup_FWD_DEFINED__ */
  44. #ifndef __INetCfgComponentPrivate_FWD_DEFINED__
  45. #define __INetCfgComponentPrivate_FWD_DEFINED__
  46. typedef interface INetCfgComponentPrivate INetCfgComponentPrivate;
  47. #endif /* __INetCfgComponentPrivate_FWD_DEFINED__ */
  48. #ifndef __INetInstallQueue_FWD_DEFINED__
  49. #define __INetInstallQueue_FWD_DEFINED__
  50. typedef interface INetInstallQueue INetInstallQueue;
  51. #endif /* __INetInstallQueue_FWD_DEFINED__ */
  52. #ifndef __INetCfgSpecialCase_FWD_DEFINED__
  53. #define __INetCfgSpecialCase_FWD_DEFINED__
  54. typedef interface INetCfgSpecialCase INetCfgSpecialCase;
  55. #endif /* __INetCfgSpecialCase_FWD_DEFINED__ */
  56. /* header files for imported files */
  57. #include "unknwn.h"
  58. #include "netcfgx.h"
  59. #ifdef __cplusplus
  60. extern "C"{
  61. #endif
  62. void * __RPC_USER MIDL_user_allocate(size_t);
  63. void __RPC_USER MIDL_user_free( void * );
  64. /* interface __MIDL_itf_netcfgp_0000 */
  65. /* [local] */
  66. //+-------------------------------------------------------------------------
  67. //
  68. // Microsoft Windows
  69. // Copyright (c) Microsoft Corporation. All rights reserved.
  70. //
  71. //--------------------------------------------------------------------------
  72. #if ( _MSC_VER >= 800 )
  73. #pragma warning(disable:4201)
  74. #endif
  75. STDAPI
  76. SvchostChangeSvchostGroup (
  77. LPCWSTR pszService,
  78. LPCWSTR pszNewGroup
  79. );
  80. extern RPC_IF_HANDLE __MIDL_itf_netcfgp_0000_v0_0_c_ifspec;
  81. extern RPC_IF_HANDLE __MIDL_itf_netcfgp_0000_v0_0_s_ifspec;
  82. #ifndef __IIpxAdapterInfo_INTERFACE_DEFINED__
  83. #define __IIpxAdapterInfo_INTERFACE_DEFINED__
  84. /* interface IIpxAdapterInfo */
  85. /* [unique][uuid][object][local] */
  86. EXTERN_C const IID IID_IIpxAdapterInfo;
  87. #if defined(__cplusplus) && !defined(CINTERFACE)
  88. MIDL_INTERFACE("98133270-4B20-11D1-AB01-00805FC1270E")
  89. IIpxAdapterInfo : public IUnknown
  90. {
  91. public:
  92. virtual HRESULT STDMETHODCALLTYPE GetFrameTypesForAdapter(
  93. /* [string][in] */ LPCWSTR pszwAdapterBindName,
  94. /* [in] */ DWORD cFrameTypesMax,
  95. /* [length_is][size_is][out] */ DWORD *anFrameTypes,
  96. /* [ref][out] */ DWORD *pcFrameTypes) = 0;
  97. virtual HRESULT STDMETHODCALLTYPE GetVirtualNetworkNumber(
  98. /* [out] */ DWORD *pdwVNetworkNumber) = 0;
  99. virtual HRESULT STDMETHODCALLTYPE SetVirtualNetworkNumber(
  100. /* [in] */ DWORD dwVNetworkNumber) = 0;
  101. };
  102. #else /* C style interface */
  103. typedef struct IIpxAdapterInfoVtbl
  104. {
  105. BEGIN_INTERFACE
  106. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  107. IIpxAdapterInfo * This,
  108. /* [in] */ REFIID riid,
  109. /* [iid_is][out] */ void **ppvObject);
  110. ULONG ( STDMETHODCALLTYPE *AddRef )(
  111. IIpxAdapterInfo * This);
  112. ULONG ( STDMETHODCALLTYPE *Release )(
  113. IIpxAdapterInfo * This);
  114. HRESULT ( STDMETHODCALLTYPE *GetFrameTypesForAdapter )(
  115. IIpxAdapterInfo * This,
  116. /* [string][in] */ LPCWSTR pszwAdapterBindName,
  117. /* [in] */ DWORD cFrameTypesMax,
  118. /* [length_is][size_is][out] */ DWORD *anFrameTypes,
  119. /* [ref][out] */ DWORD *pcFrameTypes);
  120. HRESULT ( STDMETHODCALLTYPE *GetVirtualNetworkNumber )(
  121. IIpxAdapterInfo * This,
  122. /* [out] */ DWORD *pdwVNetworkNumber);
  123. HRESULT ( STDMETHODCALLTYPE *SetVirtualNetworkNumber )(
  124. IIpxAdapterInfo * This,
  125. /* [in] */ DWORD dwVNetworkNumber);
  126. END_INTERFACE
  127. } IIpxAdapterInfoVtbl;
  128. interface IIpxAdapterInfo
  129. {
  130. CONST_VTBL struct IIpxAdapterInfoVtbl *lpVtbl;
  131. };
  132. #ifdef COBJMACROS
  133. #define IIpxAdapterInfo_QueryInterface(This,riid,ppvObject) \
  134. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  135. #define IIpxAdapterInfo_AddRef(This) \
  136. (This)->lpVtbl -> AddRef(This)
  137. #define IIpxAdapterInfo_Release(This) \
  138. (This)->lpVtbl -> Release(This)
  139. #define IIpxAdapterInfo_GetFrameTypesForAdapter(This,pszwAdapterBindName,cFrameTypesMax,anFrameTypes,pcFrameTypes) \
  140. (This)->lpVtbl -> GetFrameTypesForAdapter(This,pszwAdapterBindName,cFrameTypesMax,anFrameTypes,pcFrameTypes)
  141. #define IIpxAdapterInfo_GetVirtualNetworkNumber(This,pdwVNetworkNumber) \
  142. (This)->lpVtbl -> GetVirtualNetworkNumber(This,pdwVNetworkNumber)
  143. #define IIpxAdapterInfo_SetVirtualNetworkNumber(This,dwVNetworkNumber) \
  144. (This)->lpVtbl -> SetVirtualNetworkNumber(This,dwVNetworkNumber)
  145. #endif /* COBJMACROS */
  146. #endif /* C style interface */
  147. HRESULT STDMETHODCALLTYPE IIpxAdapterInfo_GetFrameTypesForAdapter_Proxy(
  148. IIpxAdapterInfo * This,
  149. /* [string][in] */ LPCWSTR pszwAdapterBindName,
  150. /* [in] */ DWORD cFrameTypesMax,
  151. /* [length_is][size_is][out] */ DWORD *anFrameTypes,
  152. /* [ref][out] */ DWORD *pcFrameTypes);
  153. void __RPC_STUB IIpxAdapterInfo_GetFrameTypesForAdapter_Stub(
  154. IRpcStubBuffer *This,
  155. IRpcChannelBuffer *_pRpcChannelBuffer,
  156. PRPC_MESSAGE _pRpcMessage,
  157. DWORD *_pdwStubPhase);
  158. HRESULT STDMETHODCALLTYPE IIpxAdapterInfo_GetVirtualNetworkNumber_Proxy(
  159. IIpxAdapterInfo * This,
  160. /* [out] */ DWORD *pdwVNetworkNumber);
  161. void __RPC_STUB IIpxAdapterInfo_GetVirtualNetworkNumber_Stub(
  162. IRpcStubBuffer *This,
  163. IRpcChannelBuffer *_pRpcChannelBuffer,
  164. PRPC_MESSAGE _pRpcMessage,
  165. DWORD *_pdwStubPhase);
  166. HRESULT STDMETHODCALLTYPE IIpxAdapterInfo_SetVirtualNetworkNumber_Proxy(
  167. IIpxAdapterInfo * This,
  168. /* [in] */ DWORD dwVNetworkNumber);
  169. void __RPC_STUB IIpxAdapterInfo_SetVirtualNetworkNumber_Stub(
  170. IRpcStubBuffer *This,
  171. IRpcChannelBuffer *_pRpcChannelBuffer,
  172. PRPC_MESSAGE _pRpcMessage,
  173. DWORD *_pdwStubPhase);
  174. #endif /* __IIpxAdapterInfo_INTERFACE_DEFINED__ */
  175. #ifndef __ITcpipProperties_INTERFACE_DEFINED__
  176. #define __ITcpipProperties_INTERFACE_DEFINED__
  177. /* interface ITcpipProperties */
  178. /* [unique][uuid][object][local] */
  179. typedef struct tagREMOTE_IPINFO
  180. {
  181. DWORD dwEnableDhcp;
  182. WCHAR *pszwIpAddrList;
  183. WCHAR *pszwSubnetMaskList;
  184. WCHAR *pszwOptionList;
  185. } REMOTE_IPINFO;
  186. EXTERN_C const IID IID_ITcpipProperties;
  187. #if defined(__cplusplus) && !defined(CINTERFACE)
  188. MIDL_INTERFACE("98133271-4B20-11D1-AB01-00805FC1270E")
  189. ITcpipProperties : public IUnknown
  190. {
  191. public:
  192. virtual HRESULT STDMETHODCALLTYPE GetIpInfoForAdapter(
  193. /* [in] */ const GUID *pguidAdapter,
  194. /* [out] */ REMOTE_IPINFO **ppInfo) = 0;
  195. virtual HRESULT STDMETHODCALLTYPE SetIpInfoForAdapter(
  196. /* [in] */ const GUID *pguidAdapter,
  197. /* [in] */ REMOTE_IPINFO *pInfo) = 0;
  198. };
  199. #else /* C style interface */
  200. typedef struct ITcpipPropertiesVtbl
  201. {
  202. BEGIN_INTERFACE
  203. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  204. ITcpipProperties * This,
  205. /* [in] */ REFIID riid,
  206. /* [iid_is][out] */ void **ppvObject);
  207. ULONG ( STDMETHODCALLTYPE *AddRef )(
  208. ITcpipProperties * This);
  209. ULONG ( STDMETHODCALLTYPE *Release )(
  210. ITcpipProperties * This);
  211. HRESULT ( STDMETHODCALLTYPE *GetIpInfoForAdapter )(
  212. ITcpipProperties * This,
  213. /* [in] */ const GUID *pguidAdapter,
  214. /* [out] */ REMOTE_IPINFO **ppInfo);
  215. HRESULT ( STDMETHODCALLTYPE *SetIpInfoForAdapter )(
  216. ITcpipProperties * This,
  217. /* [in] */ const GUID *pguidAdapter,
  218. /* [in] */ REMOTE_IPINFO *pInfo);
  219. END_INTERFACE
  220. } ITcpipPropertiesVtbl;
  221. interface ITcpipProperties
  222. {
  223. CONST_VTBL struct ITcpipPropertiesVtbl *lpVtbl;
  224. };
  225. #ifdef COBJMACROS
  226. #define ITcpipProperties_QueryInterface(This,riid,ppvObject) \
  227. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  228. #define ITcpipProperties_AddRef(This) \
  229. (This)->lpVtbl -> AddRef(This)
  230. #define ITcpipProperties_Release(This) \
  231. (This)->lpVtbl -> Release(This)
  232. #define ITcpipProperties_GetIpInfoForAdapter(This,pguidAdapter,ppInfo) \
  233. (This)->lpVtbl -> GetIpInfoForAdapter(This,pguidAdapter,ppInfo)
  234. #define ITcpipProperties_SetIpInfoForAdapter(This,pguidAdapter,pInfo) \
  235. (This)->lpVtbl -> SetIpInfoForAdapter(This,pguidAdapter,pInfo)
  236. #endif /* COBJMACROS */
  237. #endif /* C style interface */
  238. HRESULT STDMETHODCALLTYPE ITcpipProperties_GetIpInfoForAdapter_Proxy(
  239. ITcpipProperties * This,
  240. /* [in] */ const GUID *pguidAdapter,
  241. /* [out] */ REMOTE_IPINFO **ppInfo);
  242. void __RPC_STUB ITcpipProperties_GetIpInfoForAdapter_Stub(
  243. IRpcStubBuffer *This,
  244. IRpcChannelBuffer *_pRpcChannelBuffer,
  245. PRPC_MESSAGE _pRpcMessage,
  246. DWORD *_pdwStubPhase);
  247. HRESULT STDMETHODCALLTYPE ITcpipProperties_SetIpInfoForAdapter_Proxy(
  248. ITcpipProperties * This,
  249. /* [in] */ const GUID *pguidAdapter,
  250. /* [in] */ REMOTE_IPINFO *pInfo);
  251. void __RPC_STUB ITcpipProperties_SetIpInfoForAdapter_Stub(
  252. IRpcStubBuffer *This,
  253. IRpcChannelBuffer *_pRpcChannelBuffer,
  254. PRPC_MESSAGE _pRpcMessage,
  255. DWORD *_pdwStubPhase);
  256. #endif /* __ITcpipProperties_INTERFACE_DEFINED__ */
  257. #ifndef __INetCfgInternalSetup_INTERFACE_DEFINED__
  258. #define __INetCfgInternalSetup_INTERFACE_DEFINED__
  259. /* interface INetCfgInternalSetup */
  260. /* [unique][uuid][object][local] */
  261. typedef
  262. enum tagCI_FILTER_COMPONENT
  263. { FC_LAN = 0,
  264. FC_RASSRV = FC_LAN + 1,
  265. FC_RASCLI = FC_RASSRV + 1,
  266. FC_ATM = FC_RASCLI + 1
  267. } CI_FILTER_COMPONENT;
  268. typedef struct tagCI_FILTER_INFO
  269. {
  270. CI_FILTER_COMPONENT eFilter;
  271. INetCfgComponent *pIComp;
  272. void *pvReserved;
  273. } CI_FILTER_INFO;
  274. EXTERN_C const IID IID_INetCfgInternalSetup;
  275. #if defined(__cplusplus) && !defined(CINTERFACE)
  276. MIDL_INTERFACE("98133276-4B20-11D1-AB01-00805FC1270E")
  277. INetCfgInternalSetup : public IUnknown
  278. {
  279. public:
  280. virtual HRESULT STDMETHODCALLTYPE BeginBatchOperation( void) = 0;
  281. virtual HRESULT STDMETHODCALLTYPE CommitBatchOperation( void) = 0;
  282. virtual HRESULT STDMETHODCALLTYPE SelectWithFilterAndInstall(
  283. /* [in] */ HWND hwndParent,
  284. /* [in] */ const GUID *pClassGuid,
  285. /* [in] */ OBO_TOKEN *pOboToken,
  286. /* [in] */ const CI_FILTER_INFO *pcfi,
  287. /* [out] */ INetCfgComponent **ppIComp) = 0;
  288. virtual HRESULT STDMETHODCALLTYPE EnumeratedComponentInstalled(
  289. /* [in] */ PVOID pComponent) = 0;
  290. virtual HRESULT STDMETHODCALLTYPE EnumeratedComponentUpdated(
  291. /* [in] */ LPCWSTR pszPnpId) = 0;
  292. virtual HRESULT STDMETHODCALLTYPE UpdateNonEnumeratedComponent(
  293. /* [in] */ INetCfgComponent *pIComp,
  294. /* [in] */ DWORD dwSetupFlags,
  295. /* [in] */ DWORD dwUpgradeFromBuildNo) = 0;
  296. virtual HRESULT STDMETHODCALLTYPE EnumeratedComponentRemoved(
  297. /* [in] */ LPCWSTR pszPnpId) = 0;
  298. };
  299. #else /* C style interface */
  300. typedef struct INetCfgInternalSetupVtbl
  301. {
  302. BEGIN_INTERFACE
  303. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  304. INetCfgInternalSetup * This,
  305. /* [in] */ REFIID riid,
  306. /* [iid_is][out] */ void **ppvObject);
  307. ULONG ( STDMETHODCALLTYPE *AddRef )(
  308. INetCfgInternalSetup * This);
  309. ULONG ( STDMETHODCALLTYPE *Release )(
  310. INetCfgInternalSetup * This);
  311. HRESULT ( STDMETHODCALLTYPE *BeginBatchOperation )(
  312. INetCfgInternalSetup * This);
  313. HRESULT ( STDMETHODCALLTYPE *CommitBatchOperation )(
  314. INetCfgInternalSetup * This);
  315. HRESULT ( STDMETHODCALLTYPE *SelectWithFilterAndInstall )(
  316. INetCfgInternalSetup * This,
  317. /* [in] */ HWND hwndParent,
  318. /* [in] */ const GUID *pClassGuid,
  319. /* [in] */ OBO_TOKEN *pOboToken,
  320. /* [in] */ const CI_FILTER_INFO *pcfi,
  321. /* [out] */ INetCfgComponent **ppIComp);
  322. HRESULT ( STDMETHODCALLTYPE *EnumeratedComponentInstalled )(
  323. INetCfgInternalSetup * This,
  324. /* [in] */ PVOID pComponent);
  325. HRESULT ( STDMETHODCALLTYPE *EnumeratedComponentUpdated )(
  326. INetCfgInternalSetup * This,
  327. /* [in] */ LPCWSTR pszPnpId);
  328. HRESULT ( STDMETHODCALLTYPE *UpdateNonEnumeratedComponent )(
  329. INetCfgInternalSetup * This,
  330. /* [in] */ INetCfgComponent *pIComp,
  331. /* [in] */ DWORD dwSetupFlags,
  332. /* [in] */ DWORD dwUpgradeFromBuildNo);
  333. HRESULT ( STDMETHODCALLTYPE *EnumeratedComponentRemoved )(
  334. INetCfgInternalSetup * This,
  335. /* [in] */ LPCWSTR pszPnpId);
  336. END_INTERFACE
  337. } INetCfgInternalSetupVtbl;
  338. interface INetCfgInternalSetup
  339. {
  340. CONST_VTBL struct INetCfgInternalSetupVtbl *lpVtbl;
  341. };
  342. #ifdef COBJMACROS
  343. #define INetCfgInternalSetup_QueryInterface(This,riid,ppvObject) \
  344. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  345. #define INetCfgInternalSetup_AddRef(This) \
  346. (This)->lpVtbl -> AddRef(This)
  347. #define INetCfgInternalSetup_Release(This) \
  348. (This)->lpVtbl -> Release(This)
  349. #define INetCfgInternalSetup_BeginBatchOperation(This) \
  350. (This)->lpVtbl -> BeginBatchOperation(This)
  351. #define INetCfgInternalSetup_CommitBatchOperation(This) \
  352. (This)->lpVtbl -> CommitBatchOperation(This)
  353. #define INetCfgInternalSetup_SelectWithFilterAndInstall(This,hwndParent,pClassGuid,pOboToken,pcfi,ppIComp) \
  354. (This)->lpVtbl -> SelectWithFilterAndInstall(This,hwndParent,pClassGuid,pOboToken,pcfi,ppIComp)
  355. #define INetCfgInternalSetup_EnumeratedComponentInstalled(This,pComponent) \
  356. (This)->lpVtbl -> EnumeratedComponentInstalled(This,pComponent)
  357. #define INetCfgInternalSetup_EnumeratedComponentUpdated(This,pszPnpId) \
  358. (This)->lpVtbl -> EnumeratedComponentUpdated(This,pszPnpId)
  359. #define INetCfgInternalSetup_UpdateNonEnumeratedComponent(This,pIComp,dwSetupFlags,dwUpgradeFromBuildNo) \
  360. (This)->lpVtbl -> UpdateNonEnumeratedComponent(This,pIComp,dwSetupFlags,dwUpgradeFromBuildNo)
  361. #define INetCfgInternalSetup_EnumeratedComponentRemoved(This,pszPnpId) \
  362. (This)->lpVtbl -> EnumeratedComponentRemoved(This,pszPnpId)
  363. #endif /* COBJMACROS */
  364. #endif /* C style interface */
  365. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_BeginBatchOperation_Proxy(
  366. INetCfgInternalSetup * This);
  367. void __RPC_STUB INetCfgInternalSetup_BeginBatchOperation_Stub(
  368. IRpcStubBuffer *This,
  369. IRpcChannelBuffer *_pRpcChannelBuffer,
  370. PRPC_MESSAGE _pRpcMessage,
  371. DWORD *_pdwStubPhase);
  372. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_CommitBatchOperation_Proxy(
  373. INetCfgInternalSetup * This);
  374. void __RPC_STUB INetCfgInternalSetup_CommitBatchOperation_Stub(
  375. IRpcStubBuffer *This,
  376. IRpcChannelBuffer *_pRpcChannelBuffer,
  377. PRPC_MESSAGE _pRpcMessage,
  378. DWORD *_pdwStubPhase);
  379. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_SelectWithFilterAndInstall_Proxy(
  380. INetCfgInternalSetup * This,
  381. /* [in] */ HWND hwndParent,
  382. /* [in] */ const GUID *pClassGuid,
  383. /* [in] */ OBO_TOKEN *pOboToken,
  384. /* [in] */ const CI_FILTER_INFO *pcfi,
  385. /* [out] */ INetCfgComponent **ppIComp);
  386. void __RPC_STUB INetCfgInternalSetup_SelectWithFilterAndInstall_Stub(
  387. IRpcStubBuffer *This,
  388. IRpcChannelBuffer *_pRpcChannelBuffer,
  389. PRPC_MESSAGE _pRpcMessage,
  390. DWORD *_pdwStubPhase);
  391. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_EnumeratedComponentInstalled_Proxy(
  392. INetCfgInternalSetup * This,
  393. /* [in] */ PVOID pComponent);
  394. void __RPC_STUB INetCfgInternalSetup_EnumeratedComponentInstalled_Stub(
  395. IRpcStubBuffer *This,
  396. IRpcChannelBuffer *_pRpcChannelBuffer,
  397. PRPC_MESSAGE _pRpcMessage,
  398. DWORD *_pdwStubPhase);
  399. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_EnumeratedComponentUpdated_Proxy(
  400. INetCfgInternalSetup * This,
  401. /* [in] */ LPCWSTR pszPnpId);
  402. void __RPC_STUB INetCfgInternalSetup_EnumeratedComponentUpdated_Stub(
  403. IRpcStubBuffer *This,
  404. IRpcChannelBuffer *_pRpcChannelBuffer,
  405. PRPC_MESSAGE _pRpcMessage,
  406. DWORD *_pdwStubPhase);
  407. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_UpdateNonEnumeratedComponent_Proxy(
  408. INetCfgInternalSetup * This,
  409. /* [in] */ INetCfgComponent *pIComp,
  410. /* [in] */ DWORD dwSetupFlags,
  411. /* [in] */ DWORD dwUpgradeFromBuildNo);
  412. void __RPC_STUB INetCfgInternalSetup_UpdateNonEnumeratedComponent_Stub(
  413. IRpcStubBuffer *This,
  414. IRpcChannelBuffer *_pRpcChannelBuffer,
  415. PRPC_MESSAGE _pRpcMessage,
  416. DWORD *_pdwStubPhase);
  417. HRESULT STDMETHODCALLTYPE INetCfgInternalSetup_EnumeratedComponentRemoved_Proxy(
  418. INetCfgInternalSetup * This,
  419. /* [in] */ LPCWSTR pszPnpId);
  420. void __RPC_STUB INetCfgInternalSetup_EnumeratedComponentRemoved_Stub(
  421. IRpcStubBuffer *This,
  422. IRpcChannelBuffer *_pRpcChannelBuffer,
  423. PRPC_MESSAGE _pRpcMessage,
  424. DWORD *_pdwStubPhase);
  425. #endif /* __INetCfgInternalSetup_INTERFACE_DEFINED__ */
  426. #ifndef __INetCfgComponentPrivate_INTERFACE_DEFINED__
  427. #define __INetCfgComponentPrivate_INTERFACE_DEFINED__
  428. /* interface INetCfgComponentPrivate */
  429. /* [unique][uuid][object][local] */
  430. EXTERN_C const IID IID_INetCfgComponentPrivate;
  431. #if defined(__cplusplus) && !defined(CINTERFACE)
  432. MIDL_INTERFACE("98133273-4B20-11D1-AB01-00805FC1270E")
  433. INetCfgComponentPrivate : public IUnknown
  434. {
  435. public:
  436. virtual HRESULT STDMETHODCALLTYPE QueryNotifyObject(
  437. /* [in] */ REFIID riid,
  438. /* [iid_is][out] */ void **ppvObject) = 0;
  439. virtual HRESULT STDMETHODCALLTYPE SetDirty( void) = 0;
  440. virtual HRESULT STDMETHODCALLTYPE NotifyUpperEdgeConfigChange( void) = 0;
  441. };
  442. #else /* C style interface */
  443. typedef struct INetCfgComponentPrivateVtbl
  444. {
  445. BEGIN_INTERFACE
  446. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  447. INetCfgComponentPrivate * This,
  448. /* [in] */ REFIID riid,
  449. /* [iid_is][out] */ void **ppvObject);
  450. ULONG ( STDMETHODCALLTYPE *AddRef )(
  451. INetCfgComponentPrivate * This);
  452. ULONG ( STDMETHODCALLTYPE *Release )(
  453. INetCfgComponentPrivate * This);
  454. HRESULT ( STDMETHODCALLTYPE *QueryNotifyObject )(
  455. INetCfgComponentPrivate * This,
  456. /* [in] */ REFIID riid,
  457. /* [iid_is][out] */ void **ppvObject);
  458. HRESULT ( STDMETHODCALLTYPE *SetDirty )(
  459. INetCfgComponentPrivate * This);
  460. HRESULT ( STDMETHODCALLTYPE *NotifyUpperEdgeConfigChange )(
  461. INetCfgComponentPrivate * This);
  462. END_INTERFACE
  463. } INetCfgComponentPrivateVtbl;
  464. interface INetCfgComponentPrivate
  465. {
  466. CONST_VTBL struct INetCfgComponentPrivateVtbl *lpVtbl;
  467. };
  468. #ifdef COBJMACROS
  469. #define INetCfgComponentPrivate_QueryInterface(This,riid,ppvObject) \
  470. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  471. #define INetCfgComponentPrivate_AddRef(This) \
  472. (This)->lpVtbl -> AddRef(This)
  473. #define INetCfgComponentPrivate_Release(This) \
  474. (This)->lpVtbl -> Release(This)
  475. #define INetCfgComponentPrivate_QueryNotifyObject(This,riid,ppvObject) \
  476. (This)->lpVtbl -> QueryNotifyObject(This,riid,ppvObject)
  477. #define INetCfgComponentPrivate_SetDirty(This) \
  478. (This)->lpVtbl -> SetDirty(This)
  479. #define INetCfgComponentPrivate_NotifyUpperEdgeConfigChange(This) \
  480. (This)->lpVtbl -> NotifyUpperEdgeConfigChange(This)
  481. #endif /* COBJMACROS */
  482. #endif /* C style interface */
  483. HRESULT STDMETHODCALLTYPE INetCfgComponentPrivate_QueryNotifyObject_Proxy(
  484. INetCfgComponentPrivate * This,
  485. /* [in] */ REFIID riid,
  486. /* [iid_is][out] */ void **ppvObject);
  487. void __RPC_STUB INetCfgComponentPrivate_QueryNotifyObject_Stub(
  488. IRpcStubBuffer *This,
  489. IRpcChannelBuffer *_pRpcChannelBuffer,
  490. PRPC_MESSAGE _pRpcMessage,
  491. DWORD *_pdwStubPhase);
  492. HRESULT STDMETHODCALLTYPE INetCfgComponentPrivate_SetDirty_Proxy(
  493. INetCfgComponentPrivate * This);
  494. void __RPC_STUB INetCfgComponentPrivate_SetDirty_Stub(
  495. IRpcStubBuffer *This,
  496. IRpcChannelBuffer *_pRpcChannelBuffer,
  497. PRPC_MESSAGE _pRpcMessage,
  498. DWORD *_pdwStubPhase);
  499. HRESULT STDMETHODCALLTYPE INetCfgComponentPrivate_NotifyUpperEdgeConfigChange_Proxy(
  500. INetCfgComponentPrivate * This);
  501. void __RPC_STUB INetCfgComponentPrivate_NotifyUpperEdgeConfigChange_Stub(
  502. IRpcStubBuffer *This,
  503. IRpcChannelBuffer *_pRpcChannelBuffer,
  504. PRPC_MESSAGE _pRpcMessage,
  505. DWORD *_pdwStubPhase);
  506. #endif /* __INetCfgComponentPrivate_INTERFACE_DEFINED__ */
  507. #ifndef __INetInstallQueue_INTERFACE_DEFINED__
  508. #define __INetInstallQueue_INTERFACE_DEFINED__
  509. /* interface INetInstallQueue */
  510. /* [unique][uuid][object] */
  511. typedef
  512. enum tagNC_INSTALL_TYPE
  513. { NCI_INSTALL = 0,
  514. NCI_UPDATE = NCI_INSTALL + 1,
  515. NCI_REMOVE = NCI_UPDATE + 1
  516. } NC_INSTALL_TYPE;
  517. typedef struct NIQ_INFO
  518. {
  519. NC_INSTALL_TYPE eType;
  520. GUID ClassGuid;
  521. GUID InstanceGuid;
  522. DWORD dwCharacter;
  523. LPCWSTR pszPnpId;
  524. LPCWSTR pszInfId;
  525. DWORD dwDeipFlags;
  526. } NIQ_INFO;
  527. EXTERN_C const IID IID_INetInstallQueue;
  528. #if defined(__cplusplus) && !defined(CINTERFACE)
  529. MIDL_INTERFACE("98133274-4B20-11D1-AB01-00805FC1270E")
  530. INetInstallQueue : public IUnknown
  531. {
  532. public:
  533. virtual HRESULT STDMETHODCALLTYPE AddItem(
  534. /* [in] */ const NIQ_INFO *pInfo) = 0;
  535. virtual HRESULT STDMETHODCALLTYPE ProcessItems( void) = 0;
  536. };
  537. #else /* C style interface */
  538. typedef struct INetInstallQueueVtbl
  539. {
  540. BEGIN_INTERFACE
  541. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  542. INetInstallQueue * This,
  543. /* [in] */ REFIID riid,
  544. /* [iid_is][out] */ void **ppvObject);
  545. ULONG ( STDMETHODCALLTYPE *AddRef )(
  546. INetInstallQueue * This);
  547. ULONG ( STDMETHODCALLTYPE *Release )(
  548. INetInstallQueue * This);
  549. HRESULT ( STDMETHODCALLTYPE *AddItem )(
  550. INetInstallQueue * This,
  551. /* [in] */ const NIQ_INFO *pInfo);
  552. HRESULT ( STDMETHODCALLTYPE *ProcessItems )(
  553. INetInstallQueue * This);
  554. END_INTERFACE
  555. } INetInstallQueueVtbl;
  556. interface INetInstallQueue
  557. {
  558. CONST_VTBL struct INetInstallQueueVtbl *lpVtbl;
  559. };
  560. #ifdef COBJMACROS
  561. #define INetInstallQueue_QueryInterface(This,riid,ppvObject) \
  562. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  563. #define INetInstallQueue_AddRef(This) \
  564. (This)->lpVtbl -> AddRef(This)
  565. #define INetInstallQueue_Release(This) \
  566. (This)->lpVtbl -> Release(This)
  567. #define INetInstallQueue_AddItem(This,pInfo) \
  568. (This)->lpVtbl -> AddItem(This,pInfo)
  569. #define INetInstallQueue_ProcessItems(This) \
  570. (This)->lpVtbl -> ProcessItems(This)
  571. #endif /* COBJMACROS */
  572. #endif /* C style interface */
  573. HRESULT STDMETHODCALLTYPE INetInstallQueue_AddItem_Proxy(
  574. INetInstallQueue * This,
  575. /* [in] */ const NIQ_INFO *pInfo);
  576. void __RPC_STUB INetInstallQueue_AddItem_Stub(
  577. IRpcStubBuffer *This,
  578. IRpcChannelBuffer *_pRpcChannelBuffer,
  579. PRPC_MESSAGE _pRpcMessage,
  580. DWORD *_pdwStubPhase);
  581. HRESULT STDMETHODCALLTYPE INetInstallQueue_ProcessItems_Proxy(
  582. INetInstallQueue * This);
  583. void __RPC_STUB INetInstallQueue_ProcessItems_Stub(
  584. IRpcStubBuffer *This,
  585. IRpcChannelBuffer *_pRpcChannelBuffer,
  586. PRPC_MESSAGE _pRpcMessage,
  587. DWORD *_pdwStubPhase);
  588. #endif /* __INetInstallQueue_INTERFACE_DEFINED__ */
  589. #ifndef __INetCfgSpecialCase_INTERFACE_DEFINED__
  590. #define __INetCfgSpecialCase_INTERFACE_DEFINED__
  591. /* interface INetCfgSpecialCase */
  592. /* [unique][uuid][object][local] */
  593. EXTERN_C const IID IID_INetCfgSpecialCase;
  594. #if defined(__cplusplus) && !defined(CINTERFACE)
  595. MIDL_INTERFACE("C0E8AE95-306E-11D1-AACF-00805FC1270E")
  596. INetCfgSpecialCase : public IUnknown
  597. {
  598. public:
  599. virtual HRESULT STDMETHODCALLTYPE GetAdapterOrder(
  600. /* [out] */ DWORD *pcAdapters,
  601. /* [out] */ INetCfgComponent ***papAdapters,
  602. /* [out] */ BOOL *pfWanAdaptersFirst) = 0;
  603. virtual HRESULT STDMETHODCALLTYPE SetAdapterOrder(
  604. /* [in] */ DWORD cAdapters,
  605. /* [in] */ INetCfgComponent **apAdapters,
  606. /* [in] */ BOOL fWanAdaptersFirst) = 0;
  607. virtual HRESULT STDMETHODCALLTYPE GetWanAdaptersFirst(
  608. /* [out] */ BOOL *pfWanAdaptersFirst) = 0;
  609. virtual HRESULT STDMETHODCALLTYPE SetWanAdaptersFirst(
  610. /* [in] */ BOOL fWanAdaptersFirst) = 0;
  611. };
  612. #else /* C style interface */
  613. typedef struct INetCfgSpecialCaseVtbl
  614. {
  615. BEGIN_INTERFACE
  616. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  617. INetCfgSpecialCase * This,
  618. /* [in] */ REFIID riid,
  619. /* [iid_is][out] */ void **ppvObject);
  620. ULONG ( STDMETHODCALLTYPE *AddRef )(
  621. INetCfgSpecialCase * This);
  622. ULONG ( STDMETHODCALLTYPE *Release )(
  623. INetCfgSpecialCase * This);
  624. HRESULT ( STDMETHODCALLTYPE *GetAdapterOrder )(
  625. INetCfgSpecialCase * This,
  626. /* [out] */ DWORD *pcAdapters,
  627. /* [out] */ INetCfgComponent ***papAdapters,
  628. /* [out] */ BOOL *pfWanAdaptersFirst);
  629. HRESULT ( STDMETHODCALLTYPE *SetAdapterOrder )(
  630. INetCfgSpecialCase * This,
  631. /* [in] */ DWORD cAdapters,
  632. /* [in] */ INetCfgComponent **apAdapters,
  633. /* [in] */ BOOL fWanAdaptersFirst);
  634. HRESULT ( STDMETHODCALLTYPE *GetWanAdaptersFirst )(
  635. INetCfgSpecialCase * This,
  636. /* [out] */ BOOL *pfWanAdaptersFirst);
  637. HRESULT ( STDMETHODCALLTYPE *SetWanAdaptersFirst )(
  638. INetCfgSpecialCase * This,
  639. /* [in] */ BOOL fWanAdaptersFirst);
  640. END_INTERFACE
  641. } INetCfgSpecialCaseVtbl;
  642. interface INetCfgSpecialCase
  643. {
  644. CONST_VTBL struct INetCfgSpecialCaseVtbl *lpVtbl;
  645. };
  646. #ifdef COBJMACROS
  647. #define INetCfgSpecialCase_QueryInterface(This,riid,ppvObject) \
  648. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  649. #define INetCfgSpecialCase_AddRef(This) \
  650. (This)->lpVtbl -> AddRef(This)
  651. #define INetCfgSpecialCase_Release(This) \
  652. (This)->lpVtbl -> Release(This)
  653. #define INetCfgSpecialCase_GetAdapterOrder(This,pcAdapters,papAdapters,pfWanAdaptersFirst) \
  654. (This)->lpVtbl -> GetAdapterOrder(This,pcAdapters,papAdapters,pfWanAdaptersFirst)
  655. #define INetCfgSpecialCase_SetAdapterOrder(This,cAdapters,apAdapters,fWanAdaptersFirst) \
  656. (This)->lpVtbl -> SetAdapterOrder(This,cAdapters,apAdapters,fWanAdaptersFirst)
  657. #define INetCfgSpecialCase_GetWanAdaptersFirst(This,pfWanAdaptersFirst) \
  658. (This)->lpVtbl -> GetWanAdaptersFirst(This,pfWanAdaptersFirst)
  659. #define INetCfgSpecialCase_SetWanAdaptersFirst(This,fWanAdaptersFirst) \
  660. (This)->lpVtbl -> SetWanAdaptersFirst(This,fWanAdaptersFirst)
  661. #endif /* COBJMACROS */
  662. #endif /* C style interface */
  663. HRESULT STDMETHODCALLTYPE INetCfgSpecialCase_GetAdapterOrder_Proxy(
  664. INetCfgSpecialCase * This,
  665. /* [out] */ DWORD *pcAdapters,
  666. /* [out] */ INetCfgComponent ***papAdapters,
  667. /* [out] */ BOOL *pfWanAdaptersFirst);
  668. void __RPC_STUB INetCfgSpecialCase_GetAdapterOrder_Stub(
  669. IRpcStubBuffer *This,
  670. IRpcChannelBuffer *_pRpcChannelBuffer,
  671. PRPC_MESSAGE _pRpcMessage,
  672. DWORD *_pdwStubPhase);
  673. HRESULT STDMETHODCALLTYPE INetCfgSpecialCase_SetAdapterOrder_Proxy(
  674. INetCfgSpecialCase * This,
  675. /* [in] */ DWORD cAdapters,
  676. /* [in] */ INetCfgComponent **apAdapters,
  677. /* [in] */ BOOL fWanAdaptersFirst);
  678. void __RPC_STUB INetCfgSpecialCase_SetAdapterOrder_Stub(
  679. IRpcStubBuffer *This,
  680. IRpcChannelBuffer *_pRpcChannelBuffer,
  681. PRPC_MESSAGE _pRpcMessage,
  682. DWORD *_pdwStubPhase);
  683. HRESULT STDMETHODCALLTYPE INetCfgSpecialCase_GetWanAdaptersFirst_Proxy(
  684. INetCfgSpecialCase * This,
  685. /* [out] */ BOOL *pfWanAdaptersFirst);
  686. void __RPC_STUB INetCfgSpecialCase_GetWanAdaptersFirst_Stub(
  687. IRpcStubBuffer *This,
  688. IRpcChannelBuffer *_pRpcChannelBuffer,
  689. PRPC_MESSAGE _pRpcMessage,
  690. DWORD *_pdwStubPhase);
  691. HRESULT STDMETHODCALLTYPE INetCfgSpecialCase_SetWanAdaptersFirst_Proxy(
  692. INetCfgSpecialCase * This,
  693. /* [in] */ BOOL fWanAdaptersFirst);
  694. void __RPC_STUB INetCfgSpecialCase_SetWanAdaptersFirst_Stub(
  695. IRpcStubBuffer *This,
  696. IRpcChannelBuffer *_pRpcChannelBuffer,
  697. PRPC_MESSAGE _pRpcMessage,
  698. DWORD *_pdwStubPhase);
  699. #endif /* __INetCfgSpecialCase_INTERFACE_DEFINED__ */
  700. /* Additional Prototypes for ALL interfaces */
  701. /* end of Additional Prototypes */
  702. #ifdef __cplusplus
  703. }
  704. #endif
  705. #endif