Source code of Windows XP (NT5)
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.

570 lines
15 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* Compiler settings for iedial.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  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__ 440
  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 __iedial_h__
  27. #define __iedial_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDialEventSink_FWD_DEFINED__
  33. #define __IDialEventSink_FWD_DEFINED__
  34. typedef interface IDialEventSink IDialEventSink;
  35. #endif /* __IDialEventSink_FWD_DEFINED__ */
  36. #ifndef __IDialEngine_FWD_DEFINED__
  37. #define __IDialEngine_FWD_DEFINED__
  38. typedef interface IDialEngine IDialEngine;
  39. #endif /* __IDialEngine_FWD_DEFINED__ */
  40. #ifndef __IDialBranding_FWD_DEFINED__
  41. #define __IDialBranding_FWD_DEFINED__
  42. typedef interface IDialBranding IDialBranding;
  43. #endif /* __IDialBranding_FWD_DEFINED__ */
  44. /* header files for imported files */
  45. #include "unknwn.h"
  46. #include "ocidl.h"
  47. #ifdef __cplusplus
  48. extern "C"{
  49. #endif
  50. void * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void * );
  52. /* interface __MIDL_itf_iedial_0000 */
  53. /* [local] */
  54. //=--------------------------------------------------------------------------=
  55. // iedial.h
  56. //=--------------------------------------------------------------------------=
  57. // (C) Copyright 1995-1999 Microsoft Corporation. All Rights Reserved.
  58. //
  59. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
  60. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
  61. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  62. // PARTICULAR PURPOSE.
  63. //=--------------------------------------------------------------------------=
  64. #pragma comment(lib,"uuid.lib")
  65. //---------------------------------------------------------------------------=
  66. // Channel Manager Interfaces.
  67. extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_c_ifspec;
  68. extern RPC_IF_HANDLE __MIDL_itf_iedial_0000_v0_0_s_ifspec;
  69. #ifndef __IDialEventSink_INTERFACE_DEFINED__
  70. #define __IDialEventSink_INTERFACE_DEFINED__
  71. /* interface IDialEventSink */
  72. /* [object][helpstring][version][uuid] */
  73. EXTERN_C const IID IID_IDialEventSink;
  74. #if defined(__cplusplus) && !defined(CINTERFACE)
  75. MIDL_INTERFACE("2d86f4ff-6e2d-4488-b2e9-6934afd41bea")
  76. IDialEventSink : public IUnknown
  77. {
  78. public:
  79. virtual HRESULT STDMETHODCALLTYPE OnEvent(
  80. /* [in] */ DWORD dwEvent,
  81. /* [in] */ DWORD dwStatus) = 0;
  82. };
  83. #else /* C style interface */
  84. typedef struct IDialEventSinkVtbl
  85. {
  86. BEGIN_INTERFACE
  87. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  88. IDialEventSink * This,
  89. /* [in] */ REFIID riid,
  90. /* [iid_is][out] */ void **ppvObject);
  91. ULONG ( STDMETHODCALLTYPE *AddRef )(
  92. IDialEventSink * This);
  93. ULONG ( STDMETHODCALLTYPE *Release )(
  94. IDialEventSink * This);
  95. HRESULT ( STDMETHODCALLTYPE *OnEvent )(
  96. IDialEventSink * This,
  97. /* [in] */ DWORD dwEvent,
  98. /* [in] */ DWORD dwStatus);
  99. END_INTERFACE
  100. } IDialEventSinkVtbl;
  101. interface IDialEventSink
  102. {
  103. CONST_VTBL struct IDialEventSinkVtbl *lpVtbl;
  104. };
  105. #ifdef COBJMACROS
  106. #define IDialEventSink_QueryInterface(This,riid,ppvObject) \
  107. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  108. #define IDialEventSink_AddRef(This) \
  109. (This)->lpVtbl -> AddRef(This)
  110. #define IDialEventSink_Release(This) \
  111. (This)->lpVtbl -> Release(This)
  112. #define IDialEventSink_OnEvent(This,dwEvent,dwStatus) \
  113. (This)->lpVtbl -> OnEvent(This,dwEvent,dwStatus)
  114. #endif /* COBJMACROS */
  115. #endif /* C style interface */
  116. HRESULT STDMETHODCALLTYPE IDialEventSink_OnEvent_Proxy(
  117. IDialEventSink * This,
  118. /* [in] */ DWORD dwEvent,
  119. /* [in] */ DWORD dwStatus);
  120. void __RPC_STUB IDialEventSink_OnEvent_Stub(
  121. IRpcStubBuffer *This,
  122. IRpcChannelBuffer *_pRpcChannelBuffer,
  123. PRPC_MESSAGE _pRpcMessage,
  124. DWORD *_pdwStubPhase);
  125. #endif /* __IDialEventSink_INTERFACE_DEFINED__ */
  126. #ifndef __IDialEngine_INTERFACE_DEFINED__
  127. #define __IDialEngine_INTERFACE_DEFINED__
  128. /* interface IDialEngine */
  129. /* [object][helpstring][version][uuid] */
  130. EXTERN_C const IID IID_IDialEngine;
  131. #if defined(__cplusplus) && !defined(CINTERFACE)
  132. MIDL_INTERFACE("39fd782b-7905-40d5-9148-3c9b190423d5")
  133. IDialEngine : public IUnknown
  134. {
  135. public:
  136. virtual HRESULT STDMETHODCALLTYPE Initialize(
  137. /* [in] */ LPCWSTR pwzConnectoid,
  138. /* [in] */ IDialEventSink *pIDES) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE GetProperty(
  140. /* [in] */ LPCWSTR pwzProperty,
  141. /* [in] */ LPWSTR pwzValue,
  142. /* [in] */ DWORD dwBufSize) = 0;
  143. virtual HRESULT STDMETHODCALLTYPE SetProperty(
  144. /* [in] */ LPCWSTR pwzProperty,
  145. /* [in] */ LPCWSTR pwzValue) = 0;
  146. virtual HRESULT STDMETHODCALLTYPE Dial( void) = 0;
  147. virtual HRESULT STDMETHODCALLTYPE HangUp( void) = 0;
  148. virtual HRESULT STDMETHODCALLTYPE GetConnectedState(
  149. /* [out] */ DWORD *pdwState) = 0;
  150. virtual HRESULT STDMETHODCALLTYPE GetConnectHandle(
  151. /* [out] */ DWORD_PTR *pdwHandle) = 0;
  152. };
  153. #else /* C style interface */
  154. typedef struct IDialEngineVtbl
  155. {
  156. BEGIN_INTERFACE
  157. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  158. IDialEngine * This,
  159. /* [in] */ REFIID riid,
  160. /* [iid_is][out] */ void **ppvObject);
  161. ULONG ( STDMETHODCALLTYPE *AddRef )(
  162. IDialEngine * This);
  163. ULONG ( STDMETHODCALLTYPE *Release )(
  164. IDialEngine * This);
  165. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  166. IDialEngine * This,
  167. /* [in] */ LPCWSTR pwzConnectoid,
  168. /* [in] */ IDialEventSink *pIDES);
  169. HRESULT ( STDMETHODCALLTYPE *GetProperty )(
  170. IDialEngine * This,
  171. /* [in] */ LPCWSTR pwzProperty,
  172. /* [in] */ LPWSTR pwzValue,
  173. /* [in] */ DWORD dwBufSize);
  174. HRESULT ( STDMETHODCALLTYPE *SetProperty )(
  175. IDialEngine * This,
  176. /* [in] */ LPCWSTR pwzProperty,
  177. /* [in] */ LPCWSTR pwzValue);
  178. HRESULT ( STDMETHODCALLTYPE *Dial )(
  179. IDialEngine * This);
  180. HRESULT ( STDMETHODCALLTYPE *HangUp )(
  181. IDialEngine * This);
  182. HRESULT ( STDMETHODCALLTYPE *GetConnectedState )(
  183. IDialEngine * This,
  184. /* [out] */ DWORD *pdwState);
  185. HRESULT ( STDMETHODCALLTYPE *GetConnectHandle )(
  186. IDialEngine * This,
  187. /* [out] */ DWORD_PTR *pdwHandle);
  188. END_INTERFACE
  189. } IDialEngineVtbl;
  190. interface IDialEngine
  191. {
  192. CONST_VTBL struct IDialEngineVtbl *lpVtbl;
  193. };
  194. #ifdef COBJMACROS
  195. #define IDialEngine_QueryInterface(This,riid,ppvObject) \
  196. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  197. #define IDialEngine_AddRef(This) \
  198. (This)->lpVtbl -> AddRef(This)
  199. #define IDialEngine_Release(This) \
  200. (This)->lpVtbl -> Release(This)
  201. #define IDialEngine_Initialize(This,pwzConnectoid,pIDES) \
  202. (This)->lpVtbl -> Initialize(This,pwzConnectoid,pIDES)
  203. #define IDialEngine_GetProperty(This,pwzProperty,pwzValue,dwBufSize) \
  204. (This)->lpVtbl -> GetProperty(This,pwzProperty,pwzValue,dwBufSize)
  205. #define IDialEngine_SetProperty(This,pwzProperty,pwzValue) \
  206. (This)->lpVtbl -> SetProperty(This,pwzProperty,pwzValue)
  207. #define IDialEngine_Dial(This) \
  208. (This)->lpVtbl -> Dial(This)
  209. #define IDialEngine_HangUp(This) \
  210. (This)->lpVtbl -> HangUp(This)
  211. #define IDialEngine_GetConnectedState(This,pdwState) \
  212. (This)->lpVtbl -> GetConnectedState(This,pdwState)
  213. #define IDialEngine_GetConnectHandle(This,pdwHandle) \
  214. (This)->lpVtbl -> GetConnectHandle(This,pdwHandle)
  215. #endif /* COBJMACROS */
  216. #endif /* C style interface */
  217. HRESULT STDMETHODCALLTYPE IDialEngine_Initialize_Proxy(
  218. IDialEngine * This,
  219. /* [in] */ LPCWSTR pwzConnectoid,
  220. /* [in] */ IDialEventSink *pIDES);
  221. void __RPC_STUB IDialEngine_Initialize_Stub(
  222. IRpcStubBuffer *This,
  223. IRpcChannelBuffer *_pRpcChannelBuffer,
  224. PRPC_MESSAGE _pRpcMessage,
  225. DWORD *_pdwStubPhase);
  226. HRESULT STDMETHODCALLTYPE IDialEngine_GetProperty_Proxy(
  227. IDialEngine * This,
  228. /* [in] */ LPCWSTR pwzProperty,
  229. /* [in] */ LPWSTR pwzValue,
  230. /* [in] */ DWORD dwBufSize);
  231. void __RPC_STUB IDialEngine_GetProperty_Stub(
  232. IRpcStubBuffer *This,
  233. IRpcChannelBuffer *_pRpcChannelBuffer,
  234. PRPC_MESSAGE _pRpcMessage,
  235. DWORD *_pdwStubPhase);
  236. HRESULT STDMETHODCALLTYPE IDialEngine_SetProperty_Proxy(
  237. IDialEngine * This,
  238. /* [in] */ LPCWSTR pwzProperty,
  239. /* [in] */ LPCWSTR pwzValue);
  240. void __RPC_STUB IDialEngine_SetProperty_Stub(
  241. IRpcStubBuffer *This,
  242. IRpcChannelBuffer *_pRpcChannelBuffer,
  243. PRPC_MESSAGE _pRpcMessage,
  244. DWORD *_pdwStubPhase);
  245. HRESULT STDMETHODCALLTYPE IDialEngine_Dial_Proxy(
  246. IDialEngine * This);
  247. void __RPC_STUB IDialEngine_Dial_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. HRESULT STDMETHODCALLTYPE IDialEngine_HangUp_Proxy(
  253. IDialEngine * This);
  254. void __RPC_STUB IDialEngine_HangUp_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. HRESULT STDMETHODCALLTYPE IDialEngine_GetConnectedState_Proxy(
  260. IDialEngine * This,
  261. /* [out] */ DWORD *pdwState);
  262. void __RPC_STUB IDialEngine_GetConnectedState_Stub(
  263. IRpcStubBuffer *This,
  264. IRpcChannelBuffer *_pRpcChannelBuffer,
  265. PRPC_MESSAGE _pRpcMessage,
  266. DWORD *_pdwStubPhase);
  267. HRESULT STDMETHODCALLTYPE IDialEngine_GetConnectHandle_Proxy(
  268. IDialEngine * This,
  269. /* [out] */ DWORD_PTR *pdwHandle);
  270. void __RPC_STUB IDialEngine_GetConnectHandle_Stub(
  271. IRpcStubBuffer *This,
  272. IRpcChannelBuffer *_pRpcChannelBuffer,
  273. PRPC_MESSAGE _pRpcMessage,
  274. DWORD *_pdwStubPhase);
  275. #endif /* __IDialEngine_INTERFACE_DEFINED__ */
  276. #ifndef __IDialBranding_INTERFACE_DEFINED__
  277. #define __IDialBranding_INTERFACE_DEFINED__
  278. /* interface IDialBranding */
  279. /* [object][helpstring][version][uuid] */
  280. EXTERN_C const IID IID_IDialBranding;
  281. #if defined(__cplusplus) && !defined(CINTERFACE)
  282. MIDL_INTERFACE("8aecafa9-4306-43cc-8c5a-765f2979cc16")
  283. IDialBranding : public IUnknown
  284. {
  285. public:
  286. virtual HRESULT STDMETHODCALLTYPE Initialize(
  287. /* [in] */ LPCWSTR pwzConnectoid) = 0;
  288. virtual HRESULT STDMETHODCALLTYPE GetBitmap(
  289. /* [in] */ DWORD dwIndex,
  290. /* [out] */ HBITMAP *phBitmap) = 0;
  291. };
  292. #else /* C style interface */
  293. typedef struct IDialBrandingVtbl
  294. {
  295. BEGIN_INTERFACE
  296. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  297. IDialBranding * This,
  298. /* [in] */ REFIID riid,
  299. /* [iid_is][out] */ void **ppvObject);
  300. ULONG ( STDMETHODCALLTYPE *AddRef )(
  301. IDialBranding * This);
  302. ULONG ( STDMETHODCALLTYPE *Release )(
  303. IDialBranding * This);
  304. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  305. IDialBranding * This,
  306. /* [in] */ LPCWSTR pwzConnectoid);
  307. HRESULT ( STDMETHODCALLTYPE *GetBitmap )(
  308. IDialBranding * This,
  309. /* [in] */ DWORD dwIndex,
  310. /* [out] */ HBITMAP *phBitmap);
  311. END_INTERFACE
  312. } IDialBrandingVtbl;
  313. interface IDialBranding
  314. {
  315. CONST_VTBL struct IDialBrandingVtbl *lpVtbl;
  316. };
  317. #ifdef COBJMACROS
  318. #define IDialBranding_QueryInterface(This,riid,ppvObject) \
  319. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  320. #define IDialBranding_AddRef(This) \
  321. (This)->lpVtbl -> AddRef(This)
  322. #define IDialBranding_Release(This) \
  323. (This)->lpVtbl -> Release(This)
  324. #define IDialBranding_Initialize(This,pwzConnectoid) \
  325. (This)->lpVtbl -> Initialize(This,pwzConnectoid)
  326. #define IDialBranding_GetBitmap(This,dwIndex,phBitmap) \
  327. (This)->lpVtbl -> GetBitmap(This,dwIndex,phBitmap)
  328. #endif /* COBJMACROS */
  329. #endif /* C style interface */
  330. HRESULT STDMETHODCALLTYPE IDialBranding_Initialize_Proxy(
  331. IDialBranding * This,
  332. /* [in] */ LPCWSTR pwzConnectoid);
  333. void __RPC_STUB IDialBranding_Initialize_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. HRESULT STDMETHODCALLTYPE IDialBranding_GetBitmap_Proxy(
  339. IDialBranding * This,
  340. /* [in] */ DWORD dwIndex,
  341. /* [out] */ HBITMAP *phBitmap);
  342. void __RPC_STUB IDialBranding_GetBitmap_Stub(
  343. IRpcStubBuffer *This,
  344. IRpcChannelBuffer *_pRpcChannelBuffer,
  345. PRPC_MESSAGE _pRpcMessage,
  346. DWORD *_pdwStubPhase);
  347. #endif /* __IDialBranding_INTERFACE_DEFINED__ */
  348. /* interface __MIDL_itf_iedial_0257 */
  349. /* [local] */
  350. #define DIALPROP_USERNAME L"UserName"
  351. #define DIALPROP_PASSWORD L"Password"
  352. #define DIALPROP_DOMAIN L"Domain"
  353. #define DIALPROP_SAVEPASSWORD L"SavePassword"
  354. #define DIALPROP_REDIALCOUNT L"RedialCount"
  355. #define DIALPROP_REDIALINTERVAL L"RedialInterval"
  356. #define DIALPROP_PHONENUMBER L"PhoneNumber"
  357. #define DIALPROP_LASTERROR L"LastError"
  358. #define DIALPROP_RESOLVEDPHONE L"ResolvedPhone"
  359. #define DIALENG_OperationComplete 0x10000
  360. #define DIALENG_RedialAttempt 0x10001
  361. #define DIALENG_RedialWait 0x10002
  362. extern RPC_IF_HANDLE __MIDL_itf_iedial_0257_v0_0_c_ifspec;
  363. extern RPC_IF_HANDLE __MIDL_itf_iedial_0257_v0_0_s_ifspec;
  364. /* Additional Prototypes for ALL interfaces */
  365. unsigned long __RPC_USER HBITMAP_UserSize( unsigned long *, unsigned long , HBITMAP * );
  366. unsigned char * __RPC_USER HBITMAP_UserMarshal( unsigned long *, unsigned char *, HBITMAP * );
  367. unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP * );
  368. void __RPC_USER HBITMAP_UserFree( unsigned long *, HBITMAP * );
  369. /* end of Additional Prototypes */
  370. #ifdef __cplusplus
  371. }
  372. #endif
  373. #endif