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.

2565 lines
69 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.0340 */
  4. /* Compiler settings for obex.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  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__ 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 __obex_h__
  27. #define __obex_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IObex_FWD_DEFINED__
  33. #define __IObex_FWD_DEFINED__
  34. typedef interface IObex IObex;
  35. #endif /* __IObex_FWD_DEFINED__ */
  36. #ifndef __IObexDevice_FWD_DEFINED__
  37. #define __IObexDevice_FWD_DEFINED__
  38. typedef interface IObexDevice IObexDevice;
  39. #endif /* __IObexDevice_FWD_DEFINED__ */
  40. #ifndef __IHeaderCollection_FWD_DEFINED__
  41. #define __IHeaderCollection_FWD_DEFINED__
  42. typedef interface IHeaderCollection IHeaderCollection;
  43. #endif /* __IHeaderCollection_FWD_DEFINED__ */
  44. #ifndef __IObexSink_FWD_DEFINED__
  45. #define __IObexSink_FWD_DEFINED__
  46. typedef interface IObexSink IObexSink;
  47. #endif /* __IObexSink_FWD_DEFINED__ */
  48. #ifndef __IObexService_FWD_DEFINED__
  49. #define __IObexService_FWD_DEFINED__
  50. typedef interface IObexService IObexService;
  51. #endif /* __IObexService_FWD_DEFINED__ */
  52. #ifndef __IObexServiceConnection_FWD_DEFINED__
  53. #define __IObexServiceConnection_FWD_DEFINED__
  54. typedef interface IObexServiceConnection IObexServiceConnection;
  55. #endif /* __IObexServiceConnection_FWD_DEFINED__ */
  56. #ifndef __IInboxSink_FWD_DEFINED__
  57. #define __IInboxSink_FWD_DEFINED__
  58. typedef interface IInboxSink IInboxSink;
  59. #endif /* __IInboxSink_FWD_DEFINED__ */
  60. #ifndef __IHeaderEnum_FWD_DEFINED__
  61. #define __IHeaderEnum_FWD_DEFINED__
  62. typedef interface IHeaderEnum IHeaderEnum;
  63. #endif /* __IHeaderEnum_FWD_DEFINED__ */
  64. #ifndef __IPropertyBagEnum_FWD_DEFINED__
  65. #define __IPropertyBagEnum_FWD_DEFINED__
  66. typedef interface IPropertyBagEnum IPropertyBagEnum;
  67. #endif /* __IPropertyBagEnum_FWD_DEFINED__ */
  68. #ifndef __IDeviceEnum_FWD_DEFINED__
  69. #define __IDeviceEnum_FWD_DEFINED__
  70. typedef interface IDeviceEnum IDeviceEnum;
  71. #endif /* __IDeviceEnum_FWD_DEFINED__ */
  72. #ifndef __Obex_FWD_DEFINED__
  73. #define __Obex_FWD_DEFINED__
  74. #ifdef __cplusplus
  75. typedef class Obex Obex;
  76. #else
  77. typedef struct Obex Obex;
  78. #endif /* __cplusplus */
  79. #endif /* __Obex_FWD_DEFINED__ */
  80. #ifndef __HeaderCollection_FWD_DEFINED__
  81. #define __HeaderCollection_FWD_DEFINED__
  82. #ifdef __cplusplus
  83. typedef class HeaderCollection HeaderCollection;
  84. #else
  85. typedef struct HeaderCollection HeaderCollection;
  86. #endif /* __cplusplus */
  87. #endif /* __HeaderCollection_FWD_DEFINED__ */
  88. #ifndef __PropertyBag_FWD_DEFINED__
  89. #define __PropertyBag_FWD_DEFINED__
  90. #ifdef __cplusplus
  91. typedef class PropertyBag PropertyBag;
  92. #else
  93. typedef struct PropertyBag PropertyBag;
  94. #endif /* __cplusplus */
  95. #endif /* __PropertyBag_FWD_DEFINED__ */
  96. #ifndef __IrdaTransport_FWD_DEFINED__
  97. #define __IrdaTransport_FWD_DEFINED__
  98. #ifdef __cplusplus
  99. typedef class IrdaTransport IrdaTransport;
  100. #else
  101. typedef struct IrdaTransport IrdaTransport;
  102. #endif /* __cplusplus */
  103. #endif /* __IrdaTransport_FWD_DEFINED__ */
  104. #ifndef __BthTransport_FWD_DEFINED__
  105. #define __BthTransport_FWD_DEFINED__
  106. #ifdef __cplusplus
  107. typedef class BthTransport BthTransport;
  108. #else
  109. typedef struct BthTransport BthTransport;
  110. #endif /* __cplusplus */
  111. #endif /* __BthTransport_FWD_DEFINED__ */
  112. #ifndef __IpTransport_FWD_DEFINED__
  113. #define __IpTransport_FWD_DEFINED__
  114. #ifdef __cplusplus
  115. typedef class IpTransport IpTransport;
  116. #else
  117. typedef struct IpTransport IpTransport;
  118. #endif /* __cplusplus */
  119. #endif /* __IpTransport_FWD_DEFINED__ */
  120. /* header files for imported files */
  121. #include "oaidl.h"
  122. #include "ocidl.h"
  123. #ifdef __cplusplus
  124. extern "C"{
  125. #endif
  126. void * __RPC_USER MIDL_user_allocate(size_t);
  127. void __RPC_USER MIDL_user_free( void * );
  128. /* interface __MIDL_itf_obex_0000 */
  129. /* [local] */
  130. #include <obexerr.h>
  131. #define OBEX_VERSION_10 ( 0x10 )
  132. #define OBEX_VERSION_12 ( 0x12 )
  133. #define OBEX_VERSION ( OBEX_VERSION_12 )
  134. #define INVALID_CONN_ID ( 0xffffffff )
  135. typedef
  136. enum _OBEX_EVENT
  137. { OE_NEW_DEVICE = 0,
  138. OE_QUERY_PASSWORD = OE_NEW_DEVICE + 1,
  139. OE_NEW_CONNECTION = OE_QUERY_PASSWORD + 1,
  140. OE_NEW_COMMAND = OE_NEW_CONNECTION + 1,
  141. OE_ABORT = OE_NEW_COMMAND + 1,
  142. OE_DISCONNECT = OE_ABORT + 1
  143. } OBEX_EVENT;
  144. typedef enum _OBEX_EVENT *LPOBEX_EVENT;
  145. typedef
  146. enum _INBOX_EVENT
  147. { IE_GET = 0,
  148. IE_PUT = IE_GET + 1
  149. } INBOX_EVENT;
  150. typedef enum _INBOX_EVENT *LPINBOX_EVENT;
  151. #define SETPATH_FLAG_BACKUP ( 0x1 )
  152. #define SETPATH_FLAG_DONT_CREATE ( 0x2 )
  153. #define OBEX_HEADER_UNICODE ( 0 )
  154. #define OBEX_HEADER_STREAM ( 0x40 )
  155. #define OBEX_HEADER_1BYTE ( 0x80 )
  156. #define OBEX_HEADER_4BYTE ( 0xc0 )
  157. #define OBEX_HEADER_COUNT ( 0 | OBEX_HEADER_4BYTE )
  158. #define OBEX_HEADER_NAME ( 0x1 | OBEX_HEADER_UNICODE )
  159. #define OBEX_HEADER_TYPE ( 0x2 | OBEX_HEADER_STREAM )
  160. #define OBEX_HEADER_LENGTH ( 0x3 | OBEX_HEADER_4BYTE )
  161. #define OBEX_HEADER_TIME_ISO ( 0x4 | OBEX_HEADER_STREAM )
  162. #define OBEX_HEADER_TIME_COMPAT ( 0x4 | OBEX_HEADER_4BYTE )
  163. #define OBEX_HEADER_DESCRIPTION ( 0x5 | OBEX_HEADER_UNICODE )
  164. #define OBEX_HEADER_TARGET ( 0x6 | OBEX_HEADER_STREAM )
  165. #define OBEX_HEADER_HTTP ( 0x7 | OBEX_HEADER_STREAM )
  166. #define OBEX_HEADER_BODY ( 0x8 | OBEX_HEADER_STREAM )
  167. #define OBEX_HEADER_END_OF_BODY ( 0x9 | OBEX_HEADER_STREAM )
  168. #define OBEX_HEADER_WHO ( 0xa | OBEX_HEADER_STREAM )
  169. #define OBEX_HEADER_CONNECTION_ID ( 0xb | OBEX_HEADER_4BYTE )
  170. #define OBEX_HEADER_APP_PARAMS ( 0xc | OBEX_HEADER_STREAM )
  171. #define OBEX_HEADER_AUTH_CHALLENGE ( 0xd | OBEX_HEADER_STREAM )
  172. #define OBEX_HEADER_AUTH_RESPONSE ( 0xe | OBEX_HEADER_STREAM )
  173. #define OBEX_HEADER_OBJECT_CLASS ( 0xf | OBEX_HEADER_STREAM )
  174. typedef struct _OBEX_HEADER
  175. {
  176. byte bId;
  177. /* [switch_is] */ /* [switch_type] */ union
  178. {
  179. /* [case()][string] */ LPWSTR pszData;
  180. /* [case()] */ DWORD dwData;
  181. /* [case()] */ byte bData;
  182. /* [case()] */ struct
  183. {
  184. DWORD dwSize;
  185. /* [size_is] */ byte *pbaData;
  186. } ba;
  187. } value;
  188. } OBEX_HEADER;
  189. typedef struct _OBEX_REQUEST
  190. {
  191. DWORD dwRequest;
  192. DWORD dwFlags;
  193. IHeaderCollection *pHeaderCol;
  194. BOOL fStream;
  195. IStream *pStream;
  196. } OBEX_REQUEST;
  197. typedef struct _OBEX_REQUEST *POBEX_REQUEST;
  198. #define OBEX_OPCODE_FINALBIT ( 0x80 )
  199. #define OBEX_OPCODE_CONNECT ( 0 | OBEX_OPCODE_FINALBIT )
  200. #define OBEX_OPCODE_DISCONNECT ( 0x1 | OBEX_OPCODE_FINALBIT )
  201. #define OBEX_OPCODE_PUT ( 0x2 )
  202. #define OBEX_OPCODE_GET ( 0x3 )
  203. #define OBEX_OPCODE_SET_PATH ( 0x5 | OBEX_OPCODE_FINALBIT )
  204. #define OBEX_OPCODE_ABORT ( 0x7f | OBEX_OPCODE_FINALBIT )
  205. #define OBEX_REPLY_CONTINUE ( 0x10 )
  206. #define OBEX_REPLY_SUCCESS ( 0x20 )
  207. #define OBEX_REPLY_CREATED ( 0x21 )
  208. #define OBEX_REPLY_ACCEPTED ( 0x22 )
  209. #define OBEX_REPLY_NON_AUTHORITATIVE_INFO ( 0x23 )
  210. #define OBEX_REPLY_NO_CONTENT ( 0x24 )
  211. #define OBEX_REPLY_RESET_CONTENT ( 0x25 )
  212. #define OBEX_REPLY_PARTIAL_CONTENT ( 0x26 )
  213. #define OBEX_REPLY_MULIPLE_CHOICES ( 0x30 )
  214. #define OBEX_REPLY_MOVED_PERMANENTLY ( 0x31 )
  215. #define OBEX_REPLY_MOVED_TEMPORARILY ( 0x32 )
  216. #define OBEX_REPLY_SEE_OTHER ( 0x33 )
  217. #define OBEX_REPLY_NOT_NODIFIED ( 0x34 )
  218. #define OBEX_REPLY_USE_PROXY ( 0x35 )
  219. #define OBEX_REPLY_FAIL_BAD_REQUEST ( 0x40 )
  220. #define OBEX_REPLY_FAIL_UNAUTHORIZED ( 0x41 )
  221. #define OBEX_REPLY_FAIL_PAYMENT_REQUIRED ( 0x42 )
  222. #define OBEX_REPLY_FAIL_FORBIDDEN ( 0x43 )
  223. #define OBEX_REPLY_FAIL_NOT_FOUND ( 0x44 )
  224. #define OBEX_REPLY_FAIL_METHOD_NOT_ALLOWED ( 0x45 )
  225. #define OBEX_REPLY_FAIL_NOT_ACCEPTABLE ( 0x46 )
  226. #define OBEX_REPLY_FAIL_PROXY_AUTHORIZATION_REQUIRED ( 0x47 )
  227. #define OBEX_REPLY_FAIL_REQUEST_TIME_OUT ( 0x48 )
  228. #define OBEX_REPLY_FAIL_CONFLICT ( 0x49 )
  229. #define OBEX_REPLY_FAIL_GONE ( 0x4a )
  230. #define OBEX_REPLY_FAIL_LENGTH_REQUIRED ( 0x4b )
  231. #define OBEX_REPLY_FAIL_PRECONDITION_FAILED ( 0x4c )
  232. #define OBEX_REPLY_FAIL_REQUESTED_ENTITY_TOO_LARGE ( 0x4d )
  233. #define OBEX_REPLY_FAIL_REQUEST_URL_TOO_LARGE ( 0x4e )
  234. #define OBEX_REPLY_FAIL_UNSUPPORTED_MEDIA_TYPE ( 0x4f )
  235. #define OBEX_REPLY_FAIL_INTERNAL_SERVER_ERROR ( 0x50 )
  236. #define OBEX_REPLY_FAIL_NOT_IMPLEMENTED ( 0x51 )
  237. #define OBEX_REPLY_FAIL_BAD_GATEWAY ( 0x52 )
  238. #define OBEX_REPLY_FAIL_SERVICE_UNAVAILABLE ( 0x53 )
  239. #define OBEX_REPLY_FAIL_GATEWAY_TIMEOUT ( 0x54 )
  240. #define OBEX_REPLY_FAIL_HTTP_VERSION_NOT_SUPPORTED ( 0x55 )
  241. #define OBEX_REPLY_FAIL_DATABASE_FULL ( 0x60 )
  242. #define OBEX_REPLY_FAIL_DATABASE_LOCKED ( 0x61 )
  243. #define OBEX_DEVICE_CAP_UNKNOWN ( 0 )
  244. #define OBEX_DEVICE_CAP_PUSH ( 0x1 )
  245. #define OBEX_DEVICE_CAP_FILE_BROWSE ( 0x2 )
  246. #define OBEX_DEVICE_CAP_SYNC ( 0x4 )
  247. extern RPC_IF_HANDLE __MIDL_itf_obex_0000_v0_0_c_ifspec;
  248. extern RPC_IF_HANDLE __MIDL_itf_obex_0000_v0_0_s_ifspec;
  249. #ifndef __IObex_INTERFACE_DEFINED__
  250. #define __IObex_INTERFACE_DEFINED__
  251. /* interface IObex */
  252. /* [unique][helpstring][uuid][object] */
  253. EXTERN_C const IID IID_IObex;
  254. #if defined(__cplusplus) && !defined(CINTERFACE)
  255. MIDL_INTERFACE("0C5A5B12-2979-42D1-9E15-A63E34383B58")
  256. IObex : public IUnknown
  257. {
  258. public:
  259. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
  260. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  261. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumDevices(
  262. /* [out] */ IDeviceEnum **ppDeviceEnum,
  263. /* [in] */ REFCLSID uuidTransport) = 0;
  264. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumTransports(
  265. /* [out] */ IPropertyBagEnum **ppTransportEnum) = 0;
  266. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RegisterService(
  267. /* [in] */ IPropertyBag *pPropertyBag,
  268. /* [out] */ IObexService **ppService) = 0;
  269. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BindToDevice(
  270. /* [in] */ IPropertyBag *pPropertyBag,
  271. /* [out] */ IObexDevice **ppDevice) = 0;
  272. };
  273. #else /* C style interface */
  274. typedef struct IObexVtbl
  275. {
  276. BEGIN_INTERFACE
  277. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  278. IObex * This,
  279. /* [in] */ REFIID riid,
  280. /* [iid_is][out] */ void **ppvObject);
  281. ULONG ( STDMETHODCALLTYPE *AddRef )(
  282. IObex * This);
  283. ULONG ( STDMETHODCALLTYPE *Release )(
  284. IObex * This);
  285. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Initialize )(
  286. IObex * This);
  287. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Shutdown )(
  288. IObex * This);
  289. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumDevices )(
  290. IObex * This,
  291. /* [out] */ IDeviceEnum **ppDeviceEnum,
  292. /* [in] */ REFCLSID uuidTransport);
  293. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumTransports )(
  294. IObex * This,
  295. /* [out] */ IPropertyBagEnum **ppTransportEnum);
  296. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RegisterService )(
  297. IObex * This,
  298. /* [in] */ IPropertyBag *pPropertyBag,
  299. /* [out] */ IObexService **ppService);
  300. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BindToDevice )(
  301. IObex * This,
  302. /* [in] */ IPropertyBag *pPropertyBag,
  303. /* [out] */ IObexDevice **ppDevice);
  304. END_INTERFACE
  305. } IObexVtbl;
  306. interface IObex
  307. {
  308. CONST_VTBL struct IObexVtbl *lpVtbl;
  309. };
  310. #ifdef COBJMACROS
  311. #define IObex_QueryInterface(This,riid,ppvObject) \
  312. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  313. #define IObex_AddRef(This) \
  314. (This)->lpVtbl -> AddRef(This)
  315. #define IObex_Release(This) \
  316. (This)->lpVtbl -> Release(This)
  317. #define IObex_Initialize(This) \
  318. (This)->lpVtbl -> Initialize(This)
  319. #define IObex_Shutdown(This) \
  320. (This)->lpVtbl -> Shutdown(This)
  321. #define IObex_EnumDevices(This,ppDeviceEnum,uuidTransport) \
  322. (This)->lpVtbl -> EnumDevices(This,ppDeviceEnum,uuidTransport)
  323. #define IObex_EnumTransports(This,ppTransportEnum) \
  324. (This)->lpVtbl -> EnumTransports(This,ppTransportEnum)
  325. #define IObex_RegisterService(This,pPropertyBag,ppService) \
  326. (This)->lpVtbl -> RegisterService(This,pPropertyBag,ppService)
  327. #define IObex_BindToDevice(This,pPropertyBag,ppDevice) \
  328. (This)->lpVtbl -> BindToDevice(This,pPropertyBag,ppDevice)
  329. #endif /* COBJMACROS */
  330. #endif /* C style interface */
  331. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_Initialize_Proxy(
  332. IObex * This);
  333. void __RPC_STUB IObex_Initialize_Stub(
  334. IRpcStubBuffer *This,
  335. IRpcChannelBuffer *_pRpcChannelBuffer,
  336. PRPC_MESSAGE _pRpcMessage,
  337. DWORD *_pdwStubPhase);
  338. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_Shutdown_Proxy(
  339. IObex * This);
  340. void __RPC_STUB IObex_Shutdown_Stub(
  341. IRpcStubBuffer *This,
  342. IRpcChannelBuffer *_pRpcChannelBuffer,
  343. PRPC_MESSAGE _pRpcMessage,
  344. DWORD *_pdwStubPhase);
  345. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_EnumDevices_Proxy(
  346. IObex * This,
  347. /* [out] */ IDeviceEnum **ppDeviceEnum,
  348. /* [in] */ REFCLSID uuidTransport);
  349. void __RPC_STUB IObex_EnumDevices_Stub(
  350. IRpcStubBuffer *This,
  351. IRpcChannelBuffer *_pRpcChannelBuffer,
  352. PRPC_MESSAGE _pRpcMessage,
  353. DWORD *_pdwStubPhase);
  354. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_EnumTransports_Proxy(
  355. IObex * This,
  356. /* [out] */ IPropertyBagEnum **ppTransportEnum);
  357. void __RPC_STUB IObex_EnumTransports_Stub(
  358. IRpcStubBuffer *This,
  359. IRpcChannelBuffer *_pRpcChannelBuffer,
  360. PRPC_MESSAGE _pRpcMessage,
  361. DWORD *_pdwStubPhase);
  362. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_RegisterService_Proxy(
  363. IObex * This,
  364. /* [in] */ IPropertyBag *pPropertyBag,
  365. /* [out] */ IObexService **ppService);
  366. void __RPC_STUB IObex_RegisterService_Stub(
  367. IRpcStubBuffer *This,
  368. IRpcChannelBuffer *_pRpcChannelBuffer,
  369. PRPC_MESSAGE _pRpcMessage,
  370. DWORD *_pdwStubPhase);
  371. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObex_BindToDevice_Proxy(
  372. IObex * This,
  373. /* [in] */ IPropertyBag *pPropertyBag,
  374. /* [out] */ IObexDevice **ppDevice);
  375. void __RPC_STUB IObex_BindToDevice_Stub(
  376. IRpcStubBuffer *This,
  377. IRpcChannelBuffer *_pRpcChannelBuffer,
  378. PRPC_MESSAGE _pRpcMessage,
  379. DWORD *_pdwStubPhase);
  380. #endif /* __IObex_INTERFACE_DEFINED__ */
  381. #ifndef __IObexDevice_INTERFACE_DEFINED__
  382. #define __IObexDevice_INTERFACE_DEFINED__
  383. /* interface IObexDevice */
  384. /* [unique][helpstring][uuid][object] */
  385. EXTERN_C const IID IID_IObexDevice;
  386. #if defined(__cplusplus) && !defined(CINTERFACE)
  387. MIDL_INTERFACE("3ED60A15-6FB0-4A81-8ED3-49097A8E292C")
  388. IObexDevice : public IUnknown
  389. {
  390. public:
  391. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Connect(
  392. /* [in] */ LPCWSTR pszPassword,
  393. /* [in] */ DWORD dwCapability,
  394. /* [in] */ IHeaderCollection *pHeaders) = 0;
  395. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Disconnect(
  396. /* [in] */ IHeaderCollection *pHeaders) = 0;
  397. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Get(
  398. /* [in] */ IHeaderCollection *pHeaders,
  399. /* [out] */ IStream **ppStream) = 0;
  400. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Put(
  401. /* [in] */ IHeaderCollection *pHeaders,
  402. /* [unique][out][in] */ IStream **ppStream) = 0;
  403. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Abort(
  404. /* [in] */ IHeaderCollection *pHeaders) = 0;
  405. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPath(
  406. /* [in] */ LPCWSTR pszName,
  407. /* [in] */ DWORD dwFlags,
  408. /* [in] */ IHeaderCollection *pHeaders) = 0;
  409. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumProperties(
  410. /* [in] */ REFIID riid,
  411. /* [iid_is][out] */ void **ppv) = 0;
  412. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPassword(
  413. /* [in] */ LPCWSTR pszPassword) = 0;
  414. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE BindToStorage(
  415. /* [in] */ DWORD dwCapability,
  416. /* [out] */ IStorage **ppStorage) = 0;
  417. };
  418. #else /* C style interface */
  419. typedef struct IObexDeviceVtbl
  420. {
  421. BEGIN_INTERFACE
  422. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  423. IObexDevice * This,
  424. /* [in] */ REFIID riid,
  425. /* [iid_is][out] */ void **ppvObject);
  426. ULONG ( STDMETHODCALLTYPE *AddRef )(
  427. IObexDevice * This);
  428. ULONG ( STDMETHODCALLTYPE *Release )(
  429. IObexDevice * This);
  430. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
  431. IObexDevice * This,
  432. /* [in] */ LPCWSTR pszPassword,
  433. /* [in] */ DWORD dwCapability,
  434. /* [in] */ IHeaderCollection *pHeaders);
  435. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Disconnect )(
  436. IObexDevice * This,
  437. /* [in] */ IHeaderCollection *pHeaders);
  438. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Get )(
  439. IObexDevice * This,
  440. /* [in] */ IHeaderCollection *pHeaders,
  441. /* [out] */ IStream **ppStream);
  442. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Put )(
  443. IObexDevice * This,
  444. /* [in] */ IHeaderCollection *pHeaders,
  445. /* [unique][out][in] */ IStream **ppStream);
  446. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Abort )(
  447. IObexDevice * This,
  448. /* [in] */ IHeaderCollection *pHeaders);
  449. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPath )(
  450. IObexDevice * This,
  451. /* [in] */ LPCWSTR pszName,
  452. /* [in] */ DWORD dwFlags,
  453. /* [in] */ IHeaderCollection *pHeaders);
  454. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumProperties )(
  455. IObexDevice * This,
  456. /* [in] */ REFIID riid,
  457. /* [iid_is][out] */ void **ppv);
  458. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPassword )(
  459. IObexDevice * This,
  460. /* [in] */ LPCWSTR pszPassword);
  461. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *BindToStorage )(
  462. IObexDevice * This,
  463. /* [in] */ DWORD dwCapability,
  464. /* [out] */ IStorage **ppStorage);
  465. END_INTERFACE
  466. } IObexDeviceVtbl;
  467. interface IObexDevice
  468. {
  469. CONST_VTBL struct IObexDeviceVtbl *lpVtbl;
  470. };
  471. #ifdef COBJMACROS
  472. #define IObexDevice_QueryInterface(This,riid,ppvObject) \
  473. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  474. #define IObexDevice_AddRef(This) \
  475. (This)->lpVtbl -> AddRef(This)
  476. #define IObexDevice_Release(This) \
  477. (This)->lpVtbl -> Release(This)
  478. #define IObexDevice_Connect(This,pszPassword,dwCapability,pHeaders) \
  479. (This)->lpVtbl -> Connect(This,pszPassword,dwCapability,pHeaders)
  480. #define IObexDevice_Disconnect(This,pHeaders) \
  481. (This)->lpVtbl -> Disconnect(This,pHeaders)
  482. #define IObexDevice_Get(This,pHeaders,ppStream) \
  483. (This)->lpVtbl -> Get(This,pHeaders,ppStream)
  484. #define IObexDevice_Put(This,pHeaders,ppStream) \
  485. (This)->lpVtbl -> Put(This,pHeaders,ppStream)
  486. #define IObexDevice_Abort(This,pHeaders) \
  487. (This)->lpVtbl -> Abort(This,pHeaders)
  488. #define IObexDevice_SetPath(This,pszName,dwFlags,pHeaders) \
  489. (This)->lpVtbl -> SetPath(This,pszName,dwFlags,pHeaders)
  490. #define IObexDevice_EnumProperties(This,riid,ppv) \
  491. (This)->lpVtbl -> EnumProperties(This,riid,ppv)
  492. #define IObexDevice_SetPassword(This,pszPassword) \
  493. (This)->lpVtbl -> SetPassword(This,pszPassword)
  494. #define IObexDevice_BindToStorage(This,dwCapability,ppStorage) \
  495. (This)->lpVtbl -> BindToStorage(This,dwCapability,ppStorage)
  496. #endif /* COBJMACROS */
  497. #endif /* C style interface */
  498. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_Connect_Proxy(
  499. IObexDevice * This,
  500. /* [in] */ LPCWSTR pszPassword,
  501. /* [in] */ DWORD dwCapability,
  502. /* [in] */ IHeaderCollection *pHeaders);
  503. void __RPC_STUB IObexDevice_Connect_Stub(
  504. IRpcStubBuffer *This,
  505. IRpcChannelBuffer *_pRpcChannelBuffer,
  506. PRPC_MESSAGE _pRpcMessage,
  507. DWORD *_pdwStubPhase);
  508. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_Disconnect_Proxy(
  509. IObexDevice * This,
  510. /* [in] */ IHeaderCollection *pHeaders);
  511. void __RPC_STUB IObexDevice_Disconnect_Stub(
  512. IRpcStubBuffer *This,
  513. IRpcChannelBuffer *_pRpcChannelBuffer,
  514. PRPC_MESSAGE _pRpcMessage,
  515. DWORD *_pdwStubPhase);
  516. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_Get_Proxy(
  517. IObexDevice * This,
  518. /* [in] */ IHeaderCollection *pHeaders,
  519. /* [out] */ IStream **ppStream);
  520. void __RPC_STUB IObexDevice_Get_Stub(
  521. IRpcStubBuffer *This,
  522. IRpcChannelBuffer *_pRpcChannelBuffer,
  523. PRPC_MESSAGE _pRpcMessage,
  524. DWORD *_pdwStubPhase);
  525. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_Put_Proxy(
  526. IObexDevice * This,
  527. /* [in] */ IHeaderCollection *pHeaders,
  528. /* [unique][out][in] */ IStream **ppStream);
  529. void __RPC_STUB IObexDevice_Put_Stub(
  530. IRpcStubBuffer *This,
  531. IRpcChannelBuffer *_pRpcChannelBuffer,
  532. PRPC_MESSAGE _pRpcMessage,
  533. DWORD *_pdwStubPhase);
  534. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_Abort_Proxy(
  535. IObexDevice * This,
  536. /* [in] */ IHeaderCollection *pHeaders);
  537. void __RPC_STUB IObexDevice_Abort_Stub(
  538. IRpcStubBuffer *This,
  539. IRpcChannelBuffer *_pRpcChannelBuffer,
  540. PRPC_MESSAGE _pRpcMessage,
  541. DWORD *_pdwStubPhase);
  542. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_SetPath_Proxy(
  543. IObexDevice * This,
  544. /* [in] */ LPCWSTR pszName,
  545. /* [in] */ DWORD dwFlags,
  546. /* [in] */ IHeaderCollection *pHeaders);
  547. void __RPC_STUB IObexDevice_SetPath_Stub(
  548. IRpcStubBuffer *This,
  549. IRpcChannelBuffer *_pRpcChannelBuffer,
  550. PRPC_MESSAGE _pRpcMessage,
  551. DWORD *_pdwStubPhase);
  552. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_EnumProperties_Proxy(
  553. IObexDevice * This,
  554. /* [in] */ REFIID riid,
  555. /* [iid_is][out] */ void **ppv);
  556. void __RPC_STUB IObexDevice_EnumProperties_Stub(
  557. IRpcStubBuffer *This,
  558. IRpcChannelBuffer *_pRpcChannelBuffer,
  559. PRPC_MESSAGE _pRpcMessage,
  560. DWORD *_pdwStubPhase);
  561. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_SetPassword_Proxy(
  562. IObexDevice * This,
  563. /* [in] */ LPCWSTR pszPassword);
  564. void __RPC_STUB IObexDevice_SetPassword_Stub(
  565. IRpcStubBuffer *This,
  566. IRpcChannelBuffer *_pRpcChannelBuffer,
  567. PRPC_MESSAGE _pRpcMessage,
  568. DWORD *_pdwStubPhase);
  569. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexDevice_BindToStorage_Proxy(
  570. IObexDevice * This,
  571. /* [in] */ DWORD dwCapability,
  572. /* [out] */ IStorage **ppStorage);
  573. void __RPC_STUB IObexDevice_BindToStorage_Stub(
  574. IRpcStubBuffer *This,
  575. IRpcChannelBuffer *_pRpcChannelBuffer,
  576. PRPC_MESSAGE _pRpcMessage,
  577. DWORD *_pdwStubPhase);
  578. #endif /* __IObexDevice_INTERFACE_DEFINED__ */
  579. #ifndef __IHeaderCollection_INTERFACE_DEFINED__
  580. #define __IHeaderCollection_INTERFACE_DEFINED__
  581. /* interface IHeaderCollection */
  582. /* [unique][helpstring][uuid][object] */
  583. EXTERN_C const IID IID_IHeaderCollection;
  584. #if defined(__cplusplus) && !defined(CINTERFACE)
  585. MIDL_INTERFACE("6561D66B-8CC1-49F9-8071-632D288EDAF3")
  586. IHeaderCollection : public IUnknown
  587. {
  588. public:
  589. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddByteArray(
  590. /* [in] */ byte Id,
  591. /* [in] */ unsigned long ulSize,
  592. /* [size_is][in] */ byte *pData) = 0;
  593. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddLong(
  594. /* [in] */ byte Id,
  595. /* [in] */ unsigned long ulData) = 0;
  596. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddByte(
  597. /* [in] */ byte Id,
  598. /* [in] */ byte pData) = 0;
  599. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddUnicodeString(
  600. /* [in] */ byte Id,
  601. /* [in] */ LPCWSTR pszData) = 0;
  602. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Remove(
  603. /* [in] */ byte Id) = 0;
  604. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RemoveAll( void) = 0;
  605. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddCount(
  606. /* [in] */ unsigned long ulCount) = 0;
  607. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddName(
  608. /* [in] */ LPCWSTR pszName) = 0;
  609. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddType(
  610. /* [in] */ unsigned long ulSize,
  611. /* [size_is][in] */ byte *pData) = 0;
  612. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddLength(
  613. /* [in] */ unsigned long ulLength) = 0;
  614. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddTimeOld(
  615. /* [in] */ unsigned long ulTime) = 0;
  616. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddTime(
  617. /* [in] */ FILETIME *pFiletime) = 0;
  618. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddDescription(
  619. /* [in] */ LPCWSTR pszDescription) = 0;
  620. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddTarget(
  621. /* [in] */ unsigned long ulSize,
  622. /* [size_is][in] */ byte *pData) = 0;
  623. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddHTTP(
  624. /* [in] */ unsigned long ulSize,
  625. /* [size_is][in] */ byte *pData) = 0;
  626. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddBody(
  627. /* [in] */ unsigned long ulSize,
  628. /* [size_is][in] */ byte *pData) = 0;
  629. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddEndOfBody(
  630. /* [in] */ unsigned long ulSize,
  631. /* [size_is][in] */ byte *pData) = 0;
  632. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddWho(
  633. /* [in] */ unsigned long ulSize,
  634. /* [size_is][in] */ byte *pData) = 0;
  635. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddConnectionId(
  636. /* [in] */ unsigned long ulConnectionId) = 0;
  637. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddAppParams(
  638. /* [in] */ unsigned long ulSize,
  639. /* [size_is][in] */ byte *pData) = 0;
  640. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddObjectClass(
  641. /* [in] */ unsigned long ulSize,
  642. /* [size_is][in] */ byte *pData) = 0;
  643. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumHeaders(
  644. /* [out] */ IHeaderEnum **pHeaderEnum) = 0;
  645. };
  646. #else /* C style interface */
  647. typedef struct IHeaderCollectionVtbl
  648. {
  649. BEGIN_INTERFACE
  650. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  651. IHeaderCollection * This,
  652. /* [in] */ REFIID riid,
  653. /* [iid_is][out] */ void **ppvObject);
  654. ULONG ( STDMETHODCALLTYPE *AddRef )(
  655. IHeaderCollection * This);
  656. ULONG ( STDMETHODCALLTYPE *Release )(
  657. IHeaderCollection * This);
  658. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddByteArray )(
  659. IHeaderCollection * This,
  660. /* [in] */ byte Id,
  661. /* [in] */ unsigned long ulSize,
  662. /* [size_is][in] */ byte *pData);
  663. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddLong )(
  664. IHeaderCollection * This,
  665. /* [in] */ byte Id,
  666. /* [in] */ unsigned long ulData);
  667. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddByte )(
  668. IHeaderCollection * This,
  669. /* [in] */ byte Id,
  670. /* [in] */ byte pData);
  671. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddUnicodeString )(
  672. IHeaderCollection * This,
  673. /* [in] */ byte Id,
  674. /* [in] */ LPCWSTR pszData);
  675. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
  676. IHeaderCollection * This,
  677. /* [in] */ byte Id);
  678. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *RemoveAll )(
  679. IHeaderCollection * This);
  680. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddCount )(
  681. IHeaderCollection * This,
  682. /* [in] */ unsigned long ulCount);
  683. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddName )(
  684. IHeaderCollection * This,
  685. /* [in] */ LPCWSTR pszName);
  686. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddType )(
  687. IHeaderCollection * This,
  688. /* [in] */ unsigned long ulSize,
  689. /* [size_is][in] */ byte *pData);
  690. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddLength )(
  691. IHeaderCollection * This,
  692. /* [in] */ unsigned long ulLength);
  693. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddTimeOld )(
  694. IHeaderCollection * This,
  695. /* [in] */ unsigned long ulTime);
  696. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddTime )(
  697. IHeaderCollection * This,
  698. /* [in] */ FILETIME *pFiletime);
  699. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddDescription )(
  700. IHeaderCollection * This,
  701. /* [in] */ LPCWSTR pszDescription);
  702. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddTarget )(
  703. IHeaderCollection * This,
  704. /* [in] */ unsigned long ulSize,
  705. /* [size_is][in] */ byte *pData);
  706. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddHTTP )(
  707. IHeaderCollection * This,
  708. /* [in] */ unsigned long ulSize,
  709. /* [size_is][in] */ byte *pData);
  710. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddBody )(
  711. IHeaderCollection * This,
  712. /* [in] */ unsigned long ulSize,
  713. /* [size_is][in] */ byte *pData);
  714. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddEndOfBody )(
  715. IHeaderCollection * This,
  716. /* [in] */ unsigned long ulSize,
  717. /* [size_is][in] */ byte *pData);
  718. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddWho )(
  719. IHeaderCollection * This,
  720. /* [in] */ unsigned long ulSize,
  721. /* [size_is][in] */ byte *pData);
  722. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddConnectionId )(
  723. IHeaderCollection * This,
  724. /* [in] */ unsigned long ulConnectionId);
  725. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddAppParams )(
  726. IHeaderCollection * This,
  727. /* [in] */ unsigned long ulSize,
  728. /* [size_is][in] */ byte *pData);
  729. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *AddObjectClass )(
  730. IHeaderCollection * This,
  731. /* [in] */ unsigned long ulSize,
  732. /* [size_is][in] */ byte *pData);
  733. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumHeaders )(
  734. IHeaderCollection * This,
  735. /* [out] */ IHeaderEnum **pHeaderEnum);
  736. END_INTERFACE
  737. } IHeaderCollectionVtbl;
  738. interface IHeaderCollection
  739. {
  740. CONST_VTBL struct IHeaderCollectionVtbl *lpVtbl;
  741. };
  742. #ifdef COBJMACROS
  743. #define IHeaderCollection_QueryInterface(This,riid,ppvObject) \
  744. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  745. #define IHeaderCollection_AddRef(This) \
  746. (This)->lpVtbl -> AddRef(This)
  747. #define IHeaderCollection_Release(This) \
  748. (This)->lpVtbl -> Release(This)
  749. #define IHeaderCollection_AddByteArray(This,Id,ulSize,pData) \
  750. (This)->lpVtbl -> AddByteArray(This,Id,ulSize,pData)
  751. #define IHeaderCollection_AddLong(This,Id,ulData) \
  752. (This)->lpVtbl -> AddLong(This,Id,ulData)
  753. #define IHeaderCollection_AddByte(This,Id,pData) \
  754. (This)->lpVtbl -> AddByte(This,Id,pData)
  755. #define IHeaderCollection_AddUnicodeString(This,Id,pszData) \
  756. (This)->lpVtbl -> AddUnicodeString(This,Id,pszData)
  757. #define IHeaderCollection_Remove(This,Id) \
  758. (This)->lpVtbl -> Remove(This,Id)
  759. #define IHeaderCollection_RemoveAll(This) \
  760. (This)->lpVtbl -> RemoveAll(This)
  761. #define IHeaderCollection_AddCount(This,ulCount) \
  762. (This)->lpVtbl -> AddCount(This,ulCount)
  763. #define IHeaderCollection_AddName(This,pszName) \
  764. (This)->lpVtbl -> AddName(This,pszName)
  765. #define IHeaderCollection_AddType(This,ulSize,pData) \
  766. (This)->lpVtbl -> AddType(This,ulSize,pData)
  767. #define IHeaderCollection_AddLength(This,ulLength) \
  768. (This)->lpVtbl -> AddLength(This,ulLength)
  769. #define IHeaderCollection_AddTimeOld(This,ulTime) \
  770. (This)->lpVtbl -> AddTimeOld(This,ulTime)
  771. #define IHeaderCollection_AddTime(This,pFiletime) \
  772. (This)->lpVtbl -> AddTime(This,pFiletime)
  773. #define IHeaderCollection_AddDescription(This,pszDescription) \
  774. (This)->lpVtbl -> AddDescription(This,pszDescription)
  775. #define IHeaderCollection_AddTarget(This,ulSize,pData) \
  776. (This)->lpVtbl -> AddTarget(This,ulSize,pData)
  777. #define IHeaderCollection_AddHTTP(This,ulSize,pData) \
  778. (This)->lpVtbl -> AddHTTP(This,ulSize,pData)
  779. #define IHeaderCollection_AddBody(This,ulSize,pData) \
  780. (This)->lpVtbl -> AddBody(This,ulSize,pData)
  781. #define IHeaderCollection_AddEndOfBody(This,ulSize,pData) \
  782. (This)->lpVtbl -> AddEndOfBody(This,ulSize,pData)
  783. #define IHeaderCollection_AddWho(This,ulSize,pData) \
  784. (This)->lpVtbl -> AddWho(This,ulSize,pData)
  785. #define IHeaderCollection_AddConnectionId(This,ulConnectionId) \
  786. (This)->lpVtbl -> AddConnectionId(This,ulConnectionId)
  787. #define IHeaderCollection_AddAppParams(This,ulSize,pData) \
  788. (This)->lpVtbl -> AddAppParams(This,ulSize,pData)
  789. #define IHeaderCollection_AddObjectClass(This,ulSize,pData) \
  790. (This)->lpVtbl -> AddObjectClass(This,ulSize,pData)
  791. #define IHeaderCollection_EnumHeaders(This,pHeaderEnum) \
  792. (This)->lpVtbl -> EnumHeaders(This,pHeaderEnum)
  793. #endif /* COBJMACROS */
  794. #endif /* C style interface */
  795. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddByteArray_Proxy(
  796. IHeaderCollection * This,
  797. /* [in] */ byte Id,
  798. /* [in] */ unsigned long ulSize,
  799. /* [size_is][in] */ byte *pData);
  800. void __RPC_STUB IHeaderCollection_AddByteArray_Stub(
  801. IRpcStubBuffer *This,
  802. IRpcChannelBuffer *_pRpcChannelBuffer,
  803. PRPC_MESSAGE _pRpcMessage,
  804. DWORD *_pdwStubPhase);
  805. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddLong_Proxy(
  806. IHeaderCollection * This,
  807. /* [in] */ byte Id,
  808. /* [in] */ unsigned long ulData);
  809. void __RPC_STUB IHeaderCollection_AddLong_Stub(
  810. IRpcStubBuffer *This,
  811. IRpcChannelBuffer *_pRpcChannelBuffer,
  812. PRPC_MESSAGE _pRpcMessage,
  813. DWORD *_pdwStubPhase);
  814. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddByte_Proxy(
  815. IHeaderCollection * This,
  816. /* [in] */ byte Id,
  817. /* [in] */ byte pData);
  818. void __RPC_STUB IHeaderCollection_AddByte_Stub(
  819. IRpcStubBuffer *This,
  820. IRpcChannelBuffer *_pRpcChannelBuffer,
  821. PRPC_MESSAGE _pRpcMessage,
  822. DWORD *_pdwStubPhase);
  823. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddUnicodeString_Proxy(
  824. IHeaderCollection * This,
  825. /* [in] */ byte Id,
  826. /* [in] */ LPCWSTR pszData);
  827. void __RPC_STUB IHeaderCollection_AddUnicodeString_Stub(
  828. IRpcStubBuffer *This,
  829. IRpcChannelBuffer *_pRpcChannelBuffer,
  830. PRPC_MESSAGE _pRpcMessage,
  831. DWORD *_pdwStubPhase);
  832. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_Remove_Proxy(
  833. IHeaderCollection * This,
  834. /* [in] */ byte Id);
  835. void __RPC_STUB IHeaderCollection_Remove_Stub(
  836. IRpcStubBuffer *This,
  837. IRpcChannelBuffer *_pRpcChannelBuffer,
  838. PRPC_MESSAGE _pRpcMessage,
  839. DWORD *_pdwStubPhase);
  840. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_RemoveAll_Proxy(
  841. IHeaderCollection * This);
  842. void __RPC_STUB IHeaderCollection_RemoveAll_Stub(
  843. IRpcStubBuffer *This,
  844. IRpcChannelBuffer *_pRpcChannelBuffer,
  845. PRPC_MESSAGE _pRpcMessage,
  846. DWORD *_pdwStubPhase);
  847. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddCount_Proxy(
  848. IHeaderCollection * This,
  849. /* [in] */ unsigned long ulCount);
  850. void __RPC_STUB IHeaderCollection_AddCount_Stub(
  851. IRpcStubBuffer *This,
  852. IRpcChannelBuffer *_pRpcChannelBuffer,
  853. PRPC_MESSAGE _pRpcMessage,
  854. DWORD *_pdwStubPhase);
  855. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddName_Proxy(
  856. IHeaderCollection * This,
  857. /* [in] */ LPCWSTR pszName);
  858. void __RPC_STUB IHeaderCollection_AddName_Stub(
  859. IRpcStubBuffer *This,
  860. IRpcChannelBuffer *_pRpcChannelBuffer,
  861. PRPC_MESSAGE _pRpcMessage,
  862. DWORD *_pdwStubPhase);
  863. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddType_Proxy(
  864. IHeaderCollection * This,
  865. /* [in] */ unsigned long ulSize,
  866. /* [size_is][in] */ byte *pData);
  867. void __RPC_STUB IHeaderCollection_AddType_Stub(
  868. IRpcStubBuffer *This,
  869. IRpcChannelBuffer *_pRpcChannelBuffer,
  870. PRPC_MESSAGE _pRpcMessage,
  871. DWORD *_pdwStubPhase);
  872. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddLength_Proxy(
  873. IHeaderCollection * This,
  874. /* [in] */ unsigned long ulLength);
  875. void __RPC_STUB IHeaderCollection_AddLength_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddTimeOld_Proxy(
  881. IHeaderCollection * This,
  882. /* [in] */ unsigned long ulTime);
  883. void __RPC_STUB IHeaderCollection_AddTimeOld_Stub(
  884. IRpcStubBuffer *This,
  885. IRpcChannelBuffer *_pRpcChannelBuffer,
  886. PRPC_MESSAGE _pRpcMessage,
  887. DWORD *_pdwStubPhase);
  888. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddTime_Proxy(
  889. IHeaderCollection * This,
  890. /* [in] */ FILETIME *pFiletime);
  891. void __RPC_STUB IHeaderCollection_AddTime_Stub(
  892. IRpcStubBuffer *This,
  893. IRpcChannelBuffer *_pRpcChannelBuffer,
  894. PRPC_MESSAGE _pRpcMessage,
  895. DWORD *_pdwStubPhase);
  896. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddDescription_Proxy(
  897. IHeaderCollection * This,
  898. /* [in] */ LPCWSTR pszDescription);
  899. void __RPC_STUB IHeaderCollection_AddDescription_Stub(
  900. IRpcStubBuffer *This,
  901. IRpcChannelBuffer *_pRpcChannelBuffer,
  902. PRPC_MESSAGE _pRpcMessage,
  903. DWORD *_pdwStubPhase);
  904. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddTarget_Proxy(
  905. IHeaderCollection * This,
  906. /* [in] */ unsigned long ulSize,
  907. /* [size_is][in] */ byte *pData);
  908. void __RPC_STUB IHeaderCollection_AddTarget_Stub(
  909. IRpcStubBuffer *This,
  910. IRpcChannelBuffer *_pRpcChannelBuffer,
  911. PRPC_MESSAGE _pRpcMessage,
  912. DWORD *_pdwStubPhase);
  913. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddHTTP_Proxy(
  914. IHeaderCollection * This,
  915. /* [in] */ unsigned long ulSize,
  916. /* [size_is][in] */ byte *pData);
  917. void __RPC_STUB IHeaderCollection_AddHTTP_Stub(
  918. IRpcStubBuffer *This,
  919. IRpcChannelBuffer *_pRpcChannelBuffer,
  920. PRPC_MESSAGE _pRpcMessage,
  921. DWORD *_pdwStubPhase);
  922. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddBody_Proxy(
  923. IHeaderCollection * This,
  924. /* [in] */ unsigned long ulSize,
  925. /* [size_is][in] */ byte *pData);
  926. void __RPC_STUB IHeaderCollection_AddBody_Stub(
  927. IRpcStubBuffer *This,
  928. IRpcChannelBuffer *_pRpcChannelBuffer,
  929. PRPC_MESSAGE _pRpcMessage,
  930. DWORD *_pdwStubPhase);
  931. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddEndOfBody_Proxy(
  932. IHeaderCollection * This,
  933. /* [in] */ unsigned long ulSize,
  934. /* [size_is][in] */ byte *pData);
  935. void __RPC_STUB IHeaderCollection_AddEndOfBody_Stub(
  936. IRpcStubBuffer *This,
  937. IRpcChannelBuffer *_pRpcChannelBuffer,
  938. PRPC_MESSAGE _pRpcMessage,
  939. DWORD *_pdwStubPhase);
  940. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddWho_Proxy(
  941. IHeaderCollection * This,
  942. /* [in] */ unsigned long ulSize,
  943. /* [size_is][in] */ byte *pData);
  944. void __RPC_STUB IHeaderCollection_AddWho_Stub(
  945. IRpcStubBuffer *This,
  946. IRpcChannelBuffer *_pRpcChannelBuffer,
  947. PRPC_MESSAGE _pRpcMessage,
  948. DWORD *_pdwStubPhase);
  949. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddConnectionId_Proxy(
  950. IHeaderCollection * This,
  951. /* [in] */ unsigned long ulConnectionId);
  952. void __RPC_STUB IHeaderCollection_AddConnectionId_Stub(
  953. IRpcStubBuffer *This,
  954. IRpcChannelBuffer *_pRpcChannelBuffer,
  955. PRPC_MESSAGE _pRpcMessage,
  956. DWORD *_pdwStubPhase);
  957. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddAppParams_Proxy(
  958. IHeaderCollection * This,
  959. /* [in] */ unsigned long ulSize,
  960. /* [size_is][in] */ byte *pData);
  961. void __RPC_STUB IHeaderCollection_AddAppParams_Stub(
  962. IRpcStubBuffer *This,
  963. IRpcChannelBuffer *_pRpcChannelBuffer,
  964. PRPC_MESSAGE _pRpcMessage,
  965. DWORD *_pdwStubPhase);
  966. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_AddObjectClass_Proxy(
  967. IHeaderCollection * This,
  968. /* [in] */ unsigned long ulSize,
  969. /* [size_is][in] */ byte *pData);
  970. void __RPC_STUB IHeaderCollection_AddObjectClass_Stub(
  971. IRpcStubBuffer *This,
  972. IRpcChannelBuffer *_pRpcChannelBuffer,
  973. PRPC_MESSAGE _pRpcMessage,
  974. DWORD *_pdwStubPhase);
  975. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IHeaderCollection_EnumHeaders_Proxy(
  976. IHeaderCollection * This,
  977. /* [out] */ IHeaderEnum **pHeaderEnum);
  978. void __RPC_STUB IHeaderCollection_EnumHeaders_Stub(
  979. IRpcStubBuffer *This,
  980. IRpcChannelBuffer *_pRpcChannelBuffer,
  981. PRPC_MESSAGE _pRpcMessage,
  982. DWORD *_pdwStubPhase);
  983. #endif /* __IHeaderCollection_INTERFACE_DEFINED__ */
  984. #ifndef __IObexSink_INTERFACE_DEFINED__
  985. #define __IObexSink_INTERFACE_DEFINED__
  986. /* interface IObexSink */
  987. /* [unique][helpstring][uuid][object] */
  988. EXTERN_C const IID IID_IObexSink;
  989. #if defined(__cplusplus) && !defined(CINTERFACE)
  990. MIDL_INTERFACE("80DFC5AB-BF07-4612-BACE-AEBC0129590A")
  991. IObexSink : public IUnknown
  992. {
  993. public:
  994. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
  995. /* [in] */ OBEX_EVENT Event,
  996. /* [in] */ IUnknown *pUnk1,
  997. /* [in] */ IUnknown *pUnk2) = 0;
  998. };
  999. #else /* C style interface */
  1000. typedef struct IObexSinkVtbl
  1001. {
  1002. BEGIN_INTERFACE
  1003. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1004. IObexSink * This,
  1005. /* [in] */ REFIID riid,
  1006. /* [iid_is][out] */ void **ppvObject);
  1007. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1008. IObexSink * This);
  1009. ULONG ( STDMETHODCALLTYPE *Release )(
  1010. IObexSink * This);
  1011. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  1012. IObexSink * This,
  1013. /* [in] */ OBEX_EVENT Event,
  1014. /* [in] */ IUnknown *pUnk1,
  1015. /* [in] */ IUnknown *pUnk2);
  1016. END_INTERFACE
  1017. } IObexSinkVtbl;
  1018. interface IObexSink
  1019. {
  1020. CONST_VTBL struct IObexSinkVtbl *lpVtbl;
  1021. };
  1022. #ifdef COBJMACROS
  1023. #define IObexSink_QueryInterface(This,riid,ppvObject) \
  1024. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1025. #define IObexSink_AddRef(This) \
  1026. (This)->lpVtbl -> AddRef(This)
  1027. #define IObexSink_Release(This) \
  1028. (This)->lpVtbl -> Release(This)
  1029. #define IObexSink_Notify(This,Event,pUnk1,pUnk2) \
  1030. (This)->lpVtbl -> Notify(This,Event,pUnk1,pUnk2)
  1031. #endif /* COBJMACROS */
  1032. #endif /* C style interface */
  1033. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexSink_Notify_Proxy(
  1034. IObexSink * This,
  1035. /* [in] */ OBEX_EVENT Event,
  1036. /* [in] */ IUnknown *pUnk1,
  1037. /* [in] */ IUnknown *pUnk2);
  1038. void __RPC_STUB IObexSink_Notify_Stub(
  1039. IRpcStubBuffer *This,
  1040. IRpcChannelBuffer *_pRpcChannelBuffer,
  1041. PRPC_MESSAGE _pRpcMessage,
  1042. DWORD *_pdwStubPhase);
  1043. #endif /* __IObexSink_INTERFACE_DEFINED__ */
  1044. #ifndef __IObexService_INTERFACE_DEFINED__
  1045. #define __IObexService_INTERFACE_DEFINED__
  1046. /* interface IObexService */
  1047. /* [unique][helpstring][uuid][object] */
  1048. EXTERN_C const IID IID_IObexService;
  1049. #if defined(__cplusplus) && !defined(CINTERFACE)
  1050. MIDL_INTERFACE("9B00990A-010D-4F19-AE6C-D60DA9B3783E")
  1051. IObexService : public IUnknown
  1052. {
  1053. public:
  1054. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetConnection(
  1055. /* [out] */ IObexServiceConnection **ppConnection,
  1056. /* [in] */ boolean fWait) = 0;
  1057. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Close( void) = 0;
  1058. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetPassword(
  1059. /* [in] */ LPCWSTR pszPassword) = 0;
  1060. };
  1061. #else /* C style interface */
  1062. typedef struct IObexServiceVtbl
  1063. {
  1064. BEGIN_INTERFACE
  1065. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1066. IObexService * This,
  1067. /* [in] */ REFIID riid,
  1068. /* [iid_is][out] */ void **ppvObject);
  1069. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1070. IObexService * This);
  1071. ULONG ( STDMETHODCALLTYPE *Release )(
  1072. IObexService * This);
  1073. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetConnection )(
  1074. IObexService * This,
  1075. /* [out] */ IObexServiceConnection **ppConnection,
  1076. /* [in] */ boolean fWait);
  1077. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  1078. IObexService * This);
  1079. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SetPassword )(
  1080. IObexService * This,
  1081. /* [in] */ LPCWSTR pszPassword);
  1082. END_INTERFACE
  1083. } IObexServiceVtbl;
  1084. interface IObexService
  1085. {
  1086. CONST_VTBL struct IObexServiceVtbl *lpVtbl;
  1087. };
  1088. #ifdef COBJMACROS
  1089. #define IObexService_QueryInterface(This,riid,ppvObject) \
  1090. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1091. #define IObexService_AddRef(This) \
  1092. (This)->lpVtbl -> AddRef(This)
  1093. #define IObexService_Release(This) \
  1094. (This)->lpVtbl -> Release(This)
  1095. #define IObexService_GetConnection(This,ppConnection,fWait) \
  1096. (This)->lpVtbl -> GetConnection(This,ppConnection,fWait)
  1097. #define IObexService_Close(This) \
  1098. (This)->lpVtbl -> Close(This)
  1099. #define IObexService_SetPassword(This,pszPassword) \
  1100. (This)->lpVtbl -> SetPassword(This,pszPassword)
  1101. #endif /* COBJMACROS */
  1102. #endif /* C style interface */
  1103. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexService_GetConnection_Proxy(
  1104. IObexService * This,
  1105. /* [out] */ IObexServiceConnection **ppConnection,
  1106. /* [in] */ boolean fWait);
  1107. void __RPC_STUB IObexService_GetConnection_Stub(
  1108. IRpcStubBuffer *This,
  1109. IRpcChannelBuffer *_pRpcChannelBuffer,
  1110. PRPC_MESSAGE _pRpcMessage,
  1111. DWORD *_pdwStubPhase);
  1112. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexService_Close_Proxy(
  1113. IObexService * This);
  1114. void __RPC_STUB IObexService_Close_Stub(
  1115. IRpcStubBuffer *This,
  1116. IRpcChannelBuffer *_pRpcChannelBuffer,
  1117. PRPC_MESSAGE _pRpcMessage,
  1118. DWORD *_pdwStubPhase);
  1119. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexService_SetPassword_Proxy(
  1120. IObexService * This,
  1121. /* [in] */ LPCWSTR pszPassword);
  1122. void __RPC_STUB IObexService_SetPassword_Stub(
  1123. IRpcStubBuffer *This,
  1124. IRpcChannelBuffer *_pRpcChannelBuffer,
  1125. PRPC_MESSAGE _pRpcMessage,
  1126. DWORD *_pdwStubPhase);
  1127. #endif /* __IObexService_INTERFACE_DEFINED__ */
  1128. #ifndef __IObexServiceConnection_INTERFACE_DEFINED__
  1129. #define __IObexServiceConnection_INTERFACE_DEFINED__
  1130. /* interface IObexServiceConnection */
  1131. /* [unique][helpstring][uuid][object] */
  1132. EXTERN_C const IID IID_IObexServiceConnection;
  1133. #if defined(__cplusplus) && !defined(CINTERFACE)
  1134. MIDL_INTERFACE("CB258BBB-678B-414A-81A3-CB98B669EDD7")
  1135. IObexServiceConnection : public IUnknown
  1136. {
  1137. public:
  1138. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Accept(
  1139. /* [in] */ IHeaderCollection *pHeaders) = 0;
  1140. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Close(
  1141. /* [in] */ IHeaderCollection *pExtraHeaders) = 0;
  1142. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE GetCommand(
  1143. /* [out][in] */ OBEX_REQUEST *pRequest,
  1144. /* [in] */ boolean fWait) = 0;
  1145. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SendResponse(
  1146. /* [in] */ DWORD dwResponse,
  1147. /* [in] */ IHeaderCollection *pHeaders) = 0;
  1148. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumProperties(
  1149. /* [in] */ REFIID riid,
  1150. /* [iid_is][out] */ void **ppv) = 0;
  1151. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE EnumHeaders(
  1152. /* [out] */ IHeaderEnum **ppEnum) = 0;
  1153. };
  1154. #else /* C style interface */
  1155. typedef struct IObexServiceConnectionVtbl
  1156. {
  1157. BEGIN_INTERFACE
  1158. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1159. IObexServiceConnection * This,
  1160. /* [in] */ REFIID riid,
  1161. /* [iid_is][out] */ void **ppvObject);
  1162. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1163. IObexServiceConnection * This);
  1164. ULONG ( STDMETHODCALLTYPE *Release )(
  1165. IObexServiceConnection * This);
  1166. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Accept )(
  1167. IObexServiceConnection * This,
  1168. /* [in] */ IHeaderCollection *pHeaders);
  1169. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Close )(
  1170. IObexServiceConnection * This,
  1171. /* [in] */ IHeaderCollection *pExtraHeaders);
  1172. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *GetCommand )(
  1173. IObexServiceConnection * This,
  1174. /* [out][in] */ OBEX_REQUEST *pRequest,
  1175. /* [in] */ boolean fWait);
  1176. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *SendResponse )(
  1177. IObexServiceConnection * This,
  1178. /* [in] */ DWORD dwResponse,
  1179. /* [in] */ IHeaderCollection *pHeaders);
  1180. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumProperties )(
  1181. IObexServiceConnection * This,
  1182. /* [in] */ REFIID riid,
  1183. /* [iid_is][out] */ void **ppv);
  1184. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *EnumHeaders )(
  1185. IObexServiceConnection * This,
  1186. /* [out] */ IHeaderEnum **ppEnum);
  1187. END_INTERFACE
  1188. } IObexServiceConnectionVtbl;
  1189. interface IObexServiceConnection
  1190. {
  1191. CONST_VTBL struct IObexServiceConnectionVtbl *lpVtbl;
  1192. };
  1193. #ifdef COBJMACROS
  1194. #define IObexServiceConnection_QueryInterface(This,riid,ppvObject) \
  1195. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1196. #define IObexServiceConnection_AddRef(This) \
  1197. (This)->lpVtbl -> AddRef(This)
  1198. #define IObexServiceConnection_Release(This) \
  1199. (This)->lpVtbl -> Release(This)
  1200. #define IObexServiceConnection_Accept(This,pHeaders) \
  1201. (This)->lpVtbl -> Accept(This,pHeaders)
  1202. #define IObexServiceConnection_Close(This,pExtraHeaders) \
  1203. (This)->lpVtbl -> Close(This,pExtraHeaders)
  1204. #define IObexServiceConnection_GetCommand(This,pRequest,fWait) \
  1205. (This)->lpVtbl -> GetCommand(This,pRequest,fWait)
  1206. #define IObexServiceConnection_SendResponse(This,dwResponse,pHeaders) \
  1207. (This)->lpVtbl -> SendResponse(This,dwResponse,pHeaders)
  1208. #define IObexServiceConnection_EnumProperties(This,riid,ppv) \
  1209. (This)->lpVtbl -> EnumProperties(This,riid,ppv)
  1210. #define IObexServiceConnection_EnumHeaders(This,ppEnum) \
  1211. (This)->lpVtbl -> EnumHeaders(This,ppEnum)
  1212. #endif /* COBJMACROS */
  1213. #endif /* C style interface */
  1214. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_Accept_Proxy(
  1215. IObexServiceConnection * This,
  1216. /* [in] */ IHeaderCollection *pHeaders);
  1217. void __RPC_STUB IObexServiceConnection_Accept_Stub(
  1218. IRpcStubBuffer *This,
  1219. IRpcChannelBuffer *_pRpcChannelBuffer,
  1220. PRPC_MESSAGE _pRpcMessage,
  1221. DWORD *_pdwStubPhase);
  1222. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_Close_Proxy(
  1223. IObexServiceConnection * This,
  1224. /* [in] */ IHeaderCollection *pExtraHeaders);
  1225. void __RPC_STUB IObexServiceConnection_Close_Stub(
  1226. IRpcStubBuffer *This,
  1227. IRpcChannelBuffer *_pRpcChannelBuffer,
  1228. PRPC_MESSAGE _pRpcMessage,
  1229. DWORD *_pdwStubPhase);
  1230. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_GetCommand_Proxy(
  1231. IObexServiceConnection * This,
  1232. /* [out][in] */ OBEX_REQUEST *pRequest,
  1233. /* [in] */ boolean fWait);
  1234. void __RPC_STUB IObexServiceConnection_GetCommand_Stub(
  1235. IRpcStubBuffer *This,
  1236. IRpcChannelBuffer *_pRpcChannelBuffer,
  1237. PRPC_MESSAGE _pRpcMessage,
  1238. DWORD *_pdwStubPhase);
  1239. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_SendResponse_Proxy(
  1240. IObexServiceConnection * This,
  1241. /* [in] */ DWORD dwResponse,
  1242. /* [in] */ IHeaderCollection *pHeaders);
  1243. void __RPC_STUB IObexServiceConnection_SendResponse_Stub(
  1244. IRpcStubBuffer *This,
  1245. IRpcChannelBuffer *_pRpcChannelBuffer,
  1246. PRPC_MESSAGE _pRpcMessage,
  1247. DWORD *_pdwStubPhase);
  1248. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_EnumProperties_Proxy(
  1249. IObexServiceConnection * This,
  1250. /* [in] */ REFIID riid,
  1251. /* [iid_is][out] */ void **ppv);
  1252. void __RPC_STUB IObexServiceConnection_EnumProperties_Stub(
  1253. IRpcStubBuffer *This,
  1254. IRpcChannelBuffer *_pRpcChannelBuffer,
  1255. PRPC_MESSAGE _pRpcMessage,
  1256. DWORD *_pdwStubPhase);
  1257. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IObexServiceConnection_EnumHeaders_Proxy(
  1258. IObexServiceConnection * This,
  1259. /* [out] */ IHeaderEnum **ppEnum);
  1260. void __RPC_STUB IObexServiceConnection_EnumHeaders_Stub(
  1261. IRpcStubBuffer *This,
  1262. IRpcChannelBuffer *_pRpcChannelBuffer,
  1263. PRPC_MESSAGE _pRpcMessage,
  1264. DWORD *_pdwStubPhase);
  1265. #endif /* __IObexServiceConnection_INTERFACE_DEFINED__ */
  1266. #ifndef __IInboxSink_INTERFACE_DEFINED__
  1267. #define __IInboxSink_INTERFACE_DEFINED__
  1268. /* interface IInboxSink */
  1269. /* [unique][helpstring][uuid][object] */
  1270. EXTERN_C const IID IID_IInboxSink;
  1271. #if defined(__cplusplus) && !defined(CINTERFACE)
  1272. MIDL_INTERFACE("5335417D-96D5-4AB4-9EF0-8F29C82232A3")
  1273. IInboxSink : public IUnknown
  1274. {
  1275. public:
  1276. virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Notify(
  1277. /* [in] */ INBOX_EVENT event,
  1278. /* [in] */ LPCWSTR bstrMimeType,
  1279. /* [in] */ IStream *pStream) = 0;
  1280. };
  1281. #else /* C style interface */
  1282. typedef struct IInboxSinkVtbl
  1283. {
  1284. BEGIN_INTERFACE
  1285. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1286. IInboxSink * This,
  1287. /* [in] */ REFIID riid,
  1288. /* [iid_is][out] */ void **ppvObject);
  1289. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1290. IInboxSink * This);
  1291. ULONG ( STDMETHODCALLTYPE *Release )(
  1292. IInboxSink * This);
  1293. /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *Notify )(
  1294. IInboxSink * This,
  1295. /* [in] */ INBOX_EVENT event,
  1296. /* [in] */ LPCWSTR bstrMimeType,
  1297. /* [in] */ IStream *pStream);
  1298. END_INTERFACE
  1299. } IInboxSinkVtbl;
  1300. interface IInboxSink
  1301. {
  1302. CONST_VTBL struct IInboxSinkVtbl *lpVtbl;
  1303. };
  1304. #ifdef COBJMACROS
  1305. #define IInboxSink_QueryInterface(This,riid,ppvObject) \
  1306. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1307. #define IInboxSink_AddRef(This) \
  1308. (This)->lpVtbl -> AddRef(This)
  1309. #define IInboxSink_Release(This) \
  1310. (This)->lpVtbl -> Release(This)
  1311. #define IInboxSink_Notify(This,event,bstrMimeType,pStream) \
  1312. (This)->lpVtbl -> Notify(This,event,bstrMimeType,pStream)
  1313. #endif /* COBJMACROS */
  1314. #endif /* C style interface */
  1315. /* [helpstring] */ HRESULT STDMETHODCALLTYPE IInboxSink_Notify_Proxy(
  1316. IInboxSink * This,
  1317. /* [in] */ INBOX_EVENT event,
  1318. /* [in] */ LPCWSTR bstrMimeType,
  1319. /* [in] */ IStream *pStream);
  1320. void __RPC_STUB IInboxSink_Notify_Stub(
  1321. IRpcStubBuffer *This,
  1322. IRpcChannelBuffer *_pRpcChannelBuffer,
  1323. PRPC_MESSAGE _pRpcMessage,
  1324. DWORD *_pdwStubPhase);
  1325. #endif /* __IInboxSink_INTERFACE_DEFINED__ */
  1326. #ifndef __IHeaderEnum_INTERFACE_DEFINED__
  1327. #define __IHeaderEnum_INTERFACE_DEFINED__
  1328. /* interface IHeaderEnum */
  1329. /* [unique][helpstring][uuid][object] */
  1330. EXTERN_C const IID IID_IHeaderEnum;
  1331. #if defined(__cplusplus) && !defined(CINTERFACE)
  1332. MIDL_INTERFACE("5507423D-0DD6-443D-A3CF-756D8E725C77")
  1333. IHeaderEnum : public IUnknown
  1334. {
  1335. public:
  1336. virtual HRESULT STDMETHODCALLTYPE Next(
  1337. /* [in] */ ULONG celt,
  1338. /* [length_is][size_is][out] */ OBEX_HEADER **rgelt,
  1339. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  1340. virtual HRESULT STDMETHODCALLTYPE Skip(
  1341. /* [in] */ ULONG celt) = 0;
  1342. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1343. virtual HRESULT STDMETHODCALLTYPE Clone(
  1344. /* [out] */ IHeaderEnum **ppenum) = 0;
  1345. };
  1346. #else /* C style interface */
  1347. typedef struct IHeaderEnumVtbl
  1348. {
  1349. BEGIN_INTERFACE
  1350. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1351. IHeaderEnum * This,
  1352. /* [in] */ REFIID riid,
  1353. /* [iid_is][out] */ void **ppvObject);
  1354. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1355. IHeaderEnum * This);
  1356. ULONG ( STDMETHODCALLTYPE *Release )(
  1357. IHeaderEnum * This);
  1358. HRESULT ( STDMETHODCALLTYPE *Next )(
  1359. IHeaderEnum * This,
  1360. /* [in] */ ULONG celt,
  1361. /* [length_is][size_is][out] */ OBEX_HEADER **rgelt,
  1362. /* [unique][out][in] */ ULONG *pceltFetched);
  1363. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1364. IHeaderEnum * This,
  1365. /* [in] */ ULONG celt);
  1366. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1367. IHeaderEnum * This);
  1368. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1369. IHeaderEnum * This,
  1370. /* [out] */ IHeaderEnum **ppenum);
  1371. END_INTERFACE
  1372. } IHeaderEnumVtbl;
  1373. interface IHeaderEnum
  1374. {
  1375. CONST_VTBL struct IHeaderEnumVtbl *lpVtbl;
  1376. };
  1377. #ifdef COBJMACROS
  1378. #define IHeaderEnum_QueryInterface(This,riid,ppvObject) \
  1379. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1380. #define IHeaderEnum_AddRef(This) \
  1381. (This)->lpVtbl -> AddRef(This)
  1382. #define IHeaderEnum_Release(This) \
  1383. (This)->lpVtbl -> Release(This)
  1384. #define IHeaderEnum_Next(This,celt,rgelt,pceltFetched) \
  1385. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1386. #define IHeaderEnum_Skip(This,celt) \
  1387. (This)->lpVtbl -> Skip(This,celt)
  1388. #define IHeaderEnum_Reset(This) \
  1389. (This)->lpVtbl -> Reset(This)
  1390. #define IHeaderEnum_Clone(This,ppenum) \
  1391. (This)->lpVtbl -> Clone(This,ppenum)
  1392. #endif /* COBJMACROS */
  1393. #endif /* C style interface */
  1394. HRESULT STDMETHODCALLTYPE IHeaderEnum_Next_Proxy(
  1395. IHeaderEnum * This,
  1396. /* [in] */ ULONG celt,
  1397. /* [length_is][size_is][out] */ OBEX_HEADER **rgelt,
  1398. /* [unique][out][in] */ ULONG *pceltFetched);
  1399. void __RPC_STUB IHeaderEnum_Next_Stub(
  1400. IRpcStubBuffer *This,
  1401. IRpcChannelBuffer *_pRpcChannelBuffer,
  1402. PRPC_MESSAGE _pRpcMessage,
  1403. DWORD *_pdwStubPhase);
  1404. HRESULT STDMETHODCALLTYPE IHeaderEnum_Skip_Proxy(
  1405. IHeaderEnum * This,
  1406. /* [in] */ ULONG celt);
  1407. void __RPC_STUB IHeaderEnum_Skip_Stub(
  1408. IRpcStubBuffer *This,
  1409. IRpcChannelBuffer *_pRpcChannelBuffer,
  1410. PRPC_MESSAGE _pRpcMessage,
  1411. DWORD *_pdwStubPhase);
  1412. HRESULT STDMETHODCALLTYPE IHeaderEnum_Reset_Proxy(
  1413. IHeaderEnum * This);
  1414. void __RPC_STUB IHeaderEnum_Reset_Stub(
  1415. IRpcStubBuffer *This,
  1416. IRpcChannelBuffer *_pRpcChannelBuffer,
  1417. PRPC_MESSAGE _pRpcMessage,
  1418. DWORD *_pdwStubPhase);
  1419. HRESULT STDMETHODCALLTYPE IHeaderEnum_Clone_Proxy(
  1420. IHeaderEnum * This,
  1421. /* [out] */ IHeaderEnum **ppenum);
  1422. void __RPC_STUB IHeaderEnum_Clone_Stub(
  1423. IRpcStubBuffer *This,
  1424. IRpcChannelBuffer *_pRpcChannelBuffer,
  1425. PRPC_MESSAGE _pRpcMessage,
  1426. DWORD *_pdwStubPhase);
  1427. #endif /* __IHeaderEnum_INTERFACE_DEFINED__ */
  1428. #ifndef __IPropertyBagEnum_INTERFACE_DEFINED__
  1429. #define __IPropertyBagEnum_INTERFACE_DEFINED__
  1430. /* interface IPropertyBagEnum */
  1431. /* [unique][helpstring][uuid][object] */
  1432. EXTERN_C const IID IID_IPropertyBagEnum;
  1433. #if defined(__cplusplus) && !defined(CINTERFACE)
  1434. MIDL_INTERFACE("6194770D-2B61-47DE-8628-33C42E091181")
  1435. IPropertyBagEnum : public IUnknown
  1436. {
  1437. public:
  1438. virtual HRESULT STDMETHODCALLTYPE Next(
  1439. /* [in] */ ULONG celt,
  1440. /* [length_is][size_is][out] */ LPPROPERTYBAG2 *rgelt,
  1441. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  1442. virtual HRESULT STDMETHODCALLTYPE Skip(
  1443. /* [in] */ ULONG celt) = 0;
  1444. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1445. virtual HRESULT STDMETHODCALLTYPE Clone(
  1446. /* [out] */ IPropertyBagEnum **ppenum) = 0;
  1447. };
  1448. #else /* C style interface */
  1449. typedef struct IPropertyBagEnumVtbl
  1450. {
  1451. BEGIN_INTERFACE
  1452. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1453. IPropertyBagEnum * This,
  1454. /* [in] */ REFIID riid,
  1455. /* [iid_is][out] */ void **ppvObject);
  1456. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1457. IPropertyBagEnum * This);
  1458. ULONG ( STDMETHODCALLTYPE *Release )(
  1459. IPropertyBagEnum * This);
  1460. HRESULT ( STDMETHODCALLTYPE *Next )(
  1461. IPropertyBagEnum * This,
  1462. /* [in] */ ULONG celt,
  1463. /* [length_is][size_is][out] */ LPPROPERTYBAG2 *rgelt,
  1464. /* [unique][out][in] */ ULONG *pceltFetched);
  1465. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1466. IPropertyBagEnum * This,
  1467. /* [in] */ ULONG celt);
  1468. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1469. IPropertyBagEnum * This);
  1470. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1471. IPropertyBagEnum * This,
  1472. /* [out] */ IPropertyBagEnum **ppenum);
  1473. END_INTERFACE
  1474. } IPropertyBagEnumVtbl;
  1475. interface IPropertyBagEnum
  1476. {
  1477. CONST_VTBL struct IPropertyBagEnumVtbl *lpVtbl;
  1478. };
  1479. #ifdef COBJMACROS
  1480. #define IPropertyBagEnum_QueryInterface(This,riid,ppvObject) \
  1481. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1482. #define IPropertyBagEnum_AddRef(This) \
  1483. (This)->lpVtbl -> AddRef(This)
  1484. #define IPropertyBagEnum_Release(This) \
  1485. (This)->lpVtbl -> Release(This)
  1486. #define IPropertyBagEnum_Next(This,celt,rgelt,pceltFetched) \
  1487. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1488. #define IPropertyBagEnum_Skip(This,celt) \
  1489. (This)->lpVtbl -> Skip(This,celt)
  1490. #define IPropertyBagEnum_Reset(This) \
  1491. (This)->lpVtbl -> Reset(This)
  1492. #define IPropertyBagEnum_Clone(This,ppenum) \
  1493. (This)->lpVtbl -> Clone(This,ppenum)
  1494. #endif /* COBJMACROS */
  1495. #endif /* C style interface */
  1496. HRESULT STDMETHODCALLTYPE IPropertyBagEnum_Next_Proxy(
  1497. IPropertyBagEnum * This,
  1498. /* [in] */ ULONG celt,
  1499. /* [length_is][size_is][out] */ LPPROPERTYBAG2 *rgelt,
  1500. /* [unique][out][in] */ ULONG *pceltFetched);
  1501. void __RPC_STUB IPropertyBagEnum_Next_Stub(
  1502. IRpcStubBuffer *This,
  1503. IRpcChannelBuffer *_pRpcChannelBuffer,
  1504. PRPC_MESSAGE _pRpcMessage,
  1505. DWORD *_pdwStubPhase);
  1506. HRESULT STDMETHODCALLTYPE IPropertyBagEnum_Skip_Proxy(
  1507. IPropertyBagEnum * This,
  1508. /* [in] */ ULONG celt);
  1509. void __RPC_STUB IPropertyBagEnum_Skip_Stub(
  1510. IRpcStubBuffer *This,
  1511. IRpcChannelBuffer *_pRpcChannelBuffer,
  1512. PRPC_MESSAGE _pRpcMessage,
  1513. DWORD *_pdwStubPhase);
  1514. HRESULT STDMETHODCALLTYPE IPropertyBagEnum_Reset_Proxy(
  1515. IPropertyBagEnum * This);
  1516. void __RPC_STUB IPropertyBagEnum_Reset_Stub(
  1517. IRpcStubBuffer *This,
  1518. IRpcChannelBuffer *_pRpcChannelBuffer,
  1519. PRPC_MESSAGE _pRpcMessage,
  1520. DWORD *_pdwStubPhase);
  1521. HRESULT STDMETHODCALLTYPE IPropertyBagEnum_Clone_Proxy(
  1522. IPropertyBagEnum * This,
  1523. /* [out] */ IPropertyBagEnum **ppenum);
  1524. void __RPC_STUB IPropertyBagEnum_Clone_Stub(
  1525. IRpcStubBuffer *This,
  1526. IRpcChannelBuffer *_pRpcChannelBuffer,
  1527. PRPC_MESSAGE _pRpcMessage,
  1528. DWORD *_pdwStubPhase);
  1529. #endif /* __IPropertyBagEnum_INTERFACE_DEFINED__ */
  1530. #ifndef __IDeviceEnum_INTERFACE_DEFINED__
  1531. #define __IDeviceEnum_INTERFACE_DEFINED__
  1532. /* interface IDeviceEnum */
  1533. /* [unique][helpstring][uuid][object] */
  1534. EXTERN_C const IID IID_IDeviceEnum;
  1535. #if defined(__cplusplus) && !defined(CINTERFACE)
  1536. MIDL_INTERFACE("53B5F567-DFE3-46DF-985A-BB993AE1AB00")
  1537. IDeviceEnum : public IUnknown
  1538. {
  1539. public:
  1540. virtual HRESULT STDMETHODCALLTYPE Next(
  1541. /* [in] */ ULONG celt,
  1542. /* [length_is][size_is][out] */ IObexDevice **rgelt,
  1543. /* [unique][out][in] */ ULONG *pceltFetched) = 0;
  1544. virtual HRESULT STDMETHODCALLTYPE Skip(
  1545. /* [in] */ ULONG celt) = 0;
  1546. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1547. virtual HRESULT STDMETHODCALLTYPE Clone(
  1548. /* [out] */ IDeviceEnum **ppenum) = 0;
  1549. };
  1550. #else /* C style interface */
  1551. typedef struct IDeviceEnumVtbl
  1552. {
  1553. BEGIN_INTERFACE
  1554. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1555. IDeviceEnum * This,
  1556. /* [in] */ REFIID riid,
  1557. /* [iid_is][out] */ void **ppvObject);
  1558. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1559. IDeviceEnum * This);
  1560. ULONG ( STDMETHODCALLTYPE *Release )(
  1561. IDeviceEnum * This);
  1562. HRESULT ( STDMETHODCALLTYPE *Next )(
  1563. IDeviceEnum * This,
  1564. /* [in] */ ULONG celt,
  1565. /* [length_is][size_is][out] */ IObexDevice **rgelt,
  1566. /* [unique][out][in] */ ULONG *pceltFetched);
  1567. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1568. IDeviceEnum * This,
  1569. /* [in] */ ULONG celt);
  1570. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1571. IDeviceEnum * This);
  1572. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1573. IDeviceEnum * This,
  1574. /* [out] */ IDeviceEnum **ppenum);
  1575. END_INTERFACE
  1576. } IDeviceEnumVtbl;
  1577. interface IDeviceEnum
  1578. {
  1579. CONST_VTBL struct IDeviceEnumVtbl *lpVtbl;
  1580. };
  1581. #ifdef COBJMACROS
  1582. #define IDeviceEnum_QueryInterface(This,riid,ppvObject) \
  1583. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1584. #define IDeviceEnum_AddRef(This) \
  1585. (This)->lpVtbl -> AddRef(This)
  1586. #define IDeviceEnum_Release(This) \
  1587. (This)->lpVtbl -> Release(This)
  1588. #define IDeviceEnum_Next(This,celt,rgelt,pceltFetched) \
  1589. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1590. #define IDeviceEnum_Skip(This,celt) \
  1591. (This)->lpVtbl -> Skip(This,celt)
  1592. #define IDeviceEnum_Reset(This) \
  1593. (This)->lpVtbl -> Reset(This)
  1594. #define IDeviceEnum_Clone(This,ppenum) \
  1595. (This)->lpVtbl -> Clone(This,ppenum)
  1596. #endif /* COBJMACROS */
  1597. #endif /* C style interface */
  1598. HRESULT STDMETHODCALLTYPE IDeviceEnum_Next_Proxy(
  1599. IDeviceEnum * This,
  1600. /* [in] */ ULONG celt,
  1601. /* [length_is][size_is][out] */ IObexDevice **rgelt,
  1602. /* [unique][out][in] */ ULONG *pceltFetched);
  1603. void __RPC_STUB IDeviceEnum_Next_Stub(
  1604. IRpcStubBuffer *This,
  1605. IRpcChannelBuffer *_pRpcChannelBuffer,
  1606. PRPC_MESSAGE _pRpcMessage,
  1607. DWORD *_pdwStubPhase);
  1608. HRESULT STDMETHODCALLTYPE IDeviceEnum_Skip_Proxy(
  1609. IDeviceEnum * This,
  1610. /* [in] */ ULONG celt);
  1611. void __RPC_STUB IDeviceEnum_Skip_Stub(
  1612. IRpcStubBuffer *This,
  1613. IRpcChannelBuffer *_pRpcChannelBuffer,
  1614. PRPC_MESSAGE _pRpcMessage,
  1615. DWORD *_pdwStubPhase);
  1616. HRESULT STDMETHODCALLTYPE IDeviceEnum_Reset_Proxy(
  1617. IDeviceEnum * This);
  1618. void __RPC_STUB IDeviceEnum_Reset_Stub(
  1619. IRpcStubBuffer *This,
  1620. IRpcChannelBuffer *_pRpcChannelBuffer,
  1621. PRPC_MESSAGE _pRpcMessage,
  1622. DWORD *_pdwStubPhase);
  1623. HRESULT STDMETHODCALLTYPE IDeviceEnum_Clone_Proxy(
  1624. IDeviceEnum * This,
  1625. /* [out] */ IDeviceEnum **ppenum);
  1626. void __RPC_STUB IDeviceEnum_Clone_Stub(
  1627. IRpcStubBuffer *This,
  1628. IRpcChannelBuffer *_pRpcChannelBuffer,
  1629. PRPC_MESSAGE _pRpcMessage,
  1630. DWORD *_pdwStubPhase);
  1631. #endif /* __IDeviceEnum_INTERFACE_DEFINED__ */
  1632. #ifndef __OBEXLib_LIBRARY_DEFINED__
  1633. #define __OBEXLib_LIBRARY_DEFINED__
  1634. /* library OBEXLib */
  1635. /* [helpstring][version][uuid] */
  1636. EXTERN_C const IID LIBID_OBEXLib;
  1637. EXTERN_C const CLSID CLSID_Obex;
  1638. #ifdef __cplusplus
  1639. class DECLSPEC_UUID("30a7bc00-59b6-40bb-aa2b-89eb49ef274e")
  1640. Obex;
  1641. #endif
  1642. EXTERN_C const CLSID CLSID_HeaderCollection;
  1643. #ifdef __cplusplus
  1644. class DECLSPEC_UUID("30a7bc01-59b6-40bb-aa2b-89eb49ef274e")
  1645. HeaderCollection;
  1646. #endif
  1647. EXTERN_C const CLSID CLSID_PropertyBag;
  1648. #ifdef __cplusplus
  1649. class DECLSPEC_UUID("30a7bc05-59b6-40bb-aa2b-89eb49ef274e")
  1650. PropertyBag;
  1651. #endif
  1652. EXTERN_C const CLSID CLSID_IrdaTransport;
  1653. #ifdef __cplusplus
  1654. class DECLSPEC_UUID("30A7BC02-59B6-40BB-AA2B-89EB49EF274E")
  1655. IrdaTransport;
  1656. #endif
  1657. EXTERN_C const CLSID CLSID_BthTransport;
  1658. #ifdef __cplusplus
  1659. class DECLSPEC_UUID("30A7BC03-59B6-40BB-AA2B-89EB49EF274E")
  1660. BthTransport;
  1661. #endif
  1662. EXTERN_C const CLSID CLSID_IpTransport;
  1663. #ifdef __cplusplus
  1664. class DECLSPEC_UUID("30A7BC04-59B6-40BB-AA2B-89EB49EF274E")
  1665. IpTransport;
  1666. #endif
  1667. #endif /* __OBEXLib_LIBRARY_DEFINED__ */
  1668. /* Additional Prototypes for ALL interfaces */
  1669. /* end of Additional Prototypes */
  1670. #ifdef __cplusplus
  1671. }
  1672. #endif
  1673. #endif