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.

3781 lines
108 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 netconp.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 __netconp_h__
  27. #define __netconp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __INetConnectionUiLock_FWD_DEFINED__
  33. #define __INetConnectionUiLock_FWD_DEFINED__
  34. typedef interface INetConnectionUiLock INetConnectionUiLock;
  35. #endif /* __INetConnectionUiLock_FWD_DEFINED__ */
  36. #ifndef __INetConnectionWizardUi_FWD_DEFINED__
  37. #define __INetConnectionWizardUi_FWD_DEFINED__
  38. typedef interface INetConnectionWizardUi INetConnectionWizardUi;
  39. #endif /* __INetConnectionWizardUi_FWD_DEFINED__ */
  40. #ifndef __INetConnectionWizardUiContext_FWD_DEFINED__
  41. #define __INetConnectionWizardUiContext_FWD_DEFINED__
  42. typedef interface INetConnectionWizardUiContext INetConnectionWizardUiContext;
  43. #endif /* __INetConnectionWizardUiContext_FWD_DEFINED__ */
  44. #ifndef __INetInboundConnection_FWD_DEFINED__
  45. #define __INetInboundConnection_FWD_DEFINED__
  46. typedef interface INetInboundConnection INetInboundConnection;
  47. #endif /* __INetInboundConnection_FWD_DEFINED__ */
  48. #ifndef __INetLanConnection_FWD_DEFINED__
  49. #define __INetLanConnection_FWD_DEFINED__
  50. typedef interface INetLanConnection INetLanConnection;
  51. #endif /* __INetLanConnection_FWD_DEFINED__ */
  52. #ifndef __INetSharedAccessConnection_FWD_DEFINED__
  53. #define __INetSharedAccessConnection_FWD_DEFINED__
  54. typedef interface INetSharedAccessConnection INetSharedAccessConnection;
  55. #endif /* __INetSharedAccessConnection_FWD_DEFINED__ */
  56. #ifndef __INetLanConnectionWizardUi_FWD_DEFINED__
  57. #define __INetLanConnectionWizardUi_FWD_DEFINED__
  58. typedef interface INetLanConnectionWizardUi INetLanConnectionWizardUi;
  59. #endif /* __INetLanConnectionWizardUi_FWD_DEFINED__ */
  60. #ifndef __INetRasConnection_FWD_DEFINED__
  61. #define __INetRasConnection_FWD_DEFINED__
  62. typedef interface INetRasConnection INetRasConnection;
  63. #endif /* __INetRasConnection_FWD_DEFINED__ */
  64. #ifndef __INetDefaultConnection_FWD_DEFINED__
  65. #define __INetDefaultConnection_FWD_DEFINED__
  66. typedef interface INetDefaultConnection INetDefaultConnection;
  67. #endif /* __INetDefaultConnection_FWD_DEFINED__ */
  68. #ifndef __INetRasConnectionIpUiInfo_FWD_DEFINED__
  69. #define __INetRasConnectionIpUiInfo_FWD_DEFINED__
  70. typedef interface INetRasConnectionIpUiInfo INetRasConnectionIpUiInfo;
  71. #endif /* __INetRasConnectionIpUiInfo_FWD_DEFINED__ */
  72. #ifndef __IPersistNetConnection_FWD_DEFINED__
  73. #define __IPersistNetConnection_FWD_DEFINED__
  74. typedef interface IPersistNetConnection IPersistNetConnection;
  75. #endif /* __IPersistNetConnection_FWD_DEFINED__ */
  76. #ifndef __INetConnectionBrandingInfo_FWD_DEFINED__
  77. #define __INetConnectionBrandingInfo_FWD_DEFINED__
  78. typedef interface INetConnectionBrandingInfo INetConnectionBrandingInfo;
  79. #endif /* __INetConnectionBrandingInfo_FWD_DEFINED__ */
  80. #ifndef __INetConnectionManager2_FWD_DEFINED__
  81. #define __INetConnectionManager2_FWD_DEFINED__
  82. typedef interface INetConnectionManager2 INetConnectionManager2;
  83. #endif /* __INetConnectionManager2_FWD_DEFINED__ */
  84. #ifndef __INetConnection2_FWD_DEFINED__
  85. #define __INetConnection2_FWD_DEFINED__
  86. typedef interface INetConnection2 INetConnection2;
  87. #endif /* __INetConnection2_FWD_DEFINED__ */
  88. #ifndef __INetConnectionNotifySink_FWD_DEFINED__
  89. #define __INetConnectionNotifySink_FWD_DEFINED__
  90. typedef interface INetConnectionNotifySink INetConnectionNotifySink;
  91. #endif /* __INetConnectionNotifySink_FWD_DEFINED__ */
  92. #ifndef __INetConnectionUiUtilities_FWD_DEFINED__
  93. #define __INetConnectionUiUtilities_FWD_DEFINED__
  94. typedef interface INetConnectionUiUtilities INetConnectionUiUtilities;
  95. #endif /* __INetConnectionUiUtilities_FWD_DEFINED__ */
  96. #ifndef __INetConnectionRefresh_FWD_DEFINED__
  97. #define __INetConnectionRefresh_FWD_DEFINED__
  98. typedef interface INetConnectionRefresh INetConnectionRefresh;
  99. #endif /* __INetConnectionRefresh_FWD_DEFINED__ */
  100. #ifndef __INetConnectionCMUtil_FWD_DEFINED__
  101. #define __INetConnectionCMUtil_FWD_DEFINED__
  102. typedef interface INetConnectionCMUtil INetConnectionCMUtil;
  103. #endif /* __INetConnectionCMUtil_FWD_DEFINED__ */
  104. #ifndef __INetConnectionHNetUtil_FWD_DEFINED__
  105. #define __INetConnectionHNetUtil_FWD_DEFINED__
  106. typedef interface INetConnectionHNetUtil INetConnectionHNetUtil;
  107. #endif /* __INetConnectionHNetUtil_FWD_DEFINED__ */
  108. #ifndef __INetConnectionSysTray_FWD_DEFINED__
  109. #define __INetConnectionSysTray_FWD_DEFINED__
  110. typedef interface INetConnectionSysTray INetConnectionSysTray;
  111. #endif /* __INetConnectionSysTray_FWD_DEFINED__ */
  112. #ifndef __INetMachinePolicies_FWD_DEFINED__
  113. #define __INetMachinePolicies_FWD_DEFINED__
  114. typedef interface INetMachinePolicies INetMachinePolicies;
  115. #endif /* __INetMachinePolicies_FWD_DEFINED__ */
  116. #ifndef __INetConnectionManagerDebug_FWD_DEFINED__
  117. #define __INetConnectionManagerDebug_FWD_DEFINED__
  118. typedef interface INetConnectionManagerDebug INetConnectionManagerDebug;
  119. #endif /* __INetConnectionManagerDebug_FWD_DEFINED__ */
  120. #ifndef __ISharedAccessBeacon_FWD_DEFINED__
  121. #define __ISharedAccessBeacon_FWD_DEFINED__
  122. typedef interface ISharedAccessBeacon ISharedAccessBeacon;
  123. #endif /* __ISharedAccessBeacon_FWD_DEFINED__ */
  124. #ifndef __ISharedAccessBeaconFinder_FWD_DEFINED__
  125. #define __ISharedAccessBeaconFinder_FWD_DEFINED__
  126. typedef interface ISharedAccessBeaconFinder ISharedAccessBeaconFinder;
  127. #endif /* __ISharedAccessBeaconFinder_FWD_DEFINED__ */
  128. /* header files for imported files */
  129. #include "objidl.h"
  130. #include "netcon.h"
  131. #include "netcfgx.h"
  132. #include "netcfgp.h"
  133. #include "upnp.h"
  134. #ifdef __cplusplus
  135. extern "C"{
  136. #endif
  137. void * __RPC_USER MIDL_user_allocate(size_t);
  138. void __RPC_USER MIDL_user_free( void * );
  139. /* interface __MIDL_itf_netconp_0000 */
  140. /* [local] */
  141. //+-------------------------------------------------------------------------
  142. //
  143. // Microsoft Windows
  144. // Copyright (c) Microsoft Corporation. All rights reserved.
  145. //
  146. //--------------------------------------------------------------------------
  147. #if ( _MSC_VER >= 800 )
  148. #pragma warning(disable:4201)
  149. #endif
  150. EXTERN_C const CLSID CLSID_NetConnectionUiUtilities;
  151. EXTERN_C const CLSID CLSID_NetConnectionHNetUtil;
  152. EXTERN_C const CLSID GUID_NETSHELL_PROPS;
  153. EXTERN_C const CLSID CLSID_ConnectionManager2;
  154. extern RPC_IF_HANDLE __MIDL_itf_netconp_0000_v0_0_c_ifspec;
  155. extern RPC_IF_HANDLE __MIDL_itf_netconp_0000_v0_0_s_ifspec;
  156. #ifndef __INetConnectionUiLock_INTERFACE_DEFINED__
  157. #define __INetConnectionUiLock_INTERFACE_DEFINED__
  158. /* interface INetConnectionUiLock */
  159. /* [unique][uuid][object][local] */
  160. EXTERN_C const IID IID_INetConnectionUiLock;
  161. #if defined(__cplusplus) && !defined(CINTERFACE)
  162. MIDL_INTERFACE("FAEDCF50-31FE-11D1-AAD2-00805FC1270E")
  163. INetConnectionUiLock : public IUnknown
  164. {
  165. public:
  166. virtual HRESULT STDMETHODCALLTYPE QueryLock(
  167. /* [string][out] */ LPWSTR *ppszwLockHolder) = 0;
  168. };
  169. #else /* C style interface */
  170. typedef struct INetConnectionUiLockVtbl
  171. {
  172. BEGIN_INTERFACE
  173. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  174. INetConnectionUiLock * This,
  175. /* [in] */ REFIID riid,
  176. /* [iid_is][out] */ void **ppvObject);
  177. ULONG ( STDMETHODCALLTYPE *AddRef )(
  178. INetConnectionUiLock * This);
  179. ULONG ( STDMETHODCALLTYPE *Release )(
  180. INetConnectionUiLock * This);
  181. HRESULT ( STDMETHODCALLTYPE *QueryLock )(
  182. INetConnectionUiLock * This,
  183. /* [string][out] */ LPWSTR *ppszwLockHolder);
  184. END_INTERFACE
  185. } INetConnectionUiLockVtbl;
  186. interface INetConnectionUiLock
  187. {
  188. CONST_VTBL struct INetConnectionUiLockVtbl *lpVtbl;
  189. };
  190. #ifdef COBJMACROS
  191. #define INetConnectionUiLock_QueryInterface(This,riid,ppvObject) \
  192. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  193. #define INetConnectionUiLock_AddRef(This) \
  194. (This)->lpVtbl -> AddRef(This)
  195. #define INetConnectionUiLock_Release(This) \
  196. (This)->lpVtbl -> Release(This)
  197. #define INetConnectionUiLock_QueryLock(This,ppszwLockHolder) \
  198. (This)->lpVtbl -> QueryLock(This,ppszwLockHolder)
  199. #endif /* COBJMACROS */
  200. #endif /* C style interface */
  201. HRESULT STDMETHODCALLTYPE INetConnectionUiLock_QueryLock_Proxy(
  202. INetConnectionUiLock * This,
  203. /* [string][out] */ LPWSTR *ppszwLockHolder);
  204. void __RPC_STUB INetConnectionUiLock_QueryLock_Stub(
  205. IRpcStubBuffer *This,
  206. IRpcChannelBuffer *_pRpcChannelBuffer,
  207. PRPC_MESSAGE _pRpcMessage,
  208. DWORD *_pdwStubPhase);
  209. #endif /* __INetConnectionUiLock_INTERFACE_DEFINED__ */
  210. #ifndef __INetConnectionWizardUi_INTERFACE_DEFINED__
  211. #define __INetConnectionWizardUi_INTERFACE_DEFINED__
  212. /* interface INetConnectionWizardUi */
  213. /* [unique][uuid][object][local] */
  214. typedef
  215. enum tagNETCON_WIZARD_FLAGS
  216. { NCWF_RENAME_DISABLE = 0x1,
  217. NCWF_SHORTCUT_ENABLE = 0x2,
  218. NCWF_ALLUSER_CONNECTION = 0x4,
  219. NCWF_GLOBAL_CREDENTIALS = 0x8,
  220. NCWF_FIREWALLED = 0x10,
  221. NCWF_DEFAULT = 0x20,
  222. NCWF_SHARED = 0x40,
  223. NCWF_INCOMINGCONNECTION = 0x80
  224. } NETCON_WIZARD_FLAGS;
  225. EXTERN_C const IID IID_INetConnectionWizardUi;
  226. #if defined(__cplusplus) && !defined(CINTERFACE)
  227. MIDL_INTERFACE("FAEDCF51-31FE-11D1-AAD2-00805FC1270E")
  228. INetConnectionWizardUi : public IUnknown
  229. {
  230. public:
  231. virtual HRESULT STDMETHODCALLTYPE QueryMaxPageCount(
  232. /* [in] */ INetConnectionWizardUiContext *pContext,
  233. /* [out] */ DWORD *pcMaxPages) = 0;
  234. virtual HRESULT STDMETHODCALLTYPE AddPages(
  235. /* [in] */ INetConnectionWizardUiContext *pContext,
  236. /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
  237. /* [in] */ LPARAM lParam) = 0;
  238. virtual HRESULT STDMETHODCALLTYPE GetNewConnectionInfo(
  239. /* [out] */ DWORD *pdwFlags,
  240. /* [out] */ NETCON_MEDIATYPE *pMediaType) = 0;
  241. virtual HRESULT STDMETHODCALLTYPE GetSuggestedConnectionName(
  242. /* [string][out] */ LPWSTR *pszwSuggestedName) = 0;
  243. virtual HRESULT STDMETHODCALLTYPE SetConnectionName(
  244. /* [string][in] */ LPCWSTR pszwConnectionName) = 0;
  245. virtual HRESULT STDMETHODCALLTYPE GetNewConnection(
  246. /* [out] */ INetConnection **ppCon) = 0;
  247. };
  248. #else /* C style interface */
  249. typedef struct INetConnectionWizardUiVtbl
  250. {
  251. BEGIN_INTERFACE
  252. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  253. INetConnectionWizardUi * This,
  254. /* [in] */ REFIID riid,
  255. /* [iid_is][out] */ void **ppvObject);
  256. ULONG ( STDMETHODCALLTYPE *AddRef )(
  257. INetConnectionWizardUi * This);
  258. ULONG ( STDMETHODCALLTYPE *Release )(
  259. INetConnectionWizardUi * This);
  260. HRESULT ( STDMETHODCALLTYPE *QueryMaxPageCount )(
  261. INetConnectionWizardUi * This,
  262. /* [in] */ INetConnectionWizardUiContext *pContext,
  263. /* [out] */ DWORD *pcMaxPages);
  264. HRESULT ( STDMETHODCALLTYPE *AddPages )(
  265. INetConnectionWizardUi * This,
  266. /* [in] */ INetConnectionWizardUiContext *pContext,
  267. /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
  268. /* [in] */ LPARAM lParam);
  269. HRESULT ( STDMETHODCALLTYPE *GetNewConnectionInfo )(
  270. INetConnectionWizardUi * This,
  271. /* [out] */ DWORD *pdwFlags,
  272. /* [out] */ NETCON_MEDIATYPE *pMediaType);
  273. HRESULT ( STDMETHODCALLTYPE *GetSuggestedConnectionName )(
  274. INetConnectionWizardUi * This,
  275. /* [string][out] */ LPWSTR *pszwSuggestedName);
  276. HRESULT ( STDMETHODCALLTYPE *SetConnectionName )(
  277. INetConnectionWizardUi * This,
  278. /* [string][in] */ LPCWSTR pszwConnectionName);
  279. HRESULT ( STDMETHODCALLTYPE *GetNewConnection )(
  280. INetConnectionWizardUi * This,
  281. /* [out] */ INetConnection **ppCon);
  282. END_INTERFACE
  283. } INetConnectionWizardUiVtbl;
  284. interface INetConnectionWizardUi
  285. {
  286. CONST_VTBL struct INetConnectionWizardUiVtbl *lpVtbl;
  287. };
  288. #ifdef COBJMACROS
  289. #define INetConnectionWizardUi_QueryInterface(This,riid,ppvObject) \
  290. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  291. #define INetConnectionWizardUi_AddRef(This) \
  292. (This)->lpVtbl -> AddRef(This)
  293. #define INetConnectionWizardUi_Release(This) \
  294. (This)->lpVtbl -> Release(This)
  295. #define INetConnectionWizardUi_QueryMaxPageCount(This,pContext,pcMaxPages) \
  296. (This)->lpVtbl -> QueryMaxPageCount(This,pContext,pcMaxPages)
  297. #define INetConnectionWizardUi_AddPages(This,pContext,pfnAddPage,lParam) \
  298. (This)->lpVtbl -> AddPages(This,pContext,pfnAddPage,lParam)
  299. #define INetConnectionWizardUi_GetNewConnectionInfo(This,pdwFlags,pMediaType) \
  300. (This)->lpVtbl -> GetNewConnectionInfo(This,pdwFlags,pMediaType)
  301. #define INetConnectionWizardUi_GetSuggestedConnectionName(This,pszwSuggestedName) \
  302. (This)->lpVtbl -> GetSuggestedConnectionName(This,pszwSuggestedName)
  303. #define INetConnectionWizardUi_SetConnectionName(This,pszwConnectionName) \
  304. (This)->lpVtbl -> SetConnectionName(This,pszwConnectionName)
  305. #define INetConnectionWizardUi_GetNewConnection(This,ppCon) \
  306. (This)->lpVtbl -> GetNewConnection(This,ppCon)
  307. #endif /* COBJMACROS */
  308. #endif /* C style interface */
  309. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_QueryMaxPageCount_Proxy(
  310. INetConnectionWizardUi * This,
  311. /* [in] */ INetConnectionWizardUiContext *pContext,
  312. /* [out] */ DWORD *pcMaxPages);
  313. void __RPC_STUB INetConnectionWizardUi_QueryMaxPageCount_Stub(
  314. IRpcStubBuffer *This,
  315. IRpcChannelBuffer *_pRpcChannelBuffer,
  316. PRPC_MESSAGE _pRpcMessage,
  317. DWORD *_pdwStubPhase);
  318. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_AddPages_Proxy(
  319. INetConnectionWizardUi * This,
  320. /* [in] */ INetConnectionWizardUiContext *pContext,
  321. /* [in] */ LPFNADDPROPSHEETPAGE pfnAddPage,
  322. /* [in] */ LPARAM lParam);
  323. void __RPC_STUB INetConnectionWizardUi_AddPages_Stub(
  324. IRpcStubBuffer *This,
  325. IRpcChannelBuffer *_pRpcChannelBuffer,
  326. PRPC_MESSAGE _pRpcMessage,
  327. DWORD *_pdwStubPhase);
  328. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_GetNewConnectionInfo_Proxy(
  329. INetConnectionWizardUi * This,
  330. /* [out] */ DWORD *pdwFlags,
  331. /* [out] */ NETCON_MEDIATYPE *pMediaType);
  332. void __RPC_STUB INetConnectionWizardUi_GetNewConnectionInfo_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_GetSuggestedConnectionName_Proxy(
  338. INetConnectionWizardUi * This,
  339. /* [string][out] */ LPWSTR *pszwSuggestedName);
  340. void __RPC_STUB INetConnectionWizardUi_GetSuggestedConnectionName_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_SetConnectionName_Proxy(
  346. INetConnectionWizardUi * This,
  347. /* [string][in] */ LPCWSTR pszwConnectionName);
  348. void __RPC_STUB INetConnectionWizardUi_SetConnectionName_Stub(
  349. IRpcStubBuffer *This,
  350. IRpcChannelBuffer *_pRpcChannelBuffer,
  351. PRPC_MESSAGE _pRpcMessage,
  352. DWORD *_pdwStubPhase);
  353. HRESULT STDMETHODCALLTYPE INetConnectionWizardUi_GetNewConnection_Proxy(
  354. INetConnectionWizardUi * This,
  355. /* [out] */ INetConnection **ppCon);
  356. void __RPC_STUB INetConnectionWizardUi_GetNewConnection_Stub(
  357. IRpcStubBuffer *This,
  358. IRpcChannelBuffer *_pRpcChannelBuffer,
  359. PRPC_MESSAGE _pRpcMessage,
  360. DWORD *_pdwStubPhase);
  361. #endif /* __INetConnectionWizardUi_INTERFACE_DEFINED__ */
  362. #ifndef __INetConnectionWizardUiContext_INTERFACE_DEFINED__
  363. #define __INetConnectionWizardUiContext_INTERFACE_DEFINED__
  364. /* interface INetConnectionWizardUiContext */
  365. /* [unique][uuid][object][local] */
  366. typedef
  367. enum tagSETUP_MODE_FLAGS
  368. { NCWUC_SETUPMODE_MINIMAL = 0,
  369. NCWUC_SETUPMODE_TYPICAL = 0x1,
  370. NCWUC_SETUPMODE_LAPTOP = 0x2,
  371. NCWUC_SETUPMODE_CUSTOM = 0x3
  372. } SETUP_MODE_FLAGS;
  373. typedef
  374. enum tagUNATTENDED_MODE_FLAGS
  375. { UM_DEFAULTHIDE = 0x1,
  376. UM_GUIATTENDED = 0x2,
  377. UM_PROVIDEDEFAULT = 0x3,
  378. UM_READONLY = 0x4,
  379. UM_FULLUNATTENDED = 0x5
  380. } UM_MODE;
  381. typedef
  382. enum tagPRODUCT_TYPE_FLAGS
  383. { NCWUC_PRODUCT_WORKSTATION = 0,
  384. NCWUC_PRODUCT_SERVER_DC = 0x1,
  385. NCWUC_PRODUCT_SERVER_STANDALONE = 0x2
  386. } PRODUCT_TYPE_FLAGS;
  387. typedef
  388. enum tagOPERATION_FLAGS
  389. { NCWUC_SETUPOPER_UPGRADE = 0x4,
  390. NCWUC_SETUPOPER_UNATTENDED = 0x8,
  391. NCWUC_SETUPOPER_POSTINSTALL = 0x10
  392. } OPERATION_FLAGS;
  393. EXTERN_C const IID IID_INetConnectionWizardUiContext;
  394. #if defined(__cplusplus) && !defined(CINTERFACE)
  395. MIDL_INTERFACE("FAEDCF52-31FE-11D1-AAD2-00805FC1270E")
  396. INetConnectionWizardUiContext : public IUnknown
  397. {
  398. public:
  399. virtual DWORD STDMETHODCALLTYPE GetSetupMode( void) = 0;
  400. virtual DWORD STDMETHODCALLTYPE GetProductType( void) = 0;
  401. virtual DWORD STDMETHODCALLTYPE GetOperationFlags( void) = 0;
  402. virtual DWORD STDMETHODCALLTYPE GetUnattendedModeFlags( void) = 0;
  403. virtual HRESULT STDMETHODCALLTYPE GetINetCfg(
  404. /* [out] */ INetCfg **ppINetCfg) = 0;
  405. };
  406. #else /* C style interface */
  407. typedef struct INetConnectionWizardUiContextVtbl
  408. {
  409. BEGIN_INTERFACE
  410. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  411. INetConnectionWizardUiContext * This,
  412. /* [in] */ REFIID riid,
  413. /* [iid_is][out] */ void **ppvObject);
  414. ULONG ( STDMETHODCALLTYPE *AddRef )(
  415. INetConnectionWizardUiContext * This);
  416. ULONG ( STDMETHODCALLTYPE *Release )(
  417. INetConnectionWizardUiContext * This);
  418. DWORD ( STDMETHODCALLTYPE *GetSetupMode )(
  419. INetConnectionWizardUiContext * This);
  420. DWORD ( STDMETHODCALLTYPE *GetProductType )(
  421. INetConnectionWizardUiContext * This);
  422. DWORD ( STDMETHODCALLTYPE *GetOperationFlags )(
  423. INetConnectionWizardUiContext * This);
  424. DWORD ( STDMETHODCALLTYPE *GetUnattendedModeFlags )(
  425. INetConnectionWizardUiContext * This);
  426. HRESULT ( STDMETHODCALLTYPE *GetINetCfg )(
  427. INetConnectionWizardUiContext * This,
  428. /* [out] */ INetCfg **ppINetCfg);
  429. END_INTERFACE
  430. } INetConnectionWizardUiContextVtbl;
  431. interface INetConnectionWizardUiContext
  432. {
  433. CONST_VTBL struct INetConnectionWizardUiContextVtbl *lpVtbl;
  434. };
  435. #ifdef COBJMACROS
  436. #define INetConnectionWizardUiContext_QueryInterface(This,riid,ppvObject) \
  437. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  438. #define INetConnectionWizardUiContext_AddRef(This) \
  439. (This)->lpVtbl -> AddRef(This)
  440. #define INetConnectionWizardUiContext_Release(This) \
  441. (This)->lpVtbl -> Release(This)
  442. #define INetConnectionWizardUiContext_GetSetupMode(This) \
  443. (This)->lpVtbl -> GetSetupMode(This)
  444. #define INetConnectionWizardUiContext_GetProductType(This) \
  445. (This)->lpVtbl -> GetProductType(This)
  446. #define INetConnectionWizardUiContext_GetOperationFlags(This) \
  447. (This)->lpVtbl -> GetOperationFlags(This)
  448. #define INetConnectionWizardUiContext_GetUnattendedModeFlags(This) \
  449. (This)->lpVtbl -> GetUnattendedModeFlags(This)
  450. #define INetConnectionWizardUiContext_GetINetCfg(This,ppINetCfg) \
  451. (This)->lpVtbl -> GetINetCfg(This,ppINetCfg)
  452. #endif /* COBJMACROS */
  453. #endif /* C style interface */
  454. DWORD STDMETHODCALLTYPE INetConnectionWizardUiContext_GetSetupMode_Proxy(
  455. INetConnectionWizardUiContext * This);
  456. void __RPC_STUB INetConnectionWizardUiContext_GetSetupMode_Stub(
  457. IRpcStubBuffer *This,
  458. IRpcChannelBuffer *_pRpcChannelBuffer,
  459. PRPC_MESSAGE _pRpcMessage,
  460. DWORD *_pdwStubPhase);
  461. DWORD STDMETHODCALLTYPE INetConnectionWizardUiContext_GetProductType_Proxy(
  462. INetConnectionWizardUiContext * This);
  463. void __RPC_STUB INetConnectionWizardUiContext_GetProductType_Stub(
  464. IRpcStubBuffer *This,
  465. IRpcChannelBuffer *_pRpcChannelBuffer,
  466. PRPC_MESSAGE _pRpcMessage,
  467. DWORD *_pdwStubPhase);
  468. DWORD STDMETHODCALLTYPE INetConnectionWizardUiContext_GetOperationFlags_Proxy(
  469. INetConnectionWizardUiContext * This);
  470. void __RPC_STUB INetConnectionWizardUiContext_GetOperationFlags_Stub(
  471. IRpcStubBuffer *This,
  472. IRpcChannelBuffer *_pRpcChannelBuffer,
  473. PRPC_MESSAGE _pRpcMessage,
  474. DWORD *_pdwStubPhase);
  475. DWORD STDMETHODCALLTYPE INetConnectionWizardUiContext_GetUnattendedModeFlags_Proxy(
  476. INetConnectionWizardUiContext * This);
  477. void __RPC_STUB INetConnectionWizardUiContext_GetUnattendedModeFlags_Stub(
  478. IRpcStubBuffer *This,
  479. IRpcChannelBuffer *_pRpcChannelBuffer,
  480. PRPC_MESSAGE _pRpcMessage,
  481. DWORD *_pdwStubPhase);
  482. HRESULT STDMETHODCALLTYPE INetConnectionWizardUiContext_GetINetCfg_Proxy(
  483. INetConnectionWizardUiContext * This,
  484. /* [out] */ INetCfg **ppINetCfg);
  485. void __RPC_STUB INetConnectionWizardUiContext_GetINetCfg_Stub(
  486. IRpcStubBuffer *This,
  487. IRpcChannelBuffer *_pRpcChannelBuffer,
  488. PRPC_MESSAGE _pRpcMessage,
  489. DWORD *_pdwStubPhase);
  490. #endif /* __INetConnectionWizardUiContext_INTERFACE_DEFINED__ */
  491. #ifndef __INetInboundConnection_INTERFACE_DEFINED__
  492. #define __INetInboundConnection_INTERFACE_DEFINED__
  493. /* interface INetInboundConnection */
  494. /* [unique][uuid][object] */
  495. EXTERN_C const IID IID_INetInboundConnection;
  496. #if defined(__cplusplus) && !defined(CINTERFACE)
  497. MIDL_INTERFACE("FAEDCF53-31FE-11D1-AAD2-00805FC1270E")
  498. INetInboundConnection : public IUnknown
  499. {
  500. public:
  501. virtual HRESULT STDMETHODCALLTYPE GetServerConnectionHandle(
  502. /* [out] */ ULONG_PTR *phRasSrvCon) = 0;
  503. virtual HRESULT STDMETHODCALLTYPE InitializeAsConfigConnection(
  504. /* [in] */ BOOL fStartRemoteAccess) = 0;
  505. };
  506. #else /* C style interface */
  507. typedef struct INetInboundConnectionVtbl
  508. {
  509. BEGIN_INTERFACE
  510. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  511. INetInboundConnection * This,
  512. /* [in] */ REFIID riid,
  513. /* [iid_is][out] */ void **ppvObject);
  514. ULONG ( STDMETHODCALLTYPE *AddRef )(
  515. INetInboundConnection * This);
  516. ULONG ( STDMETHODCALLTYPE *Release )(
  517. INetInboundConnection * This);
  518. HRESULT ( STDMETHODCALLTYPE *GetServerConnectionHandle )(
  519. INetInboundConnection * This,
  520. /* [out] */ ULONG_PTR *phRasSrvCon);
  521. HRESULT ( STDMETHODCALLTYPE *InitializeAsConfigConnection )(
  522. INetInboundConnection * This,
  523. /* [in] */ BOOL fStartRemoteAccess);
  524. END_INTERFACE
  525. } INetInboundConnectionVtbl;
  526. interface INetInboundConnection
  527. {
  528. CONST_VTBL struct INetInboundConnectionVtbl *lpVtbl;
  529. };
  530. #ifdef COBJMACROS
  531. #define INetInboundConnection_QueryInterface(This,riid,ppvObject) \
  532. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  533. #define INetInboundConnection_AddRef(This) \
  534. (This)->lpVtbl -> AddRef(This)
  535. #define INetInboundConnection_Release(This) \
  536. (This)->lpVtbl -> Release(This)
  537. #define INetInboundConnection_GetServerConnectionHandle(This,phRasSrvCon) \
  538. (This)->lpVtbl -> GetServerConnectionHandle(This,phRasSrvCon)
  539. #define INetInboundConnection_InitializeAsConfigConnection(This,fStartRemoteAccess) \
  540. (This)->lpVtbl -> InitializeAsConfigConnection(This,fStartRemoteAccess)
  541. #endif /* COBJMACROS */
  542. #endif /* C style interface */
  543. HRESULT STDMETHODCALLTYPE INetInboundConnection_GetServerConnectionHandle_Proxy(
  544. INetInboundConnection * This,
  545. /* [out] */ ULONG_PTR *phRasSrvCon);
  546. void __RPC_STUB INetInboundConnection_GetServerConnectionHandle_Stub(
  547. IRpcStubBuffer *This,
  548. IRpcChannelBuffer *_pRpcChannelBuffer,
  549. PRPC_MESSAGE _pRpcMessage,
  550. DWORD *_pdwStubPhase);
  551. HRESULT STDMETHODCALLTYPE INetInboundConnection_InitializeAsConfigConnection_Proxy(
  552. INetInboundConnection * This,
  553. /* [in] */ BOOL fStartRemoteAccess);
  554. void __RPC_STUB INetInboundConnection_InitializeAsConfigConnection_Stub(
  555. IRpcStubBuffer *This,
  556. IRpcChannelBuffer *_pRpcChannelBuffer,
  557. PRPC_MESSAGE _pRpcMessage,
  558. DWORD *_pdwStubPhase);
  559. #endif /* __INetInboundConnection_INTERFACE_DEFINED__ */
  560. #ifndef __INetLanConnection_INTERFACE_DEFINED__
  561. #define __INetLanConnection_INTERFACE_DEFINED__
  562. /* interface INetLanConnection */
  563. /* [unique][uuid][object] */
  564. typedef
  565. enum tagLANCON_INFO_FLAGS
  566. { LCIF_NAME = 0x1,
  567. LCIF_ICON = 0x2,
  568. LCIF_COMP = 0x8,
  569. LCIF_ALL = 0xff
  570. } LANCON_INFO_FLAGS;
  571. typedef struct tagLANCON_INFO
  572. {
  573. /* [string] */ LPWSTR szwConnName;
  574. BOOL fShowIcon;
  575. GUID guid;
  576. } LANCON_INFO;
  577. EXTERN_C const IID IID_INetLanConnection;
  578. #if defined(__cplusplus) && !defined(CINTERFACE)
  579. MIDL_INTERFACE("FAEDCF54-31FE-11D1-AAD2-00805FC1270E")
  580. INetLanConnection : public IUnknown
  581. {
  582. public:
  583. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  584. /* [in] */ DWORD dwMask,
  585. /* [out] */ LANCON_INFO *pLanConInfo) = 0;
  586. virtual HRESULT STDMETHODCALLTYPE SetInfo(
  587. /* [in] */ DWORD dwMask,
  588. /* [in] */ const LANCON_INFO *pLanConInfo) = 0;
  589. virtual HRESULT STDMETHODCALLTYPE GetDeviceGuid(
  590. /* [ref][out] */ GUID *pguid) = 0;
  591. };
  592. #else /* C style interface */
  593. typedef struct INetLanConnectionVtbl
  594. {
  595. BEGIN_INTERFACE
  596. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  597. INetLanConnection * This,
  598. /* [in] */ REFIID riid,
  599. /* [iid_is][out] */ void **ppvObject);
  600. ULONG ( STDMETHODCALLTYPE *AddRef )(
  601. INetLanConnection * This);
  602. ULONG ( STDMETHODCALLTYPE *Release )(
  603. INetLanConnection * This);
  604. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  605. INetLanConnection * This,
  606. /* [in] */ DWORD dwMask,
  607. /* [out] */ LANCON_INFO *pLanConInfo);
  608. HRESULT ( STDMETHODCALLTYPE *SetInfo )(
  609. INetLanConnection * This,
  610. /* [in] */ DWORD dwMask,
  611. /* [in] */ const LANCON_INFO *pLanConInfo);
  612. HRESULT ( STDMETHODCALLTYPE *GetDeviceGuid )(
  613. INetLanConnection * This,
  614. /* [ref][out] */ GUID *pguid);
  615. END_INTERFACE
  616. } INetLanConnectionVtbl;
  617. interface INetLanConnection
  618. {
  619. CONST_VTBL struct INetLanConnectionVtbl *lpVtbl;
  620. };
  621. #ifdef COBJMACROS
  622. #define INetLanConnection_QueryInterface(This,riid,ppvObject) \
  623. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  624. #define INetLanConnection_AddRef(This) \
  625. (This)->lpVtbl -> AddRef(This)
  626. #define INetLanConnection_Release(This) \
  627. (This)->lpVtbl -> Release(This)
  628. #define INetLanConnection_GetInfo(This,dwMask,pLanConInfo) \
  629. (This)->lpVtbl -> GetInfo(This,dwMask,pLanConInfo)
  630. #define INetLanConnection_SetInfo(This,dwMask,pLanConInfo) \
  631. (This)->lpVtbl -> SetInfo(This,dwMask,pLanConInfo)
  632. #define INetLanConnection_GetDeviceGuid(This,pguid) \
  633. (This)->lpVtbl -> GetDeviceGuid(This,pguid)
  634. #endif /* COBJMACROS */
  635. #endif /* C style interface */
  636. HRESULT STDMETHODCALLTYPE INetLanConnection_GetInfo_Proxy(
  637. INetLanConnection * This,
  638. /* [in] */ DWORD dwMask,
  639. /* [out] */ LANCON_INFO *pLanConInfo);
  640. void __RPC_STUB INetLanConnection_GetInfo_Stub(
  641. IRpcStubBuffer *This,
  642. IRpcChannelBuffer *_pRpcChannelBuffer,
  643. PRPC_MESSAGE _pRpcMessage,
  644. DWORD *_pdwStubPhase);
  645. HRESULT STDMETHODCALLTYPE INetLanConnection_SetInfo_Proxy(
  646. INetLanConnection * This,
  647. /* [in] */ DWORD dwMask,
  648. /* [in] */ const LANCON_INFO *pLanConInfo);
  649. void __RPC_STUB INetLanConnection_SetInfo_Stub(
  650. IRpcStubBuffer *This,
  651. IRpcChannelBuffer *_pRpcChannelBuffer,
  652. PRPC_MESSAGE _pRpcMessage,
  653. DWORD *_pdwStubPhase);
  654. HRESULT STDMETHODCALLTYPE INetLanConnection_GetDeviceGuid_Proxy(
  655. INetLanConnection * This,
  656. /* [ref][out] */ GUID *pguid);
  657. void __RPC_STUB INetLanConnection_GetDeviceGuid_Stub(
  658. IRpcStubBuffer *This,
  659. IRpcChannelBuffer *_pRpcChannelBuffer,
  660. PRPC_MESSAGE _pRpcMessage,
  661. DWORD *_pdwStubPhase);
  662. #endif /* __INetLanConnection_INTERFACE_DEFINED__ */
  663. /* interface __MIDL_itf_netconp_0329 */
  664. /* [local] */
  665. EXTERN_C HRESULT WINAPI HrLanConnectionNameFromGuidOrPath (
  666. /* [in] */ const GUID* pguid,
  667. /* [in] */ LPCWSTR pszwPath,
  668. /* [out] */ LPWSTR pszwName,
  669. /* [inout] */ LPDWORD pcchMax);
  670. typedef HRESULT
  671. (WINAPI* PHRLANCONNECTIONNAMEFROMGUIDORPATH)(
  672. const GUID*,
  673. LPCWSTR,
  674. LPWSTR,
  675. LPDWORD
  676. );
  677. EXTERN_C HRESULT WINAPI HrPnpInstanceIdFromGuid (
  678. /* [in] */ const GUID* pguid,
  679. /* [out] */ LPWSTR szwInstance,
  680. /* [in] */ UINT cchInstance);
  681. typedef HRESULT
  682. (WINAPI* PHRPNPINSTANCEIDFROMGUID)(
  683. const GUID*,
  684. LPWSTR,
  685. UINT
  686. );
  687. EXTERN_C HRESULT WINAPI HrGetPnpDeviceStatus (
  688. /* [in] */ const GUID* pguid,
  689. /* [out] */ NETCON_STATUS *pStatus);
  690. typedef HRESULT
  691. (WINAPI* PHRGETPNPDEVICESTATUS)(
  692. const GUID*,
  693. NETCON_STATUS*
  694. );
  695. EXTERN_C HRESULT WINAPI HrQueryLanMediaState (
  696. /* [in] */ const GUID* pguid,
  697. /* [out] */ BOOL *pfEnabled);
  698. typedef HRESULT
  699. (WINAPI* PHRQUERYLANMEDIASTATE)(
  700. const GUID*,
  701. BOOL*
  702. );
  703. extern RPC_IF_HANDLE __MIDL_itf_netconp_0329_v0_0_c_ifspec;
  704. extern RPC_IF_HANDLE __MIDL_itf_netconp_0329_v0_0_s_ifspec;
  705. #ifndef __INetSharedAccessConnection_INTERFACE_DEFINED__
  706. #define __INetSharedAccessConnection_INTERFACE_DEFINED__
  707. /* interface INetSharedAccessConnection */
  708. /* [unique][uuid][object] */
  709. typedef
  710. enum tagSHAREDACCESSCON_INFO_FLAGS
  711. { SACIF_ICON = 0x1,
  712. SACIF_ALL = 0xff
  713. } SHAREDACCESSCON_INFO_FLAGS;
  714. typedef struct tagSHAREDACCESSCON_INFO
  715. {
  716. BOOL fShowIcon;
  717. } SHAREDACCESSCON_INFO;
  718. typedef
  719. enum tagSAHOST_SERVICES
  720. { SAHOST_SERVICE_OSINFO = 0,
  721. SAHOST_SERVICE_WANCOMMONINTERFACECONFIG = SAHOST_SERVICE_OSINFO + 1,
  722. SAHOST_SERVICE_WANIPCONNECTION = SAHOST_SERVICE_WANCOMMONINTERFACECONFIG + 1,
  723. SAHOST_SERVICE_WANPPPCONNECTION = SAHOST_SERVICE_WANIPCONNECTION + 1,
  724. SAHOST_SERVICE_NATSTATICPORTMAPPING = SAHOST_SERVICE_WANPPPCONNECTION + 1,
  725. SAHOST_SERVICE_MAX = SAHOST_SERVICE_NATSTATICPORTMAPPING + 1
  726. } SAHOST_SERVICES;
  727. EXTERN_C const IID IID_INetSharedAccessConnection;
  728. #if defined(__cplusplus) && !defined(CINTERFACE)
  729. MIDL_INTERFACE("FAEDCF55-31FE-11D1-AAD2-00805FC1270E")
  730. INetSharedAccessConnection : public IUnknown
  731. {
  732. public:
  733. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  734. /* [in] */ DWORD dwMask,
  735. /* [out] */ SHAREDACCESSCON_INFO *pLanConInfo) = 0;
  736. virtual HRESULT STDMETHODCALLTYPE SetInfo(
  737. /* [in] */ DWORD dwMask,
  738. /* [in] */ const SHAREDACCESSCON_INFO *pLanConInfo) = 0;
  739. virtual HRESULT STDMETHODCALLTYPE GetLocalAdapterGUID(
  740. /* [out] */ GUID *pGuid) = 0;
  741. virtual HRESULT STDMETHODCALLTYPE GetService(
  742. /* [in] */ SAHOST_SERVICES ulService,
  743. /* [out] */ IUPnPService **ppService) = 0;
  744. };
  745. #else /* C style interface */
  746. typedef struct INetSharedAccessConnectionVtbl
  747. {
  748. BEGIN_INTERFACE
  749. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  750. INetSharedAccessConnection * This,
  751. /* [in] */ REFIID riid,
  752. /* [iid_is][out] */ void **ppvObject);
  753. ULONG ( STDMETHODCALLTYPE *AddRef )(
  754. INetSharedAccessConnection * This);
  755. ULONG ( STDMETHODCALLTYPE *Release )(
  756. INetSharedAccessConnection * This);
  757. HRESULT ( STDMETHODCALLTYPE *GetInfo )(
  758. INetSharedAccessConnection * This,
  759. /* [in] */ DWORD dwMask,
  760. /* [out] */ SHAREDACCESSCON_INFO *pLanConInfo);
  761. HRESULT ( STDMETHODCALLTYPE *SetInfo )(
  762. INetSharedAccessConnection * This,
  763. /* [in] */ DWORD dwMask,
  764. /* [in] */ const SHAREDACCESSCON_INFO *pLanConInfo);
  765. HRESULT ( STDMETHODCALLTYPE *GetLocalAdapterGUID )(
  766. INetSharedAccessConnection * This,
  767. /* [out] */ GUID *pGuid);
  768. HRESULT ( STDMETHODCALLTYPE *GetService )(
  769. INetSharedAccessConnection * This,
  770. /* [in] */ SAHOST_SERVICES ulService,
  771. /* [out] */ IUPnPService **ppService);
  772. END_INTERFACE
  773. } INetSharedAccessConnectionVtbl;
  774. interface INetSharedAccessConnection
  775. {
  776. CONST_VTBL struct INetSharedAccessConnectionVtbl *lpVtbl;
  777. };
  778. #ifdef COBJMACROS
  779. #define INetSharedAccessConnection_QueryInterface(This,riid,ppvObject) \
  780. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  781. #define INetSharedAccessConnection_AddRef(This) \
  782. (This)->lpVtbl -> AddRef(This)
  783. #define INetSharedAccessConnection_Release(This) \
  784. (This)->lpVtbl -> Release(This)
  785. #define INetSharedAccessConnection_GetInfo(This,dwMask,pLanConInfo) \
  786. (This)->lpVtbl -> GetInfo(This,dwMask,pLanConInfo)
  787. #define INetSharedAccessConnection_SetInfo(This,dwMask,pLanConInfo) \
  788. (This)->lpVtbl -> SetInfo(This,dwMask,pLanConInfo)
  789. #define INetSharedAccessConnection_GetLocalAdapterGUID(This,pGuid) \
  790. (This)->lpVtbl -> GetLocalAdapterGUID(This,pGuid)
  791. #define INetSharedAccessConnection_GetService(This,ulService,ppService) \
  792. (This)->lpVtbl -> GetService(This,ulService,ppService)
  793. #endif /* COBJMACROS */
  794. #endif /* C style interface */
  795. HRESULT STDMETHODCALLTYPE INetSharedAccessConnection_GetInfo_Proxy(
  796. INetSharedAccessConnection * This,
  797. /* [in] */ DWORD dwMask,
  798. /* [out] */ SHAREDACCESSCON_INFO *pLanConInfo);
  799. void __RPC_STUB INetSharedAccessConnection_GetInfo_Stub(
  800. IRpcStubBuffer *This,
  801. IRpcChannelBuffer *_pRpcChannelBuffer,
  802. PRPC_MESSAGE _pRpcMessage,
  803. DWORD *_pdwStubPhase);
  804. HRESULT STDMETHODCALLTYPE INetSharedAccessConnection_SetInfo_Proxy(
  805. INetSharedAccessConnection * This,
  806. /* [in] */ DWORD dwMask,
  807. /* [in] */ const SHAREDACCESSCON_INFO *pLanConInfo);
  808. void __RPC_STUB INetSharedAccessConnection_SetInfo_Stub(
  809. IRpcStubBuffer *This,
  810. IRpcChannelBuffer *_pRpcChannelBuffer,
  811. PRPC_MESSAGE _pRpcMessage,
  812. DWORD *_pdwStubPhase);
  813. HRESULT STDMETHODCALLTYPE INetSharedAccessConnection_GetLocalAdapterGUID_Proxy(
  814. INetSharedAccessConnection * This,
  815. /* [out] */ GUID *pGuid);
  816. void __RPC_STUB INetSharedAccessConnection_GetLocalAdapterGUID_Stub(
  817. IRpcStubBuffer *This,
  818. IRpcChannelBuffer *_pRpcChannelBuffer,
  819. PRPC_MESSAGE _pRpcMessage,
  820. DWORD *_pdwStubPhase);
  821. HRESULT STDMETHODCALLTYPE INetSharedAccessConnection_GetService_Proxy(
  822. INetSharedAccessConnection * This,
  823. /* [in] */ SAHOST_SERVICES ulService,
  824. /* [out] */ IUPnPService **ppService);
  825. void __RPC_STUB INetSharedAccessConnection_GetService_Stub(
  826. IRpcStubBuffer *This,
  827. IRpcChannelBuffer *_pRpcChannelBuffer,
  828. PRPC_MESSAGE _pRpcMessage,
  829. DWORD *_pdwStubPhase);
  830. #endif /* __INetSharedAccessConnection_INTERFACE_DEFINED__ */
  831. #ifndef __INetLanConnectionWizardUi_INTERFACE_DEFINED__
  832. #define __INetLanConnectionWizardUi_INTERFACE_DEFINED__
  833. /* interface INetLanConnectionWizardUi */
  834. /* [unique][uuid][object][local] */
  835. EXTERN_C const IID IID_INetLanConnectionWizardUi;
  836. #if defined(__cplusplus) && !defined(CINTERFACE)
  837. MIDL_INTERFACE("FAEDCF56-31FE-11D1-AAD2-00805FC1270E")
  838. INetLanConnectionWizardUi : public IUnknown
  839. {
  840. public:
  841. virtual HRESULT STDMETHODCALLTYPE SetDeviceComponent(
  842. /* [in] */ const GUID *pguid) = 0;
  843. };
  844. #else /* C style interface */
  845. typedef struct INetLanConnectionWizardUiVtbl
  846. {
  847. BEGIN_INTERFACE
  848. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  849. INetLanConnectionWizardUi * This,
  850. /* [in] */ REFIID riid,
  851. /* [iid_is][out] */ void **ppvObject);
  852. ULONG ( STDMETHODCALLTYPE *AddRef )(
  853. INetLanConnectionWizardUi * This);
  854. ULONG ( STDMETHODCALLTYPE *Release )(
  855. INetLanConnectionWizardUi * This);
  856. HRESULT ( STDMETHODCALLTYPE *SetDeviceComponent )(
  857. INetLanConnectionWizardUi * This,
  858. /* [in] */ const GUID *pguid);
  859. END_INTERFACE
  860. } INetLanConnectionWizardUiVtbl;
  861. interface INetLanConnectionWizardUi
  862. {
  863. CONST_VTBL struct INetLanConnectionWizardUiVtbl *lpVtbl;
  864. };
  865. #ifdef COBJMACROS
  866. #define INetLanConnectionWizardUi_QueryInterface(This,riid,ppvObject) \
  867. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  868. #define INetLanConnectionWizardUi_AddRef(This) \
  869. (This)->lpVtbl -> AddRef(This)
  870. #define INetLanConnectionWizardUi_Release(This) \
  871. (This)->lpVtbl -> Release(This)
  872. #define INetLanConnectionWizardUi_SetDeviceComponent(This,pguid) \
  873. (This)->lpVtbl -> SetDeviceComponent(This,pguid)
  874. #endif /* COBJMACROS */
  875. #endif /* C style interface */
  876. HRESULT STDMETHODCALLTYPE INetLanConnectionWizardUi_SetDeviceComponent_Proxy(
  877. INetLanConnectionWizardUi * This,
  878. /* [in] */ const GUID *pguid);
  879. void __RPC_STUB INetLanConnectionWizardUi_SetDeviceComponent_Stub(
  880. IRpcStubBuffer *This,
  881. IRpcChannelBuffer *_pRpcChannelBuffer,
  882. PRPC_MESSAGE _pRpcMessage,
  883. DWORD *_pdwStubPhase);
  884. #endif /* __INetLanConnectionWizardUi_INTERFACE_DEFINED__ */
  885. #ifndef __INetRasConnection_INTERFACE_DEFINED__
  886. #define __INetRasConnection_INTERFACE_DEFINED__
  887. /* interface INetRasConnection */
  888. /* [unique][uuid][object] */
  889. typedef struct tagRASCON_INFO
  890. {
  891. /* [string] */ LPWSTR pszwPbkFile;
  892. /* [string] */ LPWSTR pszwEntryName;
  893. GUID guidId;
  894. } RASCON_INFO;
  895. EXTERN_C const IID IID_INetRasConnection;
  896. #if defined(__cplusplus) && !defined(CINTERFACE)
  897. MIDL_INTERFACE("FAEDCF57-31FE-11D1-AAD2-00805FC1270E")
  898. INetRasConnection : public IUnknown
  899. {
  900. public:
  901. virtual HRESULT STDMETHODCALLTYPE GetRasConnectionInfo(
  902. /* [out] */ RASCON_INFO *pRasConInfo) = 0;
  903. virtual HRESULT STDMETHODCALLTYPE SetRasConnectionInfo(
  904. /* [in] */ const RASCON_INFO *pRasConInfo) = 0;
  905. virtual HRESULT STDMETHODCALLTYPE GetRasConnectionHandle(
  906. /* [out] */ ULONG_PTR *phRasConn) = 0;
  907. };
  908. #else /* C style interface */
  909. typedef struct INetRasConnectionVtbl
  910. {
  911. BEGIN_INTERFACE
  912. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  913. INetRasConnection * This,
  914. /* [in] */ REFIID riid,
  915. /* [iid_is][out] */ void **ppvObject);
  916. ULONG ( STDMETHODCALLTYPE *AddRef )(
  917. INetRasConnection * This);
  918. ULONG ( STDMETHODCALLTYPE *Release )(
  919. INetRasConnection * This);
  920. HRESULT ( STDMETHODCALLTYPE *GetRasConnectionInfo )(
  921. INetRasConnection * This,
  922. /* [out] */ RASCON_INFO *pRasConInfo);
  923. HRESULT ( STDMETHODCALLTYPE *SetRasConnectionInfo )(
  924. INetRasConnection * This,
  925. /* [in] */ const RASCON_INFO *pRasConInfo);
  926. HRESULT ( STDMETHODCALLTYPE *GetRasConnectionHandle )(
  927. INetRasConnection * This,
  928. /* [out] */ ULONG_PTR *phRasConn);
  929. END_INTERFACE
  930. } INetRasConnectionVtbl;
  931. interface INetRasConnection
  932. {
  933. CONST_VTBL struct INetRasConnectionVtbl *lpVtbl;
  934. };
  935. #ifdef COBJMACROS
  936. #define INetRasConnection_QueryInterface(This,riid,ppvObject) \
  937. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  938. #define INetRasConnection_AddRef(This) \
  939. (This)->lpVtbl -> AddRef(This)
  940. #define INetRasConnection_Release(This) \
  941. (This)->lpVtbl -> Release(This)
  942. #define INetRasConnection_GetRasConnectionInfo(This,pRasConInfo) \
  943. (This)->lpVtbl -> GetRasConnectionInfo(This,pRasConInfo)
  944. #define INetRasConnection_SetRasConnectionInfo(This,pRasConInfo) \
  945. (This)->lpVtbl -> SetRasConnectionInfo(This,pRasConInfo)
  946. #define INetRasConnection_GetRasConnectionHandle(This,phRasConn) \
  947. (This)->lpVtbl -> GetRasConnectionHandle(This,phRasConn)
  948. #endif /* COBJMACROS */
  949. #endif /* C style interface */
  950. HRESULT STDMETHODCALLTYPE INetRasConnection_GetRasConnectionInfo_Proxy(
  951. INetRasConnection * This,
  952. /* [out] */ RASCON_INFO *pRasConInfo);
  953. void __RPC_STUB INetRasConnection_GetRasConnectionInfo_Stub(
  954. IRpcStubBuffer *This,
  955. IRpcChannelBuffer *_pRpcChannelBuffer,
  956. PRPC_MESSAGE _pRpcMessage,
  957. DWORD *_pdwStubPhase);
  958. HRESULT STDMETHODCALLTYPE INetRasConnection_SetRasConnectionInfo_Proxy(
  959. INetRasConnection * This,
  960. /* [in] */ const RASCON_INFO *pRasConInfo);
  961. void __RPC_STUB INetRasConnection_SetRasConnectionInfo_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. HRESULT STDMETHODCALLTYPE INetRasConnection_GetRasConnectionHandle_Proxy(
  967. INetRasConnection * This,
  968. /* [out] */ ULONG_PTR *phRasConn);
  969. void __RPC_STUB INetRasConnection_GetRasConnectionHandle_Stub(
  970. IRpcStubBuffer *This,
  971. IRpcChannelBuffer *_pRpcChannelBuffer,
  972. PRPC_MESSAGE _pRpcMessage,
  973. DWORD *_pdwStubPhase);
  974. #endif /* __INetRasConnection_INTERFACE_DEFINED__ */
  975. #ifndef __INetDefaultConnection_INTERFACE_DEFINED__
  976. #define __INetDefaultConnection_INTERFACE_DEFINED__
  977. /* interface INetDefaultConnection */
  978. /* [unique][uuid][object] */
  979. EXTERN_C const IID IID_INetDefaultConnection;
  980. #if defined(__cplusplus) && !defined(CINTERFACE)
  981. MIDL_INTERFACE("FAEDCF66-31FE-11D1-AAD2-00805FC1270E")
  982. INetDefaultConnection : public IUnknown
  983. {
  984. public:
  985. virtual HRESULT STDMETHODCALLTYPE SetDefault(
  986. /* [in] */ BOOL bDefault) = 0;
  987. virtual HRESULT STDMETHODCALLTYPE GetDefault(
  988. /* [out] */ BOOL *pbDefault) = 0;
  989. };
  990. #else /* C style interface */
  991. typedef struct INetDefaultConnectionVtbl
  992. {
  993. BEGIN_INTERFACE
  994. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  995. INetDefaultConnection * This,
  996. /* [in] */ REFIID riid,
  997. /* [iid_is][out] */ void **ppvObject);
  998. ULONG ( STDMETHODCALLTYPE *AddRef )(
  999. INetDefaultConnection * This);
  1000. ULONG ( STDMETHODCALLTYPE *Release )(
  1001. INetDefaultConnection * This);
  1002. HRESULT ( STDMETHODCALLTYPE *SetDefault )(
  1003. INetDefaultConnection * This,
  1004. /* [in] */ BOOL bDefault);
  1005. HRESULT ( STDMETHODCALLTYPE *GetDefault )(
  1006. INetDefaultConnection * This,
  1007. /* [out] */ BOOL *pbDefault);
  1008. END_INTERFACE
  1009. } INetDefaultConnectionVtbl;
  1010. interface INetDefaultConnection
  1011. {
  1012. CONST_VTBL struct INetDefaultConnectionVtbl *lpVtbl;
  1013. };
  1014. #ifdef COBJMACROS
  1015. #define INetDefaultConnection_QueryInterface(This,riid,ppvObject) \
  1016. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1017. #define INetDefaultConnection_AddRef(This) \
  1018. (This)->lpVtbl -> AddRef(This)
  1019. #define INetDefaultConnection_Release(This) \
  1020. (This)->lpVtbl -> Release(This)
  1021. #define INetDefaultConnection_SetDefault(This,bDefault) \
  1022. (This)->lpVtbl -> SetDefault(This,bDefault)
  1023. #define INetDefaultConnection_GetDefault(This,pbDefault) \
  1024. (This)->lpVtbl -> GetDefault(This,pbDefault)
  1025. #endif /* COBJMACROS */
  1026. #endif /* C style interface */
  1027. HRESULT STDMETHODCALLTYPE INetDefaultConnection_SetDefault_Proxy(
  1028. INetDefaultConnection * This,
  1029. /* [in] */ BOOL bDefault);
  1030. void __RPC_STUB INetDefaultConnection_SetDefault_Stub(
  1031. IRpcStubBuffer *This,
  1032. IRpcChannelBuffer *_pRpcChannelBuffer,
  1033. PRPC_MESSAGE _pRpcMessage,
  1034. DWORD *_pdwStubPhase);
  1035. HRESULT STDMETHODCALLTYPE INetDefaultConnection_GetDefault_Proxy(
  1036. INetDefaultConnection * This,
  1037. /* [out] */ BOOL *pbDefault);
  1038. void __RPC_STUB INetDefaultConnection_GetDefault_Stub(
  1039. IRpcStubBuffer *This,
  1040. IRpcChannelBuffer *_pRpcChannelBuffer,
  1041. PRPC_MESSAGE _pRpcMessage,
  1042. DWORD *_pdwStubPhase);
  1043. #endif /* __INetDefaultConnection_INTERFACE_DEFINED__ */
  1044. #ifndef __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__
  1045. #define __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__
  1046. /* interface INetRasConnectionIpUiInfo */
  1047. /* [unique][uuid][object] */
  1048. typedef
  1049. enum tagRASCON_IPUI_FLAGS
  1050. { RCUIF_PPP = 0x1,
  1051. RCUIF_SLIP = 0x2,
  1052. RCUIF_USE_IP_ADDR = 0x4,
  1053. RCUIF_USE_NAME_SERVERS = 0x8,
  1054. RCUIF_USE_REMOTE_GATEWAY = 0x10,
  1055. RCUIF_USE_HEADER_COMPRESSION = 0x20,
  1056. RCUIF_VPN = 0x40,
  1057. RCUIF_DEMAND_DIAL = 0x80,
  1058. RCUIF_USE_DISABLE_REGISTER_DNS = 0x100,
  1059. RCUIF_USE_PRIVATE_DNS_SUFFIX = 0x200,
  1060. RCUIF_NOT_ADMIN = 0x400,
  1061. RCUIF_ENABLE_NBT = 0x800
  1062. } RASCON_UIINFO_FLAGS;
  1063. typedef struct tagRASCON_IPUI
  1064. {
  1065. GUID guidConnection;
  1066. DWORD dwFlags;
  1067. WCHAR pszwIpAddr[ 16 ];
  1068. WCHAR pszwDnsAddr[ 16 ];
  1069. WCHAR pszwDns2Addr[ 16 ];
  1070. WCHAR pszwWinsAddr[ 16 ];
  1071. WCHAR pszwWins2Addr[ 16 ];
  1072. DWORD dwFrameSize;
  1073. WCHAR pszwDnsSuffix[ 256 ];
  1074. } RASCON_IPUI;
  1075. EXTERN_C const IID IID_INetRasConnectionIpUiInfo;
  1076. #if defined(__cplusplus) && !defined(CINTERFACE)
  1077. MIDL_INTERFACE("FAEDCF58-31FE-11D1-AAD2-00805FC1270E")
  1078. INetRasConnectionIpUiInfo : public IUnknown
  1079. {
  1080. public:
  1081. virtual HRESULT STDMETHODCALLTYPE GetUiInfo(
  1082. /* [out] */ RASCON_IPUI *pInfo) = 0;
  1083. };
  1084. #else /* C style interface */
  1085. typedef struct INetRasConnectionIpUiInfoVtbl
  1086. {
  1087. BEGIN_INTERFACE
  1088. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1089. INetRasConnectionIpUiInfo * This,
  1090. /* [in] */ REFIID riid,
  1091. /* [iid_is][out] */ void **ppvObject);
  1092. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1093. INetRasConnectionIpUiInfo * This);
  1094. ULONG ( STDMETHODCALLTYPE *Release )(
  1095. INetRasConnectionIpUiInfo * This);
  1096. HRESULT ( STDMETHODCALLTYPE *GetUiInfo )(
  1097. INetRasConnectionIpUiInfo * This,
  1098. /* [out] */ RASCON_IPUI *pInfo);
  1099. END_INTERFACE
  1100. } INetRasConnectionIpUiInfoVtbl;
  1101. interface INetRasConnectionIpUiInfo
  1102. {
  1103. CONST_VTBL struct INetRasConnectionIpUiInfoVtbl *lpVtbl;
  1104. };
  1105. #ifdef COBJMACROS
  1106. #define INetRasConnectionIpUiInfo_QueryInterface(This,riid,ppvObject) \
  1107. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1108. #define INetRasConnectionIpUiInfo_AddRef(This) \
  1109. (This)->lpVtbl -> AddRef(This)
  1110. #define INetRasConnectionIpUiInfo_Release(This) \
  1111. (This)->lpVtbl -> Release(This)
  1112. #define INetRasConnectionIpUiInfo_GetUiInfo(This,pInfo) \
  1113. (This)->lpVtbl -> GetUiInfo(This,pInfo)
  1114. #endif /* COBJMACROS */
  1115. #endif /* C style interface */
  1116. HRESULT STDMETHODCALLTYPE INetRasConnectionIpUiInfo_GetUiInfo_Proxy(
  1117. INetRasConnectionIpUiInfo * This,
  1118. /* [out] */ RASCON_IPUI *pInfo);
  1119. void __RPC_STUB INetRasConnectionIpUiInfo_GetUiInfo_Stub(
  1120. IRpcStubBuffer *This,
  1121. IRpcChannelBuffer *_pRpcChannelBuffer,
  1122. PRPC_MESSAGE _pRpcMessage,
  1123. DWORD *_pdwStubPhase);
  1124. #endif /* __INetRasConnectionIpUiInfo_INTERFACE_DEFINED__ */
  1125. #ifndef __IPersistNetConnection_INTERFACE_DEFINED__
  1126. #define __IPersistNetConnection_INTERFACE_DEFINED__
  1127. /* interface IPersistNetConnection */
  1128. /* [unique][uuid][object] */
  1129. EXTERN_C const IID IID_IPersistNetConnection;
  1130. #if defined(__cplusplus) && !defined(CINTERFACE)
  1131. MIDL_INTERFACE("FAEDCF59-31FE-11D1-AAD2-00805FC1270E")
  1132. IPersistNetConnection : public IPersist
  1133. {
  1134. public:
  1135. virtual HRESULT STDMETHODCALLTYPE GetSizeMax(
  1136. /* [out] */ ULONG *pcbSize) = 0;
  1137. virtual HRESULT STDMETHODCALLTYPE Load(
  1138. /* [size_is][in] */ const BYTE *pbBuf,
  1139. /* [in] */ ULONG cbSize) = 0;
  1140. virtual HRESULT STDMETHODCALLTYPE Save(
  1141. /* [size_is][out] */ BYTE *pbBuf,
  1142. /* [in] */ ULONG cbSize) = 0;
  1143. };
  1144. #else /* C style interface */
  1145. typedef struct IPersistNetConnectionVtbl
  1146. {
  1147. BEGIN_INTERFACE
  1148. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1149. IPersistNetConnection * This,
  1150. /* [in] */ REFIID riid,
  1151. /* [iid_is][out] */ void **ppvObject);
  1152. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1153. IPersistNetConnection * This);
  1154. ULONG ( STDMETHODCALLTYPE *Release )(
  1155. IPersistNetConnection * This);
  1156. HRESULT ( STDMETHODCALLTYPE *GetClassID )(
  1157. IPersistNetConnection * This,
  1158. /* [out] */ CLSID *pClassID);
  1159. HRESULT ( STDMETHODCALLTYPE *GetSizeMax )(
  1160. IPersistNetConnection * This,
  1161. /* [out] */ ULONG *pcbSize);
  1162. HRESULT ( STDMETHODCALLTYPE *Load )(
  1163. IPersistNetConnection * This,
  1164. /* [size_is][in] */ const BYTE *pbBuf,
  1165. /* [in] */ ULONG cbSize);
  1166. HRESULT ( STDMETHODCALLTYPE *Save )(
  1167. IPersistNetConnection * This,
  1168. /* [size_is][out] */ BYTE *pbBuf,
  1169. /* [in] */ ULONG cbSize);
  1170. END_INTERFACE
  1171. } IPersistNetConnectionVtbl;
  1172. interface IPersistNetConnection
  1173. {
  1174. CONST_VTBL struct IPersistNetConnectionVtbl *lpVtbl;
  1175. };
  1176. #ifdef COBJMACROS
  1177. #define IPersistNetConnection_QueryInterface(This,riid,ppvObject) \
  1178. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1179. #define IPersistNetConnection_AddRef(This) \
  1180. (This)->lpVtbl -> AddRef(This)
  1181. #define IPersistNetConnection_Release(This) \
  1182. (This)->lpVtbl -> Release(This)
  1183. #define IPersistNetConnection_GetClassID(This,pClassID) \
  1184. (This)->lpVtbl -> GetClassID(This,pClassID)
  1185. #define IPersistNetConnection_GetSizeMax(This,pcbSize) \
  1186. (This)->lpVtbl -> GetSizeMax(This,pcbSize)
  1187. #define IPersistNetConnection_Load(This,pbBuf,cbSize) \
  1188. (This)->lpVtbl -> Load(This,pbBuf,cbSize)
  1189. #define IPersistNetConnection_Save(This,pbBuf,cbSize) \
  1190. (This)->lpVtbl -> Save(This,pbBuf,cbSize)
  1191. #endif /* COBJMACROS */
  1192. #endif /* C style interface */
  1193. HRESULT STDMETHODCALLTYPE IPersistNetConnection_GetSizeMax_Proxy(
  1194. IPersistNetConnection * This,
  1195. /* [out] */ ULONG *pcbSize);
  1196. void __RPC_STUB IPersistNetConnection_GetSizeMax_Stub(
  1197. IRpcStubBuffer *This,
  1198. IRpcChannelBuffer *_pRpcChannelBuffer,
  1199. PRPC_MESSAGE _pRpcMessage,
  1200. DWORD *_pdwStubPhase);
  1201. HRESULT STDMETHODCALLTYPE IPersistNetConnection_Load_Proxy(
  1202. IPersistNetConnection * This,
  1203. /* [size_is][in] */ const BYTE *pbBuf,
  1204. /* [in] */ ULONG cbSize);
  1205. void __RPC_STUB IPersistNetConnection_Load_Stub(
  1206. IRpcStubBuffer *This,
  1207. IRpcChannelBuffer *_pRpcChannelBuffer,
  1208. PRPC_MESSAGE _pRpcMessage,
  1209. DWORD *_pdwStubPhase);
  1210. HRESULT STDMETHODCALLTYPE IPersistNetConnection_Save_Proxy(
  1211. IPersistNetConnection * This,
  1212. /* [size_is][out] */ BYTE *pbBuf,
  1213. /* [in] */ ULONG cbSize);
  1214. void __RPC_STUB IPersistNetConnection_Save_Stub(
  1215. IRpcStubBuffer *This,
  1216. IRpcChannelBuffer *_pRpcChannelBuffer,
  1217. PRPC_MESSAGE _pRpcMessage,
  1218. DWORD *_pdwStubPhase);
  1219. #endif /* __IPersistNetConnection_INTERFACE_DEFINED__ */
  1220. #ifndef __INetConnectionBrandingInfo_INTERFACE_DEFINED__
  1221. #define __INetConnectionBrandingInfo_INTERFACE_DEFINED__
  1222. /* interface INetConnectionBrandingInfo */
  1223. /* [unique][uuid][object] */
  1224. typedef struct tagCON_BRANDING_INFO
  1225. {
  1226. /* [string] */ LPWSTR szwLargeIconPath;
  1227. /* [string] */ LPWSTR szwSmallIconPath;
  1228. /* [string] */ LPWSTR szwTrayIconPath;
  1229. } CON_BRANDING_INFO;
  1230. typedef struct tagCON_TRAY_MENU_ENTRY
  1231. {
  1232. /* [string] */ LPWSTR szwMenuText;
  1233. /* [string] */ LPWSTR szwMenuCmdLine;
  1234. /* [string] */ LPWSTR szwMenuParams;
  1235. } CON_TRAY_MENU_ENTRY;
  1236. typedef struct tagCON_TRAY_MENU_DATA
  1237. {
  1238. DWORD dwCount;
  1239. /* [size_is] */ CON_TRAY_MENU_ENTRY *pctme;
  1240. } CON_TRAY_MENU_DATA;
  1241. EXTERN_C const IID IID_INetConnectionBrandingInfo;
  1242. #if defined(__cplusplus) && !defined(CINTERFACE)
  1243. MIDL_INTERFACE("FAEDCF5B-31FE-11D1-AAD2-00805FC1270E")
  1244. INetConnectionBrandingInfo : public IUnknown
  1245. {
  1246. public:
  1247. virtual HRESULT STDMETHODCALLTYPE GetBrandingIconPaths(
  1248. /* [out] */ CON_BRANDING_INFO **ppConBrandInfo) = 0;
  1249. virtual HRESULT STDMETHODCALLTYPE GetTrayMenuEntries(
  1250. /* [out] */ CON_TRAY_MENU_DATA **ppMenuData) = 0;
  1251. };
  1252. #else /* C style interface */
  1253. typedef struct INetConnectionBrandingInfoVtbl
  1254. {
  1255. BEGIN_INTERFACE
  1256. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1257. INetConnectionBrandingInfo * This,
  1258. /* [in] */ REFIID riid,
  1259. /* [iid_is][out] */ void **ppvObject);
  1260. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1261. INetConnectionBrandingInfo * This);
  1262. ULONG ( STDMETHODCALLTYPE *Release )(
  1263. INetConnectionBrandingInfo * This);
  1264. HRESULT ( STDMETHODCALLTYPE *GetBrandingIconPaths )(
  1265. INetConnectionBrandingInfo * This,
  1266. /* [out] */ CON_BRANDING_INFO **ppConBrandInfo);
  1267. HRESULT ( STDMETHODCALLTYPE *GetTrayMenuEntries )(
  1268. INetConnectionBrandingInfo * This,
  1269. /* [out] */ CON_TRAY_MENU_DATA **ppMenuData);
  1270. END_INTERFACE
  1271. } INetConnectionBrandingInfoVtbl;
  1272. interface INetConnectionBrandingInfo
  1273. {
  1274. CONST_VTBL struct INetConnectionBrandingInfoVtbl *lpVtbl;
  1275. };
  1276. #ifdef COBJMACROS
  1277. #define INetConnectionBrandingInfo_QueryInterface(This,riid,ppvObject) \
  1278. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1279. #define INetConnectionBrandingInfo_AddRef(This) \
  1280. (This)->lpVtbl -> AddRef(This)
  1281. #define INetConnectionBrandingInfo_Release(This) \
  1282. (This)->lpVtbl -> Release(This)
  1283. #define INetConnectionBrandingInfo_GetBrandingIconPaths(This,ppConBrandInfo) \
  1284. (This)->lpVtbl -> GetBrandingIconPaths(This,ppConBrandInfo)
  1285. #define INetConnectionBrandingInfo_GetTrayMenuEntries(This,ppMenuData) \
  1286. (This)->lpVtbl -> GetTrayMenuEntries(This,ppMenuData)
  1287. #endif /* COBJMACROS */
  1288. #endif /* C style interface */
  1289. HRESULT STDMETHODCALLTYPE INetConnectionBrandingInfo_GetBrandingIconPaths_Proxy(
  1290. INetConnectionBrandingInfo * This,
  1291. /* [out] */ CON_BRANDING_INFO **ppConBrandInfo);
  1292. void __RPC_STUB INetConnectionBrandingInfo_GetBrandingIconPaths_Stub(
  1293. IRpcStubBuffer *This,
  1294. IRpcChannelBuffer *_pRpcChannelBuffer,
  1295. PRPC_MESSAGE _pRpcMessage,
  1296. DWORD *_pdwStubPhase);
  1297. HRESULT STDMETHODCALLTYPE INetConnectionBrandingInfo_GetTrayMenuEntries_Proxy(
  1298. INetConnectionBrandingInfo * This,
  1299. /* [out] */ CON_TRAY_MENU_DATA **ppMenuData);
  1300. void __RPC_STUB INetConnectionBrandingInfo_GetTrayMenuEntries_Stub(
  1301. IRpcStubBuffer *This,
  1302. IRpcChannelBuffer *_pRpcChannelBuffer,
  1303. PRPC_MESSAGE _pRpcMessage,
  1304. DWORD *_pdwStubPhase);
  1305. #endif /* __INetConnectionBrandingInfo_INTERFACE_DEFINED__ */
  1306. #ifndef __INetConnectionManager2_INTERFACE_DEFINED__
  1307. #define __INetConnectionManager2_INTERFACE_DEFINED__
  1308. /* interface INetConnectionManager2 */
  1309. /* [unique][uuid][object] */
  1310. EXTERN_C const IID IID_INetConnectionManager2;
  1311. #if defined(__cplusplus) && !defined(CINTERFACE)
  1312. MIDL_INTERFACE("FAEDCF69-31FE-11D1-AAD2-00805FC1270E")
  1313. INetConnectionManager2 : public IUnknown
  1314. {
  1315. public:
  1316. virtual HRESULT STDMETHODCALLTYPE EnumConnectionProperties(
  1317. /* [out] */ LPSAFEARRAY *ppsaConnectionProperties) = 0;
  1318. };
  1319. #else /* C style interface */
  1320. typedef struct INetConnectionManager2Vtbl
  1321. {
  1322. BEGIN_INTERFACE
  1323. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1324. INetConnectionManager2 * This,
  1325. /* [in] */ REFIID riid,
  1326. /* [iid_is][out] */ void **ppvObject);
  1327. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1328. INetConnectionManager2 * This);
  1329. ULONG ( STDMETHODCALLTYPE *Release )(
  1330. INetConnectionManager2 * This);
  1331. HRESULT ( STDMETHODCALLTYPE *EnumConnectionProperties )(
  1332. INetConnectionManager2 * This,
  1333. /* [out] */ LPSAFEARRAY *ppsaConnectionProperties);
  1334. END_INTERFACE
  1335. } INetConnectionManager2Vtbl;
  1336. interface INetConnectionManager2
  1337. {
  1338. CONST_VTBL struct INetConnectionManager2Vtbl *lpVtbl;
  1339. };
  1340. #ifdef COBJMACROS
  1341. #define INetConnectionManager2_QueryInterface(This,riid,ppvObject) \
  1342. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1343. #define INetConnectionManager2_AddRef(This) \
  1344. (This)->lpVtbl -> AddRef(This)
  1345. #define INetConnectionManager2_Release(This) \
  1346. (This)->lpVtbl -> Release(This)
  1347. #define INetConnectionManager2_EnumConnectionProperties(This,ppsaConnectionProperties) \
  1348. (This)->lpVtbl -> EnumConnectionProperties(This,ppsaConnectionProperties)
  1349. #endif /* COBJMACROS */
  1350. #endif /* C style interface */
  1351. HRESULT STDMETHODCALLTYPE INetConnectionManager2_EnumConnectionProperties_Proxy(
  1352. INetConnectionManager2 * This,
  1353. /* [out] */ LPSAFEARRAY *ppsaConnectionProperties);
  1354. void __RPC_STUB INetConnectionManager2_EnumConnectionProperties_Stub(
  1355. IRpcStubBuffer *This,
  1356. IRpcChannelBuffer *_pRpcChannelBuffer,
  1357. PRPC_MESSAGE _pRpcMessage,
  1358. DWORD *_pdwStubPhase);
  1359. #endif /* __INetConnectionManager2_INTERFACE_DEFINED__ */
  1360. #ifndef __INetConnection2_INTERFACE_DEFINED__
  1361. #define __INetConnection2_INTERFACE_DEFINED__
  1362. /* interface INetConnection2 */
  1363. /* [unique][uuid][object] */
  1364. typedef
  1365. enum tagNETCON_SUBMEDIATYPE
  1366. { NCSM_NONE = 0,
  1367. NCSM_LAN = NCSM_NONE + 1,
  1368. NCSM_WIRELESS = NCSM_LAN + 1,
  1369. NCSM_ATM = NCSM_WIRELESS + 1,
  1370. NCSM_ELAN = NCSM_ATM + 1,
  1371. NCSM_1394 = NCSM_ELAN + 1,
  1372. NCSM_DIRECT = NCSM_1394 + 1,
  1373. NCSM_IRDA = NCSM_DIRECT + 1,
  1374. NCSM_CM = NCSM_IRDA + 1
  1375. } NETCON_SUBMEDIATYPE;
  1376. typedef struct tagNETCON_PROPERTIES_EX
  1377. {
  1378. DWORD dwSize;
  1379. GUID guidId;
  1380. BSTR bstrName;
  1381. BSTR bstrDeviceName;
  1382. NETCON_STATUS ncStatus;
  1383. NETCON_MEDIATYPE ncMediaType;
  1384. NETCON_SUBMEDIATYPE ncSubMediaType;
  1385. DWORD dwCharacter;
  1386. CLSID clsidThisObject;
  1387. CLSID clsidUiObject;
  1388. BSTR bstrPhoneOrHostAddress;
  1389. BSTR bstrPersistData;
  1390. } NETCON_PROPERTIES_EX;
  1391. EXTERN_C const IID IID_INetConnection2;
  1392. #if defined(__cplusplus) && !defined(CINTERFACE)
  1393. MIDL_INTERFACE("FAEDCF6A-31FE-11D1-AAD2-00805FC1270E")
  1394. INetConnection2 : public IUnknown
  1395. {
  1396. public:
  1397. virtual HRESULT STDMETHODCALLTYPE GetPropertiesEx(
  1398. /* [out] */ NETCON_PROPERTIES_EX **ppConnectionPropertiesEx) = 0;
  1399. };
  1400. #else /* C style interface */
  1401. typedef struct INetConnection2Vtbl
  1402. {
  1403. BEGIN_INTERFACE
  1404. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1405. INetConnection2 * This,
  1406. /* [in] */ REFIID riid,
  1407. /* [iid_is][out] */ void **ppvObject);
  1408. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1409. INetConnection2 * This);
  1410. ULONG ( STDMETHODCALLTYPE *Release )(
  1411. INetConnection2 * This);
  1412. HRESULT ( STDMETHODCALLTYPE *GetPropertiesEx )(
  1413. INetConnection2 * This,
  1414. /* [out] */ NETCON_PROPERTIES_EX **ppConnectionPropertiesEx);
  1415. END_INTERFACE
  1416. } INetConnection2Vtbl;
  1417. interface INetConnection2
  1418. {
  1419. CONST_VTBL struct INetConnection2Vtbl *lpVtbl;
  1420. };
  1421. #ifdef COBJMACROS
  1422. #define INetConnection2_QueryInterface(This,riid,ppvObject) \
  1423. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1424. #define INetConnection2_AddRef(This) \
  1425. (This)->lpVtbl -> AddRef(This)
  1426. #define INetConnection2_Release(This) \
  1427. (This)->lpVtbl -> Release(This)
  1428. #define INetConnection2_GetPropertiesEx(This,ppConnectionPropertiesEx) \
  1429. (This)->lpVtbl -> GetPropertiesEx(This,ppConnectionPropertiesEx)
  1430. #endif /* COBJMACROS */
  1431. #endif /* C style interface */
  1432. HRESULT STDMETHODCALLTYPE INetConnection2_GetPropertiesEx_Proxy(
  1433. INetConnection2 * This,
  1434. /* [out] */ NETCON_PROPERTIES_EX **ppConnectionPropertiesEx);
  1435. void __RPC_STUB INetConnection2_GetPropertiesEx_Stub(
  1436. IRpcStubBuffer *This,
  1437. IRpcChannelBuffer *_pRpcChannelBuffer,
  1438. PRPC_MESSAGE _pRpcMessage,
  1439. DWORD *_pdwStubPhase);
  1440. #endif /* __INetConnection2_INTERFACE_DEFINED__ */
  1441. #ifndef __INetConnectionNotifySink_INTERFACE_DEFINED__
  1442. #define __INetConnectionNotifySink_INTERFACE_DEFINED__
  1443. /* interface INetConnectionNotifySink */
  1444. /* [unique][uuid][object] */
  1445. EXTERN_C const IID IID_INetConnectionNotifySink;
  1446. #if defined(__cplusplus) && !defined(CINTERFACE)
  1447. MIDL_INTERFACE("FAEDCF5C-31FE-11D1-AAD2-00805FC1270E")
  1448. INetConnectionNotifySink : public IUnknown
  1449. {
  1450. public:
  1451. virtual HRESULT STDMETHODCALLTYPE ConnectionAdded(
  1452. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx) = 0;
  1453. virtual HRESULT STDMETHODCALLTYPE ConnectionBandWidthChange(
  1454. /* [in] */ const GUID *pguidId) = 0;
  1455. virtual HRESULT STDMETHODCALLTYPE ConnectionDeleted(
  1456. /* [in] */ const GUID *pguidId) = 0;
  1457. virtual HRESULT STDMETHODCALLTYPE ConnectionModified(
  1458. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx) = 0;
  1459. virtual HRESULT STDMETHODCALLTYPE ConnectionRenamed(
  1460. /* [in] */ const GUID *pguidId,
  1461. /* [string][in] */ LPCWSTR pszwNewName) = 0;
  1462. virtual HRESULT STDMETHODCALLTYPE ConnectionStatusChange(
  1463. /* [in] */ const GUID *pguidId,
  1464. /* [in] */ NETCON_STATUS Status) = 0;
  1465. virtual HRESULT STDMETHODCALLTYPE RefreshAll( void) = 0;
  1466. virtual HRESULT STDMETHODCALLTYPE ConnectionAddressChange(
  1467. /* [in] */ const GUID *pguidId) = 0;
  1468. virtual HRESULT STDMETHODCALLTYPE ShowBalloon(
  1469. /* [in] */ const GUID *pguidId,
  1470. /* [in] */ const BSTR szCookie,
  1471. /* [in] */ const BSTR szBalloonText) = 0;
  1472. virtual HRESULT STDMETHODCALLTYPE DisableEvents(
  1473. /* [in] */ const BOOL fDisable,
  1474. /* [in] */ const ULONG ulDisableTimeout) = 0;
  1475. };
  1476. #else /* C style interface */
  1477. typedef struct INetConnectionNotifySinkVtbl
  1478. {
  1479. BEGIN_INTERFACE
  1480. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1481. INetConnectionNotifySink * This,
  1482. /* [in] */ REFIID riid,
  1483. /* [iid_is][out] */ void **ppvObject);
  1484. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1485. INetConnectionNotifySink * This);
  1486. ULONG ( STDMETHODCALLTYPE *Release )(
  1487. INetConnectionNotifySink * This);
  1488. HRESULT ( STDMETHODCALLTYPE *ConnectionAdded )(
  1489. INetConnectionNotifySink * This,
  1490. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx);
  1491. HRESULT ( STDMETHODCALLTYPE *ConnectionBandWidthChange )(
  1492. INetConnectionNotifySink * This,
  1493. /* [in] */ const GUID *pguidId);
  1494. HRESULT ( STDMETHODCALLTYPE *ConnectionDeleted )(
  1495. INetConnectionNotifySink * This,
  1496. /* [in] */ const GUID *pguidId);
  1497. HRESULT ( STDMETHODCALLTYPE *ConnectionModified )(
  1498. INetConnectionNotifySink * This,
  1499. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx);
  1500. HRESULT ( STDMETHODCALLTYPE *ConnectionRenamed )(
  1501. INetConnectionNotifySink * This,
  1502. /* [in] */ const GUID *pguidId,
  1503. /* [string][in] */ LPCWSTR pszwNewName);
  1504. HRESULT ( STDMETHODCALLTYPE *ConnectionStatusChange )(
  1505. INetConnectionNotifySink * This,
  1506. /* [in] */ const GUID *pguidId,
  1507. /* [in] */ NETCON_STATUS Status);
  1508. HRESULT ( STDMETHODCALLTYPE *RefreshAll )(
  1509. INetConnectionNotifySink * This);
  1510. HRESULT ( STDMETHODCALLTYPE *ConnectionAddressChange )(
  1511. INetConnectionNotifySink * This,
  1512. /* [in] */ const GUID *pguidId);
  1513. HRESULT ( STDMETHODCALLTYPE *ShowBalloon )(
  1514. INetConnectionNotifySink * This,
  1515. /* [in] */ const GUID *pguidId,
  1516. /* [in] */ const BSTR szCookie,
  1517. /* [in] */ const BSTR szBalloonText);
  1518. HRESULT ( STDMETHODCALLTYPE *DisableEvents )(
  1519. INetConnectionNotifySink * This,
  1520. /* [in] */ const BOOL fDisable,
  1521. /* [in] */ const ULONG ulDisableTimeout);
  1522. END_INTERFACE
  1523. } INetConnectionNotifySinkVtbl;
  1524. interface INetConnectionNotifySink
  1525. {
  1526. CONST_VTBL struct INetConnectionNotifySinkVtbl *lpVtbl;
  1527. };
  1528. #ifdef COBJMACROS
  1529. #define INetConnectionNotifySink_QueryInterface(This,riid,ppvObject) \
  1530. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1531. #define INetConnectionNotifySink_AddRef(This) \
  1532. (This)->lpVtbl -> AddRef(This)
  1533. #define INetConnectionNotifySink_Release(This) \
  1534. (This)->lpVtbl -> Release(This)
  1535. #define INetConnectionNotifySink_ConnectionAdded(This,pPropsEx) \
  1536. (This)->lpVtbl -> ConnectionAdded(This,pPropsEx)
  1537. #define INetConnectionNotifySink_ConnectionBandWidthChange(This,pguidId) \
  1538. (This)->lpVtbl -> ConnectionBandWidthChange(This,pguidId)
  1539. #define INetConnectionNotifySink_ConnectionDeleted(This,pguidId) \
  1540. (This)->lpVtbl -> ConnectionDeleted(This,pguidId)
  1541. #define INetConnectionNotifySink_ConnectionModified(This,pPropsEx) \
  1542. (This)->lpVtbl -> ConnectionModified(This,pPropsEx)
  1543. #define INetConnectionNotifySink_ConnectionRenamed(This,pguidId,pszwNewName) \
  1544. (This)->lpVtbl -> ConnectionRenamed(This,pguidId,pszwNewName)
  1545. #define INetConnectionNotifySink_ConnectionStatusChange(This,pguidId,Status) \
  1546. (This)->lpVtbl -> ConnectionStatusChange(This,pguidId,Status)
  1547. #define INetConnectionNotifySink_RefreshAll(This) \
  1548. (This)->lpVtbl -> RefreshAll(This)
  1549. #define INetConnectionNotifySink_ConnectionAddressChange(This,pguidId) \
  1550. (This)->lpVtbl -> ConnectionAddressChange(This,pguidId)
  1551. #define INetConnectionNotifySink_ShowBalloon(This,pguidId,szCookie,szBalloonText) \
  1552. (This)->lpVtbl -> ShowBalloon(This,pguidId,szCookie,szBalloonText)
  1553. #define INetConnectionNotifySink_DisableEvents(This,fDisable,ulDisableTimeout) \
  1554. (This)->lpVtbl -> DisableEvents(This,fDisable,ulDisableTimeout)
  1555. #endif /* COBJMACROS */
  1556. #endif /* C style interface */
  1557. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionAdded_Proxy(
  1558. INetConnectionNotifySink * This,
  1559. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx);
  1560. void __RPC_STUB INetConnectionNotifySink_ConnectionAdded_Stub(
  1561. IRpcStubBuffer *This,
  1562. IRpcChannelBuffer *_pRpcChannelBuffer,
  1563. PRPC_MESSAGE _pRpcMessage,
  1564. DWORD *_pdwStubPhase);
  1565. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionBandWidthChange_Proxy(
  1566. INetConnectionNotifySink * This,
  1567. /* [in] */ const GUID *pguidId);
  1568. void __RPC_STUB INetConnectionNotifySink_ConnectionBandWidthChange_Stub(
  1569. IRpcStubBuffer *This,
  1570. IRpcChannelBuffer *_pRpcChannelBuffer,
  1571. PRPC_MESSAGE _pRpcMessage,
  1572. DWORD *_pdwStubPhase);
  1573. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionDeleted_Proxy(
  1574. INetConnectionNotifySink * This,
  1575. /* [in] */ const GUID *pguidId);
  1576. void __RPC_STUB INetConnectionNotifySink_ConnectionDeleted_Stub(
  1577. IRpcStubBuffer *This,
  1578. IRpcChannelBuffer *_pRpcChannelBuffer,
  1579. PRPC_MESSAGE _pRpcMessage,
  1580. DWORD *_pdwStubPhase);
  1581. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionModified_Proxy(
  1582. INetConnectionNotifySink * This,
  1583. /* [in] */ const NETCON_PROPERTIES_EX *pPropsEx);
  1584. void __RPC_STUB INetConnectionNotifySink_ConnectionModified_Stub(
  1585. IRpcStubBuffer *This,
  1586. IRpcChannelBuffer *_pRpcChannelBuffer,
  1587. PRPC_MESSAGE _pRpcMessage,
  1588. DWORD *_pdwStubPhase);
  1589. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionRenamed_Proxy(
  1590. INetConnectionNotifySink * This,
  1591. /* [in] */ const GUID *pguidId,
  1592. /* [string][in] */ LPCWSTR pszwNewName);
  1593. void __RPC_STUB INetConnectionNotifySink_ConnectionRenamed_Stub(
  1594. IRpcStubBuffer *This,
  1595. IRpcChannelBuffer *_pRpcChannelBuffer,
  1596. PRPC_MESSAGE _pRpcMessage,
  1597. DWORD *_pdwStubPhase);
  1598. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionStatusChange_Proxy(
  1599. INetConnectionNotifySink * This,
  1600. /* [in] */ const GUID *pguidId,
  1601. /* [in] */ NETCON_STATUS Status);
  1602. void __RPC_STUB INetConnectionNotifySink_ConnectionStatusChange_Stub(
  1603. IRpcStubBuffer *This,
  1604. IRpcChannelBuffer *_pRpcChannelBuffer,
  1605. PRPC_MESSAGE _pRpcMessage,
  1606. DWORD *_pdwStubPhase);
  1607. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_RefreshAll_Proxy(
  1608. INetConnectionNotifySink * This);
  1609. void __RPC_STUB INetConnectionNotifySink_RefreshAll_Stub(
  1610. IRpcStubBuffer *This,
  1611. IRpcChannelBuffer *_pRpcChannelBuffer,
  1612. PRPC_MESSAGE _pRpcMessage,
  1613. DWORD *_pdwStubPhase);
  1614. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ConnectionAddressChange_Proxy(
  1615. INetConnectionNotifySink * This,
  1616. /* [in] */ const GUID *pguidId);
  1617. void __RPC_STUB INetConnectionNotifySink_ConnectionAddressChange_Stub(
  1618. IRpcStubBuffer *This,
  1619. IRpcChannelBuffer *_pRpcChannelBuffer,
  1620. PRPC_MESSAGE _pRpcMessage,
  1621. DWORD *_pdwStubPhase);
  1622. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_ShowBalloon_Proxy(
  1623. INetConnectionNotifySink * This,
  1624. /* [in] */ const GUID *pguidId,
  1625. /* [in] */ const BSTR szCookie,
  1626. /* [in] */ const BSTR szBalloonText);
  1627. void __RPC_STUB INetConnectionNotifySink_ShowBalloon_Stub(
  1628. IRpcStubBuffer *This,
  1629. IRpcChannelBuffer *_pRpcChannelBuffer,
  1630. PRPC_MESSAGE _pRpcMessage,
  1631. DWORD *_pdwStubPhase);
  1632. HRESULT STDMETHODCALLTYPE INetConnectionNotifySink_DisableEvents_Proxy(
  1633. INetConnectionNotifySink * This,
  1634. /* [in] */ const BOOL fDisable,
  1635. /* [in] */ const ULONG ulDisableTimeout);
  1636. void __RPC_STUB INetConnectionNotifySink_DisableEvents_Stub(
  1637. IRpcStubBuffer *This,
  1638. IRpcChannelBuffer *_pRpcChannelBuffer,
  1639. PRPC_MESSAGE _pRpcMessage,
  1640. DWORD *_pdwStubPhase);
  1641. #endif /* __INetConnectionNotifySink_INTERFACE_DEFINED__ */
  1642. #ifndef __INetConnectionUiUtilities_INTERFACE_DEFINED__
  1643. #define __INetConnectionUiUtilities_INTERFACE_DEFINED__
  1644. /* interface INetConnectionUiUtilities */
  1645. /* [unique][uuid][object][local] */
  1646. typedef
  1647. enum tagQUERY_USER_FOR_REBOOT_FLAGS
  1648. { QUFR_PROMPT = 0x1,
  1649. QUFR_REBOOT = 0x2
  1650. } QUERY_USER_FOR_REBOOT_FLAGS;
  1651. typedef
  1652. enum tagNCPERM_FLAGS
  1653. { NCPERM_NewConnectionWizard = 0,
  1654. NCPERM_Statistics = 1,
  1655. NCPERM_AddRemoveComponents = 2,
  1656. NCPERM_RasConnect = 3,
  1657. NCPERM_LanConnect = 4,
  1658. NCPERM_DeleteConnection = 5,
  1659. NCPERM_DeleteAllUserConnection = 6,
  1660. NCPERM_RenameConnection = 7,
  1661. NCPERM_RenameMyRasConnection = 8,
  1662. NCPERM_ChangeBindState = 9,
  1663. NCPERM_AdvancedSettings = 10,
  1664. NCPERM_DialupPrefs = 11,
  1665. NCPERM_LanChangeProperties = 12,
  1666. NCPERM_RasChangeProperties = 13,
  1667. NCPERM_LanProperties = 14,
  1668. NCPERM_RasMyProperties = 15,
  1669. NCPERM_RasAllUserProperties = 16,
  1670. NCPERM_ShowSharedAccessUi = 17,
  1671. NCPERM_AllowAdvancedTCPIPConfig = 18,
  1672. NCPERM_OpenConnectionsFolder = 19,
  1673. NCPERM_PersonalFirewallConfig = 20,
  1674. NCPERM_AllowNetBridge_NLA = 21,
  1675. NCPERM_ICSClientApp = 22,
  1676. NCPERM_EnDisComponentsAllUserRas = 23,
  1677. NCPERM_EnDisComponentsMyRas = 24,
  1678. NCPERM_ChangeMyRasProperties = 25,
  1679. NCPERM_ChangeAllUserRasProperties = 26,
  1680. NCPERM_RenameLanConnection = 27,
  1681. NCPERM_RenameAllUserRasConnection = 28,
  1682. NCPERM_IpcfgOperation = 29,
  1683. NCPERM_Repair = 30
  1684. } NCPERM_FLAGS;
  1685. EXTERN_C const IID IID_INetConnectionUiUtilities;
  1686. #if defined(__cplusplus) && !defined(CINTERFACE)
  1687. MIDL_INTERFACE("FAEDCF5E-31FE-11D1-AAD2-00805FC1270E")
  1688. INetConnectionUiUtilities : public IUnknown
  1689. {
  1690. public:
  1691. virtual HRESULT STDMETHODCALLTYPE QueryUserAndRemoveComponent(
  1692. HWND hwndParent,
  1693. INetCfg *pnc,
  1694. INetCfgComponent *pncc) = 0;
  1695. virtual HRESULT STDMETHODCALLTYPE QueryUserForReboot(
  1696. HWND hwndParent,
  1697. LPCTSTR pszCaption,
  1698. DWORD dwFlags) = 0;
  1699. virtual HRESULT STDMETHODCALLTYPE DisplayAddComponentDialog(
  1700. HWND hwndParent,
  1701. INetCfg *pnc,
  1702. CI_FILTER_INFO *pcfi) = 0;
  1703. virtual BOOL STDMETHODCALLTYPE UserHasPermission(
  1704. DWORD dwPerm) = 0;
  1705. };
  1706. #else /* C style interface */
  1707. typedef struct INetConnectionUiUtilitiesVtbl
  1708. {
  1709. BEGIN_INTERFACE
  1710. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1711. INetConnectionUiUtilities * This,
  1712. /* [in] */ REFIID riid,
  1713. /* [iid_is][out] */ void **ppvObject);
  1714. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1715. INetConnectionUiUtilities * This);
  1716. ULONG ( STDMETHODCALLTYPE *Release )(
  1717. INetConnectionUiUtilities * This);
  1718. HRESULT ( STDMETHODCALLTYPE *QueryUserAndRemoveComponent )(
  1719. INetConnectionUiUtilities * This,
  1720. HWND hwndParent,
  1721. INetCfg *pnc,
  1722. INetCfgComponent *pncc);
  1723. HRESULT ( STDMETHODCALLTYPE *QueryUserForReboot )(
  1724. INetConnectionUiUtilities * This,
  1725. HWND hwndParent,
  1726. LPCTSTR pszCaption,
  1727. DWORD dwFlags);
  1728. HRESULT ( STDMETHODCALLTYPE *DisplayAddComponentDialog )(
  1729. INetConnectionUiUtilities * This,
  1730. HWND hwndParent,
  1731. INetCfg *pnc,
  1732. CI_FILTER_INFO *pcfi);
  1733. BOOL ( STDMETHODCALLTYPE *UserHasPermission )(
  1734. INetConnectionUiUtilities * This,
  1735. DWORD dwPerm);
  1736. END_INTERFACE
  1737. } INetConnectionUiUtilitiesVtbl;
  1738. interface INetConnectionUiUtilities
  1739. {
  1740. CONST_VTBL struct INetConnectionUiUtilitiesVtbl *lpVtbl;
  1741. };
  1742. #ifdef COBJMACROS
  1743. #define INetConnectionUiUtilities_QueryInterface(This,riid,ppvObject) \
  1744. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1745. #define INetConnectionUiUtilities_AddRef(This) \
  1746. (This)->lpVtbl -> AddRef(This)
  1747. #define INetConnectionUiUtilities_Release(This) \
  1748. (This)->lpVtbl -> Release(This)
  1749. #define INetConnectionUiUtilities_QueryUserAndRemoveComponent(This,hwndParent,pnc,pncc) \
  1750. (This)->lpVtbl -> QueryUserAndRemoveComponent(This,hwndParent,pnc,pncc)
  1751. #define INetConnectionUiUtilities_QueryUserForReboot(This,hwndParent,pszCaption,dwFlags) \
  1752. (This)->lpVtbl -> QueryUserForReboot(This,hwndParent,pszCaption,dwFlags)
  1753. #define INetConnectionUiUtilities_DisplayAddComponentDialog(This,hwndParent,pnc,pcfi) \
  1754. (This)->lpVtbl -> DisplayAddComponentDialog(This,hwndParent,pnc,pcfi)
  1755. #define INetConnectionUiUtilities_UserHasPermission(This,dwPerm) \
  1756. (This)->lpVtbl -> UserHasPermission(This,dwPerm)
  1757. #endif /* COBJMACROS */
  1758. #endif /* C style interface */
  1759. HRESULT STDMETHODCALLTYPE INetConnectionUiUtilities_QueryUserAndRemoveComponent_Proxy(
  1760. INetConnectionUiUtilities * This,
  1761. HWND hwndParent,
  1762. INetCfg *pnc,
  1763. INetCfgComponent *pncc);
  1764. void __RPC_STUB INetConnectionUiUtilities_QueryUserAndRemoveComponent_Stub(
  1765. IRpcStubBuffer *This,
  1766. IRpcChannelBuffer *_pRpcChannelBuffer,
  1767. PRPC_MESSAGE _pRpcMessage,
  1768. DWORD *_pdwStubPhase);
  1769. HRESULT STDMETHODCALLTYPE INetConnectionUiUtilities_QueryUserForReboot_Proxy(
  1770. INetConnectionUiUtilities * This,
  1771. HWND hwndParent,
  1772. LPCTSTR pszCaption,
  1773. DWORD dwFlags);
  1774. void __RPC_STUB INetConnectionUiUtilities_QueryUserForReboot_Stub(
  1775. IRpcStubBuffer *This,
  1776. IRpcChannelBuffer *_pRpcChannelBuffer,
  1777. PRPC_MESSAGE _pRpcMessage,
  1778. DWORD *_pdwStubPhase);
  1779. HRESULT STDMETHODCALLTYPE INetConnectionUiUtilities_DisplayAddComponentDialog_Proxy(
  1780. INetConnectionUiUtilities * This,
  1781. HWND hwndParent,
  1782. INetCfg *pnc,
  1783. CI_FILTER_INFO *pcfi);
  1784. void __RPC_STUB INetConnectionUiUtilities_DisplayAddComponentDialog_Stub(
  1785. IRpcStubBuffer *This,
  1786. IRpcChannelBuffer *_pRpcChannelBuffer,
  1787. PRPC_MESSAGE _pRpcMessage,
  1788. DWORD *_pdwStubPhase);
  1789. BOOL STDMETHODCALLTYPE INetConnectionUiUtilities_UserHasPermission_Proxy(
  1790. INetConnectionUiUtilities * This,
  1791. DWORD dwPerm);
  1792. void __RPC_STUB INetConnectionUiUtilities_UserHasPermission_Stub(
  1793. IRpcStubBuffer *This,
  1794. IRpcChannelBuffer *_pRpcChannelBuffer,
  1795. PRPC_MESSAGE _pRpcMessage,
  1796. DWORD *_pdwStubPhase);
  1797. #endif /* __INetConnectionUiUtilities_INTERFACE_DEFINED__ */
  1798. #ifndef __INetConnectionRefresh_INTERFACE_DEFINED__
  1799. #define __INetConnectionRefresh_INTERFACE_DEFINED__
  1800. /* interface INetConnectionRefresh */
  1801. /* [unique][uuid][object] */
  1802. EXTERN_C const IID IID_INetConnectionRefresh;
  1803. #if defined(__cplusplus) && !defined(CINTERFACE)
  1804. MIDL_INTERFACE("FAEDCF5F-31FE-11D1-AAD2-00805FC1270E")
  1805. INetConnectionRefresh : public IUnknown
  1806. {
  1807. public:
  1808. virtual HRESULT STDMETHODCALLTYPE RefreshAll( void) = 0;
  1809. virtual HRESULT STDMETHODCALLTYPE ConnectionAdded(
  1810. /* [in] */ INetConnection *pConnection) = 0;
  1811. virtual HRESULT STDMETHODCALLTYPE ConnectionDeleted(
  1812. /* [in] */ const GUID *pguidId) = 0;
  1813. virtual HRESULT STDMETHODCALLTYPE ConnectionModified(
  1814. /* [in] */ INetConnection *pConnection) = 0;
  1815. virtual HRESULT STDMETHODCALLTYPE ConnectionRenamed(
  1816. /* [in] */ INetConnection *pConnection) = 0;
  1817. virtual HRESULT STDMETHODCALLTYPE ConnectionStatusChanged(
  1818. /* [in] */ const GUID *pguidId,
  1819. /* [in] */ const NETCON_STATUS ncs) = 0;
  1820. virtual HRESULT STDMETHODCALLTYPE ShowBalloon(
  1821. /* [in] */ const GUID *pguidId,
  1822. /* [in] */ const BSTR szCookie,
  1823. /* [in] */ const BSTR szBalloonText) = 0;
  1824. virtual HRESULT STDMETHODCALLTYPE DisableEvents(
  1825. /* [in] */ const BOOL fDisable,
  1826. /* [in] */ const ULONG ulDisableTimeout) = 0;
  1827. };
  1828. #else /* C style interface */
  1829. typedef struct INetConnectionRefreshVtbl
  1830. {
  1831. BEGIN_INTERFACE
  1832. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1833. INetConnectionRefresh * This,
  1834. /* [in] */ REFIID riid,
  1835. /* [iid_is][out] */ void **ppvObject);
  1836. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1837. INetConnectionRefresh * This);
  1838. ULONG ( STDMETHODCALLTYPE *Release )(
  1839. INetConnectionRefresh * This);
  1840. HRESULT ( STDMETHODCALLTYPE *RefreshAll )(
  1841. INetConnectionRefresh * This);
  1842. HRESULT ( STDMETHODCALLTYPE *ConnectionAdded )(
  1843. INetConnectionRefresh * This,
  1844. /* [in] */ INetConnection *pConnection);
  1845. HRESULT ( STDMETHODCALLTYPE *ConnectionDeleted )(
  1846. INetConnectionRefresh * This,
  1847. /* [in] */ const GUID *pguidId);
  1848. HRESULT ( STDMETHODCALLTYPE *ConnectionModified )(
  1849. INetConnectionRefresh * This,
  1850. /* [in] */ INetConnection *pConnection);
  1851. HRESULT ( STDMETHODCALLTYPE *ConnectionRenamed )(
  1852. INetConnectionRefresh * This,
  1853. /* [in] */ INetConnection *pConnection);
  1854. HRESULT ( STDMETHODCALLTYPE *ConnectionStatusChanged )(
  1855. INetConnectionRefresh * This,
  1856. /* [in] */ const GUID *pguidId,
  1857. /* [in] */ const NETCON_STATUS ncs);
  1858. HRESULT ( STDMETHODCALLTYPE *ShowBalloon )(
  1859. INetConnectionRefresh * This,
  1860. /* [in] */ const GUID *pguidId,
  1861. /* [in] */ const BSTR szCookie,
  1862. /* [in] */ const BSTR szBalloonText);
  1863. HRESULT ( STDMETHODCALLTYPE *DisableEvents )(
  1864. INetConnectionRefresh * This,
  1865. /* [in] */ const BOOL fDisable,
  1866. /* [in] */ const ULONG ulDisableTimeout);
  1867. END_INTERFACE
  1868. } INetConnectionRefreshVtbl;
  1869. interface INetConnectionRefresh
  1870. {
  1871. CONST_VTBL struct INetConnectionRefreshVtbl *lpVtbl;
  1872. };
  1873. #ifdef COBJMACROS
  1874. #define INetConnectionRefresh_QueryInterface(This,riid,ppvObject) \
  1875. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1876. #define INetConnectionRefresh_AddRef(This) \
  1877. (This)->lpVtbl -> AddRef(This)
  1878. #define INetConnectionRefresh_Release(This) \
  1879. (This)->lpVtbl -> Release(This)
  1880. #define INetConnectionRefresh_RefreshAll(This) \
  1881. (This)->lpVtbl -> RefreshAll(This)
  1882. #define INetConnectionRefresh_ConnectionAdded(This,pConnection) \
  1883. (This)->lpVtbl -> ConnectionAdded(This,pConnection)
  1884. #define INetConnectionRefresh_ConnectionDeleted(This,pguidId) \
  1885. (This)->lpVtbl -> ConnectionDeleted(This,pguidId)
  1886. #define INetConnectionRefresh_ConnectionModified(This,pConnection) \
  1887. (This)->lpVtbl -> ConnectionModified(This,pConnection)
  1888. #define INetConnectionRefresh_ConnectionRenamed(This,pConnection) \
  1889. (This)->lpVtbl -> ConnectionRenamed(This,pConnection)
  1890. #define INetConnectionRefresh_ConnectionStatusChanged(This,pguidId,ncs) \
  1891. (This)->lpVtbl -> ConnectionStatusChanged(This,pguidId,ncs)
  1892. #define INetConnectionRefresh_ShowBalloon(This,pguidId,szCookie,szBalloonText) \
  1893. (This)->lpVtbl -> ShowBalloon(This,pguidId,szCookie,szBalloonText)
  1894. #define INetConnectionRefresh_DisableEvents(This,fDisable,ulDisableTimeout) \
  1895. (This)->lpVtbl -> DisableEvents(This,fDisable,ulDisableTimeout)
  1896. #endif /* COBJMACROS */
  1897. #endif /* C style interface */
  1898. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_RefreshAll_Proxy(
  1899. INetConnectionRefresh * This);
  1900. void __RPC_STUB INetConnectionRefresh_RefreshAll_Stub(
  1901. IRpcStubBuffer *This,
  1902. IRpcChannelBuffer *_pRpcChannelBuffer,
  1903. PRPC_MESSAGE _pRpcMessage,
  1904. DWORD *_pdwStubPhase);
  1905. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ConnectionAdded_Proxy(
  1906. INetConnectionRefresh * This,
  1907. /* [in] */ INetConnection *pConnection);
  1908. void __RPC_STUB INetConnectionRefresh_ConnectionAdded_Stub(
  1909. IRpcStubBuffer *This,
  1910. IRpcChannelBuffer *_pRpcChannelBuffer,
  1911. PRPC_MESSAGE _pRpcMessage,
  1912. DWORD *_pdwStubPhase);
  1913. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ConnectionDeleted_Proxy(
  1914. INetConnectionRefresh * This,
  1915. /* [in] */ const GUID *pguidId);
  1916. void __RPC_STUB INetConnectionRefresh_ConnectionDeleted_Stub(
  1917. IRpcStubBuffer *This,
  1918. IRpcChannelBuffer *_pRpcChannelBuffer,
  1919. PRPC_MESSAGE _pRpcMessage,
  1920. DWORD *_pdwStubPhase);
  1921. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ConnectionModified_Proxy(
  1922. INetConnectionRefresh * This,
  1923. /* [in] */ INetConnection *pConnection);
  1924. void __RPC_STUB INetConnectionRefresh_ConnectionModified_Stub(
  1925. IRpcStubBuffer *This,
  1926. IRpcChannelBuffer *_pRpcChannelBuffer,
  1927. PRPC_MESSAGE _pRpcMessage,
  1928. DWORD *_pdwStubPhase);
  1929. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ConnectionRenamed_Proxy(
  1930. INetConnectionRefresh * This,
  1931. /* [in] */ INetConnection *pConnection);
  1932. void __RPC_STUB INetConnectionRefresh_ConnectionRenamed_Stub(
  1933. IRpcStubBuffer *This,
  1934. IRpcChannelBuffer *_pRpcChannelBuffer,
  1935. PRPC_MESSAGE _pRpcMessage,
  1936. DWORD *_pdwStubPhase);
  1937. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ConnectionStatusChanged_Proxy(
  1938. INetConnectionRefresh * This,
  1939. /* [in] */ const GUID *pguidId,
  1940. /* [in] */ const NETCON_STATUS ncs);
  1941. void __RPC_STUB INetConnectionRefresh_ConnectionStatusChanged_Stub(
  1942. IRpcStubBuffer *This,
  1943. IRpcChannelBuffer *_pRpcChannelBuffer,
  1944. PRPC_MESSAGE _pRpcMessage,
  1945. DWORD *_pdwStubPhase);
  1946. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_ShowBalloon_Proxy(
  1947. INetConnectionRefresh * This,
  1948. /* [in] */ const GUID *pguidId,
  1949. /* [in] */ const BSTR szCookie,
  1950. /* [in] */ const BSTR szBalloonText);
  1951. void __RPC_STUB INetConnectionRefresh_ShowBalloon_Stub(
  1952. IRpcStubBuffer *This,
  1953. IRpcChannelBuffer *_pRpcChannelBuffer,
  1954. PRPC_MESSAGE _pRpcMessage,
  1955. DWORD *_pdwStubPhase);
  1956. HRESULT STDMETHODCALLTYPE INetConnectionRefresh_DisableEvents_Proxy(
  1957. INetConnectionRefresh * This,
  1958. /* [in] */ const BOOL fDisable,
  1959. /* [in] */ const ULONG ulDisableTimeout);
  1960. void __RPC_STUB INetConnectionRefresh_DisableEvents_Stub(
  1961. IRpcStubBuffer *This,
  1962. IRpcChannelBuffer *_pRpcChannelBuffer,
  1963. PRPC_MESSAGE _pRpcMessage,
  1964. DWORD *_pdwStubPhase);
  1965. #endif /* __INetConnectionRefresh_INTERFACE_DEFINED__ */
  1966. #ifndef __INetConnectionCMUtil_INTERFACE_DEFINED__
  1967. #define __INetConnectionCMUtil_INTERFACE_DEFINED__
  1968. /* interface INetConnectionCMUtil */
  1969. /* [unique][uuid][object] */
  1970. EXTERN_C const IID IID_INetConnectionCMUtil;
  1971. #if defined(__cplusplus) && !defined(CINTERFACE)
  1972. MIDL_INTERFACE("FAEDCF60-31FE-11D1-AAD2-00805FC1270E")
  1973. INetConnectionCMUtil : public IUnknown
  1974. {
  1975. public:
  1976. virtual HRESULT STDMETHODCALLTYPE MapCMHiddenConnectionToOwner(
  1977. /* [in] */ REFGUID guidHidden,
  1978. /* [out] */ GUID *pguidOwner) = 0;
  1979. };
  1980. #else /* C style interface */
  1981. typedef struct INetConnectionCMUtilVtbl
  1982. {
  1983. BEGIN_INTERFACE
  1984. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1985. INetConnectionCMUtil * This,
  1986. /* [in] */ REFIID riid,
  1987. /* [iid_is][out] */ void **ppvObject);
  1988. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1989. INetConnectionCMUtil * This);
  1990. ULONG ( STDMETHODCALLTYPE *Release )(
  1991. INetConnectionCMUtil * This);
  1992. HRESULT ( STDMETHODCALLTYPE *MapCMHiddenConnectionToOwner )(
  1993. INetConnectionCMUtil * This,
  1994. /* [in] */ REFGUID guidHidden,
  1995. /* [out] */ GUID *pguidOwner);
  1996. END_INTERFACE
  1997. } INetConnectionCMUtilVtbl;
  1998. interface INetConnectionCMUtil
  1999. {
  2000. CONST_VTBL struct INetConnectionCMUtilVtbl *lpVtbl;
  2001. };
  2002. #ifdef COBJMACROS
  2003. #define INetConnectionCMUtil_QueryInterface(This,riid,ppvObject) \
  2004. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2005. #define INetConnectionCMUtil_AddRef(This) \
  2006. (This)->lpVtbl -> AddRef(This)
  2007. #define INetConnectionCMUtil_Release(This) \
  2008. (This)->lpVtbl -> Release(This)
  2009. #define INetConnectionCMUtil_MapCMHiddenConnectionToOwner(This,guidHidden,pguidOwner) \
  2010. (This)->lpVtbl -> MapCMHiddenConnectionToOwner(This,guidHidden,pguidOwner)
  2011. #endif /* COBJMACROS */
  2012. #endif /* C style interface */
  2013. HRESULT STDMETHODCALLTYPE INetConnectionCMUtil_MapCMHiddenConnectionToOwner_Proxy(
  2014. INetConnectionCMUtil * This,
  2015. /* [in] */ REFGUID guidHidden,
  2016. /* [out] */ GUID *pguidOwner);
  2017. void __RPC_STUB INetConnectionCMUtil_MapCMHiddenConnectionToOwner_Stub(
  2018. IRpcStubBuffer *This,
  2019. IRpcChannelBuffer *_pRpcChannelBuffer,
  2020. PRPC_MESSAGE _pRpcMessage,
  2021. DWORD *_pdwStubPhase);
  2022. #endif /* __INetConnectionCMUtil_INTERFACE_DEFINED__ */
  2023. #ifndef __INetConnectionHNetUtil_INTERFACE_DEFINED__
  2024. #define __INetConnectionHNetUtil_INTERFACE_DEFINED__
  2025. /* interface INetConnectionHNetUtil */
  2026. /* [unique][uuid][object] */
  2027. EXTERN_C const IID IID_INetConnectionHNetUtil;
  2028. #if defined(__cplusplus) && !defined(CINTERFACE)
  2029. MIDL_INTERFACE("FAEDCF64-31FE-11D1-AAD2-00805FC1270E")
  2030. INetConnectionHNetUtil : public IUnknown
  2031. {
  2032. public:
  2033. virtual HRESULT STDMETHODCALLTYPE NotifyUpdate( void) = 0;
  2034. };
  2035. #else /* C style interface */
  2036. typedef struct INetConnectionHNetUtilVtbl
  2037. {
  2038. BEGIN_INTERFACE
  2039. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2040. INetConnectionHNetUtil * This,
  2041. /* [in] */ REFIID riid,
  2042. /* [iid_is][out] */ void **ppvObject);
  2043. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2044. INetConnectionHNetUtil * This);
  2045. ULONG ( STDMETHODCALLTYPE *Release )(
  2046. INetConnectionHNetUtil * This);
  2047. HRESULT ( STDMETHODCALLTYPE *NotifyUpdate )(
  2048. INetConnectionHNetUtil * This);
  2049. END_INTERFACE
  2050. } INetConnectionHNetUtilVtbl;
  2051. interface INetConnectionHNetUtil
  2052. {
  2053. CONST_VTBL struct INetConnectionHNetUtilVtbl *lpVtbl;
  2054. };
  2055. #ifdef COBJMACROS
  2056. #define INetConnectionHNetUtil_QueryInterface(This,riid,ppvObject) \
  2057. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2058. #define INetConnectionHNetUtil_AddRef(This) \
  2059. (This)->lpVtbl -> AddRef(This)
  2060. #define INetConnectionHNetUtil_Release(This) \
  2061. (This)->lpVtbl -> Release(This)
  2062. #define INetConnectionHNetUtil_NotifyUpdate(This) \
  2063. (This)->lpVtbl -> NotifyUpdate(This)
  2064. #endif /* COBJMACROS */
  2065. #endif /* C style interface */
  2066. HRESULT STDMETHODCALLTYPE INetConnectionHNetUtil_NotifyUpdate_Proxy(
  2067. INetConnectionHNetUtil * This);
  2068. void __RPC_STUB INetConnectionHNetUtil_NotifyUpdate_Stub(
  2069. IRpcStubBuffer *This,
  2070. IRpcChannelBuffer *_pRpcChannelBuffer,
  2071. PRPC_MESSAGE _pRpcMessage,
  2072. DWORD *_pdwStubPhase);
  2073. #endif /* __INetConnectionHNetUtil_INTERFACE_DEFINED__ */
  2074. #ifndef __INetConnectionSysTray_INTERFACE_DEFINED__
  2075. #define __INetConnectionSysTray_INTERFACE_DEFINED__
  2076. /* interface INetConnectionSysTray */
  2077. /* [unique][uuid][object] */
  2078. EXTERN_C const IID IID_INetConnectionSysTray;
  2079. #if defined(__cplusplus) && !defined(CINTERFACE)
  2080. MIDL_INTERFACE("FAEDCF65-31FE-11D1-AAD2-00805FC1270E")
  2081. INetConnectionSysTray : public IUnknown
  2082. {
  2083. public:
  2084. virtual HRESULT STDMETHODCALLTYPE ShowIcon(
  2085. /* [in] */ const BOOL bShowIcon) = 0;
  2086. virtual HRESULT STDMETHODCALLTYPE IconStateChanged( void) = 0;
  2087. };
  2088. #else /* C style interface */
  2089. typedef struct INetConnectionSysTrayVtbl
  2090. {
  2091. BEGIN_INTERFACE
  2092. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2093. INetConnectionSysTray * This,
  2094. /* [in] */ REFIID riid,
  2095. /* [iid_is][out] */ void **ppvObject);
  2096. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2097. INetConnectionSysTray * This);
  2098. ULONG ( STDMETHODCALLTYPE *Release )(
  2099. INetConnectionSysTray * This);
  2100. HRESULT ( STDMETHODCALLTYPE *ShowIcon )(
  2101. INetConnectionSysTray * This,
  2102. /* [in] */ const BOOL bShowIcon);
  2103. HRESULT ( STDMETHODCALLTYPE *IconStateChanged )(
  2104. INetConnectionSysTray * This);
  2105. END_INTERFACE
  2106. } INetConnectionSysTrayVtbl;
  2107. interface INetConnectionSysTray
  2108. {
  2109. CONST_VTBL struct INetConnectionSysTrayVtbl *lpVtbl;
  2110. };
  2111. #ifdef COBJMACROS
  2112. #define INetConnectionSysTray_QueryInterface(This,riid,ppvObject) \
  2113. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2114. #define INetConnectionSysTray_AddRef(This) \
  2115. (This)->lpVtbl -> AddRef(This)
  2116. #define INetConnectionSysTray_Release(This) \
  2117. (This)->lpVtbl -> Release(This)
  2118. #define INetConnectionSysTray_ShowIcon(This,bShowIcon) \
  2119. (This)->lpVtbl -> ShowIcon(This,bShowIcon)
  2120. #define INetConnectionSysTray_IconStateChanged(This) \
  2121. (This)->lpVtbl -> IconStateChanged(This)
  2122. #endif /* COBJMACROS */
  2123. #endif /* C style interface */
  2124. HRESULT STDMETHODCALLTYPE INetConnectionSysTray_ShowIcon_Proxy(
  2125. INetConnectionSysTray * This,
  2126. /* [in] */ const BOOL bShowIcon);
  2127. void __RPC_STUB INetConnectionSysTray_ShowIcon_Stub(
  2128. IRpcStubBuffer *This,
  2129. IRpcChannelBuffer *_pRpcChannelBuffer,
  2130. PRPC_MESSAGE _pRpcMessage,
  2131. DWORD *_pdwStubPhase);
  2132. HRESULT STDMETHODCALLTYPE INetConnectionSysTray_IconStateChanged_Proxy(
  2133. INetConnectionSysTray * This);
  2134. void __RPC_STUB INetConnectionSysTray_IconStateChanged_Stub(
  2135. IRpcStubBuffer *This,
  2136. IRpcChannelBuffer *_pRpcChannelBuffer,
  2137. PRPC_MESSAGE _pRpcMessage,
  2138. DWORD *_pdwStubPhase);
  2139. #endif /* __INetConnectionSysTray_INTERFACE_DEFINED__ */
  2140. #ifndef __INetMachinePolicies_INTERFACE_DEFINED__
  2141. #define __INetMachinePolicies_INTERFACE_DEFINED__
  2142. /* interface INetMachinePolicies */
  2143. /* [unique][uuid][object] */
  2144. EXTERN_C const IID IID_INetMachinePolicies;
  2145. #if defined(__cplusplus) && !defined(CINTERFACE)
  2146. MIDL_INTERFACE("FAEDCF68-31FE-11D1-AAD2-00805FC1270E")
  2147. INetMachinePolicies : public IUnknown
  2148. {
  2149. public:
  2150. virtual HRESULT STDMETHODCALLTYPE VerifyPermission(
  2151. /* [in] */ const DWORD ulPerm,
  2152. /* [out] */ BOOL *pPermission) = 0;
  2153. };
  2154. #else /* C style interface */
  2155. typedef struct INetMachinePoliciesVtbl
  2156. {
  2157. BEGIN_INTERFACE
  2158. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2159. INetMachinePolicies * This,
  2160. /* [in] */ REFIID riid,
  2161. /* [iid_is][out] */ void **ppvObject);
  2162. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2163. INetMachinePolicies * This);
  2164. ULONG ( STDMETHODCALLTYPE *Release )(
  2165. INetMachinePolicies * This);
  2166. HRESULT ( STDMETHODCALLTYPE *VerifyPermission )(
  2167. INetMachinePolicies * This,
  2168. /* [in] */ const DWORD ulPerm,
  2169. /* [out] */ BOOL *pPermission);
  2170. END_INTERFACE
  2171. } INetMachinePoliciesVtbl;
  2172. interface INetMachinePolicies
  2173. {
  2174. CONST_VTBL struct INetMachinePoliciesVtbl *lpVtbl;
  2175. };
  2176. #ifdef COBJMACROS
  2177. #define INetMachinePolicies_QueryInterface(This,riid,ppvObject) \
  2178. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2179. #define INetMachinePolicies_AddRef(This) \
  2180. (This)->lpVtbl -> AddRef(This)
  2181. #define INetMachinePolicies_Release(This) \
  2182. (This)->lpVtbl -> Release(This)
  2183. #define INetMachinePolicies_VerifyPermission(This,ulPerm,pPermission) \
  2184. (This)->lpVtbl -> VerifyPermission(This,ulPerm,pPermission)
  2185. #endif /* COBJMACROS */
  2186. #endif /* C style interface */
  2187. HRESULT STDMETHODCALLTYPE INetMachinePolicies_VerifyPermission_Proxy(
  2188. INetMachinePolicies * This,
  2189. /* [in] */ const DWORD ulPerm,
  2190. /* [out] */ BOOL *pPermission);
  2191. void __RPC_STUB INetMachinePolicies_VerifyPermission_Stub(
  2192. IRpcStubBuffer *This,
  2193. IRpcChannelBuffer *_pRpcChannelBuffer,
  2194. PRPC_MESSAGE _pRpcMessage,
  2195. DWORD *_pdwStubPhase);
  2196. #endif /* __INetMachinePolicies_INTERFACE_DEFINED__ */
  2197. #ifndef __INetConnectionManagerDebug_INTERFACE_DEFINED__
  2198. #define __INetConnectionManagerDebug_INTERFACE_DEFINED__
  2199. /* interface INetConnectionManagerDebug */
  2200. /* [unique][uuid][object] */
  2201. EXTERN_C const IID IID_INetConnectionManagerDebug;
  2202. #if defined(__cplusplus) && !defined(CINTERFACE)
  2203. MIDL_INTERFACE("FAEDCF5D-31FE-11D1-AAD2-00805FC1270E")
  2204. INetConnectionManagerDebug : public IUnknown
  2205. {
  2206. public:
  2207. virtual HRESULT STDMETHODCALLTYPE NotifyTestStart( void) = 0;
  2208. virtual HRESULT STDMETHODCALLTYPE NotifyTestStop( void) = 0;
  2209. };
  2210. #else /* C style interface */
  2211. typedef struct INetConnectionManagerDebugVtbl
  2212. {
  2213. BEGIN_INTERFACE
  2214. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2215. INetConnectionManagerDebug * This,
  2216. /* [in] */ REFIID riid,
  2217. /* [iid_is][out] */ void **ppvObject);
  2218. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2219. INetConnectionManagerDebug * This);
  2220. ULONG ( STDMETHODCALLTYPE *Release )(
  2221. INetConnectionManagerDebug * This);
  2222. HRESULT ( STDMETHODCALLTYPE *NotifyTestStart )(
  2223. INetConnectionManagerDebug * This);
  2224. HRESULT ( STDMETHODCALLTYPE *NotifyTestStop )(
  2225. INetConnectionManagerDebug * This);
  2226. END_INTERFACE
  2227. } INetConnectionManagerDebugVtbl;
  2228. interface INetConnectionManagerDebug
  2229. {
  2230. CONST_VTBL struct INetConnectionManagerDebugVtbl *lpVtbl;
  2231. };
  2232. #ifdef COBJMACROS
  2233. #define INetConnectionManagerDebug_QueryInterface(This,riid,ppvObject) \
  2234. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2235. #define INetConnectionManagerDebug_AddRef(This) \
  2236. (This)->lpVtbl -> AddRef(This)
  2237. #define INetConnectionManagerDebug_Release(This) \
  2238. (This)->lpVtbl -> Release(This)
  2239. #define INetConnectionManagerDebug_NotifyTestStart(This) \
  2240. (This)->lpVtbl -> NotifyTestStart(This)
  2241. #define INetConnectionManagerDebug_NotifyTestStop(This) \
  2242. (This)->lpVtbl -> NotifyTestStop(This)
  2243. #endif /* COBJMACROS */
  2244. #endif /* C style interface */
  2245. HRESULT STDMETHODCALLTYPE INetConnectionManagerDebug_NotifyTestStart_Proxy(
  2246. INetConnectionManagerDebug * This);
  2247. void __RPC_STUB INetConnectionManagerDebug_NotifyTestStart_Stub(
  2248. IRpcStubBuffer *This,
  2249. IRpcChannelBuffer *_pRpcChannelBuffer,
  2250. PRPC_MESSAGE _pRpcMessage,
  2251. DWORD *_pdwStubPhase);
  2252. HRESULT STDMETHODCALLTYPE INetConnectionManagerDebug_NotifyTestStop_Proxy(
  2253. INetConnectionManagerDebug * This);
  2254. void __RPC_STUB INetConnectionManagerDebug_NotifyTestStop_Stub(
  2255. IRpcStubBuffer *This,
  2256. IRpcChannelBuffer *_pRpcChannelBuffer,
  2257. PRPC_MESSAGE _pRpcMessage,
  2258. DWORD *_pdwStubPhase);
  2259. #endif /* __INetConnectionManagerDebug_INTERFACE_DEFINED__ */
  2260. #ifndef __ISharedAccessBeacon_INTERFACE_DEFINED__
  2261. #define __ISharedAccessBeacon_INTERFACE_DEFINED__
  2262. /* interface ISharedAccessBeacon */
  2263. /* [object][unique][uuid] */
  2264. EXTERN_C const IID IID_ISharedAccessBeacon;
  2265. #if defined(__cplusplus) && !defined(CINTERFACE)
  2266. MIDL_INTERFACE("FAEDCF6B-31FE-11D1-AAD2-00805FC1270E")
  2267. ISharedAccessBeacon : public IUnknown
  2268. {
  2269. public:
  2270. virtual HRESULT STDMETHODCALLTYPE GetMediaType(
  2271. /* [out] */ NETCON_MEDIATYPE *pMediaType) = 0;
  2272. virtual HRESULT STDMETHODCALLTYPE GetLocalAdapterGUID(
  2273. /* [out] */ GUID *pGuid) = 0;
  2274. virtual HRESULT STDMETHODCALLTYPE GetService(
  2275. /* [in] */ SAHOST_SERVICES ulService,
  2276. /* [out] */ IUPnPService **__MIDL_0018) = 0;
  2277. virtual HRESULT STDMETHODCALLTYPE GetUniqueDeviceName(
  2278. /* [out] */ BSTR *pUDN) = 0;
  2279. };
  2280. #else /* C style interface */
  2281. typedef struct ISharedAccessBeaconVtbl
  2282. {
  2283. BEGIN_INTERFACE
  2284. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2285. ISharedAccessBeacon * This,
  2286. /* [in] */ REFIID riid,
  2287. /* [iid_is][out] */ void **ppvObject);
  2288. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2289. ISharedAccessBeacon * This);
  2290. ULONG ( STDMETHODCALLTYPE *Release )(
  2291. ISharedAccessBeacon * This);
  2292. HRESULT ( STDMETHODCALLTYPE *GetMediaType )(
  2293. ISharedAccessBeacon * This,
  2294. /* [out] */ NETCON_MEDIATYPE *pMediaType);
  2295. HRESULT ( STDMETHODCALLTYPE *GetLocalAdapterGUID )(
  2296. ISharedAccessBeacon * This,
  2297. /* [out] */ GUID *pGuid);
  2298. HRESULT ( STDMETHODCALLTYPE *GetService )(
  2299. ISharedAccessBeacon * This,
  2300. /* [in] */ SAHOST_SERVICES ulService,
  2301. /* [out] */ IUPnPService **__MIDL_0018);
  2302. HRESULT ( STDMETHODCALLTYPE *GetUniqueDeviceName )(
  2303. ISharedAccessBeacon * This,
  2304. /* [out] */ BSTR *pUDN);
  2305. END_INTERFACE
  2306. } ISharedAccessBeaconVtbl;
  2307. interface ISharedAccessBeacon
  2308. {
  2309. CONST_VTBL struct ISharedAccessBeaconVtbl *lpVtbl;
  2310. };
  2311. #ifdef COBJMACROS
  2312. #define ISharedAccessBeacon_QueryInterface(This,riid,ppvObject) \
  2313. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2314. #define ISharedAccessBeacon_AddRef(This) \
  2315. (This)->lpVtbl -> AddRef(This)
  2316. #define ISharedAccessBeacon_Release(This) \
  2317. (This)->lpVtbl -> Release(This)
  2318. #define ISharedAccessBeacon_GetMediaType(This,pMediaType) \
  2319. (This)->lpVtbl -> GetMediaType(This,pMediaType)
  2320. #define ISharedAccessBeacon_GetLocalAdapterGUID(This,pGuid) \
  2321. (This)->lpVtbl -> GetLocalAdapterGUID(This,pGuid)
  2322. #define ISharedAccessBeacon_GetService(This,ulService,__MIDL_0018) \
  2323. (This)->lpVtbl -> GetService(This,ulService,__MIDL_0018)
  2324. #define ISharedAccessBeacon_GetUniqueDeviceName(This,pUDN) \
  2325. (This)->lpVtbl -> GetUniqueDeviceName(This,pUDN)
  2326. #endif /* COBJMACROS */
  2327. #endif /* C style interface */
  2328. HRESULT STDMETHODCALLTYPE ISharedAccessBeacon_GetMediaType_Proxy(
  2329. ISharedAccessBeacon * This,
  2330. /* [out] */ NETCON_MEDIATYPE *pMediaType);
  2331. void __RPC_STUB ISharedAccessBeacon_GetMediaType_Stub(
  2332. IRpcStubBuffer *This,
  2333. IRpcChannelBuffer *_pRpcChannelBuffer,
  2334. PRPC_MESSAGE _pRpcMessage,
  2335. DWORD *_pdwStubPhase);
  2336. HRESULT STDMETHODCALLTYPE ISharedAccessBeacon_GetLocalAdapterGUID_Proxy(
  2337. ISharedAccessBeacon * This,
  2338. /* [out] */ GUID *pGuid);
  2339. void __RPC_STUB ISharedAccessBeacon_GetLocalAdapterGUID_Stub(
  2340. IRpcStubBuffer *This,
  2341. IRpcChannelBuffer *_pRpcChannelBuffer,
  2342. PRPC_MESSAGE _pRpcMessage,
  2343. DWORD *_pdwStubPhase);
  2344. HRESULT STDMETHODCALLTYPE ISharedAccessBeacon_GetService_Proxy(
  2345. ISharedAccessBeacon * This,
  2346. /* [in] */ SAHOST_SERVICES ulService,
  2347. /* [out] */ IUPnPService **__MIDL_0018);
  2348. void __RPC_STUB ISharedAccessBeacon_GetService_Stub(
  2349. IRpcStubBuffer *This,
  2350. IRpcChannelBuffer *_pRpcChannelBuffer,
  2351. PRPC_MESSAGE _pRpcMessage,
  2352. DWORD *_pdwStubPhase);
  2353. HRESULT STDMETHODCALLTYPE ISharedAccessBeacon_GetUniqueDeviceName_Proxy(
  2354. ISharedAccessBeacon * This,
  2355. /* [out] */ BSTR *pUDN);
  2356. void __RPC_STUB ISharedAccessBeacon_GetUniqueDeviceName_Stub(
  2357. IRpcStubBuffer *This,
  2358. IRpcChannelBuffer *_pRpcChannelBuffer,
  2359. PRPC_MESSAGE _pRpcMessage,
  2360. DWORD *_pdwStubPhase);
  2361. #endif /* __ISharedAccessBeacon_INTERFACE_DEFINED__ */
  2362. #ifndef __ISharedAccessBeaconFinder_INTERFACE_DEFINED__
  2363. #define __ISharedAccessBeaconFinder_INTERFACE_DEFINED__
  2364. /* interface ISharedAccessBeaconFinder */
  2365. /* [object][unique][uuid] */
  2366. typedef struct tagSHAREDACCESS_HOST_INFO
  2367. {
  2368. BSTR WANAccessType;
  2369. IUPnPService *pOSInfo;
  2370. IUPnPService *pWANCommonInterfaceConfig;
  2371. IUPnPService *pWANConnection;
  2372. GUID LocalAdapterGuid;
  2373. } SHAREDACCESS_HOST_INFO;
  2374. EXTERN_C const IID IID_ISharedAccessBeaconFinder;
  2375. #if defined(__cplusplus) && !defined(CINTERFACE)
  2376. MIDL_INTERFACE("FAEDCF67-31FE-11D1-AAD2-00805FC1270E")
  2377. ISharedAccessBeaconFinder : public IUnknown
  2378. {
  2379. public:
  2380. virtual HRESULT STDMETHODCALLTYPE GetSharedAccessBeacon(
  2381. /* [in] */ BSTR DeviceId,
  2382. /* [out] */ ISharedAccessBeacon **ppSharedAccessBeacon) = 0;
  2383. };
  2384. #else /* C style interface */
  2385. typedef struct ISharedAccessBeaconFinderVtbl
  2386. {
  2387. BEGIN_INTERFACE
  2388. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2389. ISharedAccessBeaconFinder * This,
  2390. /* [in] */ REFIID riid,
  2391. /* [iid_is][out] */ void **ppvObject);
  2392. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2393. ISharedAccessBeaconFinder * This);
  2394. ULONG ( STDMETHODCALLTYPE *Release )(
  2395. ISharedAccessBeaconFinder * This);
  2396. HRESULT ( STDMETHODCALLTYPE *GetSharedAccessBeacon )(
  2397. ISharedAccessBeaconFinder * This,
  2398. /* [in] */ BSTR DeviceId,
  2399. /* [out] */ ISharedAccessBeacon **ppSharedAccessBeacon);
  2400. END_INTERFACE
  2401. } ISharedAccessBeaconFinderVtbl;
  2402. interface ISharedAccessBeaconFinder
  2403. {
  2404. CONST_VTBL struct ISharedAccessBeaconFinderVtbl *lpVtbl;
  2405. };
  2406. #ifdef COBJMACROS
  2407. #define ISharedAccessBeaconFinder_QueryInterface(This,riid,ppvObject) \
  2408. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2409. #define ISharedAccessBeaconFinder_AddRef(This) \
  2410. (This)->lpVtbl -> AddRef(This)
  2411. #define ISharedAccessBeaconFinder_Release(This) \
  2412. (This)->lpVtbl -> Release(This)
  2413. #define ISharedAccessBeaconFinder_GetSharedAccessBeacon(This,DeviceId,ppSharedAccessBeacon) \
  2414. (This)->lpVtbl -> GetSharedAccessBeacon(This,DeviceId,ppSharedAccessBeacon)
  2415. #endif /* COBJMACROS */
  2416. #endif /* C style interface */
  2417. HRESULT STDMETHODCALLTYPE ISharedAccessBeaconFinder_GetSharedAccessBeacon_Proxy(
  2418. ISharedAccessBeaconFinder * This,
  2419. /* [in] */ BSTR DeviceId,
  2420. /* [out] */ ISharedAccessBeacon **ppSharedAccessBeacon);
  2421. void __RPC_STUB ISharedAccessBeaconFinder_GetSharedAccessBeacon_Stub(
  2422. IRpcStubBuffer *This,
  2423. IRpcChannelBuffer *_pRpcChannelBuffer,
  2424. PRPC_MESSAGE _pRpcMessage,
  2425. DWORD *_pdwStubPhase);
  2426. #endif /* __ISharedAccessBeaconFinder_INTERFACE_DEFINED__ */
  2427. /* interface __MIDL_itf_netconp_0348 */
  2428. /* [local] */
  2429. EXTERN_C HRESULT WINAPI HrGetIconFromMediaType (
  2430. /* [in] */ DWORD dwIconSize,
  2431. /* [in] */ NETCON_MEDIATYPE ncm,
  2432. /* [in] */ NETCON_SUBMEDIATYPE ncsm,
  2433. /* [in] */ DWORD dwConnectionIcon,
  2434. /* [in] */ DWORD dwCharacteristics,
  2435. /* [out] */ HICON *phIcon);
  2436. extern RPC_IF_HANDLE __MIDL_itf_netconp_0348_v0_0_c_ifspec;
  2437. extern RPC_IF_HANDLE __MIDL_itf_netconp_0348_v0_0_s_ifspec;
  2438. /* Additional Prototypes for ALL interfaces */
  2439. unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
  2440. unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
  2441. unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
  2442. void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
  2443. unsigned long __RPC_USER LPSAFEARRAY_UserSize( unsigned long *, unsigned long , LPSAFEARRAY * );
  2444. unsigned char * __RPC_USER LPSAFEARRAY_UserMarshal( unsigned long *, unsigned char *, LPSAFEARRAY * );
  2445. unsigned char * __RPC_USER LPSAFEARRAY_UserUnmarshal(unsigned long *, unsigned char *, LPSAFEARRAY * );
  2446. void __RPC_USER LPSAFEARRAY_UserFree( unsigned long *, LPSAFEARRAY * );
  2447. /* end of Additional Prototypes */
  2448. #ifdef __cplusplus
  2449. }
  2450. #endif
  2451. #endif