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.

2374 lines
71 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 syncmgr.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 __syncmgr_h__
  27. #define __syncmgr_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __ISyncMgrSynchronize_FWD_DEFINED__
  33. #define __ISyncMgrSynchronize_FWD_DEFINED__
  34. typedef interface ISyncMgrSynchronize ISyncMgrSynchronize;
  35. #endif /* __ISyncMgrSynchronize_FWD_DEFINED__ */
  36. #ifndef __ISyncMgrSynchronizeCallback_FWD_DEFINED__
  37. #define __ISyncMgrSynchronizeCallback_FWD_DEFINED__
  38. typedef interface ISyncMgrSynchronizeCallback ISyncMgrSynchronizeCallback;
  39. #endif /* __ISyncMgrSynchronizeCallback_FWD_DEFINED__ */
  40. #ifndef __ISyncMgrEnumItems_FWD_DEFINED__
  41. #define __ISyncMgrEnumItems_FWD_DEFINED__
  42. typedef interface ISyncMgrEnumItems ISyncMgrEnumItems;
  43. #endif /* __ISyncMgrEnumItems_FWD_DEFINED__ */
  44. #ifndef __ISyncMgrSynchronizeInvoke_FWD_DEFINED__
  45. #define __ISyncMgrSynchronizeInvoke_FWD_DEFINED__
  46. typedef interface ISyncMgrSynchronizeInvoke ISyncMgrSynchronizeInvoke;
  47. #endif /* __ISyncMgrSynchronizeInvoke_FWD_DEFINED__ */
  48. #ifndef __ISyncMgrRegister_FWD_DEFINED__
  49. #define __ISyncMgrRegister_FWD_DEFINED__
  50. typedef interface ISyncMgrRegister ISyncMgrRegister;
  51. #endif /* __ISyncMgrRegister_FWD_DEFINED__ */
  52. #ifndef __SyncMgr_FWD_DEFINED__
  53. #define __SyncMgr_FWD_DEFINED__
  54. #ifdef __cplusplus
  55. typedef class SyncMgr SyncMgr;
  56. #else
  57. typedef struct SyncMgr SyncMgr;
  58. #endif /* __cplusplus */
  59. #endif /* __SyncMgr_FWD_DEFINED__ */
  60. #ifndef __ISyncScheduleMgr_FWD_DEFINED__
  61. #define __ISyncScheduleMgr_FWD_DEFINED__
  62. typedef interface ISyncScheduleMgr ISyncScheduleMgr;
  63. #endif /* __ISyncScheduleMgr_FWD_DEFINED__ */
  64. #ifndef __IEnumSyncSchedules_FWD_DEFINED__
  65. #define __IEnumSyncSchedules_FWD_DEFINED__
  66. typedef interface IEnumSyncSchedules IEnumSyncSchedules;
  67. #endif /* __IEnumSyncSchedules_FWD_DEFINED__ */
  68. #ifndef __ISyncSchedule_FWD_DEFINED__
  69. #define __ISyncSchedule_FWD_DEFINED__
  70. typedef interface ISyncSchedule ISyncSchedule;
  71. #endif /* __ISyncSchedule_FWD_DEFINED__ */
  72. #ifndef __IEnumSyncItems_FWD_DEFINED__
  73. #define __IEnumSyncItems_FWD_DEFINED__
  74. typedef interface IEnumSyncItems IEnumSyncItems;
  75. #endif /* __IEnumSyncItems_FWD_DEFINED__ */
  76. /* header files for imported files */
  77. #include "objidl.h"
  78. #include "oleidl.h"
  79. #include "mstask.h"
  80. #ifdef __cplusplus
  81. extern "C"{
  82. #endif
  83. void * __RPC_USER MIDL_user_allocate(size_t);
  84. void __RPC_USER MIDL_user_free( void * );
  85. /* interface __MIDL_itf_syncmgr_0000 */
  86. /* [local] */
  87. typedef GUID SYNCMGRITEMID;
  88. typedef REFGUID REFSYNCMGRITEMID;
  89. typedef GUID SYNCMGRERRORID;
  90. typedef REFGUID REFSYNCMGRERRORID;
  91. typedef GUID SYNCSCHEDULECOOKIE;
  92. DEFINE_GUID(CLSID_SyncMgr,0x6295df27, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  93. DEFINE_GUID(IID_ISyncMgrSynchronize,0x6295df28, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  94. DEFINE_GUID(IID_ISyncMgrSynchronizeCallback,0x6295df29, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  95. DEFINE_GUID(IID_ISyncMgrEnumItems,0x6295df2a, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  96. DEFINE_GUID(IID_ISyncMgrSynchronizeInvoke,0x6295df2c, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  97. DEFINE_GUID(IID_ISyncMgrRegister,0x894d8c55, 0xbddf, 0x11d1, 0xb8, 0x5d, 0x0, 0xc0, 0x4f, 0xb9, 0x39, 0x81);
  98. DEFINE_GUID(IID_ISyncScheduleMgr,0xf0e15897, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  99. DEFINE_GUID(IID_IEnumSyncSchedules,0xf0e15898, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  100. DEFINE_GUID(IID_ISyncSchedule,0xf0e15899, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  101. DEFINE_GUID(IID_IEnumSyncItems,0xf0e1589a, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  102. #define S_SYNCMGR_MISSINGITEMS MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0201)
  103. #define S_SYNCMGR_RETRYSYNC MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0202)
  104. #define S_SYNCMGR_CANCELITEM MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0203)
  105. #define S_SYNCMGR_CANCELALL MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0204)
  106. #define SYNCMGR_E_NAME_IN_USE MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0201)
  107. #define SYNCMGR_E_ITEM_UNREGISTERED MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0202)
  108. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0000_v0_0_c_ifspec;
  109. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0000_v0_0_s_ifspec;
  110. #ifndef __ISyncMgrSynchronize_INTERFACE_DEFINED__
  111. #define __ISyncMgrSynchronize_INTERFACE_DEFINED__
  112. /* interface ISyncMgrSynchronize */
  113. /* [uuid][object][local] */
  114. typedef /* [unique] */ ISyncMgrSynchronize *LPSYNCMGRSYNCHRONIZE;
  115. typedef
  116. enum _tagSYNCMGRFLAG
  117. { SYNCMGRFLAG_CONNECT = 0x1,
  118. SYNCMGRFLAG_PENDINGDISCONNECT = 0x2,
  119. SYNCMGRFLAG_MANUAL = 0x3,
  120. SYNCMGRFLAG_IDLE = 0x4,
  121. SYNCMGRFLAG_INVOKE = 0x5,
  122. SYNCMGRFLAG_SCHEDULED = 0x6,
  123. SYNCMGRFLAG_EVENTMASK = 0xff,
  124. SYNCMGRFLAG_SETTINGS = 0x100,
  125. SYNCMGRFLAG_MAYBOTHERUSER = 0x200
  126. } SYNCMGRFLAG;
  127. #define MAX_SYNCMGRHANDLERNAME ( 32 )
  128. typedef
  129. enum _tagSYNCMGRHANDLERFLAGS
  130. { SYNCMGRHANDLER_HASPROPERTIES = 0x1
  131. } SYNCMGRHANDLERFLAGS;
  132. typedef struct _tagSYNCMGRHANDLERINFO
  133. {
  134. DWORD cbSize;
  135. HICON hIcon;
  136. DWORD SyncMgrHandlerFlags;
  137. WCHAR wszHandlerName[ 32 ];
  138. } SYNCMGRHANDLERINFO;
  139. typedef struct _tagSYNCMGRHANDLERINFO *LPSYNCMGRHANDLERINFO;
  140. #define SYNCMGRITEMSTATE_UNCHECKED 0x0000
  141. #define SYNCMGRITEMSTATE_CHECKED 0x0001
  142. typedef
  143. enum _tagSYNCMGRSTATUS
  144. { SYNCMGRSTATUS_STOPPED = 0,
  145. SYNCMGRSTATUS_SKIPPED = 0x1,
  146. SYNCMGRSTATUS_PENDING = 0x2,
  147. SYNCMGRSTATUS_UPDATING = 0x3,
  148. SYNCMGRSTATUS_SUCCEEDED = 0x4,
  149. SYNCMGRSTATUS_FAILED = 0x5,
  150. SYNCMGRSTATUS_PAUSED = 0x6,
  151. SYNCMGRSTATUS_RESUMING = 0x7
  152. } SYNCMGRSTATUS;
  153. EXTERN_C const IID IID_ISyncMgrSynchronize;
  154. #if defined(__cplusplus) && !defined(CINTERFACE)
  155. MIDL_INTERFACE("6295DF28-35EE-11d1-8707-00C04FD93327")
  156. ISyncMgrSynchronize : public IUnknown
  157. {
  158. public:
  159. virtual HRESULT STDMETHODCALLTYPE Initialize(
  160. /* [in] */ DWORD dwReserved,
  161. /* [in] */ DWORD dwSyncMgrFlags,
  162. /* [in] */ DWORD cbCookie,
  163. /* [in] */ const BYTE *lpCookie) = 0;
  164. virtual HRESULT STDMETHODCALLTYPE GetHandlerInfo(
  165. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo) = 0;
  166. virtual HRESULT STDMETHODCALLTYPE EnumSyncMgrItems(
  167. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems) = 0;
  168. virtual HRESULT STDMETHODCALLTYPE GetItemObject(
  169. /* [in] */ REFSYNCMGRITEMID ItemID,
  170. /* [in] */ REFIID riid,
  171. /* [out] */ void **ppv) = 0;
  172. virtual HRESULT STDMETHODCALLTYPE ShowProperties(
  173. /* [in] */ HWND hWndParent,
  174. /* [in] */ REFSYNCMGRITEMID ItemID) = 0;
  175. virtual HRESULT STDMETHODCALLTYPE SetProgressCallback(
  176. /* [in] */ ISyncMgrSynchronizeCallback *lpCallBack) = 0;
  177. virtual HRESULT STDMETHODCALLTYPE PrepareForSync(
  178. /* [in] */ ULONG cbNumItems,
  179. /* [in] */ SYNCMGRITEMID *pItemIDs,
  180. /* [in] */ HWND hWndParent,
  181. /* [in] */ DWORD dwReserved) = 0;
  182. virtual HRESULT STDMETHODCALLTYPE Synchronize(
  183. /* [in] */ HWND hWndParent) = 0;
  184. virtual HRESULT STDMETHODCALLTYPE SetItemStatus(
  185. /* [in] */ REFSYNCMGRITEMID pItemID,
  186. /* [in] */ DWORD dwSyncMgrStatus) = 0;
  187. virtual HRESULT STDMETHODCALLTYPE ShowError(
  188. /* [in] */ HWND hWndParent,
  189. /* [in] */ REFSYNCMGRERRORID ErrorID,
  190. /* [out] */ ULONG *pcbNumItems,
  191. /* [out] */ SYNCMGRITEMID **ppItemIDs) = 0;
  192. };
  193. #else /* C style interface */
  194. typedef struct ISyncMgrSynchronizeVtbl
  195. {
  196. BEGIN_INTERFACE
  197. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  198. ISyncMgrSynchronize * This,
  199. /* [in] */ REFIID riid,
  200. /* [iid_is][out] */ void **ppvObject);
  201. ULONG ( STDMETHODCALLTYPE *AddRef )(
  202. ISyncMgrSynchronize * This);
  203. ULONG ( STDMETHODCALLTYPE *Release )(
  204. ISyncMgrSynchronize * This);
  205. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  206. ISyncMgrSynchronize * This,
  207. /* [in] */ DWORD dwReserved,
  208. /* [in] */ DWORD dwSyncMgrFlags,
  209. /* [in] */ DWORD cbCookie,
  210. /* [in] */ const BYTE *lpCookie);
  211. HRESULT ( STDMETHODCALLTYPE *GetHandlerInfo )(
  212. ISyncMgrSynchronize * This,
  213. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  214. HRESULT ( STDMETHODCALLTYPE *EnumSyncMgrItems )(
  215. ISyncMgrSynchronize * This,
  216. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
  217. HRESULT ( STDMETHODCALLTYPE *GetItemObject )(
  218. ISyncMgrSynchronize * This,
  219. /* [in] */ REFSYNCMGRITEMID ItemID,
  220. /* [in] */ REFIID riid,
  221. /* [out] */ void **ppv);
  222. HRESULT ( STDMETHODCALLTYPE *ShowProperties )(
  223. ISyncMgrSynchronize * This,
  224. /* [in] */ HWND hWndParent,
  225. /* [in] */ REFSYNCMGRITEMID ItemID);
  226. HRESULT ( STDMETHODCALLTYPE *SetProgressCallback )(
  227. ISyncMgrSynchronize * This,
  228. /* [in] */ ISyncMgrSynchronizeCallback *lpCallBack);
  229. HRESULT ( STDMETHODCALLTYPE *PrepareForSync )(
  230. ISyncMgrSynchronize * This,
  231. /* [in] */ ULONG cbNumItems,
  232. /* [in] */ SYNCMGRITEMID *pItemIDs,
  233. /* [in] */ HWND hWndParent,
  234. /* [in] */ DWORD dwReserved);
  235. HRESULT ( STDMETHODCALLTYPE *Synchronize )(
  236. ISyncMgrSynchronize * This,
  237. /* [in] */ HWND hWndParent);
  238. HRESULT ( STDMETHODCALLTYPE *SetItemStatus )(
  239. ISyncMgrSynchronize * This,
  240. /* [in] */ REFSYNCMGRITEMID pItemID,
  241. /* [in] */ DWORD dwSyncMgrStatus);
  242. HRESULT ( STDMETHODCALLTYPE *ShowError )(
  243. ISyncMgrSynchronize * This,
  244. /* [in] */ HWND hWndParent,
  245. /* [in] */ REFSYNCMGRERRORID ErrorID,
  246. /* [out] */ ULONG *pcbNumItems,
  247. /* [out] */ SYNCMGRITEMID **ppItemIDs);
  248. END_INTERFACE
  249. } ISyncMgrSynchronizeVtbl;
  250. interface ISyncMgrSynchronize
  251. {
  252. CONST_VTBL struct ISyncMgrSynchronizeVtbl *lpVtbl;
  253. };
  254. #ifdef COBJMACROS
  255. #define ISyncMgrSynchronize_QueryInterface(This,riid,ppvObject) \
  256. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  257. #define ISyncMgrSynchronize_AddRef(This) \
  258. (This)->lpVtbl -> AddRef(This)
  259. #define ISyncMgrSynchronize_Release(This) \
  260. (This)->lpVtbl -> Release(This)
  261. #define ISyncMgrSynchronize_Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie) \
  262. (This)->lpVtbl -> Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie)
  263. #define ISyncMgrSynchronize_GetHandlerInfo(This,ppSyncMgrHandlerInfo) \
  264. (This)->lpVtbl -> GetHandlerInfo(This,ppSyncMgrHandlerInfo)
  265. #define ISyncMgrSynchronize_EnumSyncMgrItems(This,ppSyncMgrEnumItems) \
  266. (This)->lpVtbl -> EnumSyncMgrItems(This,ppSyncMgrEnumItems)
  267. #define ISyncMgrSynchronize_GetItemObject(This,ItemID,riid,ppv) \
  268. (This)->lpVtbl -> GetItemObject(This,ItemID,riid,ppv)
  269. #define ISyncMgrSynchronize_ShowProperties(This,hWndParent,ItemID) \
  270. (This)->lpVtbl -> ShowProperties(This,hWndParent,ItemID)
  271. #define ISyncMgrSynchronize_SetProgressCallback(This,lpCallBack) \
  272. (This)->lpVtbl -> SetProgressCallback(This,lpCallBack)
  273. #define ISyncMgrSynchronize_PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved) \
  274. (This)->lpVtbl -> PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved)
  275. #define ISyncMgrSynchronize_Synchronize(This,hWndParent) \
  276. (This)->lpVtbl -> Synchronize(This,hWndParent)
  277. #define ISyncMgrSynchronize_SetItemStatus(This,pItemID,dwSyncMgrStatus) \
  278. (This)->lpVtbl -> SetItemStatus(This,pItemID,dwSyncMgrStatus)
  279. #define ISyncMgrSynchronize_ShowError(This,hWndParent,ErrorID,pcbNumItems,ppItemIDs) \
  280. (This)->lpVtbl -> ShowError(This,hWndParent,ErrorID,pcbNumItems,ppItemIDs)
  281. #endif /* COBJMACROS */
  282. #endif /* C style interface */
  283. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_Initialize_Proxy(
  284. ISyncMgrSynchronize * This,
  285. /* [in] */ DWORD dwReserved,
  286. /* [in] */ DWORD dwSyncMgrFlags,
  287. /* [in] */ DWORD cbCookie,
  288. /* [in] */ const BYTE *lpCookie);
  289. void __RPC_STUB ISyncMgrSynchronize_Initialize_Stub(
  290. IRpcStubBuffer *This,
  291. IRpcChannelBuffer *_pRpcChannelBuffer,
  292. PRPC_MESSAGE _pRpcMessage,
  293. DWORD *_pdwStubPhase);
  294. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_GetHandlerInfo_Proxy(
  295. ISyncMgrSynchronize * This,
  296. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  297. void __RPC_STUB ISyncMgrSynchronize_GetHandlerInfo_Stub(
  298. IRpcStubBuffer *This,
  299. IRpcChannelBuffer *_pRpcChannelBuffer,
  300. PRPC_MESSAGE _pRpcMessage,
  301. DWORD *_pdwStubPhase);
  302. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_EnumSyncMgrItems_Proxy(
  303. ISyncMgrSynchronize * This,
  304. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
  305. void __RPC_STUB ISyncMgrSynchronize_EnumSyncMgrItems_Stub(
  306. IRpcStubBuffer *This,
  307. IRpcChannelBuffer *_pRpcChannelBuffer,
  308. PRPC_MESSAGE _pRpcMessage,
  309. DWORD *_pdwStubPhase);
  310. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_GetItemObject_Proxy(
  311. ISyncMgrSynchronize * This,
  312. /* [in] */ REFSYNCMGRITEMID ItemID,
  313. /* [in] */ REFIID riid,
  314. /* [out] */ void **ppv);
  315. void __RPC_STUB ISyncMgrSynchronize_GetItemObject_Stub(
  316. IRpcStubBuffer *This,
  317. IRpcChannelBuffer *_pRpcChannelBuffer,
  318. PRPC_MESSAGE _pRpcMessage,
  319. DWORD *_pdwStubPhase);
  320. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_ShowProperties_Proxy(
  321. ISyncMgrSynchronize * This,
  322. /* [in] */ HWND hWndParent,
  323. /* [in] */ REFSYNCMGRITEMID ItemID);
  324. void __RPC_STUB ISyncMgrSynchronize_ShowProperties_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase);
  329. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_SetProgressCallback_Proxy(
  330. ISyncMgrSynchronize * This,
  331. /* [in] */ ISyncMgrSynchronizeCallback *lpCallBack);
  332. void __RPC_STUB ISyncMgrSynchronize_SetProgressCallback_Stub(
  333. IRpcStubBuffer *This,
  334. IRpcChannelBuffer *_pRpcChannelBuffer,
  335. PRPC_MESSAGE _pRpcMessage,
  336. DWORD *_pdwStubPhase);
  337. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_PrepareForSync_Proxy(
  338. ISyncMgrSynchronize * This,
  339. /* [in] */ ULONG cbNumItems,
  340. /* [in] */ SYNCMGRITEMID *pItemIDs,
  341. /* [in] */ HWND hWndParent,
  342. /* [in] */ DWORD dwReserved);
  343. void __RPC_STUB ISyncMgrSynchronize_PrepareForSync_Stub(
  344. IRpcStubBuffer *This,
  345. IRpcChannelBuffer *_pRpcChannelBuffer,
  346. PRPC_MESSAGE _pRpcMessage,
  347. DWORD *_pdwStubPhase);
  348. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_Synchronize_Proxy(
  349. ISyncMgrSynchronize * This,
  350. /* [in] */ HWND hWndParent);
  351. void __RPC_STUB ISyncMgrSynchronize_Synchronize_Stub(
  352. IRpcStubBuffer *This,
  353. IRpcChannelBuffer *_pRpcChannelBuffer,
  354. PRPC_MESSAGE _pRpcMessage,
  355. DWORD *_pdwStubPhase);
  356. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_SetItemStatus_Proxy(
  357. ISyncMgrSynchronize * This,
  358. /* [in] */ REFSYNCMGRITEMID pItemID,
  359. /* [in] */ DWORD dwSyncMgrStatus);
  360. void __RPC_STUB ISyncMgrSynchronize_SetItemStatus_Stub(
  361. IRpcStubBuffer *This,
  362. IRpcChannelBuffer *_pRpcChannelBuffer,
  363. PRPC_MESSAGE _pRpcMessage,
  364. DWORD *_pdwStubPhase);
  365. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_ShowError_Proxy(
  366. ISyncMgrSynchronize * This,
  367. /* [in] */ HWND hWndParent,
  368. /* [in] */ REFSYNCMGRERRORID ErrorID,
  369. /* [out] */ ULONG *pcbNumItems,
  370. /* [out] */ SYNCMGRITEMID **ppItemIDs);
  371. void __RPC_STUB ISyncMgrSynchronize_ShowError_Stub(
  372. IRpcStubBuffer *This,
  373. IRpcChannelBuffer *_pRpcChannelBuffer,
  374. PRPC_MESSAGE _pRpcMessage,
  375. DWORD *_pdwStubPhase);
  376. #endif /* __ISyncMgrSynchronize_INTERFACE_DEFINED__ */
  377. #ifndef __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__
  378. #define __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__
  379. /* interface ISyncMgrSynchronizeCallback */
  380. /* [uuid][object][local] */
  381. typedef /* [unique] */ ISyncMgrSynchronizeCallback *LPSYNCMGRSYNCHRONIZECALLBACK;
  382. #define SYNCMGRPROGRESSITEM_STATUSTEXT 0x0001
  383. #define SYNCMGRPROGRESSITEM_STATUSTYPE 0x0002
  384. #define SYNCMGRPROGRESSITEM_PROGVALUE 0x0004
  385. #define SYNCMGRPROGRESSITEM_MAXVALUE 0x0008
  386. typedef struct _tagSYNCMGRPROGRESSITEM
  387. {
  388. DWORD cbSize;
  389. UINT mask;
  390. const WCHAR *lpcStatusText;
  391. DWORD dwStatusType;
  392. INT iProgValue;
  393. INT iMaxValue;
  394. } SYNCMGRPROGRESSITEM;
  395. typedef struct _tagSYNCMGRPROGRESSITEM *LPSYNCMGRPROGRESSITEM;
  396. typedef
  397. enum _tagSYNCMGRLOGLEVEL
  398. { SYNCMGRLOGLEVEL_INFORMATION = 0x1,
  399. SYNCMGRLOGLEVEL_WARNING = 0x2,
  400. SYNCMGRLOGLEVEL_ERROR = 0x3
  401. } SYNCMGRLOGLEVEL;
  402. #define SYNCMGRLOGERROR_ERRORFLAGS 0x0001
  403. #define SYNCMGRLOGERROR_ERRORID 0x0002
  404. #define SYNCMGRLOGERROR_ITEMID 0x0004
  405. typedef
  406. enum _tagSYNCMGRERRORFLAGS
  407. { SYNCMGRERRORFLAG_ENABLEJUMPTEXT = 0x1
  408. } SYNCMGRERRORFLAGS;
  409. typedef struct _tagSYNCMGRLOGERRORINFO
  410. {
  411. DWORD cbSize;
  412. DWORD mask;
  413. DWORD dwSyncMgrErrorFlags;
  414. SYNCMGRERRORID ErrorID;
  415. SYNCMGRITEMID ItemID;
  416. } SYNCMGRLOGERRORINFO;
  417. typedef struct _tagSYNCMGRLOGERRORINFO *LPSYNCMGRLOGERRORINFO;
  418. EXTERN_C const IID IID_ISyncMgrSynchronizeCallback;
  419. #if defined(__cplusplus) && !defined(CINTERFACE)
  420. MIDL_INTERFACE("6295DF29-35EE-11d1-8707-00C04FD93327")
  421. ISyncMgrSynchronizeCallback : public IUnknown
  422. {
  423. public:
  424. virtual HRESULT STDMETHODCALLTYPE Progress(
  425. /* [in] */ REFSYNCMGRITEMID pItemID,
  426. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem) = 0;
  427. virtual HRESULT STDMETHODCALLTYPE PrepareForSyncCompleted(
  428. HRESULT hr) = 0;
  429. virtual HRESULT STDMETHODCALLTYPE SynchronizeCompleted(
  430. HRESULT hr) = 0;
  431. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  432. /* [in] */ BOOL fEnable) = 0;
  433. virtual HRESULT STDMETHODCALLTYPE LogError(
  434. /* [in] */ DWORD dwErrorLevel,
  435. /* [in] */ const WCHAR *lpcErrorText,
  436. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError) = 0;
  437. virtual HRESULT STDMETHODCALLTYPE DeleteLogError(
  438. /* [in] */ REFSYNCMGRERRORID ErrorID,
  439. /* [in] */ DWORD dwReserved) = 0;
  440. };
  441. #else /* C style interface */
  442. typedef struct ISyncMgrSynchronizeCallbackVtbl
  443. {
  444. BEGIN_INTERFACE
  445. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  446. ISyncMgrSynchronizeCallback * This,
  447. /* [in] */ REFIID riid,
  448. /* [iid_is][out] */ void **ppvObject);
  449. ULONG ( STDMETHODCALLTYPE *AddRef )(
  450. ISyncMgrSynchronizeCallback * This);
  451. ULONG ( STDMETHODCALLTYPE *Release )(
  452. ISyncMgrSynchronizeCallback * This);
  453. HRESULT ( STDMETHODCALLTYPE *Progress )(
  454. ISyncMgrSynchronizeCallback * This,
  455. /* [in] */ REFSYNCMGRITEMID pItemID,
  456. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
  457. HRESULT ( STDMETHODCALLTYPE *PrepareForSyncCompleted )(
  458. ISyncMgrSynchronizeCallback * This,
  459. HRESULT hr);
  460. HRESULT ( STDMETHODCALLTYPE *SynchronizeCompleted )(
  461. ISyncMgrSynchronizeCallback * This,
  462. HRESULT hr);
  463. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  464. ISyncMgrSynchronizeCallback * This,
  465. /* [in] */ BOOL fEnable);
  466. HRESULT ( STDMETHODCALLTYPE *LogError )(
  467. ISyncMgrSynchronizeCallback * This,
  468. /* [in] */ DWORD dwErrorLevel,
  469. /* [in] */ const WCHAR *lpcErrorText,
  470. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
  471. HRESULT ( STDMETHODCALLTYPE *DeleteLogError )(
  472. ISyncMgrSynchronizeCallback * This,
  473. /* [in] */ REFSYNCMGRERRORID ErrorID,
  474. /* [in] */ DWORD dwReserved);
  475. END_INTERFACE
  476. } ISyncMgrSynchronizeCallbackVtbl;
  477. interface ISyncMgrSynchronizeCallback
  478. {
  479. CONST_VTBL struct ISyncMgrSynchronizeCallbackVtbl *lpVtbl;
  480. };
  481. #ifdef COBJMACROS
  482. #define ISyncMgrSynchronizeCallback_QueryInterface(This,riid,ppvObject) \
  483. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  484. #define ISyncMgrSynchronizeCallback_AddRef(This) \
  485. (This)->lpVtbl -> AddRef(This)
  486. #define ISyncMgrSynchronizeCallback_Release(This) \
  487. (This)->lpVtbl -> Release(This)
  488. #define ISyncMgrSynchronizeCallback_Progress(This,pItemID,lpSyncProgressItem) \
  489. (This)->lpVtbl -> Progress(This,pItemID,lpSyncProgressItem)
  490. #define ISyncMgrSynchronizeCallback_PrepareForSyncCompleted(This,hr) \
  491. (This)->lpVtbl -> PrepareForSyncCompleted(This,hr)
  492. #define ISyncMgrSynchronizeCallback_SynchronizeCompleted(This,hr) \
  493. (This)->lpVtbl -> SynchronizeCompleted(This,hr)
  494. #define ISyncMgrSynchronizeCallback_EnableModeless(This,fEnable) \
  495. (This)->lpVtbl -> EnableModeless(This,fEnable)
  496. #define ISyncMgrSynchronizeCallback_LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError) \
  497. (This)->lpVtbl -> LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError)
  498. #define ISyncMgrSynchronizeCallback_DeleteLogError(This,ErrorID,dwReserved) \
  499. (This)->lpVtbl -> DeleteLogError(This,ErrorID,dwReserved)
  500. #endif /* COBJMACROS */
  501. #endif /* C style interface */
  502. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_Progress_Proxy(
  503. ISyncMgrSynchronizeCallback * This,
  504. /* [in] */ REFSYNCMGRITEMID pItemID,
  505. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
  506. void __RPC_STUB ISyncMgrSynchronizeCallback_Progress_Stub(
  507. IRpcStubBuffer *This,
  508. IRpcChannelBuffer *_pRpcChannelBuffer,
  509. PRPC_MESSAGE _pRpcMessage,
  510. DWORD *_pdwStubPhase);
  511. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_PrepareForSyncCompleted_Proxy(
  512. ISyncMgrSynchronizeCallback * This,
  513. HRESULT hr);
  514. void __RPC_STUB ISyncMgrSynchronizeCallback_PrepareForSyncCompleted_Stub(
  515. IRpcStubBuffer *This,
  516. IRpcChannelBuffer *_pRpcChannelBuffer,
  517. PRPC_MESSAGE _pRpcMessage,
  518. DWORD *_pdwStubPhase);
  519. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_SynchronizeCompleted_Proxy(
  520. ISyncMgrSynchronizeCallback * This,
  521. HRESULT hr);
  522. void __RPC_STUB ISyncMgrSynchronizeCallback_SynchronizeCompleted_Stub(
  523. IRpcStubBuffer *This,
  524. IRpcChannelBuffer *_pRpcChannelBuffer,
  525. PRPC_MESSAGE _pRpcMessage,
  526. DWORD *_pdwStubPhase);
  527. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_EnableModeless_Proxy(
  528. ISyncMgrSynchronizeCallback * This,
  529. /* [in] */ BOOL fEnable);
  530. void __RPC_STUB ISyncMgrSynchronizeCallback_EnableModeless_Stub(
  531. IRpcStubBuffer *This,
  532. IRpcChannelBuffer *_pRpcChannelBuffer,
  533. PRPC_MESSAGE _pRpcMessage,
  534. DWORD *_pdwStubPhase);
  535. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_LogError_Proxy(
  536. ISyncMgrSynchronizeCallback * This,
  537. /* [in] */ DWORD dwErrorLevel,
  538. /* [in] */ const WCHAR *lpcErrorText,
  539. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
  540. void __RPC_STUB ISyncMgrSynchronizeCallback_LogError_Stub(
  541. IRpcStubBuffer *This,
  542. IRpcChannelBuffer *_pRpcChannelBuffer,
  543. PRPC_MESSAGE _pRpcMessage,
  544. DWORD *_pdwStubPhase);
  545. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_DeleteLogError_Proxy(
  546. ISyncMgrSynchronizeCallback * This,
  547. /* [in] */ REFSYNCMGRERRORID ErrorID,
  548. /* [in] */ DWORD dwReserved);
  549. void __RPC_STUB ISyncMgrSynchronizeCallback_DeleteLogError_Stub(
  550. IRpcStubBuffer *This,
  551. IRpcChannelBuffer *_pRpcChannelBuffer,
  552. PRPC_MESSAGE _pRpcMessage,
  553. DWORD *_pdwStubPhase);
  554. #endif /* __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__ */
  555. #ifndef __ISyncMgrEnumItems_INTERFACE_DEFINED__
  556. #define __ISyncMgrEnumItems_INTERFACE_DEFINED__
  557. /* interface ISyncMgrEnumItems */
  558. /* [unique][uuid][object][local] */
  559. typedef /* [unique] */ ISyncMgrEnumItems *LPSYNCMGRENUMITEMS;
  560. #define MAX_SYNCMGRITEMNAME ( 128 )
  561. #define MAX_SYNCMGRITEMSTATUS ( 128 )
  562. typedef
  563. enum _tagSYNCMGRITEMFLAGS
  564. { SYNCMGRITEM_HASPROPERTIES = 0x1,
  565. SYNCMGRITEM_TEMPORARY = 0x2,
  566. SYNCMGRITEM_ROAMINGUSER = 0x4
  567. } SYNCMGRITEMFLAGS;
  568. typedef struct _tagSYNCMGRITEM
  569. {
  570. DWORD cbSize;
  571. DWORD dwFlags;
  572. SYNCMGRITEMID ItemID;
  573. DWORD dwItemState;
  574. HICON hIcon;
  575. WCHAR wszItemName[ 128 ];
  576. WCHAR wszStatus[ 128 ];
  577. } SYNCMGRITEM;
  578. typedef struct _tagSYNCMGRITEM *LPSYNCMGRITEM;
  579. EXTERN_C const IID IID_ISyncMgrEnumItems;
  580. #if defined(__cplusplus) && !defined(CINTERFACE)
  581. MIDL_INTERFACE("6295DF2A-35EE-11d1-8707-00C04FD93327")
  582. ISyncMgrEnumItems : public IUnknown
  583. {
  584. public:
  585. virtual HRESULT STDMETHODCALLTYPE Next(
  586. /* [in] */ ULONG celt,
  587. /* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
  588. /* [out] */ ULONG *pceltFetched) = 0;
  589. virtual HRESULT STDMETHODCALLTYPE Skip(
  590. /* [in] */ ULONG celt) = 0;
  591. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  592. virtual HRESULT STDMETHODCALLTYPE Clone(
  593. /* [out] */ ISyncMgrEnumItems **ppenum) = 0;
  594. };
  595. #else /* C style interface */
  596. typedef struct ISyncMgrEnumItemsVtbl
  597. {
  598. BEGIN_INTERFACE
  599. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  600. ISyncMgrEnumItems * This,
  601. /* [in] */ REFIID riid,
  602. /* [iid_is][out] */ void **ppvObject);
  603. ULONG ( STDMETHODCALLTYPE *AddRef )(
  604. ISyncMgrEnumItems * This);
  605. ULONG ( STDMETHODCALLTYPE *Release )(
  606. ISyncMgrEnumItems * This);
  607. HRESULT ( STDMETHODCALLTYPE *Next )(
  608. ISyncMgrEnumItems * This,
  609. /* [in] */ ULONG celt,
  610. /* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
  611. /* [out] */ ULONG *pceltFetched);
  612. HRESULT ( STDMETHODCALLTYPE *Skip )(
  613. ISyncMgrEnumItems * This,
  614. /* [in] */ ULONG celt);
  615. HRESULT ( STDMETHODCALLTYPE *Reset )(
  616. ISyncMgrEnumItems * This);
  617. HRESULT ( STDMETHODCALLTYPE *Clone )(
  618. ISyncMgrEnumItems * This,
  619. /* [out] */ ISyncMgrEnumItems **ppenum);
  620. END_INTERFACE
  621. } ISyncMgrEnumItemsVtbl;
  622. interface ISyncMgrEnumItems
  623. {
  624. CONST_VTBL struct ISyncMgrEnumItemsVtbl *lpVtbl;
  625. };
  626. #ifdef COBJMACROS
  627. #define ISyncMgrEnumItems_QueryInterface(This,riid,ppvObject) \
  628. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  629. #define ISyncMgrEnumItems_AddRef(This) \
  630. (This)->lpVtbl -> AddRef(This)
  631. #define ISyncMgrEnumItems_Release(This) \
  632. (This)->lpVtbl -> Release(This)
  633. #define ISyncMgrEnumItems_Next(This,celt,rgelt,pceltFetched) \
  634. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  635. #define ISyncMgrEnumItems_Skip(This,celt) \
  636. (This)->lpVtbl -> Skip(This,celt)
  637. #define ISyncMgrEnumItems_Reset(This) \
  638. (This)->lpVtbl -> Reset(This)
  639. #define ISyncMgrEnumItems_Clone(This,ppenum) \
  640. (This)->lpVtbl -> Clone(This,ppenum)
  641. #endif /* COBJMACROS */
  642. #endif /* C style interface */
  643. HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Next_Proxy(
  644. ISyncMgrEnumItems * This,
  645. /* [in] */ ULONG celt,
  646. /* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
  647. /* [out] */ ULONG *pceltFetched);
  648. void __RPC_STUB ISyncMgrEnumItems_Next_Stub(
  649. IRpcStubBuffer *This,
  650. IRpcChannelBuffer *_pRpcChannelBuffer,
  651. PRPC_MESSAGE _pRpcMessage,
  652. DWORD *_pdwStubPhase);
  653. HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Skip_Proxy(
  654. ISyncMgrEnumItems * This,
  655. /* [in] */ ULONG celt);
  656. void __RPC_STUB ISyncMgrEnumItems_Skip_Stub(
  657. IRpcStubBuffer *This,
  658. IRpcChannelBuffer *_pRpcChannelBuffer,
  659. PRPC_MESSAGE _pRpcMessage,
  660. DWORD *_pdwStubPhase);
  661. HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Reset_Proxy(
  662. ISyncMgrEnumItems * This);
  663. void __RPC_STUB ISyncMgrEnumItems_Reset_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Clone_Proxy(
  669. ISyncMgrEnumItems * This,
  670. /* [out] */ ISyncMgrEnumItems **ppenum);
  671. void __RPC_STUB ISyncMgrEnumItems_Clone_Stub(
  672. IRpcStubBuffer *This,
  673. IRpcChannelBuffer *_pRpcChannelBuffer,
  674. PRPC_MESSAGE _pRpcMessage,
  675. DWORD *_pdwStubPhase);
  676. #endif /* __ISyncMgrEnumItems_INTERFACE_DEFINED__ */
  677. #ifndef __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
  678. #define __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
  679. /* interface ISyncMgrSynchronizeInvoke */
  680. /* [unique][uuid][object][local] */
  681. typedef /* [unique] */ ISyncMgrSynchronizeInvoke *LPSYNCMGRSYNCHRONIZEINVOKE;
  682. typedef
  683. enum _tagSYNCMGRINVOKEFLAGS
  684. { SYNCMGRINVOKE_STARTSYNC = 0x2,
  685. SYNCMGRINVOKE_MINIMIZED = 0x4
  686. } SYNCMGRINVOKEFLAGS;
  687. EXTERN_C const IID IID_ISyncMgrSynchronizeInvoke;
  688. #if defined(__cplusplus) && !defined(CINTERFACE)
  689. MIDL_INTERFACE("6295DF2C-35EE-11d1-8707-00C04FD93327")
  690. ISyncMgrSynchronizeInvoke : public IUnknown
  691. {
  692. public:
  693. virtual HRESULT STDMETHODCALLTYPE UpdateItems(
  694. /* [in] */ DWORD dwInvokeFlags,
  695. /* [in] */ REFCLSID rclsid,
  696. /* [in] */ DWORD cbCookie,
  697. /* [size_is][unique][in] */ const BYTE *lpCookie) = 0;
  698. virtual HRESULT STDMETHODCALLTYPE UpdateAll( void) = 0;
  699. };
  700. #else /* C style interface */
  701. typedef struct ISyncMgrSynchronizeInvokeVtbl
  702. {
  703. BEGIN_INTERFACE
  704. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  705. ISyncMgrSynchronizeInvoke * This,
  706. /* [in] */ REFIID riid,
  707. /* [iid_is][out] */ void **ppvObject);
  708. ULONG ( STDMETHODCALLTYPE *AddRef )(
  709. ISyncMgrSynchronizeInvoke * This);
  710. ULONG ( STDMETHODCALLTYPE *Release )(
  711. ISyncMgrSynchronizeInvoke * This);
  712. HRESULT ( STDMETHODCALLTYPE *UpdateItems )(
  713. ISyncMgrSynchronizeInvoke * This,
  714. /* [in] */ DWORD dwInvokeFlags,
  715. /* [in] */ REFCLSID rclsid,
  716. /* [in] */ DWORD cbCookie,
  717. /* [size_is][unique][in] */ const BYTE *lpCookie);
  718. HRESULT ( STDMETHODCALLTYPE *UpdateAll )(
  719. ISyncMgrSynchronizeInvoke * This);
  720. END_INTERFACE
  721. } ISyncMgrSynchronizeInvokeVtbl;
  722. interface ISyncMgrSynchronizeInvoke
  723. {
  724. CONST_VTBL struct ISyncMgrSynchronizeInvokeVtbl *lpVtbl;
  725. };
  726. #ifdef COBJMACROS
  727. #define ISyncMgrSynchronizeInvoke_QueryInterface(This,riid,ppvObject) \
  728. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  729. #define ISyncMgrSynchronizeInvoke_AddRef(This) \
  730. (This)->lpVtbl -> AddRef(This)
  731. #define ISyncMgrSynchronizeInvoke_Release(This) \
  732. (This)->lpVtbl -> Release(This)
  733. #define ISyncMgrSynchronizeInvoke_UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie) \
  734. (This)->lpVtbl -> UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie)
  735. #define ISyncMgrSynchronizeInvoke_UpdateAll(This) \
  736. (This)->lpVtbl -> UpdateAll(This)
  737. #endif /* COBJMACROS */
  738. #endif /* C style interface */
  739. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeInvoke_UpdateItems_Proxy(
  740. ISyncMgrSynchronizeInvoke * This,
  741. /* [in] */ DWORD dwInvokeFlags,
  742. /* [in] */ REFCLSID rclsid,
  743. /* [in] */ DWORD cbCookie,
  744. /* [size_is][unique][in] */ const BYTE *lpCookie);
  745. void __RPC_STUB ISyncMgrSynchronizeInvoke_UpdateItems_Stub(
  746. IRpcStubBuffer *This,
  747. IRpcChannelBuffer *_pRpcChannelBuffer,
  748. PRPC_MESSAGE _pRpcMessage,
  749. DWORD *_pdwStubPhase);
  750. HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeInvoke_UpdateAll_Proxy(
  751. ISyncMgrSynchronizeInvoke * This);
  752. void __RPC_STUB ISyncMgrSynchronizeInvoke_UpdateAll_Stub(
  753. IRpcStubBuffer *This,
  754. IRpcChannelBuffer *_pRpcChannelBuffer,
  755. PRPC_MESSAGE _pRpcMessage,
  756. DWORD *_pdwStubPhase);
  757. #endif /* __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__ */
  758. #ifndef __ISyncMgrRegister_INTERFACE_DEFINED__
  759. #define __ISyncMgrRegister_INTERFACE_DEFINED__
  760. /* interface ISyncMgrRegister */
  761. /* [unique][uuid][object][local] */
  762. typedef /* [unique] */ ISyncMgrRegister *LPSYNCMGRREGISTER;
  763. EXTERN_C const IID IID_ISyncMgrRegister;
  764. #if defined(__cplusplus) && !defined(CINTERFACE)
  765. MIDL_INTERFACE("894D8C55-BDDF-11d1-B85D-00C04FB93981")
  766. ISyncMgrRegister : public IUnknown
  767. {
  768. public:
  769. virtual HRESULT STDMETHODCALLTYPE RegisterSyncMgrHandler(
  770. /* [in] */ REFCLSID rclsidHandler,
  771. /* [in] */ DWORD dwReserved) = 0;
  772. virtual HRESULT STDMETHODCALLTYPE UnregisterSyncMgrHandler(
  773. /* [in] */ REFCLSID rclsidHandler,
  774. /* [in] */ DWORD dwReserved) = 0;
  775. };
  776. #else /* C style interface */
  777. typedef struct ISyncMgrRegisterVtbl
  778. {
  779. BEGIN_INTERFACE
  780. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  781. ISyncMgrRegister * This,
  782. /* [in] */ REFIID riid,
  783. /* [iid_is][out] */ void **ppvObject);
  784. ULONG ( STDMETHODCALLTYPE *AddRef )(
  785. ISyncMgrRegister * This);
  786. ULONG ( STDMETHODCALLTYPE *Release )(
  787. ISyncMgrRegister * This);
  788. HRESULT ( STDMETHODCALLTYPE *RegisterSyncMgrHandler )(
  789. ISyncMgrRegister * This,
  790. /* [in] */ REFCLSID rclsidHandler,
  791. /* [in] */ DWORD dwReserved);
  792. HRESULT ( STDMETHODCALLTYPE *UnregisterSyncMgrHandler )(
  793. ISyncMgrRegister * This,
  794. /* [in] */ REFCLSID rclsidHandler,
  795. /* [in] */ DWORD dwReserved);
  796. END_INTERFACE
  797. } ISyncMgrRegisterVtbl;
  798. interface ISyncMgrRegister
  799. {
  800. CONST_VTBL struct ISyncMgrRegisterVtbl *lpVtbl;
  801. };
  802. #ifdef COBJMACROS
  803. #define ISyncMgrRegister_QueryInterface(This,riid,ppvObject) \
  804. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  805. #define ISyncMgrRegister_AddRef(This) \
  806. (This)->lpVtbl -> AddRef(This)
  807. #define ISyncMgrRegister_Release(This) \
  808. (This)->lpVtbl -> Release(This)
  809. #define ISyncMgrRegister_RegisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
  810. (This)->lpVtbl -> RegisterSyncMgrHandler(This,rclsidHandler,dwReserved)
  811. #define ISyncMgrRegister_UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
  812. (This)->lpVtbl -> UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved)
  813. #endif /* COBJMACROS */
  814. #endif /* C style interface */
  815. HRESULT STDMETHODCALLTYPE ISyncMgrRegister_RegisterSyncMgrHandler_Proxy(
  816. ISyncMgrRegister * This,
  817. /* [in] */ REFCLSID rclsidHandler,
  818. /* [in] */ DWORD dwReserved);
  819. void __RPC_STUB ISyncMgrRegister_RegisterSyncMgrHandler_Stub(
  820. IRpcStubBuffer *This,
  821. IRpcChannelBuffer *_pRpcChannelBuffer,
  822. PRPC_MESSAGE _pRpcMessage,
  823. DWORD *_pdwStubPhase);
  824. HRESULT STDMETHODCALLTYPE ISyncMgrRegister_UnregisterSyncMgrHandler_Proxy(
  825. ISyncMgrRegister * This,
  826. /* [in] */ REFCLSID rclsidHandler,
  827. /* [in] */ DWORD dwReserved);
  828. void __RPC_STUB ISyncMgrRegister_UnregisterSyncMgrHandler_Stub(
  829. IRpcStubBuffer *This,
  830. IRpcChannelBuffer *_pRpcChannelBuffer,
  831. PRPC_MESSAGE _pRpcMessage,
  832. DWORD *_pdwStubPhase);
  833. #endif /* __ISyncMgrRegister_INTERFACE_DEFINED__ */
  834. /* interface __MIDL_itf_syncmgr_0153 */
  835. /* [local] */
  836. #define SYNCSCHEDINFO_FLAGS_MASK 0x0FFF
  837. #define SYNCSCHEDINFO_FLAGS_READONLY 0x0001
  838. #define SYNCSCHEDINFO_FLAGS_AUTOCONNECT 0x0002
  839. #define SYNCSCHEDINFO_FLAGS_HIDDEN 0x0004
  840. #define SYNCSCHEDWIZARD_SHOWALLHANDLERITEMS 0x1000
  841. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0153_v0_0_c_ifspec;
  842. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0153_v0_0_s_ifspec;
  843. #ifndef __ISyncScheduleMgr_INTERFACE_DEFINED__
  844. #define __ISyncScheduleMgr_INTERFACE_DEFINED__
  845. /* interface ISyncScheduleMgr */
  846. /* [unique][uuid][object][local] */
  847. typedef /* [unique] */ ISyncScheduleMgr *LPSYNCSCHEDULEMGR;
  848. EXTERN_C const IID IID_ISyncScheduleMgr;
  849. #if defined(__cplusplus) && !defined(CINTERFACE)
  850. MIDL_INTERFACE("F0E15897-A700-11d1-9831-00C04FD910DD")
  851. ISyncScheduleMgr : public IUnknown
  852. {
  853. public:
  854. virtual HRESULT STDMETHODCALLTYPE CreateSchedule(
  855. /* [in] */ LPCWSTR pwszScheduleName,
  856. /* [in] */ DWORD dwFlags,
  857. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  858. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  859. virtual HRESULT STDMETHODCALLTYPE LaunchScheduleWizard(
  860. /* [in] */ HWND hParent,
  861. /* [in] */ DWORD dwFlags,
  862. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  863. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  864. virtual HRESULT STDMETHODCALLTYPE OpenSchedule(
  865. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  866. /* [in] */ DWORD dwFlags,
  867. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  868. virtual HRESULT STDMETHODCALLTYPE RemoveSchedule(
  869. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie) = 0;
  870. virtual HRESULT STDMETHODCALLTYPE EnumSyncSchedules(
  871. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules) = 0;
  872. };
  873. #else /* C style interface */
  874. typedef struct ISyncScheduleMgrVtbl
  875. {
  876. BEGIN_INTERFACE
  877. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  878. ISyncScheduleMgr * This,
  879. /* [in] */ REFIID riid,
  880. /* [iid_is][out] */ void **ppvObject);
  881. ULONG ( STDMETHODCALLTYPE *AddRef )(
  882. ISyncScheduleMgr * This);
  883. ULONG ( STDMETHODCALLTYPE *Release )(
  884. ISyncScheduleMgr * This);
  885. HRESULT ( STDMETHODCALLTYPE *CreateSchedule )(
  886. ISyncScheduleMgr * This,
  887. /* [in] */ LPCWSTR pwszScheduleName,
  888. /* [in] */ DWORD dwFlags,
  889. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  890. /* [out] */ ISyncSchedule **ppSyncSchedule);
  891. HRESULT ( STDMETHODCALLTYPE *LaunchScheduleWizard )(
  892. ISyncScheduleMgr * This,
  893. /* [in] */ HWND hParent,
  894. /* [in] */ DWORD dwFlags,
  895. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  896. /* [out] */ ISyncSchedule **ppSyncSchedule);
  897. HRESULT ( STDMETHODCALLTYPE *OpenSchedule )(
  898. ISyncScheduleMgr * This,
  899. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  900. /* [in] */ DWORD dwFlags,
  901. /* [out] */ ISyncSchedule **ppSyncSchedule);
  902. HRESULT ( STDMETHODCALLTYPE *RemoveSchedule )(
  903. ISyncScheduleMgr * This,
  904. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  905. HRESULT ( STDMETHODCALLTYPE *EnumSyncSchedules )(
  906. ISyncScheduleMgr * This,
  907. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  908. END_INTERFACE
  909. } ISyncScheduleMgrVtbl;
  910. interface ISyncScheduleMgr
  911. {
  912. CONST_VTBL struct ISyncScheduleMgrVtbl *lpVtbl;
  913. };
  914. #ifdef COBJMACROS
  915. #define ISyncScheduleMgr_QueryInterface(This,riid,ppvObject) \
  916. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  917. #define ISyncScheduleMgr_AddRef(This) \
  918. (This)->lpVtbl -> AddRef(This)
  919. #define ISyncScheduleMgr_Release(This) \
  920. (This)->lpVtbl -> Release(This)
  921. #define ISyncScheduleMgr_CreateSchedule(This,pwszScheduleName,dwFlags,pSyncSchedCookie,ppSyncSchedule) \
  922. (This)->lpVtbl -> CreateSchedule(This,pwszScheduleName,dwFlags,pSyncSchedCookie,ppSyncSchedule)
  923. #define ISyncScheduleMgr_LaunchScheduleWizard(This,hParent,dwFlags,pSyncSchedCookie,ppSyncSchedule) \
  924. (This)->lpVtbl -> LaunchScheduleWizard(This,hParent,dwFlags,pSyncSchedCookie,ppSyncSchedule)
  925. #define ISyncScheduleMgr_OpenSchedule(This,pSyncSchedCookie,dwFlags,ppSyncSchedule) \
  926. (This)->lpVtbl -> OpenSchedule(This,pSyncSchedCookie,dwFlags,ppSyncSchedule)
  927. #define ISyncScheduleMgr_RemoveSchedule(This,pSyncSchedCookie) \
  928. (This)->lpVtbl -> RemoveSchedule(This,pSyncSchedCookie)
  929. #define ISyncScheduleMgr_EnumSyncSchedules(This,ppEnumSyncSchedules) \
  930. (This)->lpVtbl -> EnumSyncSchedules(This,ppEnumSyncSchedules)
  931. #endif /* COBJMACROS */
  932. #endif /* C style interface */
  933. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_CreateSchedule_Proxy(
  934. ISyncScheduleMgr * This,
  935. /* [in] */ LPCWSTR pwszScheduleName,
  936. /* [in] */ DWORD dwFlags,
  937. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  938. /* [out] */ ISyncSchedule **ppSyncSchedule);
  939. void __RPC_STUB ISyncScheduleMgr_CreateSchedule_Stub(
  940. IRpcStubBuffer *This,
  941. IRpcChannelBuffer *_pRpcChannelBuffer,
  942. PRPC_MESSAGE _pRpcMessage,
  943. DWORD *_pdwStubPhase);
  944. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_LaunchScheduleWizard_Proxy(
  945. ISyncScheduleMgr * This,
  946. /* [in] */ HWND hParent,
  947. /* [in] */ DWORD dwFlags,
  948. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  949. /* [out] */ ISyncSchedule **ppSyncSchedule);
  950. void __RPC_STUB ISyncScheduleMgr_LaunchScheduleWizard_Stub(
  951. IRpcStubBuffer *This,
  952. IRpcChannelBuffer *_pRpcChannelBuffer,
  953. PRPC_MESSAGE _pRpcMessage,
  954. DWORD *_pdwStubPhase);
  955. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_OpenSchedule_Proxy(
  956. ISyncScheduleMgr * This,
  957. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  958. /* [in] */ DWORD dwFlags,
  959. /* [out] */ ISyncSchedule **ppSyncSchedule);
  960. void __RPC_STUB ISyncScheduleMgr_OpenSchedule_Stub(
  961. IRpcStubBuffer *This,
  962. IRpcChannelBuffer *_pRpcChannelBuffer,
  963. PRPC_MESSAGE _pRpcMessage,
  964. DWORD *_pdwStubPhase);
  965. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_RemoveSchedule_Proxy(
  966. ISyncScheduleMgr * This,
  967. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  968. void __RPC_STUB ISyncScheduleMgr_RemoveSchedule_Stub(
  969. IRpcStubBuffer *This,
  970. IRpcChannelBuffer *_pRpcChannelBuffer,
  971. PRPC_MESSAGE _pRpcMessage,
  972. DWORD *_pdwStubPhase);
  973. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_EnumSyncSchedules_Proxy(
  974. ISyncScheduleMgr * This,
  975. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  976. void __RPC_STUB ISyncScheduleMgr_EnumSyncSchedules_Stub(
  977. IRpcStubBuffer *This,
  978. IRpcChannelBuffer *_pRpcChannelBuffer,
  979. PRPC_MESSAGE _pRpcMessage,
  980. DWORD *_pdwStubPhase);
  981. #endif /* __ISyncScheduleMgr_INTERFACE_DEFINED__ */
  982. /* interface __MIDL_itf_syncmgr_0154 */
  983. /* [local] */
  984. #define SYNCSCHEDINFO_FLAGS_CONNECTION_LAN 0x0000
  985. #define SYNCSCHEDINFO_FLAGS_CONNECTION_WAN 0x0001
  986. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0154_v0_0_c_ifspec;
  987. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0154_v0_0_s_ifspec;
  988. #ifndef __IEnumSyncSchedules_INTERFACE_DEFINED__
  989. #define __IEnumSyncSchedules_INTERFACE_DEFINED__
  990. /* interface IEnumSyncSchedules */
  991. /* [unique][uuid][object][local] */
  992. EXTERN_C const IID IID_IEnumSyncSchedules;
  993. #if defined(__cplusplus) && !defined(CINTERFACE)
  994. MIDL_INTERFACE("F0E15898-A700-11d1-9831-00C04FD910DD")
  995. IEnumSyncSchedules : public IUnknown
  996. {
  997. public:
  998. virtual HRESULT STDMETHODCALLTYPE Next(
  999. /* [in] */ ULONG celt,
  1000. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  1001. /* [out] */ ULONG *pceltFetched) = 0;
  1002. virtual HRESULT STDMETHODCALLTYPE Skip(
  1003. /* [in] */ ULONG celt) = 0;
  1004. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1005. virtual HRESULT STDMETHODCALLTYPE Clone(
  1006. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules) = 0;
  1007. };
  1008. #else /* C style interface */
  1009. typedef struct IEnumSyncSchedulesVtbl
  1010. {
  1011. BEGIN_INTERFACE
  1012. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1013. IEnumSyncSchedules * This,
  1014. /* [in] */ REFIID riid,
  1015. /* [iid_is][out] */ void **ppvObject);
  1016. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1017. IEnumSyncSchedules * This);
  1018. ULONG ( STDMETHODCALLTYPE *Release )(
  1019. IEnumSyncSchedules * This);
  1020. HRESULT ( STDMETHODCALLTYPE *Next )(
  1021. IEnumSyncSchedules * This,
  1022. /* [in] */ ULONG celt,
  1023. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  1024. /* [out] */ ULONG *pceltFetched);
  1025. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1026. IEnumSyncSchedules * This,
  1027. /* [in] */ ULONG celt);
  1028. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1029. IEnumSyncSchedules * This);
  1030. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1031. IEnumSyncSchedules * This,
  1032. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  1033. END_INTERFACE
  1034. } IEnumSyncSchedulesVtbl;
  1035. interface IEnumSyncSchedules
  1036. {
  1037. CONST_VTBL struct IEnumSyncSchedulesVtbl *lpVtbl;
  1038. };
  1039. #ifdef COBJMACROS
  1040. #define IEnumSyncSchedules_QueryInterface(This,riid,ppvObject) \
  1041. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1042. #define IEnumSyncSchedules_AddRef(This) \
  1043. (This)->lpVtbl -> AddRef(This)
  1044. #define IEnumSyncSchedules_Release(This) \
  1045. (This)->lpVtbl -> Release(This)
  1046. #define IEnumSyncSchedules_Next(This,celt,pSyncSchedCookie,pceltFetched) \
  1047. (This)->lpVtbl -> Next(This,celt,pSyncSchedCookie,pceltFetched)
  1048. #define IEnumSyncSchedules_Skip(This,celt) \
  1049. (This)->lpVtbl -> Skip(This,celt)
  1050. #define IEnumSyncSchedules_Reset(This) \
  1051. (This)->lpVtbl -> Reset(This)
  1052. #define IEnumSyncSchedules_Clone(This,ppEnumSyncSchedules) \
  1053. (This)->lpVtbl -> Clone(This,ppEnumSyncSchedules)
  1054. #endif /* COBJMACROS */
  1055. #endif /* C style interface */
  1056. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Next_Proxy(
  1057. IEnumSyncSchedules * This,
  1058. /* [in] */ ULONG celt,
  1059. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  1060. /* [out] */ ULONG *pceltFetched);
  1061. void __RPC_STUB IEnumSyncSchedules_Next_Stub(
  1062. IRpcStubBuffer *This,
  1063. IRpcChannelBuffer *_pRpcChannelBuffer,
  1064. PRPC_MESSAGE _pRpcMessage,
  1065. DWORD *_pdwStubPhase);
  1066. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Skip_Proxy(
  1067. IEnumSyncSchedules * This,
  1068. /* [in] */ ULONG celt);
  1069. void __RPC_STUB IEnumSyncSchedules_Skip_Stub(
  1070. IRpcStubBuffer *This,
  1071. IRpcChannelBuffer *_pRpcChannelBuffer,
  1072. PRPC_MESSAGE _pRpcMessage,
  1073. DWORD *_pdwStubPhase);
  1074. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Reset_Proxy(
  1075. IEnumSyncSchedules * This);
  1076. void __RPC_STUB IEnumSyncSchedules_Reset_Stub(
  1077. IRpcStubBuffer *This,
  1078. IRpcChannelBuffer *_pRpcChannelBuffer,
  1079. PRPC_MESSAGE _pRpcMessage,
  1080. DWORD *_pdwStubPhase);
  1081. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Clone_Proxy(
  1082. IEnumSyncSchedules * This,
  1083. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  1084. void __RPC_STUB IEnumSyncSchedules_Clone_Stub(
  1085. IRpcStubBuffer *This,
  1086. IRpcChannelBuffer *_pRpcChannelBuffer,
  1087. PRPC_MESSAGE _pRpcMessage,
  1088. DWORD *_pdwStubPhase);
  1089. #endif /* __IEnumSyncSchedules_INTERFACE_DEFINED__ */
  1090. /* interface __MIDL_itf_syncmgr_0155 */
  1091. /* [local] */
  1092. typedef struct _tagSYNC_HANDLER_ITEM_INFO
  1093. {
  1094. GUID handlerID;
  1095. SYNCMGRITEMID itemID;
  1096. HICON hIcon;
  1097. WCHAR wszItemName[ 128 ];
  1098. DWORD dwCheckState;
  1099. } SYNC_HANDLER_ITEM_INFO;
  1100. typedef struct _tagSYNC_HANDLER_ITEM_INFO *LPSYNC_HANDLER_ITEM_INFO;
  1101. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0155_v0_0_c_ifspec;
  1102. extern RPC_IF_HANDLE __MIDL_itf_syncmgr_0155_v0_0_s_ifspec;
  1103. #ifndef __ISyncSchedule_INTERFACE_DEFINED__
  1104. #define __ISyncSchedule_INTERFACE_DEFINED__
  1105. /* interface ISyncSchedule */
  1106. /* [unique][uuid][object][local] */
  1107. EXTERN_C const IID IID_ISyncSchedule;
  1108. #if defined(__cplusplus) && !defined(CINTERFACE)
  1109. MIDL_INTERFACE("F0E15899-A700-11d1-9831-00C04FD910DD")
  1110. ISyncSchedule : public IUnknown
  1111. {
  1112. public:
  1113. virtual HRESULT STDMETHODCALLTYPE GetFlags(
  1114. /* [out] */ DWORD *pdwFlags) = 0;
  1115. virtual HRESULT STDMETHODCALLTYPE SetFlags(
  1116. /* [in] */ DWORD dwFlags) = 0;
  1117. virtual HRESULT STDMETHODCALLTYPE GetConnection(
  1118. /* [out][in] */ DWORD *pcbSize,
  1119. /* [out] */ LPWSTR pwszConnectionName,
  1120. /* [out] */ DWORD *pdwConnType) = 0;
  1121. virtual HRESULT STDMETHODCALLTYPE SetConnection(
  1122. /* [in] */ LPCWSTR pwszConnectionName,
  1123. /* [in] */ DWORD dwConnType) = 0;
  1124. virtual HRESULT STDMETHODCALLTYPE GetScheduleName(
  1125. /* [out][in] */ DWORD *pcbSize,
  1126. /* [out] */ LPWSTR pwszScheduleName) = 0;
  1127. virtual HRESULT STDMETHODCALLTYPE SetScheduleName(
  1128. /* [in] */ LPCWSTR pwszScheduleName) = 0;
  1129. virtual HRESULT STDMETHODCALLTYPE GetScheduleCookie(
  1130. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie) = 0;
  1131. virtual HRESULT STDMETHODCALLTYPE SetAccountInformation(
  1132. /* [in] */ LPCWSTR pwszAccountName,
  1133. /* [in] */ LPCWSTR pwszPassword) = 0;
  1134. virtual HRESULT STDMETHODCALLTYPE GetAccountInformation(
  1135. /* [out][in] */ DWORD *pcbSize,
  1136. /* [out] */ LPWSTR pwszAccountName) = 0;
  1137. virtual HRESULT STDMETHODCALLTYPE GetTrigger(
  1138. /* [out] */ ITaskTrigger **ppTrigger) = 0;
  1139. virtual HRESULT STDMETHODCALLTYPE GetNextRunTime(
  1140. /* [out] */ SYSTEMTIME *pstNextRun) = 0;
  1141. virtual HRESULT STDMETHODCALLTYPE GetMostRecentRunTime(
  1142. /* [out] */ SYSTEMTIME *pstRecentRun) = 0;
  1143. virtual HRESULT STDMETHODCALLTYPE EditSyncSchedule(
  1144. /* [in] */ HWND hParent,
  1145. /* [in] */ DWORD dwReserved) = 0;
  1146. virtual HRESULT STDMETHODCALLTYPE AddItem(
  1147. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo) = 0;
  1148. virtual HRESULT STDMETHODCALLTYPE RegisterItems(
  1149. /* [in] */ REFCLSID pHandlerID,
  1150. /* [in] */ SYNCMGRITEMID *pItemID) = 0;
  1151. virtual HRESULT STDMETHODCALLTYPE UnregisterItems(
  1152. /* [in] */ REFCLSID pHandlerID,
  1153. /* [in] */ SYNCMGRITEMID *pItemID) = 0;
  1154. virtual HRESULT STDMETHODCALLTYPE SetItemCheck(
  1155. /* [in] */ REFCLSID pHandlerID,
  1156. /* [in] */ SYNCMGRITEMID *pItemID,
  1157. /* [in] */ DWORD dwCheckState) = 0;
  1158. virtual HRESULT STDMETHODCALLTYPE GetItemCheck(
  1159. /* [in] */ REFCLSID pHandlerID,
  1160. /* [in] */ SYNCMGRITEMID *pItemID,
  1161. /* [out] */ DWORD *pdwCheckState) = 0;
  1162. virtual HRESULT STDMETHODCALLTYPE EnumItems(
  1163. /* [in] */ REFCLSID pHandlerID,
  1164. /* [in] */ IEnumSyncItems **ppEnumItems) = 0;
  1165. virtual HRESULT STDMETHODCALLTYPE Save( void) = 0;
  1166. virtual HRESULT STDMETHODCALLTYPE GetITask(
  1167. /* [out] */ ITask **ppITask) = 0;
  1168. };
  1169. #else /* C style interface */
  1170. typedef struct ISyncScheduleVtbl
  1171. {
  1172. BEGIN_INTERFACE
  1173. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1174. ISyncSchedule * This,
  1175. /* [in] */ REFIID riid,
  1176. /* [iid_is][out] */ void **ppvObject);
  1177. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1178. ISyncSchedule * This);
  1179. ULONG ( STDMETHODCALLTYPE *Release )(
  1180. ISyncSchedule * This);
  1181. HRESULT ( STDMETHODCALLTYPE *GetFlags )(
  1182. ISyncSchedule * This,
  1183. /* [out] */ DWORD *pdwFlags);
  1184. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  1185. ISyncSchedule * This,
  1186. /* [in] */ DWORD dwFlags);
  1187. HRESULT ( STDMETHODCALLTYPE *GetConnection )(
  1188. ISyncSchedule * This,
  1189. /* [out][in] */ DWORD *pcbSize,
  1190. /* [out] */ LPWSTR pwszConnectionName,
  1191. /* [out] */ DWORD *pdwConnType);
  1192. HRESULT ( STDMETHODCALLTYPE *SetConnection )(
  1193. ISyncSchedule * This,
  1194. /* [in] */ LPCWSTR pwszConnectionName,
  1195. /* [in] */ DWORD dwConnType);
  1196. HRESULT ( STDMETHODCALLTYPE *GetScheduleName )(
  1197. ISyncSchedule * This,
  1198. /* [out][in] */ DWORD *pcbSize,
  1199. /* [out] */ LPWSTR pwszScheduleName);
  1200. HRESULT ( STDMETHODCALLTYPE *SetScheduleName )(
  1201. ISyncSchedule * This,
  1202. /* [in] */ LPCWSTR pwszScheduleName);
  1203. HRESULT ( STDMETHODCALLTYPE *GetScheduleCookie )(
  1204. ISyncSchedule * This,
  1205. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  1206. HRESULT ( STDMETHODCALLTYPE *SetAccountInformation )(
  1207. ISyncSchedule * This,
  1208. /* [in] */ LPCWSTR pwszAccountName,
  1209. /* [in] */ LPCWSTR pwszPassword);
  1210. HRESULT ( STDMETHODCALLTYPE *GetAccountInformation )(
  1211. ISyncSchedule * This,
  1212. /* [out][in] */ DWORD *pcbSize,
  1213. /* [out] */ LPWSTR pwszAccountName);
  1214. HRESULT ( STDMETHODCALLTYPE *GetTrigger )(
  1215. ISyncSchedule * This,
  1216. /* [out] */ ITaskTrigger **ppTrigger);
  1217. HRESULT ( STDMETHODCALLTYPE *GetNextRunTime )(
  1218. ISyncSchedule * This,
  1219. /* [out] */ SYSTEMTIME *pstNextRun);
  1220. HRESULT ( STDMETHODCALLTYPE *GetMostRecentRunTime )(
  1221. ISyncSchedule * This,
  1222. /* [out] */ SYSTEMTIME *pstRecentRun);
  1223. HRESULT ( STDMETHODCALLTYPE *EditSyncSchedule )(
  1224. ISyncSchedule * This,
  1225. /* [in] */ HWND hParent,
  1226. /* [in] */ DWORD dwReserved);
  1227. HRESULT ( STDMETHODCALLTYPE *AddItem )(
  1228. ISyncSchedule * This,
  1229. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo);
  1230. HRESULT ( STDMETHODCALLTYPE *RegisterItems )(
  1231. ISyncSchedule * This,
  1232. /* [in] */ REFCLSID pHandlerID,
  1233. /* [in] */ SYNCMGRITEMID *pItemID);
  1234. HRESULT ( STDMETHODCALLTYPE *UnregisterItems )(
  1235. ISyncSchedule * This,
  1236. /* [in] */ REFCLSID pHandlerID,
  1237. /* [in] */ SYNCMGRITEMID *pItemID);
  1238. HRESULT ( STDMETHODCALLTYPE *SetItemCheck )(
  1239. ISyncSchedule * This,
  1240. /* [in] */ REFCLSID pHandlerID,
  1241. /* [in] */ SYNCMGRITEMID *pItemID,
  1242. /* [in] */ DWORD dwCheckState);
  1243. HRESULT ( STDMETHODCALLTYPE *GetItemCheck )(
  1244. ISyncSchedule * This,
  1245. /* [in] */ REFCLSID pHandlerID,
  1246. /* [in] */ SYNCMGRITEMID *pItemID,
  1247. /* [out] */ DWORD *pdwCheckState);
  1248. HRESULT ( STDMETHODCALLTYPE *EnumItems )(
  1249. ISyncSchedule * This,
  1250. /* [in] */ REFCLSID pHandlerID,
  1251. /* [in] */ IEnumSyncItems **ppEnumItems);
  1252. HRESULT ( STDMETHODCALLTYPE *Save )(
  1253. ISyncSchedule * This);
  1254. HRESULT ( STDMETHODCALLTYPE *GetITask )(
  1255. ISyncSchedule * This,
  1256. /* [out] */ ITask **ppITask);
  1257. END_INTERFACE
  1258. } ISyncScheduleVtbl;
  1259. interface ISyncSchedule
  1260. {
  1261. CONST_VTBL struct ISyncScheduleVtbl *lpVtbl;
  1262. };
  1263. #ifdef COBJMACROS
  1264. #define ISyncSchedule_QueryInterface(This,riid,ppvObject) \
  1265. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1266. #define ISyncSchedule_AddRef(This) \
  1267. (This)->lpVtbl -> AddRef(This)
  1268. #define ISyncSchedule_Release(This) \
  1269. (This)->lpVtbl -> Release(This)
  1270. #define ISyncSchedule_GetFlags(This,pdwFlags) \
  1271. (This)->lpVtbl -> GetFlags(This,pdwFlags)
  1272. #define ISyncSchedule_SetFlags(This,dwFlags) \
  1273. (This)->lpVtbl -> SetFlags(This,dwFlags)
  1274. #define ISyncSchedule_GetConnection(This,pcbSize,pwszConnectionName,pdwConnType) \
  1275. (This)->lpVtbl -> GetConnection(This,pcbSize,pwszConnectionName,pdwConnType)
  1276. #define ISyncSchedule_SetConnection(This,pwszConnectionName,dwConnType) \
  1277. (This)->lpVtbl -> SetConnection(This,pwszConnectionName,dwConnType)
  1278. #define ISyncSchedule_GetScheduleName(This,pcbSize,pwszScheduleName) \
  1279. (This)->lpVtbl -> GetScheduleName(This,pcbSize,pwszScheduleName)
  1280. #define ISyncSchedule_SetScheduleName(This,pwszScheduleName) \
  1281. (This)->lpVtbl -> SetScheduleName(This,pwszScheduleName)
  1282. #define ISyncSchedule_GetScheduleCookie(This,pSyncSchedCookie) \
  1283. (This)->lpVtbl -> GetScheduleCookie(This,pSyncSchedCookie)
  1284. #define ISyncSchedule_SetAccountInformation(This,pwszAccountName,pwszPassword) \
  1285. (This)->lpVtbl -> SetAccountInformation(This,pwszAccountName,pwszPassword)
  1286. #define ISyncSchedule_GetAccountInformation(This,pcbSize,pwszAccountName) \
  1287. (This)->lpVtbl -> GetAccountInformation(This,pcbSize,pwszAccountName)
  1288. #define ISyncSchedule_GetTrigger(This,ppTrigger) \
  1289. (This)->lpVtbl -> GetTrigger(This,ppTrigger)
  1290. #define ISyncSchedule_GetNextRunTime(This,pstNextRun) \
  1291. (This)->lpVtbl -> GetNextRunTime(This,pstNextRun)
  1292. #define ISyncSchedule_GetMostRecentRunTime(This,pstRecentRun) \
  1293. (This)->lpVtbl -> GetMostRecentRunTime(This,pstRecentRun)
  1294. #define ISyncSchedule_EditSyncSchedule(This,hParent,dwReserved) \
  1295. (This)->lpVtbl -> EditSyncSchedule(This,hParent,dwReserved)
  1296. #define ISyncSchedule_AddItem(This,pHandlerItemInfo) \
  1297. (This)->lpVtbl -> AddItem(This,pHandlerItemInfo)
  1298. #define ISyncSchedule_RegisterItems(This,pHandlerID,pItemID) \
  1299. (This)->lpVtbl -> RegisterItems(This,pHandlerID,pItemID)
  1300. #define ISyncSchedule_UnregisterItems(This,pHandlerID,pItemID) \
  1301. (This)->lpVtbl -> UnregisterItems(This,pHandlerID,pItemID)
  1302. #define ISyncSchedule_SetItemCheck(This,pHandlerID,pItemID,dwCheckState) \
  1303. (This)->lpVtbl -> SetItemCheck(This,pHandlerID,pItemID,dwCheckState)
  1304. #define ISyncSchedule_GetItemCheck(This,pHandlerID,pItemID,pdwCheckState) \
  1305. (This)->lpVtbl -> GetItemCheck(This,pHandlerID,pItemID,pdwCheckState)
  1306. #define ISyncSchedule_EnumItems(This,pHandlerID,ppEnumItems) \
  1307. (This)->lpVtbl -> EnumItems(This,pHandlerID,ppEnumItems)
  1308. #define ISyncSchedule_Save(This) \
  1309. (This)->lpVtbl -> Save(This)
  1310. #define ISyncSchedule_GetITask(This,ppITask) \
  1311. (This)->lpVtbl -> GetITask(This,ppITask)
  1312. #endif /* COBJMACROS */
  1313. #endif /* C style interface */
  1314. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetFlags_Proxy(
  1315. ISyncSchedule * This,
  1316. /* [out] */ DWORD *pdwFlags);
  1317. void __RPC_STUB ISyncSchedule_GetFlags_Stub(
  1318. IRpcStubBuffer *This,
  1319. IRpcChannelBuffer *_pRpcChannelBuffer,
  1320. PRPC_MESSAGE _pRpcMessage,
  1321. DWORD *_pdwStubPhase);
  1322. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetFlags_Proxy(
  1323. ISyncSchedule * This,
  1324. /* [in] */ DWORD dwFlags);
  1325. void __RPC_STUB ISyncSchedule_SetFlags_Stub(
  1326. IRpcStubBuffer *This,
  1327. IRpcChannelBuffer *_pRpcChannelBuffer,
  1328. PRPC_MESSAGE _pRpcMessage,
  1329. DWORD *_pdwStubPhase);
  1330. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetConnection_Proxy(
  1331. ISyncSchedule * This,
  1332. /* [out][in] */ DWORD *pcbSize,
  1333. /* [out] */ LPWSTR pwszConnectionName,
  1334. /* [out] */ DWORD *pdwConnType);
  1335. void __RPC_STUB ISyncSchedule_GetConnection_Stub(
  1336. IRpcStubBuffer *This,
  1337. IRpcChannelBuffer *_pRpcChannelBuffer,
  1338. PRPC_MESSAGE _pRpcMessage,
  1339. DWORD *_pdwStubPhase);
  1340. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetConnection_Proxy(
  1341. ISyncSchedule * This,
  1342. /* [in] */ LPCWSTR pwszConnectionName,
  1343. /* [in] */ DWORD dwConnType);
  1344. void __RPC_STUB ISyncSchedule_SetConnection_Stub(
  1345. IRpcStubBuffer *This,
  1346. IRpcChannelBuffer *_pRpcChannelBuffer,
  1347. PRPC_MESSAGE _pRpcMessage,
  1348. DWORD *_pdwStubPhase);
  1349. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetScheduleName_Proxy(
  1350. ISyncSchedule * This,
  1351. /* [out][in] */ DWORD *pcbSize,
  1352. /* [out] */ LPWSTR pwszScheduleName);
  1353. void __RPC_STUB ISyncSchedule_GetScheduleName_Stub(
  1354. IRpcStubBuffer *This,
  1355. IRpcChannelBuffer *_pRpcChannelBuffer,
  1356. PRPC_MESSAGE _pRpcMessage,
  1357. DWORD *_pdwStubPhase);
  1358. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetScheduleName_Proxy(
  1359. ISyncSchedule * This,
  1360. /* [in] */ LPCWSTR pwszScheduleName);
  1361. void __RPC_STUB ISyncSchedule_SetScheduleName_Stub(
  1362. IRpcStubBuffer *This,
  1363. IRpcChannelBuffer *_pRpcChannelBuffer,
  1364. PRPC_MESSAGE _pRpcMessage,
  1365. DWORD *_pdwStubPhase);
  1366. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetScheduleCookie_Proxy(
  1367. ISyncSchedule * This,
  1368. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  1369. void __RPC_STUB ISyncSchedule_GetScheduleCookie_Stub(
  1370. IRpcStubBuffer *This,
  1371. IRpcChannelBuffer *_pRpcChannelBuffer,
  1372. PRPC_MESSAGE _pRpcMessage,
  1373. DWORD *_pdwStubPhase);
  1374. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetAccountInformation_Proxy(
  1375. ISyncSchedule * This,
  1376. /* [in] */ LPCWSTR pwszAccountName,
  1377. /* [in] */ LPCWSTR pwszPassword);
  1378. void __RPC_STUB ISyncSchedule_SetAccountInformation_Stub(
  1379. IRpcStubBuffer *This,
  1380. IRpcChannelBuffer *_pRpcChannelBuffer,
  1381. PRPC_MESSAGE _pRpcMessage,
  1382. DWORD *_pdwStubPhase);
  1383. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetAccountInformation_Proxy(
  1384. ISyncSchedule * This,
  1385. /* [out][in] */ DWORD *pcbSize,
  1386. /* [out] */ LPWSTR pwszAccountName);
  1387. void __RPC_STUB ISyncSchedule_GetAccountInformation_Stub(
  1388. IRpcStubBuffer *This,
  1389. IRpcChannelBuffer *_pRpcChannelBuffer,
  1390. PRPC_MESSAGE _pRpcMessage,
  1391. DWORD *_pdwStubPhase);
  1392. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetTrigger_Proxy(
  1393. ISyncSchedule * This,
  1394. /* [out] */ ITaskTrigger **ppTrigger);
  1395. void __RPC_STUB ISyncSchedule_GetTrigger_Stub(
  1396. IRpcStubBuffer *This,
  1397. IRpcChannelBuffer *_pRpcChannelBuffer,
  1398. PRPC_MESSAGE _pRpcMessage,
  1399. DWORD *_pdwStubPhase);
  1400. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetNextRunTime_Proxy(
  1401. ISyncSchedule * This,
  1402. /* [out] */ SYSTEMTIME *pstNextRun);
  1403. void __RPC_STUB ISyncSchedule_GetNextRunTime_Stub(
  1404. IRpcStubBuffer *This,
  1405. IRpcChannelBuffer *_pRpcChannelBuffer,
  1406. PRPC_MESSAGE _pRpcMessage,
  1407. DWORD *_pdwStubPhase);
  1408. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetMostRecentRunTime_Proxy(
  1409. ISyncSchedule * This,
  1410. /* [out] */ SYSTEMTIME *pstRecentRun);
  1411. void __RPC_STUB ISyncSchedule_GetMostRecentRunTime_Stub(
  1412. IRpcStubBuffer *This,
  1413. IRpcChannelBuffer *_pRpcChannelBuffer,
  1414. PRPC_MESSAGE _pRpcMessage,
  1415. DWORD *_pdwStubPhase);
  1416. HRESULT STDMETHODCALLTYPE ISyncSchedule_EditSyncSchedule_Proxy(
  1417. ISyncSchedule * This,
  1418. /* [in] */ HWND hParent,
  1419. /* [in] */ DWORD dwReserved);
  1420. void __RPC_STUB ISyncSchedule_EditSyncSchedule_Stub(
  1421. IRpcStubBuffer *This,
  1422. IRpcChannelBuffer *_pRpcChannelBuffer,
  1423. PRPC_MESSAGE _pRpcMessage,
  1424. DWORD *_pdwStubPhase);
  1425. HRESULT STDMETHODCALLTYPE ISyncSchedule_AddItem_Proxy(
  1426. ISyncSchedule * This,
  1427. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo);
  1428. void __RPC_STUB ISyncSchedule_AddItem_Stub(
  1429. IRpcStubBuffer *This,
  1430. IRpcChannelBuffer *_pRpcChannelBuffer,
  1431. PRPC_MESSAGE _pRpcMessage,
  1432. DWORD *_pdwStubPhase);
  1433. HRESULT STDMETHODCALLTYPE ISyncSchedule_RegisterItems_Proxy(
  1434. ISyncSchedule * This,
  1435. /* [in] */ REFCLSID pHandlerID,
  1436. /* [in] */ SYNCMGRITEMID *pItemID);
  1437. void __RPC_STUB ISyncSchedule_RegisterItems_Stub(
  1438. IRpcStubBuffer *This,
  1439. IRpcChannelBuffer *_pRpcChannelBuffer,
  1440. PRPC_MESSAGE _pRpcMessage,
  1441. DWORD *_pdwStubPhase);
  1442. HRESULT STDMETHODCALLTYPE ISyncSchedule_UnregisterItems_Proxy(
  1443. ISyncSchedule * This,
  1444. /* [in] */ REFCLSID pHandlerID,
  1445. /* [in] */ SYNCMGRITEMID *pItemID);
  1446. void __RPC_STUB ISyncSchedule_UnregisterItems_Stub(
  1447. IRpcStubBuffer *This,
  1448. IRpcChannelBuffer *_pRpcChannelBuffer,
  1449. PRPC_MESSAGE _pRpcMessage,
  1450. DWORD *_pdwStubPhase);
  1451. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetItemCheck_Proxy(
  1452. ISyncSchedule * This,
  1453. /* [in] */ REFCLSID pHandlerID,
  1454. /* [in] */ SYNCMGRITEMID *pItemID,
  1455. /* [in] */ DWORD dwCheckState);
  1456. void __RPC_STUB ISyncSchedule_SetItemCheck_Stub(
  1457. IRpcStubBuffer *This,
  1458. IRpcChannelBuffer *_pRpcChannelBuffer,
  1459. PRPC_MESSAGE _pRpcMessage,
  1460. DWORD *_pdwStubPhase);
  1461. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetItemCheck_Proxy(
  1462. ISyncSchedule * This,
  1463. /* [in] */ REFCLSID pHandlerID,
  1464. /* [in] */ SYNCMGRITEMID *pItemID,
  1465. /* [out] */ DWORD *pdwCheckState);
  1466. void __RPC_STUB ISyncSchedule_GetItemCheck_Stub(
  1467. IRpcStubBuffer *This,
  1468. IRpcChannelBuffer *_pRpcChannelBuffer,
  1469. PRPC_MESSAGE _pRpcMessage,
  1470. DWORD *_pdwStubPhase);
  1471. HRESULT STDMETHODCALLTYPE ISyncSchedule_EnumItems_Proxy(
  1472. ISyncSchedule * This,
  1473. /* [in] */ REFCLSID pHandlerID,
  1474. /* [in] */ IEnumSyncItems **ppEnumItems);
  1475. void __RPC_STUB ISyncSchedule_EnumItems_Stub(
  1476. IRpcStubBuffer *This,
  1477. IRpcChannelBuffer *_pRpcChannelBuffer,
  1478. PRPC_MESSAGE _pRpcMessage,
  1479. DWORD *_pdwStubPhase);
  1480. HRESULT STDMETHODCALLTYPE ISyncSchedule_Save_Proxy(
  1481. ISyncSchedule * This);
  1482. void __RPC_STUB ISyncSchedule_Save_Stub(
  1483. IRpcStubBuffer *This,
  1484. IRpcChannelBuffer *_pRpcChannelBuffer,
  1485. PRPC_MESSAGE _pRpcMessage,
  1486. DWORD *_pdwStubPhase);
  1487. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetITask_Proxy(
  1488. ISyncSchedule * This,
  1489. /* [out] */ ITask **ppITask);
  1490. void __RPC_STUB ISyncSchedule_GetITask_Stub(
  1491. IRpcStubBuffer *This,
  1492. IRpcChannelBuffer *_pRpcChannelBuffer,
  1493. PRPC_MESSAGE _pRpcMessage,
  1494. DWORD *_pdwStubPhase);
  1495. #endif /* __ISyncSchedule_INTERFACE_DEFINED__ */
  1496. #ifndef __IEnumSyncItems_INTERFACE_DEFINED__
  1497. #define __IEnumSyncItems_INTERFACE_DEFINED__
  1498. /* interface IEnumSyncItems */
  1499. /* [unique][uuid][object][local] */
  1500. EXTERN_C const IID IID_IEnumSyncItems;
  1501. #if defined(__cplusplus) && !defined(CINTERFACE)
  1502. MIDL_INTERFACE("F0E1589A-A700-11d1-9831-00C04FD910DD")
  1503. IEnumSyncItems : public IUnknown
  1504. {
  1505. public:
  1506. virtual HRESULT STDMETHODCALLTYPE Next(
  1507. /* [in] */ ULONG celt,
  1508. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1509. /* [out] */ ULONG *pceltFetched) = 0;
  1510. virtual HRESULT STDMETHODCALLTYPE Skip(
  1511. /* [in] */ ULONG celt) = 0;
  1512. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1513. virtual HRESULT STDMETHODCALLTYPE Clone(
  1514. /* [out] */ IEnumSyncItems **ppEnumSyncItems) = 0;
  1515. };
  1516. #else /* C style interface */
  1517. typedef struct IEnumSyncItemsVtbl
  1518. {
  1519. BEGIN_INTERFACE
  1520. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1521. IEnumSyncItems * This,
  1522. /* [in] */ REFIID riid,
  1523. /* [iid_is][out] */ void **ppvObject);
  1524. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1525. IEnumSyncItems * This);
  1526. ULONG ( STDMETHODCALLTYPE *Release )(
  1527. IEnumSyncItems * This);
  1528. HRESULT ( STDMETHODCALLTYPE *Next )(
  1529. IEnumSyncItems * This,
  1530. /* [in] */ ULONG celt,
  1531. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1532. /* [out] */ ULONG *pceltFetched);
  1533. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1534. IEnumSyncItems * This,
  1535. /* [in] */ ULONG celt);
  1536. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1537. IEnumSyncItems * This);
  1538. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1539. IEnumSyncItems * This,
  1540. /* [out] */ IEnumSyncItems **ppEnumSyncItems);
  1541. END_INTERFACE
  1542. } IEnumSyncItemsVtbl;
  1543. interface IEnumSyncItems
  1544. {
  1545. CONST_VTBL struct IEnumSyncItemsVtbl *lpVtbl;
  1546. };
  1547. #ifdef COBJMACROS
  1548. #define IEnumSyncItems_QueryInterface(This,riid,ppvObject) \
  1549. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1550. #define IEnumSyncItems_AddRef(This) \
  1551. (This)->lpVtbl -> AddRef(This)
  1552. #define IEnumSyncItems_Release(This) \
  1553. (This)->lpVtbl -> Release(This)
  1554. #define IEnumSyncItems_Next(This,celt,rgelt,pceltFetched) \
  1555. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1556. #define IEnumSyncItems_Skip(This,celt) \
  1557. (This)->lpVtbl -> Skip(This,celt)
  1558. #define IEnumSyncItems_Reset(This) \
  1559. (This)->lpVtbl -> Reset(This)
  1560. #define IEnumSyncItems_Clone(This,ppEnumSyncItems) \
  1561. (This)->lpVtbl -> Clone(This,ppEnumSyncItems)
  1562. #endif /* COBJMACROS */
  1563. #endif /* C style interface */
  1564. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Next_Proxy(
  1565. IEnumSyncItems * This,
  1566. /* [in] */ ULONG celt,
  1567. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1568. /* [out] */ ULONG *pceltFetched);
  1569. void __RPC_STUB IEnumSyncItems_Next_Stub(
  1570. IRpcStubBuffer *This,
  1571. IRpcChannelBuffer *_pRpcChannelBuffer,
  1572. PRPC_MESSAGE _pRpcMessage,
  1573. DWORD *_pdwStubPhase);
  1574. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Skip_Proxy(
  1575. IEnumSyncItems * This,
  1576. /* [in] */ ULONG celt);
  1577. void __RPC_STUB IEnumSyncItems_Skip_Stub(
  1578. IRpcStubBuffer *This,
  1579. IRpcChannelBuffer *_pRpcChannelBuffer,
  1580. PRPC_MESSAGE _pRpcMessage,
  1581. DWORD *_pdwStubPhase);
  1582. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Reset_Proxy(
  1583. IEnumSyncItems * This);
  1584. void __RPC_STUB IEnumSyncItems_Reset_Stub(
  1585. IRpcStubBuffer *This,
  1586. IRpcChannelBuffer *_pRpcChannelBuffer,
  1587. PRPC_MESSAGE _pRpcMessage,
  1588. DWORD *_pdwStubPhase);
  1589. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Clone_Proxy(
  1590. IEnumSyncItems * This,
  1591. /* [out] */ IEnumSyncItems **ppEnumSyncItems);
  1592. void __RPC_STUB IEnumSyncItems_Clone_Stub(
  1593. IRpcStubBuffer *This,
  1594. IRpcChannelBuffer *_pRpcChannelBuffer,
  1595. PRPC_MESSAGE _pRpcMessage,
  1596. DWORD *_pdwStubPhase);
  1597. #endif /* __IEnumSyncItems_INTERFACE_DEFINED__ */
  1598. /* Additional Prototypes for ALL interfaces */
  1599. /* end of Additional Prototypes */
  1600. #ifdef __cplusplus
  1601. }
  1602. #endif
  1603. #endif