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.

2636 lines
84 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 mobsyncp.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 __mobsyncp_h__
  27. #define __mobsyncp_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IPrivSyncMgrSynchronizeInvoke_FWD_DEFINED__
  33. #define __IPrivSyncMgrSynchronizeInvoke_FWD_DEFINED__
  34. typedef interface IPrivSyncMgrSynchronizeInvoke IPrivSyncMgrSynchronizeInvoke;
  35. #endif /* __IPrivSyncMgrSynchronizeInvoke_FWD_DEFINED__ */
  36. #ifndef __ISyncScheduleMgr_FWD_DEFINED__
  37. #define __ISyncScheduleMgr_FWD_DEFINED__
  38. typedef interface ISyncScheduleMgr ISyncScheduleMgr;
  39. #endif /* __ISyncScheduleMgr_FWD_DEFINED__ */
  40. #ifndef __IEnumSyncSchedules_FWD_DEFINED__
  41. #define __IEnumSyncSchedules_FWD_DEFINED__
  42. typedef interface IEnumSyncSchedules IEnumSyncSchedules;
  43. #endif /* __IEnumSyncSchedules_FWD_DEFINED__ */
  44. #ifndef __ISyncSchedule_FWD_DEFINED__
  45. #define __ISyncSchedule_FWD_DEFINED__
  46. typedef interface ISyncSchedule ISyncSchedule;
  47. #endif /* __ISyncSchedule_FWD_DEFINED__ */
  48. #ifndef __ISyncSchedulep_FWD_DEFINED__
  49. #define __ISyncSchedulep_FWD_DEFINED__
  50. typedef interface ISyncSchedulep ISyncSchedulep;
  51. #endif /* __ISyncSchedulep_FWD_DEFINED__ */
  52. #ifndef __IEnumSyncItems_FWD_DEFINED__
  53. #define __IEnumSyncItems_FWD_DEFINED__
  54. typedef interface IEnumSyncItems IEnumSyncItems;
  55. #endif /* __IEnumSyncItems_FWD_DEFINED__ */
  56. #ifndef __IOldSyncMgrSynchronize_FWD_DEFINED__
  57. #define __IOldSyncMgrSynchronize_FWD_DEFINED__
  58. typedef interface IOldSyncMgrSynchronize IOldSyncMgrSynchronize;
  59. #endif /* __IOldSyncMgrSynchronize_FWD_DEFINED__ */
  60. #ifndef __IOldSyncMgrSynchronizeCallback_FWD_DEFINED__
  61. #define __IOldSyncMgrSynchronizeCallback_FWD_DEFINED__
  62. typedef interface IOldSyncMgrSynchronizeCallback IOldSyncMgrSynchronizeCallback;
  63. #endif /* __IOldSyncMgrSynchronizeCallback_FWD_DEFINED__ */
  64. #ifndef __IOldSyncMgrRegister_FWD_DEFINED__
  65. #define __IOldSyncMgrRegister_FWD_DEFINED__
  66. typedef interface IOldSyncMgrRegister IOldSyncMgrRegister;
  67. #endif /* __IOldSyncMgrRegister_FWD_DEFINED__ */
  68. #ifndef __ISyncMgrRegisterCSC_FWD_DEFINED__
  69. #define __ISyncMgrRegisterCSC_FWD_DEFINED__
  70. typedef interface ISyncMgrRegisterCSC ISyncMgrRegisterCSC;
  71. #endif /* __ISyncMgrRegisterCSC_FWD_DEFINED__ */
  72. /* header files for imported files */
  73. #include "objidl.h"
  74. #include "oleidl.h"
  75. #include "mstask.h"
  76. #include "mobsync.h"
  77. #ifdef __cplusplus
  78. extern "C"{
  79. #endif
  80. void * __RPC_USER MIDL_user_allocate(size_t);
  81. void __RPC_USER MIDL_user_free( void * );
  82. /* interface __MIDL_itf_mobsyncp_0000 */
  83. /* [local] */
  84. typedef GUID SYNCSCHEDULECOOKIE;
  85. DEFINE_GUID(CLSID_SyncMgrProxy,0x6295df2e, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  86. DEFINE_GUID(CLSID_SyncMgrp,0x6295df2d, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  87. DEFINE_GUID(IID_IPrivSyncMgrSynchronizeInvoke,0x6295df2e, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  88. DEFINE_GUID(IID_ISyncScheduleMgr,0xf0e15897, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  89. DEFINE_GUID(IID_IEnumSyncSchedules,0xf0e15898, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  90. DEFINE_GUID(IID_ISyncSchedule,0xf0e15899, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  91. DEFINE_GUID(IID_IEnumSyncItems,0xf0e1589a, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  92. DEFINE_GUID(IID_ISyncSchedulep,0xf0e1589b, 0xa700, 0x11d1, 0x98, 0x31, 0x0, 0xc0, 0x4f, 0xd9, 0x10, 0xdd);
  93. DEFINE_GUID(GUID_SENSSUBSCRIBER_SYNCMGRP,0x6295df2f, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  94. DEFINE_GUID(GUID_SENSLOGONSUBSCRIPTION_SYNCMGRP,0x6295df30, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  95. DEFINE_GUID(GUID_SENSLOGOFFSUBSCRIPTION_SYNCMGRP,0x6295df31, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  96. DEFINE_GUID(GUID_PROGRESSDLGIDLE,0xf897aa23, 0xbdc3, 0x11d1, 0xb8, 0x5b, 0x0, 0xc0, 0x4f, 0xb9, 0x39, 0x81);
  97. #define SZGUID_IDLESCHEDULE TEXT("{F897AA24-BDC3-11d1-B85B-00C04FB93981}")
  98. #define WSZGUID_IDLESCHEDULE L"{F897AA24-BDC3-11d1-B85B-00C04FB93981}"
  99. DEFINE_GUID(GUID_IDLESCHEDULE,0xf897aa24, 0xbdc3, 0x11d1, 0xb8, 0x5b, 0x0, 0xc0, 0x4f, 0xb9, 0x39, 0x81);
  100. #define SYNCMGR_E_NAME_IN_USE MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0201)
  101. #define SYNCMGR_E_ITEM_UNREGISTERED MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0202)
  102. #define SYNCMGR_E_HANDLER_NOT_LOADED MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0203)
  103. //Autosync reg entry values
  104. #define AUTOSYNC_WAN_LOGON 0x0001
  105. #define AUTOSYNC_WAN_LOGOFF 0x0002
  106. #define AUTOSYNC_LAN_LOGON 0x0004
  107. #define AUTOSYNC_LAN_LOGOFF 0x0008
  108. #define AUTOSYNC_SCHEDULED 0x0010
  109. #define AUTOSYNC_IDLE 0x0020
  110. #define AUTOSYNC_LOGONWITHRUNKEY 0x0040
  111. #define AUTOSYNC_LOGON (AUTOSYNC_WAN_LOGON | AUTOSYNC_LAN_LOGON)
  112. #define AUTOSYNC_LOGOFF (AUTOSYNC_WAN_LOGOFF | AUTOSYNC_LAN_LOGOFF)
  113. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0000_v0_0_c_ifspec;
  114. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0000_v0_0_s_ifspec;
  115. #ifndef __IPrivSyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
  116. #define __IPrivSyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
  117. /* interface IPrivSyncMgrSynchronizeInvoke */
  118. /* [unique][uuid][object] */
  119. typedef /* [unique] */ IPrivSyncMgrSynchronizeInvoke *LPPRIVSYNCMGRSYNCHRONIZEINVOKE;
  120. EXTERN_C const IID IID_IPrivSyncMgrSynchronizeInvoke;
  121. #if defined(__cplusplus) && !defined(CINTERFACE)
  122. MIDL_INTERFACE("6295DF2E-35EE-11d1-8707-00C04FD93327")
  123. IPrivSyncMgrSynchronizeInvoke : public IUnknown
  124. {
  125. public:
  126. virtual HRESULT STDMETHODCALLTYPE UpdateItems(
  127. /* [in] */ DWORD dwInvokeFlags,
  128. /* [in] */ REFCLSID rclsid,
  129. /* [in] */ DWORD cbCookie,
  130. /* [size_is][unique][in] */ const BYTE *lpCookie) = 0;
  131. virtual HRESULT STDMETHODCALLTYPE UpdateAll( void) = 0;
  132. virtual HRESULT STDMETHODCALLTYPE Logon( void) = 0;
  133. virtual HRESULT STDMETHODCALLTYPE Logoff( void) = 0;
  134. virtual HRESULT STDMETHODCALLTYPE Schedule(
  135. /* [string][unique][in] */ WCHAR *pszTaskName) = 0;
  136. virtual HRESULT STDMETHODCALLTYPE RasPendingDisconnect(
  137. /* [in] */ DWORD cbConnectionName,
  138. /* [size_is][unique][in] */ const BYTE *lpConnectionName) = 0;
  139. virtual HRESULT STDMETHODCALLTYPE Idle( void) = 0;
  140. };
  141. #else /* C style interface */
  142. typedef struct IPrivSyncMgrSynchronizeInvokeVtbl
  143. {
  144. BEGIN_INTERFACE
  145. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  146. IPrivSyncMgrSynchronizeInvoke * This,
  147. /* [in] */ REFIID riid,
  148. /* [iid_is][out] */ void **ppvObject);
  149. ULONG ( STDMETHODCALLTYPE *AddRef )(
  150. IPrivSyncMgrSynchronizeInvoke * This);
  151. ULONG ( STDMETHODCALLTYPE *Release )(
  152. IPrivSyncMgrSynchronizeInvoke * This);
  153. HRESULT ( STDMETHODCALLTYPE *UpdateItems )(
  154. IPrivSyncMgrSynchronizeInvoke * This,
  155. /* [in] */ DWORD dwInvokeFlags,
  156. /* [in] */ REFCLSID rclsid,
  157. /* [in] */ DWORD cbCookie,
  158. /* [size_is][unique][in] */ const BYTE *lpCookie);
  159. HRESULT ( STDMETHODCALLTYPE *UpdateAll )(
  160. IPrivSyncMgrSynchronizeInvoke * This);
  161. HRESULT ( STDMETHODCALLTYPE *Logon )(
  162. IPrivSyncMgrSynchronizeInvoke * This);
  163. HRESULT ( STDMETHODCALLTYPE *Logoff )(
  164. IPrivSyncMgrSynchronizeInvoke * This);
  165. HRESULT ( STDMETHODCALLTYPE *Schedule )(
  166. IPrivSyncMgrSynchronizeInvoke * This,
  167. /* [string][unique][in] */ WCHAR *pszTaskName);
  168. HRESULT ( STDMETHODCALLTYPE *RasPendingDisconnect )(
  169. IPrivSyncMgrSynchronizeInvoke * This,
  170. /* [in] */ DWORD cbConnectionName,
  171. /* [size_is][unique][in] */ const BYTE *lpConnectionName);
  172. HRESULT ( STDMETHODCALLTYPE *Idle )(
  173. IPrivSyncMgrSynchronizeInvoke * This);
  174. END_INTERFACE
  175. } IPrivSyncMgrSynchronizeInvokeVtbl;
  176. interface IPrivSyncMgrSynchronizeInvoke
  177. {
  178. CONST_VTBL struct IPrivSyncMgrSynchronizeInvokeVtbl *lpVtbl;
  179. };
  180. #ifdef COBJMACROS
  181. #define IPrivSyncMgrSynchronizeInvoke_QueryInterface(This,riid,ppvObject) \
  182. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  183. #define IPrivSyncMgrSynchronizeInvoke_AddRef(This) \
  184. (This)->lpVtbl -> AddRef(This)
  185. #define IPrivSyncMgrSynchronizeInvoke_Release(This) \
  186. (This)->lpVtbl -> Release(This)
  187. #define IPrivSyncMgrSynchronizeInvoke_UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie) \
  188. (This)->lpVtbl -> UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie)
  189. #define IPrivSyncMgrSynchronizeInvoke_UpdateAll(This) \
  190. (This)->lpVtbl -> UpdateAll(This)
  191. #define IPrivSyncMgrSynchronizeInvoke_Logon(This) \
  192. (This)->lpVtbl -> Logon(This)
  193. #define IPrivSyncMgrSynchronizeInvoke_Logoff(This) \
  194. (This)->lpVtbl -> Logoff(This)
  195. #define IPrivSyncMgrSynchronizeInvoke_Schedule(This,pszTaskName) \
  196. (This)->lpVtbl -> Schedule(This,pszTaskName)
  197. #define IPrivSyncMgrSynchronizeInvoke_RasPendingDisconnect(This,cbConnectionName,lpConnectionName) \
  198. (This)->lpVtbl -> RasPendingDisconnect(This,cbConnectionName,lpConnectionName)
  199. #define IPrivSyncMgrSynchronizeInvoke_Idle(This) \
  200. (This)->lpVtbl -> Idle(This)
  201. #endif /* COBJMACROS */
  202. #endif /* C style interface */
  203. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_UpdateItems_Proxy(
  204. IPrivSyncMgrSynchronizeInvoke * This,
  205. /* [in] */ DWORD dwInvokeFlags,
  206. /* [in] */ REFCLSID rclsid,
  207. /* [in] */ DWORD cbCookie,
  208. /* [size_is][unique][in] */ const BYTE *lpCookie);
  209. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_UpdateItems_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase);
  214. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_UpdateAll_Proxy(
  215. IPrivSyncMgrSynchronizeInvoke * This);
  216. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_UpdateAll_Stub(
  217. IRpcStubBuffer *This,
  218. IRpcChannelBuffer *_pRpcChannelBuffer,
  219. PRPC_MESSAGE _pRpcMessage,
  220. DWORD *_pdwStubPhase);
  221. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_Logon_Proxy(
  222. IPrivSyncMgrSynchronizeInvoke * This);
  223. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_Logon_Stub(
  224. IRpcStubBuffer *This,
  225. IRpcChannelBuffer *_pRpcChannelBuffer,
  226. PRPC_MESSAGE _pRpcMessage,
  227. DWORD *_pdwStubPhase);
  228. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_Logoff_Proxy(
  229. IPrivSyncMgrSynchronizeInvoke * This);
  230. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_Logoff_Stub(
  231. IRpcStubBuffer *This,
  232. IRpcChannelBuffer *_pRpcChannelBuffer,
  233. PRPC_MESSAGE _pRpcMessage,
  234. DWORD *_pdwStubPhase);
  235. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_Schedule_Proxy(
  236. IPrivSyncMgrSynchronizeInvoke * This,
  237. /* [string][unique][in] */ WCHAR *pszTaskName);
  238. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_Schedule_Stub(
  239. IRpcStubBuffer *This,
  240. IRpcChannelBuffer *_pRpcChannelBuffer,
  241. PRPC_MESSAGE _pRpcMessage,
  242. DWORD *_pdwStubPhase);
  243. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_RasPendingDisconnect_Proxy(
  244. IPrivSyncMgrSynchronizeInvoke * This,
  245. /* [in] */ DWORD cbConnectionName,
  246. /* [size_is][unique][in] */ const BYTE *lpConnectionName);
  247. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_RasPendingDisconnect_Stub(
  248. IRpcStubBuffer *This,
  249. IRpcChannelBuffer *_pRpcChannelBuffer,
  250. PRPC_MESSAGE _pRpcMessage,
  251. DWORD *_pdwStubPhase);
  252. HRESULT STDMETHODCALLTYPE IPrivSyncMgrSynchronizeInvoke_Idle_Proxy(
  253. IPrivSyncMgrSynchronizeInvoke * This);
  254. void __RPC_STUB IPrivSyncMgrSynchronizeInvoke_Idle_Stub(
  255. IRpcStubBuffer *This,
  256. IRpcChannelBuffer *_pRpcChannelBuffer,
  257. PRPC_MESSAGE _pRpcMessage,
  258. DWORD *_pdwStubPhase);
  259. #endif /* __IPrivSyncMgrSynchronizeInvoke_INTERFACE_DEFINED__ */
  260. /* interface __MIDL_itf_mobsyncp_0157 */
  261. /* [local] */
  262. #define SYNCSCHEDINFO_FLAGS_MASK 0x0FFF
  263. #define SYNCSCHEDINFO_FLAGS_READONLY 0x0001
  264. #define SYNCSCHEDINFO_FLAGS_AUTOCONNECT 0x0002
  265. #define SYNCSCHEDINFO_FLAGS_HIDDEN 0x0004
  266. #define SYNCSCHEDWIZARD_SHOWALLHANDLERITEMS 0x1000
  267. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0157_v0_0_c_ifspec;
  268. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0157_v0_0_s_ifspec;
  269. #ifndef __ISyncScheduleMgr_INTERFACE_DEFINED__
  270. #define __ISyncScheduleMgr_INTERFACE_DEFINED__
  271. /* interface ISyncScheduleMgr */
  272. /* [unique][uuid][object][local] */
  273. typedef /* [unique] */ ISyncScheduleMgr *LPSYNCSCHEDULEMGR;
  274. EXTERN_C const IID IID_ISyncScheduleMgr;
  275. #if defined(__cplusplus) && !defined(CINTERFACE)
  276. MIDL_INTERFACE("F0E15897-A700-11d1-9831-00C04FD910DD")
  277. ISyncScheduleMgr : public IUnknown
  278. {
  279. public:
  280. virtual HRESULT STDMETHODCALLTYPE CreateSchedule(
  281. /* [in] */ LPCWSTR pwszScheduleName,
  282. /* [in] */ DWORD dwFlags,
  283. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  284. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  285. virtual HRESULT STDMETHODCALLTYPE LaunchScheduleWizard(
  286. /* [in] */ HWND hParent,
  287. /* [in] */ DWORD dwFlags,
  288. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  289. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  290. virtual HRESULT STDMETHODCALLTYPE OpenSchedule(
  291. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  292. /* [in] */ DWORD dwFlags,
  293. /* [out] */ ISyncSchedule **ppSyncSchedule) = 0;
  294. virtual HRESULT STDMETHODCALLTYPE RemoveSchedule(
  295. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie) = 0;
  296. virtual HRESULT STDMETHODCALLTYPE EnumSyncSchedules(
  297. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules) = 0;
  298. };
  299. #else /* C style interface */
  300. typedef struct ISyncScheduleMgrVtbl
  301. {
  302. BEGIN_INTERFACE
  303. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  304. ISyncScheduleMgr * This,
  305. /* [in] */ REFIID riid,
  306. /* [iid_is][out] */ void **ppvObject);
  307. ULONG ( STDMETHODCALLTYPE *AddRef )(
  308. ISyncScheduleMgr * This);
  309. ULONG ( STDMETHODCALLTYPE *Release )(
  310. ISyncScheduleMgr * This);
  311. HRESULT ( STDMETHODCALLTYPE *CreateSchedule )(
  312. ISyncScheduleMgr * This,
  313. /* [in] */ LPCWSTR pwszScheduleName,
  314. /* [in] */ DWORD dwFlags,
  315. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  316. /* [out] */ ISyncSchedule **ppSyncSchedule);
  317. HRESULT ( STDMETHODCALLTYPE *LaunchScheduleWizard )(
  318. ISyncScheduleMgr * This,
  319. /* [in] */ HWND hParent,
  320. /* [in] */ DWORD dwFlags,
  321. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  322. /* [out] */ ISyncSchedule **ppSyncSchedule);
  323. HRESULT ( STDMETHODCALLTYPE *OpenSchedule )(
  324. ISyncScheduleMgr * This,
  325. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  326. /* [in] */ DWORD dwFlags,
  327. /* [out] */ ISyncSchedule **ppSyncSchedule);
  328. HRESULT ( STDMETHODCALLTYPE *RemoveSchedule )(
  329. ISyncScheduleMgr * This,
  330. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  331. HRESULT ( STDMETHODCALLTYPE *EnumSyncSchedules )(
  332. ISyncScheduleMgr * This,
  333. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  334. END_INTERFACE
  335. } ISyncScheduleMgrVtbl;
  336. interface ISyncScheduleMgr
  337. {
  338. CONST_VTBL struct ISyncScheduleMgrVtbl *lpVtbl;
  339. };
  340. #ifdef COBJMACROS
  341. #define ISyncScheduleMgr_QueryInterface(This,riid,ppvObject) \
  342. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  343. #define ISyncScheduleMgr_AddRef(This) \
  344. (This)->lpVtbl -> AddRef(This)
  345. #define ISyncScheduleMgr_Release(This) \
  346. (This)->lpVtbl -> Release(This)
  347. #define ISyncScheduleMgr_CreateSchedule(This,pwszScheduleName,dwFlags,pSyncSchedCookie,ppSyncSchedule) \
  348. (This)->lpVtbl -> CreateSchedule(This,pwszScheduleName,dwFlags,pSyncSchedCookie,ppSyncSchedule)
  349. #define ISyncScheduleMgr_LaunchScheduleWizard(This,hParent,dwFlags,pSyncSchedCookie,ppSyncSchedule) \
  350. (This)->lpVtbl -> LaunchScheduleWizard(This,hParent,dwFlags,pSyncSchedCookie,ppSyncSchedule)
  351. #define ISyncScheduleMgr_OpenSchedule(This,pSyncSchedCookie,dwFlags,ppSyncSchedule) \
  352. (This)->lpVtbl -> OpenSchedule(This,pSyncSchedCookie,dwFlags,ppSyncSchedule)
  353. #define ISyncScheduleMgr_RemoveSchedule(This,pSyncSchedCookie) \
  354. (This)->lpVtbl -> RemoveSchedule(This,pSyncSchedCookie)
  355. #define ISyncScheduleMgr_EnumSyncSchedules(This,ppEnumSyncSchedules) \
  356. (This)->lpVtbl -> EnumSyncSchedules(This,ppEnumSyncSchedules)
  357. #endif /* COBJMACROS */
  358. #endif /* C style interface */
  359. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_CreateSchedule_Proxy(
  360. ISyncScheduleMgr * This,
  361. /* [in] */ LPCWSTR pwszScheduleName,
  362. /* [in] */ DWORD dwFlags,
  363. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  364. /* [out] */ ISyncSchedule **ppSyncSchedule);
  365. void __RPC_STUB ISyncScheduleMgr_CreateSchedule_Stub(
  366. IRpcStubBuffer *This,
  367. IRpcChannelBuffer *_pRpcChannelBuffer,
  368. PRPC_MESSAGE _pRpcMessage,
  369. DWORD *_pdwStubPhase);
  370. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_LaunchScheduleWizard_Proxy(
  371. ISyncScheduleMgr * This,
  372. /* [in] */ HWND hParent,
  373. /* [in] */ DWORD dwFlags,
  374. /* [out][in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  375. /* [out] */ ISyncSchedule **ppSyncSchedule);
  376. void __RPC_STUB ISyncScheduleMgr_LaunchScheduleWizard_Stub(
  377. IRpcStubBuffer *This,
  378. IRpcChannelBuffer *_pRpcChannelBuffer,
  379. PRPC_MESSAGE _pRpcMessage,
  380. DWORD *_pdwStubPhase);
  381. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_OpenSchedule_Proxy(
  382. ISyncScheduleMgr * This,
  383. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  384. /* [in] */ DWORD dwFlags,
  385. /* [out] */ ISyncSchedule **ppSyncSchedule);
  386. void __RPC_STUB ISyncScheduleMgr_OpenSchedule_Stub(
  387. IRpcStubBuffer *This,
  388. IRpcChannelBuffer *_pRpcChannelBuffer,
  389. PRPC_MESSAGE _pRpcMessage,
  390. DWORD *_pdwStubPhase);
  391. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_RemoveSchedule_Proxy(
  392. ISyncScheduleMgr * This,
  393. /* [in] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  394. void __RPC_STUB ISyncScheduleMgr_RemoveSchedule_Stub(
  395. IRpcStubBuffer *This,
  396. IRpcChannelBuffer *_pRpcChannelBuffer,
  397. PRPC_MESSAGE _pRpcMessage,
  398. DWORD *_pdwStubPhase);
  399. HRESULT STDMETHODCALLTYPE ISyncScheduleMgr_EnumSyncSchedules_Proxy(
  400. ISyncScheduleMgr * This,
  401. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  402. void __RPC_STUB ISyncScheduleMgr_EnumSyncSchedules_Stub(
  403. IRpcStubBuffer *This,
  404. IRpcChannelBuffer *_pRpcChannelBuffer,
  405. PRPC_MESSAGE _pRpcMessage,
  406. DWORD *_pdwStubPhase);
  407. #endif /* __ISyncScheduleMgr_INTERFACE_DEFINED__ */
  408. /* interface __MIDL_itf_mobsyncp_0158 */
  409. /* [local] */
  410. #define SYNCSCHEDINFO_FLAGS_CONNECTION_LAN 0x0000
  411. #define SYNCSCHEDINFO_FLAGS_CONNECTION_WAN 0x0001
  412. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0158_v0_0_c_ifspec;
  413. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0158_v0_0_s_ifspec;
  414. #ifndef __IEnumSyncSchedules_INTERFACE_DEFINED__
  415. #define __IEnumSyncSchedules_INTERFACE_DEFINED__
  416. /* interface IEnumSyncSchedules */
  417. /* [unique][uuid][object][local] */
  418. EXTERN_C const IID IID_IEnumSyncSchedules;
  419. #if defined(__cplusplus) && !defined(CINTERFACE)
  420. MIDL_INTERFACE("F0E15898-A700-11d1-9831-00C04FD910DD")
  421. IEnumSyncSchedules : public IUnknown
  422. {
  423. public:
  424. virtual HRESULT STDMETHODCALLTYPE Next(
  425. /* [in] */ ULONG celt,
  426. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  427. /* [out] */ ULONG *pceltFetched) = 0;
  428. virtual HRESULT STDMETHODCALLTYPE Skip(
  429. /* [in] */ ULONG celt) = 0;
  430. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  431. virtual HRESULT STDMETHODCALLTYPE Clone(
  432. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules) = 0;
  433. };
  434. #else /* C style interface */
  435. typedef struct IEnumSyncSchedulesVtbl
  436. {
  437. BEGIN_INTERFACE
  438. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  439. IEnumSyncSchedules * This,
  440. /* [in] */ REFIID riid,
  441. /* [iid_is][out] */ void **ppvObject);
  442. ULONG ( STDMETHODCALLTYPE *AddRef )(
  443. IEnumSyncSchedules * This);
  444. ULONG ( STDMETHODCALLTYPE *Release )(
  445. IEnumSyncSchedules * This);
  446. HRESULT ( STDMETHODCALLTYPE *Next )(
  447. IEnumSyncSchedules * This,
  448. /* [in] */ ULONG celt,
  449. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  450. /* [out] */ ULONG *pceltFetched);
  451. HRESULT ( STDMETHODCALLTYPE *Skip )(
  452. IEnumSyncSchedules * This,
  453. /* [in] */ ULONG celt);
  454. HRESULT ( STDMETHODCALLTYPE *Reset )(
  455. IEnumSyncSchedules * This);
  456. HRESULT ( STDMETHODCALLTYPE *Clone )(
  457. IEnumSyncSchedules * This,
  458. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  459. END_INTERFACE
  460. } IEnumSyncSchedulesVtbl;
  461. interface IEnumSyncSchedules
  462. {
  463. CONST_VTBL struct IEnumSyncSchedulesVtbl *lpVtbl;
  464. };
  465. #ifdef COBJMACROS
  466. #define IEnumSyncSchedules_QueryInterface(This,riid,ppvObject) \
  467. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  468. #define IEnumSyncSchedules_AddRef(This) \
  469. (This)->lpVtbl -> AddRef(This)
  470. #define IEnumSyncSchedules_Release(This) \
  471. (This)->lpVtbl -> Release(This)
  472. #define IEnumSyncSchedules_Next(This,celt,pSyncSchedCookie,pceltFetched) \
  473. (This)->lpVtbl -> Next(This,celt,pSyncSchedCookie,pceltFetched)
  474. #define IEnumSyncSchedules_Skip(This,celt) \
  475. (This)->lpVtbl -> Skip(This,celt)
  476. #define IEnumSyncSchedules_Reset(This) \
  477. (This)->lpVtbl -> Reset(This)
  478. #define IEnumSyncSchedules_Clone(This,ppEnumSyncSchedules) \
  479. (This)->lpVtbl -> Clone(This,ppEnumSyncSchedules)
  480. #endif /* COBJMACROS */
  481. #endif /* C style interface */
  482. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Next_Proxy(
  483. IEnumSyncSchedules * This,
  484. /* [in] */ ULONG celt,
  485. /* [length_is][size_is][out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie,
  486. /* [out] */ ULONG *pceltFetched);
  487. void __RPC_STUB IEnumSyncSchedules_Next_Stub(
  488. IRpcStubBuffer *This,
  489. IRpcChannelBuffer *_pRpcChannelBuffer,
  490. PRPC_MESSAGE _pRpcMessage,
  491. DWORD *_pdwStubPhase);
  492. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Skip_Proxy(
  493. IEnumSyncSchedules * This,
  494. /* [in] */ ULONG celt);
  495. void __RPC_STUB IEnumSyncSchedules_Skip_Stub(
  496. IRpcStubBuffer *This,
  497. IRpcChannelBuffer *_pRpcChannelBuffer,
  498. PRPC_MESSAGE _pRpcMessage,
  499. DWORD *_pdwStubPhase);
  500. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Reset_Proxy(
  501. IEnumSyncSchedules * This);
  502. void __RPC_STUB IEnumSyncSchedules_Reset_Stub(
  503. IRpcStubBuffer *This,
  504. IRpcChannelBuffer *_pRpcChannelBuffer,
  505. PRPC_MESSAGE _pRpcMessage,
  506. DWORD *_pdwStubPhase);
  507. HRESULT STDMETHODCALLTYPE IEnumSyncSchedules_Clone_Proxy(
  508. IEnumSyncSchedules * This,
  509. /* [out] */ IEnumSyncSchedules **ppEnumSyncSchedules);
  510. void __RPC_STUB IEnumSyncSchedules_Clone_Stub(
  511. IRpcStubBuffer *This,
  512. IRpcChannelBuffer *_pRpcChannelBuffer,
  513. PRPC_MESSAGE _pRpcMessage,
  514. DWORD *_pdwStubPhase);
  515. #endif /* __IEnumSyncSchedules_INTERFACE_DEFINED__ */
  516. /* interface __MIDL_itf_mobsyncp_0159 */
  517. /* [local] */
  518. typedef struct _tagSYNC_HANDLER_ITEM_INFO
  519. {
  520. GUID handlerID;
  521. SYNCMGRITEMID itemID;
  522. HICON hIcon;
  523. WCHAR wszItemName[ 128 ];
  524. DWORD dwCheckState;
  525. } SYNC_HANDLER_ITEM_INFO;
  526. typedef struct _tagSYNC_HANDLER_ITEM_INFO *LPSYNC_HANDLER_ITEM_INFO;
  527. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0159_v0_0_c_ifspec;
  528. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0159_v0_0_s_ifspec;
  529. #ifndef __ISyncSchedule_INTERFACE_DEFINED__
  530. #define __ISyncSchedule_INTERFACE_DEFINED__
  531. /* interface ISyncSchedule */
  532. /* [unique][uuid][object][local] */
  533. EXTERN_C const IID IID_ISyncSchedule;
  534. #if defined(__cplusplus) && !defined(CINTERFACE)
  535. MIDL_INTERFACE("F0E15899-A700-11d1-9831-00C04FD910DD")
  536. ISyncSchedule : public IUnknown
  537. {
  538. public:
  539. virtual HRESULT STDMETHODCALLTYPE GetFlags(
  540. /* [out] */ DWORD *pdwFlags) = 0;
  541. virtual HRESULT STDMETHODCALLTYPE SetFlags(
  542. /* [in] */ DWORD dwFlags) = 0;
  543. virtual HRESULT STDMETHODCALLTYPE GetConnection(
  544. /* [out][in] */ DWORD *pcbSize,
  545. /* [out] */ LPWSTR pwszConnectionName,
  546. /* [out] */ DWORD *pdwConnType) = 0;
  547. virtual HRESULT STDMETHODCALLTYPE SetConnection(
  548. /* [in] */ LPCWSTR pwszConnectionName,
  549. /* [in] */ DWORD dwConnType) = 0;
  550. virtual HRESULT STDMETHODCALLTYPE GetScheduleName(
  551. /* [out][in] */ DWORD *pcbSize,
  552. /* [out] */ LPWSTR pwszScheduleName) = 0;
  553. virtual HRESULT STDMETHODCALLTYPE SetScheduleName(
  554. /* [in] */ LPCWSTR pwszScheduleName) = 0;
  555. virtual HRESULT STDMETHODCALLTYPE GetScheduleCookie(
  556. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie) = 0;
  557. virtual HRESULT STDMETHODCALLTYPE SetAccountInformation(
  558. /* [in] */ LPCWSTR pwszAccountName,
  559. /* [in] */ LPCWSTR pwszPassword) = 0;
  560. virtual HRESULT STDMETHODCALLTYPE GetAccountInformation(
  561. /* [out][in] */ DWORD *pcbSize,
  562. /* [out] */ LPWSTR pwszAccountName) = 0;
  563. virtual HRESULT STDMETHODCALLTYPE GetTrigger(
  564. /* [out] */ ITaskTrigger **ppTrigger) = 0;
  565. virtual HRESULT STDMETHODCALLTYPE GetNextRunTime(
  566. /* [out] */ SYSTEMTIME *pstNextRun) = 0;
  567. virtual HRESULT STDMETHODCALLTYPE GetMostRecentRunTime(
  568. /* [out] */ SYSTEMTIME *pstRecentRun) = 0;
  569. virtual HRESULT STDMETHODCALLTYPE EditSyncSchedule(
  570. /* [in] */ HWND hParent,
  571. /* [in] */ DWORD dwReserved) = 0;
  572. virtual HRESULT STDMETHODCALLTYPE AddItem(
  573. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo) = 0;
  574. virtual HRESULT STDMETHODCALLTYPE RegisterItems(
  575. /* [in] */ REFCLSID pHandlerID,
  576. /* [in] */ SYNCMGRITEMID *pItemID) = 0;
  577. virtual HRESULT STDMETHODCALLTYPE UnregisterItems(
  578. /* [in] */ REFCLSID pHandlerID,
  579. /* [in] */ SYNCMGRITEMID *pItemID) = 0;
  580. virtual HRESULT STDMETHODCALLTYPE SetItemCheck(
  581. /* [in] */ REFCLSID pHandlerID,
  582. /* [in] */ SYNCMGRITEMID *pItemID,
  583. /* [in] */ DWORD dwCheckState) = 0;
  584. virtual HRESULT STDMETHODCALLTYPE GetItemCheck(
  585. /* [in] */ REFCLSID pHandlerID,
  586. /* [in] */ SYNCMGRITEMID *pItemID,
  587. /* [out] */ DWORD *pdwCheckState) = 0;
  588. virtual HRESULT STDMETHODCALLTYPE EnumItems(
  589. /* [in] */ REFCLSID pHandlerID,
  590. /* [in] */ IEnumSyncItems **ppEnumItems) = 0;
  591. virtual HRESULT STDMETHODCALLTYPE Save( void) = 0;
  592. virtual HRESULT STDMETHODCALLTYPE GetITask(
  593. /* [out] */ ITask **ppITask) = 0;
  594. };
  595. #else /* C style interface */
  596. typedef struct ISyncScheduleVtbl
  597. {
  598. BEGIN_INTERFACE
  599. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  600. ISyncSchedule * This,
  601. /* [in] */ REFIID riid,
  602. /* [iid_is][out] */ void **ppvObject);
  603. ULONG ( STDMETHODCALLTYPE *AddRef )(
  604. ISyncSchedule * This);
  605. ULONG ( STDMETHODCALLTYPE *Release )(
  606. ISyncSchedule * This);
  607. HRESULT ( STDMETHODCALLTYPE *GetFlags )(
  608. ISyncSchedule * This,
  609. /* [out] */ DWORD *pdwFlags);
  610. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  611. ISyncSchedule * This,
  612. /* [in] */ DWORD dwFlags);
  613. HRESULT ( STDMETHODCALLTYPE *GetConnection )(
  614. ISyncSchedule * This,
  615. /* [out][in] */ DWORD *pcbSize,
  616. /* [out] */ LPWSTR pwszConnectionName,
  617. /* [out] */ DWORD *pdwConnType);
  618. HRESULT ( STDMETHODCALLTYPE *SetConnection )(
  619. ISyncSchedule * This,
  620. /* [in] */ LPCWSTR pwszConnectionName,
  621. /* [in] */ DWORD dwConnType);
  622. HRESULT ( STDMETHODCALLTYPE *GetScheduleName )(
  623. ISyncSchedule * This,
  624. /* [out][in] */ DWORD *pcbSize,
  625. /* [out] */ LPWSTR pwszScheduleName);
  626. HRESULT ( STDMETHODCALLTYPE *SetScheduleName )(
  627. ISyncSchedule * This,
  628. /* [in] */ LPCWSTR pwszScheduleName);
  629. HRESULT ( STDMETHODCALLTYPE *GetScheduleCookie )(
  630. ISyncSchedule * This,
  631. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  632. HRESULT ( STDMETHODCALLTYPE *SetAccountInformation )(
  633. ISyncSchedule * This,
  634. /* [in] */ LPCWSTR pwszAccountName,
  635. /* [in] */ LPCWSTR pwszPassword);
  636. HRESULT ( STDMETHODCALLTYPE *GetAccountInformation )(
  637. ISyncSchedule * This,
  638. /* [out][in] */ DWORD *pcbSize,
  639. /* [out] */ LPWSTR pwszAccountName);
  640. HRESULT ( STDMETHODCALLTYPE *GetTrigger )(
  641. ISyncSchedule * This,
  642. /* [out] */ ITaskTrigger **ppTrigger);
  643. HRESULT ( STDMETHODCALLTYPE *GetNextRunTime )(
  644. ISyncSchedule * This,
  645. /* [out] */ SYSTEMTIME *pstNextRun);
  646. HRESULT ( STDMETHODCALLTYPE *GetMostRecentRunTime )(
  647. ISyncSchedule * This,
  648. /* [out] */ SYSTEMTIME *pstRecentRun);
  649. HRESULT ( STDMETHODCALLTYPE *EditSyncSchedule )(
  650. ISyncSchedule * This,
  651. /* [in] */ HWND hParent,
  652. /* [in] */ DWORD dwReserved);
  653. HRESULT ( STDMETHODCALLTYPE *AddItem )(
  654. ISyncSchedule * This,
  655. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo);
  656. HRESULT ( STDMETHODCALLTYPE *RegisterItems )(
  657. ISyncSchedule * This,
  658. /* [in] */ REFCLSID pHandlerID,
  659. /* [in] */ SYNCMGRITEMID *pItemID);
  660. HRESULT ( STDMETHODCALLTYPE *UnregisterItems )(
  661. ISyncSchedule * This,
  662. /* [in] */ REFCLSID pHandlerID,
  663. /* [in] */ SYNCMGRITEMID *pItemID);
  664. HRESULT ( STDMETHODCALLTYPE *SetItemCheck )(
  665. ISyncSchedule * This,
  666. /* [in] */ REFCLSID pHandlerID,
  667. /* [in] */ SYNCMGRITEMID *pItemID,
  668. /* [in] */ DWORD dwCheckState);
  669. HRESULT ( STDMETHODCALLTYPE *GetItemCheck )(
  670. ISyncSchedule * This,
  671. /* [in] */ REFCLSID pHandlerID,
  672. /* [in] */ SYNCMGRITEMID *pItemID,
  673. /* [out] */ DWORD *pdwCheckState);
  674. HRESULT ( STDMETHODCALLTYPE *EnumItems )(
  675. ISyncSchedule * This,
  676. /* [in] */ REFCLSID pHandlerID,
  677. /* [in] */ IEnumSyncItems **ppEnumItems);
  678. HRESULT ( STDMETHODCALLTYPE *Save )(
  679. ISyncSchedule * This);
  680. HRESULT ( STDMETHODCALLTYPE *GetITask )(
  681. ISyncSchedule * This,
  682. /* [out] */ ITask **ppITask);
  683. END_INTERFACE
  684. } ISyncScheduleVtbl;
  685. interface ISyncSchedule
  686. {
  687. CONST_VTBL struct ISyncScheduleVtbl *lpVtbl;
  688. };
  689. #ifdef COBJMACROS
  690. #define ISyncSchedule_QueryInterface(This,riid,ppvObject) \
  691. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  692. #define ISyncSchedule_AddRef(This) \
  693. (This)->lpVtbl -> AddRef(This)
  694. #define ISyncSchedule_Release(This) \
  695. (This)->lpVtbl -> Release(This)
  696. #define ISyncSchedule_GetFlags(This,pdwFlags) \
  697. (This)->lpVtbl -> GetFlags(This,pdwFlags)
  698. #define ISyncSchedule_SetFlags(This,dwFlags) \
  699. (This)->lpVtbl -> SetFlags(This,dwFlags)
  700. #define ISyncSchedule_GetConnection(This,pcbSize,pwszConnectionName,pdwConnType) \
  701. (This)->lpVtbl -> GetConnection(This,pcbSize,pwszConnectionName,pdwConnType)
  702. #define ISyncSchedule_SetConnection(This,pwszConnectionName,dwConnType) \
  703. (This)->lpVtbl -> SetConnection(This,pwszConnectionName,dwConnType)
  704. #define ISyncSchedule_GetScheduleName(This,pcbSize,pwszScheduleName) \
  705. (This)->lpVtbl -> GetScheduleName(This,pcbSize,pwszScheduleName)
  706. #define ISyncSchedule_SetScheduleName(This,pwszScheduleName) \
  707. (This)->lpVtbl -> SetScheduleName(This,pwszScheduleName)
  708. #define ISyncSchedule_GetScheduleCookie(This,pSyncSchedCookie) \
  709. (This)->lpVtbl -> GetScheduleCookie(This,pSyncSchedCookie)
  710. #define ISyncSchedule_SetAccountInformation(This,pwszAccountName,pwszPassword) \
  711. (This)->lpVtbl -> SetAccountInformation(This,pwszAccountName,pwszPassword)
  712. #define ISyncSchedule_GetAccountInformation(This,pcbSize,pwszAccountName) \
  713. (This)->lpVtbl -> GetAccountInformation(This,pcbSize,pwszAccountName)
  714. #define ISyncSchedule_GetTrigger(This,ppTrigger) \
  715. (This)->lpVtbl -> GetTrigger(This,ppTrigger)
  716. #define ISyncSchedule_GetNextRunTime(This,pstNextRun) \
  717. (This)->lpVtbl -> GetNextRunTime(This,pstNextRun)
  718. #define ISyncSchedule_GetMostRecentRunTime(This,pstRecentRun) \
  719. (This)->lpVtbl -> GetMostRecentRunTime(This,pstRecentRun)
  720. #define ISyncSchedule_EditSyncSchedule(This,hParent,dwReserved) \
  721. (This)->lpVtbl -> EditSyncSchedule(This,hParent,dwReserved)
  722. #define ISyncSchedule_AddItem(This,pHandlerItemInfo) \
  723. (This)->lpVtbl -> AddItem(This,pHandlerItemInfo)
  724. #define ISyncSchedule_RegisterItems(This,pHandlerID,pItemID) \
  725. (This)->lpVtbl -> RegisterItems(This,pHandlerID,pItemID)
  726. #define ISyncSchedule_UnregisterItems(This,pHandlerID,pItemID) \
  727. (This)->lpVtbl -> UnregisterItems(This,pHandlerID,pItemID)
  728. #define ISyncSchedule_SetItemCheck(This,pHandlerID,pItemID,dwCheckState) \
  729. (This)->lpVtbl -> SetItemCheck(This,pHandlerID,pItemID,dwCheckState)
  730. #define ISyncSchedule_GetItemCheck(This,pHandlerID,pItemID,pdwCheckState) \
  731. (This)->lpVtbl -> GetItemCheck(This,pHandlerID,pItemID,pdwCheckState)
  732. #define ISyncSchedule_EnumItems(This,pHandlerID,ppEnumItems) \
  733. (This)->lpVtbl -> EnumItems(This,pHandlerID,ppEnumItems)
  734. #define ISyncSchedule_Save(This) \
  735. (This)->lpVtbl -> Save(This)
  736. #define ISyncSchedule_GetITask(This,ppITask) \
  737. (This)->lpVtbl -> GetITask(This,ppITask)
  738. #endif /* COBJMACROS */
  739. #endif /* C style interface */
  740. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetFlags_Proxy(
  741. ISyncSchedule * This,
  742. /* [out] */ DWORD *pdwFlags);
  743. void __RPC_STUB ISyncSchedule_GetFlags_Stub(
  744. IRpcStubBuffer *This,
  745. IRpcChannelBuffer *_pRpcChannelBuffer,
  746. PRPC_MESSAGE _pRpcMessage,
  747. DWORD *_pdwStubPhase);
  748. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetFlags_Proxy(
  749. ISyncSchedule * This,
  750. /* [in] */ DWORD dwFlags);
  751. void __RPC_STUB ISyncSchedule_SetFlags_Stub(
  752. IRpcStubBuffer *This,
  753. IRpcChannelBuffer *_pRpcChannelBuffer,
  754. PRPC_MESSAGE _pRpcMessage,
  755. DWORD *_pdwStubPhase);
  756. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetConnection_Proxy(
  757. ISyncSchedule * This,
  758. /* [out][in] */ DWORD *pcbSize,
  759. /* [out] */ LPWSTR pwszConnectionName,
  760. /* [out] */ DWORD *pdwConnType);
  761. void __RPC_STUB ISyncSchedule_GetConnection_Stub(
  762. IRpcStubBuffer *This,
  763. IRpcChannelBuffer *_pRpcChannelBuffer,
  764. PRPC_MESSAGE _pRpcMessage,
  765. DWORD *_pdwStubPhase);
  766. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetConnection_Proxy(
  767. ISyncSchedule * This,
  768. /* [in] */ LPCWSTR pwszConnectionName,
  769. /* [in] */ DWORD dwConnType);
  770. void __RPC_STUB ISyncSchedule_SetConnection_Stub(
  771. IRpcStubBuffer *This,
  772. IRpcChannelBuffer *_pRpcChannelBuffer,
  773. PRPC_MESSAGE _pRpcMessage,
  774. DWORD *_pdwStubPhase);
  775. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetScheduleName_Proxy(
  776. ISyncSchedule * This,
  777. /* [out][in] */ DWORD *pcbSize,
  778. /* [out] */ LPWSTR pwszScheduleName);
  779. void __RPC_STUB ISyncSchedule_GetScheduleName_Stub(
  780. IRpcStubBuffer *This,
  781. IRpcChannelBuffer *_pRpcChannelBuffer,
  782. PRPC_MESSAGE _pRpcMessage,
  783. DWORD *_pdwStubPhase);
  784. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetScheduleName_Proxy(
  785. ISyncSchedule * This,
  786. /* [in] */ LPCWSTR pwszScheduleName);
  787. void __RPC_STUB ISyncSchedule_SetScheduleName_Stub(
  788. IRpcStubBuffer *This,
  789. IRpcChannelBuffer *_pRpcChannelBuffer,
  790. PRPC_MESSAGE _pRpcMessage,
  791. DWORD *_pdwStubPhase);
  792. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetScheduleCookie_Proxy(
  793. ISyncSchedule * This,
  794. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  795. void __RPC_STUB ISyncSchedule_GetScheduleCookie_Stub(
  796. IRpcStubBuffer *This,
  797. IRpcChannelBuffer *_pRpcChannelBuffer,
  798. PRPC_MESSAGE _pRpcMessage,
  799. DWORD *_pdwStubPhase);
  800. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetAccountInformation_Proxy(
  801. ISyncSchedule * This,
  802. /* [in] */ LPCWSTR pwszAccountName,
  803. /* [in] */ LPCWSTR pwszPassword);
  804. void __RPC_STUB ISyncSchedule_SetAccountInformation_Stub(
  805. IRpcStubBuffer *This,
  806. IRpcChannelBuffer *_pRpcChannelBuffer,
  807. PRPC_MESSAGE _pRpcMessage,
  808. DWORD *_pdwStubPhase);
  809. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetAccountInformation_Proxy(
  810. ISyncSchedule * This,
  811. /* [out][in] */ DWORD *pcbSize,
  812. /* [out] */ LPWSTR pwszAccountName);
  813. void __RPC_STUB ISyncSchedule_GetAccountInformation_Stub(
  814. IRpcStubBuffer *This,
  815. IRpcChannelBuffer *_pRpcChannelBuffer,
  816. PRPC_MESSAGE _pRpcMessage,
  817. DWORD *_pdwStubPhase);
  818. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetTrigger_Proxy(
  819. ISyncSchedule * This,
  820. /* [out] */ ITaskTrigger **ppTrigger);
  821. void __RPC_STUB ISyncSchedule_GetTrigger_Stub(
  822. IRpcStubBuffer *This,
  823. IRpcChannelBuffer *_pRpcChannelBuffer,
  824. PRPC_MESSAGE _pRpcMessage,
  825. DWORD *_pdwStubPhase);
  826. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetNextRunTime_Proxy(
  827. ISyncSchedule * This,
  828. /* [out] */ SYSTEMTIME *pstNextRun);
  829. void __RPC_STUB ISyncSchedule_GetNextRunTime_Stub(
  830. IRpcStubBuffer *This,
  831. IRpcChannelBuffer *_pRpcChannelBuffer,
  832. PRPC_MESSAGE _pRpcMessage,
  833. DWORD *_pdwStubPhase);
  834. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetMostRecentRunTime_Proxy(
  835. ISyncSchedule * This,
  836. /* [out] */ SYSTEMTIME *pstRecentRun);
  837. void __RPC_STUB ISyncSchedule_GetMostRecentRunTime_Stub(
  838. IRpcStubBuffer *This,
  839. IRpcChannelBuffer *_pRpcChannelBuffer,
  840. PRPC_MESSAGE _pRpcMessage,
  841. DWORD *_pdwStubPhase);
  842. HRESULT STDMETHODCALLTYPE ISyncSchedule_EditSyncSchedule_Proxy(
  843. ISyncSchedule * This,
  844. /* [in] */ HWND hParent,
  845. /* [in] */ DWORD dwReserved);
  846. void __RPC_STUB ISyncSchedule_EditSyncSchedule_Stub(
  847. IRpcStubBuffer *This,
  848. IRpcChannelBuffer *_pRpcChannelBuffer,
  849. PRPC_MESSAGE _pRpcMessage,
  850. DWORD *_pdwStubPhase);
  851. HRESULT STDMETHODCALLTYPE ISyncSchedule_AddItem_Proxy(
  852. ISyncSchedule * This,
  853. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo);
  854. void __RPC_STUB ISyncSchedule_AddItem_Stub(
  855. IRpcStubBuffer *This,
  856. IRpcChannelBuffer *_pRpcChannelBuffer,
  857. PRPC_MESSAGE _pRpcMessage,
  858. DWORD *_pdwStubPhase);
  859. HRESULT STDMETHODCALLTYPE ISyncSchedule_RegisterItems_Proxy(
  860. ISyncSchedule * This,
  861. /* [in] */ REFCLSID pHandlerID,
  862. /* [in] */ SYNCMGRITEMID *pItemID);
  863. void __RPC_STUB ISyncSchedule_RegisterItems_Stub(
  864. IRpcStubBuffer *This,
  865. IRpcChannelBuffer *_pRpcChannelBuffer,
  866. PRPC_MESSAGE _pRpcMessage,
  867. DWORD *_pdwStubPhase);
  868. HRESULT STDMETHODCALLTYPE ISyncSchedule_UnregisterItems_Proxy(
  869. ISyncSchedule * This,
  870. /* [in] */ REFCLSID pHandlerID,
  871. /* [in] */ SYNCMGRITEMID *pItemID);
  872. void __RPC_STUB ISyncSchedule_UnregisterItems_Stub(
  873. IRpcStubBuffer *This,
  874. IRpcChannelBuffer *_pRpcChannelBuffer,
  875. PRPC_MESSAGE _pRpcMessage,
  876. DWORD *_pdwStubPhase);
  877. HRESULT STDMETHODCALLTYPE ISyncSchedule_SetItemCheck_Proxy(
  878. ISyncSchedule * This,
  879. /* [in] */ REFCLSID pHandlerID,
  880. /* [in] */ SYNCMGRITEMID *pItemID,
  881. /* [in] */ DWORD dwCheckState);
  882. void __RPC_STUB ISyncSchedule_SetItemCheck_Stub(
  883. IRpcStubBuffer *This,
  884. IRpcChannelBuffer *_pRpcChannelBuffer,
  885. PRPC_MESSAGE _pRpcMessage,
  886. DWORD *_pdwStubPhase);
  887. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetItemCheck_Proxy(
  888. ISyncSchedule * This,
  889. /* [in] */ REFCLSID pHandlerID,
  890. /* [in] */ SYNCMGRITEMID *pItemID,
  891. /* [out] */ DWORD *pdwCheckState);
  892. void __RPC_STUB ISyncSchedule_GetItemCheck_Stub(
  893. IRpcStubBuffer *This,
  894. IRpcChannelBuffer *_pRpcChannelBuffer,
  895. PRPC_MESSAGE _pRpcMessage,
  896. DWORD *_pdwStubPhase);
  897. HRESULT STDMETHODCALLTYPE ISyncSchedule_EnumItems_Proxy(
  898. ISyncSchedule * This,
  899. /* [in] */ REFCLSID pHandlerID,
  900. /* [in] */ IEnumSyncItems **ppEnumItems);
  901. void __RPC_STUB ISyncSchedule_EnumItems_Stub(
  902. IRpcStubBuffer *This,
  903. IRpcChannelBuffer *_pRpcChannelBuffer,
  904. PRPC_MESSAGE _pRpcMessage,
  905. DWORD *_pdwStubPhase);
  906. HRESULT STDMETHODCALLTYPE ISyncSchedule_Save_Proxy(
  907. ISyncSchedule * This);
  908. void __RPC_STUB ISyncSchedule_Save_Stub(
  909. IRpcStubBuffer *This,
  910. IRpcChannelBuffer *_pRpcChannelBuffer,
  911. PRPC_MESSAGE _pRpcMessage,
  912. DWORD *_pdwStubPhase);
  913. HRESULT STDMETHODCALLTYPE ISyncSchedule_GetITask_Proxy(
  914. ISyncSchedule * This,
  915. /* [out] */ ITask **ppITask);
  916. void __RPC_STUB ISyncSchedule_GetITask_Stub(
  917. IRpcStubBuffer *This,
  918. IRpcChannelBuffer *_pRpcChannelBuffer,
  919. PRPC_MESSAGE _pRpcMessage,
  920. DWORD *_pdwStubPhase);
  921. #endif /* __ISyncSchedule_INTERFACE_DEFINED__ */
  922. #ifndef __ISyncSchedulep_INTERFACE_DEFINED__
  923. #define __ISyncSchedulep_INTERFACE_DEFINED__
  924. /* interface ISyncSchedulep */
  925. /* [unique][uuid][object][local] */
  926. typedef /* [unique] */ ISyncSchedulep *LPSYNCSCHEDULEP;
  927. EXTERN_C const IID IID_ISyncSchedulep;
  928. #if defined(__cplusplus) && !defined(CINTERFACE)
  929. MIDL_INTERFACE("F0E1589B-A700-11d1-9831-00C04FD910DD")
  930. ISyncSchedulep : public ISyncSchedule
  931. {
  932. public:
  933. virtual HRESULT STDMETHODCALLTYPE GetHandlerInfo(
  934. /* [in] */ REFCLSID pHandlerID,
  935. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo) = 0;
  936. };
  937. #else /* C style interface */
  938. typedef struct ISyncSchedulepVtbl
  939. {
  940. BEGIN_INTERFACE
  941. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  942. ISyncSchedulep * This,
  943. /* [in] */ REFIID riid,
  944. /* [iid_is][out] */ void **ppvObject);
  945. ULONG ( STDMETHODCALLTYPE *AddRef )(
  946. ISyncSchedulep * This);
  947. ULONG ( STDMETHODCALLTYPE *Release )(
  948. ISyncSchedulep * This);
  949. HRESULT ( STDMETHODCALLTYPE *GetFlags )(
  950. ISyncSchedulep * This,
  951. /* [out] */ DWORD *pdwFlags);
  952. HRESULT ( STDMETHODCALLTYPE *SetFlags )(
  953. ISyncSchedulep * This,
  954. /* [in] */ DWORD dwFlags);
  955. HRESULT ( STDMETHODCALLTYPE *GetConnection )(
  956. ISyncSchedulep * This,
  957. /* [out][in] */ DWORD *pcbSize,
  958. /* [out] */ LPWSTR pwszConnectionName,
  959. /* [out] */ DWORD *pdwConnType);
  960. HRESULT ( STDMETHODCALLTYPE *SetConnection )(
  961. ISyncSchedulep * This,
  962. /* [in] */ LPCWSTR pwszConnectionName,
  963. /* [in] */ DWORD dwConnType);
  964. HRESULT ( STDMETHODCALLTYPE *GetScheduleName )(
  965. ISyncSchedulep * This,
  966. /* [out][in] */ DWORD *pcbSize,
  967. /* [out] */ LPWSTR pwszScheduleName);
  968. HRESULT ( STDMETHODCALLTYPE *SetScheduleName )(
  969. ISyncSchedulep * This,
  970. /* [in] */ LPCWSTR pwszScheduleName);
  971. HRESULT ( STDMETHODCALLTYPE *GetScheduleCookie )(
  972. ISyncSchedulep * This,
  973. /* [out] */ SYNCSCHEDULECOOKIE *pSyncSchedCookie);
  974. HRESULT ( STDMETHODCALLTYPE *SetAccountInformation )(
  975. ISyncSchedulep * This,
  976. /* [in] */ LPCWSTR pwszAccountName,
  977. /* [in] */ LPCWSTR pwszPassword);
  978. HRESULT ( STDMETHODCALLTYPE *GetAccountInformation )(
  979. ISyncSchedulep * This,
  980. /* [out][in] */ DWORD *pcbSize,
  981. /* [out] */ LPWSTR pwszAccountName);
  982. HRESULT ( STDMETHODCALLTYPE *GetTrigger )(
  983. ISyncSchedulep * This,
  984. /* [out] */ ITaskTrigger **ppTrigger);
  985. HRESULT ( STDMETHODCALLTYPE *GetNextRunTime )(
  986. ISyncSchedulep * This,
  987. /* [out] */ SYSTEMTIME *pstNextRun);
  988. HRESULT ( STDMETHODCALLTYPE *GetMostRecentRunTime )(
  989. ISyncSchedulep * This,
  990. /* [out] */ SYSTEMTIME *pstRecentRun);
  991. HRESULT ( STDMETHODCALLTYPE *EditSyncSchedule )(
  992. ISyncSchedulep * This,
  993. /* [in] */ HWND hParent,
  994. /* [in] */ DWORD dwReserved);
  995. HRESULT ( STDMETHODCALLTYPE *AddItem )(
  996. ISyncSchedulep * This,
  997. /* [in] */ LPSYNC_HANDLER_ITEM_INFO pHandlerItemInfo);
  998. HRESULT ( STDMETHODCALLTYPE *RegisterItems )(
  999. ISyncSchedulep * This,
  1000. /* [in] */ REFCLSID pHandlerID,
  1001. /* [in] */ SYNCMGRITEMID *pItemID);
  1002. HRESULT ( STDMETHODCALLTYPE *UnregisterItems )(
  1003. ISyncSchedulep * This,
  1004. /* [in] */ REFCLSID pHandlerID,
  1005. /* [in] */ SYNCMGRITEMID *pItemID);
  1006. HRESULT ( STDMETHODCALLTYPE *SetItemCheck )(
  1007. ISyncSchedulep * This,
  1008. /* [in] */ REFCLSID pHandlerID,
  1009. /* [in] */ SYNCMGRITEMID *pItemID,
  1010. /* [in] */ DWORD dwCheckState);
  1011. HRESULT ( STDMETHODCALLTYPE *GetItemCheck )(
  1012. ISyncSchedulep * This,
  1013. /* [in] */ REFCLSID pHandlerID,
  1014. /* [in] */ SYNCMGRITEMID *pItemID,
  1015. /* [out] */ DWORD *pdwCheckState);
  1016. HRESULT ( STDMETHODCALLTYPE *EnumItems )(
  1017. ISyncSchedulep * This,
  1018. /* [in] */ REFCLSID pHandlerID,
  1019. /* [in] */ IEnumSyncItems **ppEnumItems);
  1020. HRESULT ( STDMETHODCALLTYPE *Save )(
  1021. ISyncSchedulep * This);
  1022. HRESULT ( STDMETHODCALLTYPE *GetITask )(
  1023. ISyncSchedulep * This,
  1024. /* [out] */ ITask **ppITask);
  1025. HRESULT ( STDMETHODCALLTYPE *GetHandlerInfo )(
  1026. ISyncSchedulep * This,
  1027. /* [in] */ REFCLSID pHandlerID,
  1028. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  1029. END_INTERFACE
  1030. } ISyncSchedulepVtbl;
  1031. interface ISyncSchedulep
  1032. {
  1033. CONST_VTBL struct ISyncSchedulepVtbl *lpVtbl;
  1034. };
  1035. #ifdef COBJMACROS
  1036. #define ISyncSchedulep_QueryInterface(This,riid,ppvObject) \
  1037. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1038. #define ISyncSchedulep_AddRef(This) \
  1039. (This)->lpVtbl -> AddRef(This)
  1040. #define ISyncSchedulep_Release(This) \
  1041. (This)->lpVtbl -> Release(This)
  1042. #define ISyncSchedulep_GetFlags(This,pdwFlags) \
  1043. (This)->lpVtbl -> GetFlags(This,pdwFlags)
  1044. #define ISyncSchedulep_SetFlags(This,dwFlags) \
  1045. (This)->lpVtbl -> SetFlags(This,dwFlags)
  1046. #define ISyncSchedulep_GetConnection(This,pcbSize,pwszConnectionName,pdwConnType) \
  1047. (This)->lpVtbl -> GetConnection(This,pcbSize,pwszConnectionName,pdwConnType)
  1048. #define ISyncSchedulep_SetConnection(This,pwszConnectionName,dwConnType) \
  1049. (This)->lpVtbl -> SetConnection(This,pwszConnectionName,dwConnType)
  1050. #define ISyncSchedulep_GetScheduleName(This,pcbSize,pwszScheduleName) \
  1051. (This)->lpVtbl -> GetScheduleName(This,pcbSize,pwszScheduleName)
  1052. #define ISyncSchedulep_SetScheduleName(This,pwszScheduleName) \
  1053. (This)->lpVtbl -> SetScheduleName(This,pwszScheduleName)
  1054. #define ISyncSchedulep_GetScheduleCookie(This,pSyncSchedCookie) \
  1055. (This)->lpVtbl -> GetScheduleCookie(This,pSyncSchedCookie)
  1056. #define ISyncSchedulep_SetAccountInformation(This,pwszAccountName,pwszPassword) \
  1057. (This)->lpVtbl -> SetAccountInformation(This,pwszAccountName,pwszPassword)
  1058. #define ISyncSchedulep_GetAccountInformation(This,pcbSize,pwszAccountName) \
  1059. (This)->lpVtbl -> GetAccountInformation(This,pcbSize,pwszAccountName)
  1060. #define ISyncSchedulep_GetTrigger(This,ppTrigger) \
  1061. (This)->lpVtbl -> GetTrigger(This,ppTrigger)
  1062. #define ISyncSchedulep_GetNextRunTime(This,pstNextRun) \
  1063. (This)->lpVtbl -> GetNextRunTime(This,pstNextRun)
  1064. #define ISyncSchedulep_GetMostRecentRunTime(This,pstRecentRun) \
  1065. (This)->lpVtbl -> GetMostRecentRunTime(This,pstRecentRun)
  1066. #define ISyncSchedulep_EditSyncSchedule(This,hParent,dwReserved) \
  1067. (This)->lpVtbl -> EditSyncSchedule(This,hParent,dwReserved)
  1068. #define ISyncSchedulep_AddItem(This,pHandlerItemInfo) \
  1069. (This)->lpVtbl -> AddItem(This,pHandlerItemInfo)
  1070. #define ISyncSchedulep_RegisterItems(This,pHandlerID,pItemID) \
  1071. (This)->lpVtbl -> RegisterItems(This,pHandlerID,pItemID)
  1072. #define ISyncSchedulep_UnregisterItems(This,pHandlerID,pItemID) \
  1073. (This)->lpVtbl -> UnregisterItems(This,pHandlerID,pItemID)
  1074. #define ISyncSchedulep_SetItemCheck(This,pHandlerID,pItemID,dwCheckState) \
  1075. (This)->lpVtbl -> SetItemCheck(This,pHandlerID,pItemID,dwCheckState)
  1076. #define ISyncSchedulep_GetItemCheck(This,pHandlerID,pItemID,pdwCheckState) \
  1077. (This)->lpVtbl -> GetItemCheck(This,pHandlerID,pItemID,pdwCheckState)
  1078. #define ISyncSchedulep_EnumItems(This,pHandlerID,ppEnumItems) \
  1079. (This)->lpVtbl -> EnumItems(This,pHandlerID,ppEnumItems)
  1080. #define ISyncSchedulep_Save(This) \
  1081. (This)->lpVtbl -> Save(This)
  1082. #define ISyncSchedulep_GetITask(This,ppITask) \
  1083. (This)->lpVtbl -> GetITask(This,ppITask)
  1084. #define ISyncSchedulep_GetHandlerInfo(This,pHandlerID,ppSyncMgrHandlerInfo) \
  1085. (This)->lpVtbl -> GetHandlerInfo(This,pHandlerID,ppSyncMgrHandlerInfo)
  1086. #endif /* COBJMACROS */
  1087. #endif /* C style interface */
  1088. HRESULT STDMETHODCALLTYPE ISyncSchedulep_GetHandlerInfo_Proxy(
  1089. ISyncSchedulep * This,
  1090. /* [in] */ REFCLSID pHandlerID,
  1091. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  1092. void __RPC_STUB ISyncSchedulep_GetHandlerInfo_Stub(
  1093. IRpcStubBuffer *This,
  1094. IRpcChannelBuffer *_pRpcChannelBuffer,
  1095. PRPC_MESSAGE _pRpcMessage,
  1096. DWORD *_pdwStubPhase);
  1097. #endif /* __ISyncSchedulep_INTERFACE_DEFINED__ */
  1098. #ifndef __IEnumSyncItems_INTERFACE_DEFINED__
  1099. #define __IEnumSyncItems_INTERFACE_DEFINED__
  1100. /* interface IEnumSyncItems */
  1101. /* [unique][uuid][object][local] */
  1102. EXTERN_C const IID IID_IEnumSyncItems;
  1103. #if defined(__cplusplus) && !defined(CINTERFACE)
  1104. MIDL_INTERFACE("F0E1589A-A700-11d1-9831-00C04FD910DD")
  1105. IEnumSyncItems : public IUnknown
  1106. {
  1107. public:
  1108. virtual HRESULT STDMETHODCALLTYPE Next(
  1109. /* [in] */ ULONG celt,
  1110. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1111. /* [out] */ ULONG *pceltFetched) = 0;
  1112. virtual HRESULT STDMETHODCALLTYPE Skip(
  1113. /* [in] */ ULONG celt) = 0;
  1114. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1115. virtual HRESULT STDMETHODCALLTYPE Clone(
  1116. /* [out] */ IEnumSyncItems **ppEnumSyncItems) = 0;
  1117. };
  1118. #else /* C style interface */
  1119. typedef struct IEnumSyncItemsVtbl
  1120. {
  1121. BEGIN_INTERFACE
  1122. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1123. IEnumSyncItems * This,
  1124. /* [in] */ REFIID riid,
  1125. /* [iid_is][out] */ void **ppvObject);
  1126. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1127. IEnumSyncItems * This);
  1128. ULONG ( STDMETHODCALLTYPE *Release )(
  1129. IEnumSyncItems * This);
  1130. HRESULT ( STDMETHODCALLTYPE *Next )(
  1131. IEnumSyncItems * This,
  1132. /* [in] */ ULONG celt,
  1133. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1134. /* [out] */ ULONG *pceltFetched);
  1135. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1136. IEnumSyncItems * This,
  1137. /* [in] */ ULONG celt);
  1138. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1139. IEnumSyncItems * This);
  1140. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1141. IEnumSyncItems * This,
  1142. /* [out] */ IEnumSyncItems **ppEnumSyncItems);
  1143. END_INTERFACE
  1144. } IEnumSyncItemsVtbl;
  1145. interface IEnumSyncItems
  1146. {
  1147. CONST_VTBL struct IEnumSyncItemsVtbl *lpVtbl;
  1148. };
  1149. #ifdef COBJMACROS
  1150. #define IEnumSyncItems_QueryInterface(This,riid,ppvObject) \
  1151. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1152. #define IEnumSyncItems_AddRef(This) \
  1153. (This)->lpVtbl -> AddRef(This)
  1154. #define IEnumSyncItems_Release(This) \
  1155. (This)->lpVtbl -> Release(This)
  1156. #define IEnumSyncItems_Next(This,celt,rgelt,pceltFetched) \
  1157. (This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
  1158. #define IEnumSyncItems_Skip(This,celt) \
  1159. (This)->lpVtbl -> Skip(This,celt)
  1160. #define IEnumSyncItems_Reset(This) \
  1161. (This)->lpVtbl -> Reset(This)
  1162. #define IEnumSyncItems_Clone(This,ppEnumSyncItems) \
  1163. (This)->lpVtbl -> Clone(This,ppEnumSyncItems)
  1164. #endif /* COBJMACROS */
  1165. #endif /* C style interface */
  1166. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Next_Proxy(
  1167. IEnumSyncItems * This,
  1168. /* [in] */ ULONG celt,
  1169. /* [length_is][size_is][out] */ LPSYNC_HANDLER_ITEM_INFO rgelt,
  1170. /* [out] */ ULONG *pceltFetched);
  1171. void __RPC_STUB IEnumSyncItems_Next_Stub(
  1172. IRpcStubBuffer *This,
  1173. IRpcChannelBuffer *_pRpcChannelBuffer,
  1174. PRPC_MESSAGE _pRpcMessage,
  1175. DWORD *_pdwStubPhase);
  1176. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Skip_Proxy(
  1177. IEnumSyncItems * This,
  1178. /* [in] */ ULONG celt);
  1179. void __RPC_STUB IEnumSyncItems_Skip_Stub(
  1180. IRpcStubBuffer *This,
  1181. IRpcChannelBuffer *_pRpcChannelBuffer,
  1182. PRPC_MESSAGE _pRpcMessage,
  1183. DWORD *_pdwStubPhase);
  1184. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Reset_Proxy(
  1185. IEnumSyncItems * This);
  1186. void __RPC_STUB IEnumSyncItems_Reset_Stub(
  1187. IRpcStubBuffer *This,
  1188. IRpcChannelBuffer *_pRpcChannelBuffer,
  1189. PRPC_MESSAGE _pRpcMessage,
  1190. DWORD *_pdwStubPhase);
  1191. HRESULT STDMETHODCALLTYPE IEnumSyncItems_Clone_Proxy(
  1192. IEnumSyncItems * This,
  1193. /* [out] */ IEnumSyncItems **ppEnumSyncItems);
  1194. void __RPC_STUB IEnumSyncItems_Clone_Stub(
  1195. IRpcStubBuffer *This,
  1196. IRpcChannelBuffer *_pRpcChannelBuffer,
  1197. PRPC_MESSAGE _pRpcMessage,
  1198. DWORD *_pdwStubPhase);
  1199. #endif /* __IEnumSyncItems_INTERFACE_DEFINED__ */
  1200. /* interface __MIDL_itf_mobsyncp_0162 */
  1201. /* [local] */
  1202. #define SYNCMGRITEM_ITEMFLAGMASKNT5B2 0x07
  1203. #define MAX_SYNCMGRITEMSTATUS ( 128 )
  1204. typedef struct _tagSYNCMGRITEMNT5B2
  1205. {
  1206. DWORD cbSize;
  1207. DWORD dwFlags;
  1208. SYNCMGRITEMID ItemID;
  1209. DWORD dwItemState;
  1210. HICON hIcon;
  1211. WCHAR wszItemName[ 128 ];
  1212. WCHAR wszStatus[ 128 ];
  1213. } SYNCMGRITEMNT5B2;
  1214. typedef struct _tagSYNCMGRITEMNT5B2 *LPSYNCMGRITEMNT5B2;
  1215. DEFINE_GUID(IID_IOldSyncMgrSynchronize,0x6295df28, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  1216. DEFINE_GUID(IID_IOldSyncMgrSynchronizeCallback,0x6295df29, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
  1217. DEFINE_GUID(IID_IOldSyncMgrRegister,0x894d8c55, 0xbddf, 0x11d1, 0xb8, 0x5d, 0x0, 0xc0, 0x4f, 0xb9, 0x39, 0x81);
  1218. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0162_v0_0_c_ifspec;
  1219. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0162_v0_0_s_ifspec;
  1220. #ifndef __IOldSyncMgrSynchronize_INTERFACE_DEFINED__
  1221. #define __IOldSyncMgrSynchronize_INTERFACE_DEFINED__
  1222. /* interface IOldSyncMgrSynchronize */
  1223. /* [uuid][object][local] */
  1224. typedef /* [unique] */ IOldSyncMgrSynchronize *LPOLDSYNCMGRSYNCHRONIZE;
  1225. EXTERN_C const IID IID_IOldSyncMgrSynchronize;
  1226. #if defined(__cplusplus) && !defined(CINTERFACE)
  1227. MIDL_INTERFACE("6295DF28-35EE-11d1-8707-00C04FD93327")
  1228. IOldSyncMgrSynchronize : public IUnknown
  1229. {
  1230. public:
  1231. virtual HRESULT STDMETHODCALLTYPE Initialize(
  1232. /* [in] */ DWORD dwReserved,
  1233. /* [in] */ DWORD dwSyncMgrFlags,
  1234. /* [in] */ DWORD cbCookie,
  1235. /* [in] */ const BYTE *lpCookie) = 0;
  1236. virtual HRESULT STDMETHODCALLTYPE GetHandlerInfo(
  1237. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo) = 0;
  1238. virtual HRESULT STDMETHODCALLTYPE EnumSyncMgrItems(
  1239. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems) = 0;
  1240. virtual HRESULT STDMETHODCALLTYPE GetItemObject(
  1241. /* [in] */ REFSYNCMGRITEMID ItemID,
  1242. /* [in] */ REFIID riid,
  1243. /* [out] */ void **ppv) = 0;
  1244. virtual HRESULT STDMETHODCALLTYPE ShowProperties(
  1245. /* [in] */ HWND hWndParent,
  1246. /* [in] */ REFSYNCMGRITEMID ItemID) = 0;
  1247. virtual HRESULT STDMETHODCALLTYPE SetProgressCallback(
  1248. /* [in] */ IOldSyncMgrSynchronizeCallback *lpCallBack) = 0;
  1249. virtual HRESULT STDMETHODCALLTYPE PrepareForSync(
  1250. /* [in] */ ULONG cbNumItems,
  1251. /* [in] */ SYNCMGRITEMID *pItemIDs,
  1252. /* [in] */ HWND hWndParent,
  1253. /* [in] */ DWORD dwReserved) = 0;
  1254. virtual HRESULT STDMETHODCALLTYPE Synchronize(
  1255. /* [in] */ HWND hWndParent) = 0;
  1256. virtual HRESULT STDMETHODCALLTYPE SetItemStatus(
  1257. /* [in] */ REFSYNCMGRITEMID pItemID,
  1258. /* [in] */ DWORD dwSyncMgrStatus) = 0;
  1259. virtual HRESULT STDMETHODCALLTYPE ShowError(
  1260. /* [in] */ HWND hWndParent,
  1261. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1262. /* [out] */ ULONG *pcbNumItems,
  1263. /* [out] */ SYNCMGRITEMID **ppItemIDs) = 0;
  1264. };
  1265. #else /* C style interface */
  1266. typedef struct IOldSyncMgrSynchronizeVtbl
  1267. {
  1268. BEGIN_INTERFACE
  1269. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1270. IOldSyncMgrSynchronize * This,
  1271. /* [in] */ REFIID riid,
  1272. /* [iid_is][out] */ void **ppvObject);
  1273. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1274. IOldSyncMgrSynchronize * This);
  1275. ULONG ( STDMETHODCALLTYPE *Release )(
  1276. IOldSyncMgrSynchronize * This);
  1277. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  1278. IOldSyncMgrSynchronize * This,
  1279. /* [in] */ DWORD dwReserved,
  1280. /* [in] */ DWORD dwSyncMgrFlags,
  1281. /* [in] */ DWORD cbCookie,
  1282. /* [in] */ const BYTE *lpCookie);
  1283. HRESULT ( STDMETHODCALLTYPE *GetHandlerInfo )(
  1284. IOldSyncMgrSynchronize * This,
  1285. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  1286. HRESULT ( STDMETHODCALLTYPE *EnumSyncMgrItems )(
  1287. IOldSyncMgrSynchronize * This,
  1288. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
  1289. HRESULT ( STDMETHODCALLTYPE *GetItemObject )(
  1290. IOldSyncMgrSynchronize * This,
  1291. /* [in] */ REFSYNCMGRITEMID ItemID,
  1292. /* [in] */ REFIID riid,
  1293. /* [out] */ void **ppv);
  1294. HRESULT ( STDMETHODCALLTYPE *ShowProperties )(
  1295. IOldSyncMgrSynchronize * This,
  1296. /* [in] */ HWND hWndParent,
  1297. /* [in] */ REFSYNCMGRITEMID ItemID);
  1298. HRESULT ( STDMETHODCALLTYPE *SetProgressCallback )(
  1299. IOldSyncMgrSynchronize * This,
  1300. /* [in] */ IOldSyncMgrSynchronizeCallback *lpCallBack);
  1301. HRESULT ( STDMETHODCALLTYPE *PrepareForSync )(
  1302. IOldSyncMgrSynchronize * This,
  1303. /* [in] */ ULONG cbNumItems,
  1304. /* [in] */ SYNCMGRITEMID *pItemIDs,
  1305. /* [in] */ HWND hWndParent,
  1306. /* [in] */ DWORD dwReserved);
  1307. HRESULT ( STDMETHODCALLTYPE *Synchronize )(
  1308. IOldSyncMgrSynchronize * This,
  1309. /* [in] */ HWND hWndParent);
  1310. HRESULT ( STDMETHODCALLTYPE *SetItemStatus )(
  1311. IOldSyncMgrSynchronize * This,
  1312. /* [in] */ REFSYNCMGRITEMID pItemID,
  1313. /* [in] */ DWORD dwSyncMgrStatus);
  1314. HRESULT ( STDMETHODCALLTYPE *ShowError )(
  1315. IOldSyncMgrSynchronize * This,
  1316. /* [in] */ HWND hWndParent,
  1317. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1318. /* [out] */ ULONG *pcbNumItems,
  1319. /* [out] */ SYNCMGRITEMID **ppItemIDs);
  1320. END_INTERFACE
  1321. } IOldSyncMgrSynchronizeVtbl;
  1322. interface IOldSyncMgrSynchronize
  1323. {
  1324. CONST_VTBL struct IOldSyncMgrSynchronizeVtbl *lpVtbl;
  1325. };
  1326. #ifdef COBJMACROS
  1327. #define IOldSyncMgrSynchronize_QueryInterface(This,riid,ppvObject) \
  1328. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1329. #define IOldSyncMgrSynchronize_AddRef(This) \
  1330. (This)->lpVtbl -> AddRef(This)
  1331. #define IOldSyncMgrSynchronize_Release(This) \
  1332. (This)->lpVtbl -> Release(This)
  1333. #define IOldSyncMgrSynchronize_Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie) \
  1334. (This)->lpVtbl -> Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie)
  1335. #define IOldSyncMgrSynchronize_GetHandlerInfo(This,ppSyncMgrHandlerInfo) \
  1336. (This)->lpVtbl -> GetHandlerInfo(This,ppSyncMgrHandlerInfo)
  1337. #define IOldSyncMgrSynchronize_EnumSyncMgrItems(This,ppSyncMgrEnumItems) \
  1338. (This)->lpVtbl -> EnumSyncMgrItems(This,ppSyncMgrEnumItems)
  1339. #define IOldSyncMgrSynchronize_GetItemObject(This,ItemID,riid,ppv) \
  1340. (This)->lpVtbl -> GetItemObject(This,ItemID,riid,ppv)
  1341. #define IOldSyncMgrSynchronize_ShowProperties(This,hWndParent,ItemID) \
  1342. (This)->lpVtbl -> ShowProperties(This,hWndParent,ItemID)
  1343. #define IOldSyncMgrSynchronize_SetProgressCallback(This,lpCallBack) \
  1344. (This)->lpVtbl -> SetProgressCallback(This,lpCallBack)
  1345. #define IOldSyncMgrSynchronize_PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved) \
  1346. (This)->lpVtbl -> PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved)
  1347. #define IOldSyncMgrSynchronize_Synchronize(This,hWndParent) \
  1348. (This)->lpVtbl -> Synchronize(This,hWndParent)
  1349. #define IOldSyncMgrSynchronize_SetItemStatus(This,pItemID,dwSyncMgrStatus) \
  1350. (This)->lpVtbl -> SetItemStatus(This,pItemID,dwSyncMgrStatus)
  1351. #define IOldSyncMgrSynchronize_ShowError(This,hWndParent,ErrorID,pcbNumItems,ppItemIDs) \
  1352. (This)->lpVtbl -> ShowError(This,hWndParent,ErrorID,pcbNumItems,ppItemIDs)
  1353. #endif /* COBJMACROS */
  1354. #endif /* C style interface */
  1355. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_Initialize_Proxy(
  1356. IOldSyncMgrSynchronize * This,
  1357. /* [in] */ DWORD dwReserved,
  1358. /* [in] */ DWORD dwSyncMgrFlags,
  1359. /* [in] */ DWORD cbCookie,
  1360. /* [in] */ const BYTE *lpCookie);
  1361. void __RPC_STUB IOldSyncMgrSynchronize_Initialize_Stub(
  1362. IRpcStubBuffer *This,
  1363. IRpcChannelBuffer *_pRpcChannelBuffer,
  1364. PRPC_MESSAGE _pRpcMessage,
  1365. DWORD *_pdwStubPhase);
  1366. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_GetHandlerInfo_Proxy(
  1367. IOldSyncMgrSynchronize * This,
  1368. /* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
  1369. void __RPC_STUB IOldSyncMgrSynchronize_GetHandlerInfo_Stub(
  1370. IRpcStubBuffer *This,
  1371. IRpcChannelBuffer *_pRpcChannelBuffer,
  1372. PRPC_MESSAGE _pRpcMessage,
  1373. DWORD *_pdwStubPhase);
  1374. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_EnumSyncMgrItems_Proxy(
  1375. IOldSyncMgrSynchronize * This,
  1376. /* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
  1377. void __RPC_STUB IOldSyncMgrSynchronize_EnumSyncMgrItems_Stub(
  1378. IRpcStubBuffer *This,
  1379. IRpcChannelBuffer *_pRpcChannelBuffer,
  1380. PRPC_MESSAGE _pRpcMessage,
  1381. DWORD *_pdwStubPhase);
  1382. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_GetItemObject_Proxy(
  1383. IOldSyncMgrSynchronize * This,
  1384. /* [in] */ REFSYNCMGRITEMID ItemID,
  1385. /* [in] */ REFIID riid,
  1386. /* [out] */ void **ppv);
  1387. void __RPC_STUB IOldSyncMgrSynchronize_GetItemObject_Stub(
  1388. IRpcStubBuffer *This,
  1389. IRpcChannelBuffer *_pRpcChannelBuffer,
  1390. PRPC_MESSAGE _pRpcMessage,
  1391. DWORD *_pdwStubPhase);
  1392. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_ShowProperties_Proxy(
  1393. IOldSyncMgrSynchronize * This,
  1394. /* [in] */ HWND hWndParent,
  1395. /* [in] */ REFSYNCMGRITEMID ItemID);
  1396. void __RPC_STUB IOldSyncMgrSynchronize_ShowProperties_Stub(
  1397. IRpcStubBuffer *This,
  1398. IRpcChannelBuffer *_pRpcChannelBuffer,
  1399. PRPC_MESSAGE _pRpcMessage,
  1400. DWORD *_pdwStubPhase);
  1401. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_SetProgressCallback_Proxy(
  1402. IOldSyncMgrSynchronize * This,
  1403. /* [in] */ IOldSyncMgrSynchronizeCallback *lpCallBack);
  1404. void __RPC_STUB IOldSyncMgrSynchronize_SetProgressCallback_Stub(
  1405. IRpcStubBuffer *This,
  1406. IRpcChannelBuffer *_pRpcChannelBuffer,
  1407. PRPC_MESSAGE _pRpcMessage,
  1408. DWORD *_pdwStubPhase);
  1409. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_PrepareForSync_Proxy(
  1410. IOldSyncMgrSynchronize * This,
  1411. /* [in] */ ULONG cbNumItems,
  1412. /* [in] */ SYNCMGRITEMID *pItemIDs,
  1413. /* [in] */ HWND hWndParent,
  1414. /* [in] */ DWORD dwReserved);
  1415. void __RPC_STUB IOldSyncMgrSynchronize_PrepareForSync_Stub(
  1416. IRpcStubBuffer *This,
  1417. IRpcChannelBuffer *_pRpcChannelBuffer,
  1418. PRPC_MESSAGE _pRpcMessage,
  1419. DWORD *_pdwStubPhase);
  1420. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_Synchronize_Proxy(
  1421. IOldSyncMgrSynchronize * This,
  1422. /* [in] */ HWND hWndParent);
  1423. void __RPC_STUB IOldSyncMgrSynchronize_Synchronize_Stub(
  1424. IRpcStubBuffer *This,
  1425. IRpcChannelBuffer *_pRpcChannelBuffer,
  1426. PRPC_MESSAGE _pRpcMessage,
  1427. DWORD *_pdwStubPhase);
  1428. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_SetItemStatus_Proxy(
  1429. IOldSyncMgrSynchronize * This,
  1430. /* [in] */ REFSYNCMGRITEMID pItemID,
  1431. /* [in] */ DWORD dwSyncMgrStatus);
  1432. void __RPC_STUB IOldSyncMgrSynchronize_SetItemStatus_Stub(
  1433. IRpcStubBuffer *This,
  1434. IRpcChannelBuffer *_pRpcChannelBuffer,
  1435. PRPC_MESSAGE _pRpcMessage,
  1436. DWORD *_pdwStubPhase);
  1437. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronize_ShowError_Proxy(
  1438. IOldSyncMgrSynchronize * This,
  1439. /* [in] */ HWND hWndParent,
  1440. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1441. /* [out] */ ULONG *pcbNumItems,
  1442. /* [out] */ SYNCMGRITEMID **ppItemIDs);
  1443. void __RPC_STUB IOldSyncMgrSynchronize_ShowError_Stub(
  1444. IRpcStubBuffer *This,
  1445. IRpcChannelBuffer *_pRpcChannelBuffer,
  1446. PRPC_MESSAGE _pRpcMessage,
  1447. DWORD *_pdwStubPhase);
  1448. #endif /* __IOldSyncMgrSynchronize_INTERFACE_DEFINED__ */
  1449. #ifndef __IOldSyncMgrSynchronizeCallback_INTERFACE_DEFINED__
  1450. #define __IOldSyncMgrSynchronizeCallback_INTERFACE_DEFINED__
  1451. /* interface IOldSyncMgrSynchronizeCallback */
  1452. /* [uuid][object][local] */
  1453. typedef /* [unique] */ IOldSyncMgrSynchronizeCallback *LPOLDSYNCMGRSYNCHRONIZECALLBACK;
  1454. EXTERN_C const IID IID_IOldSyncMgrSynchronizeCallback;
  1455. #if defined(__cplusplus) && !defined(CINTERFACE)
  1456. MIDL_INTERFACE("6295DF29-35EE-11d1-8707-00C04FD93327")
  1457. IOldSyncMgrSynchronizeCallback : public IUnknown
  1458. {
  1459. public:
  1460. virtual HRESULT STDMETHODCALLTYPE Progress(
  1461. /* [in] */ REFSYNCMGRITEMID pItemID,
  1462. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem) = 0;
  1463. virtual HRESULT STDMETHODCALLTYPE PrepareForSyncCompleted(
  1464. HRESULT hr) = 0;
  1465. virtual HRESULT STDMETHODCALLTYPE SynchronizeCompleted(
  1466. HRESULT hr) = 0;
  1467. virtual HRESULT STDMETHODCALLTYPE EnableModeless(
  1468. /* [in] */ BOOL fEnable) = 0;
  1469. virtual HRESULT STDMETHODCALLTYPE LogError(
  1470. /* [in] */ DWORD dwErrorLevel,
  1471. /* [in] */ const WCHAR *lpcErrorText,
  1472. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError) = 0;
  1473. virtual HRESULT STDMETHODCALLTYPE DeleteLogError(
  1474. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1475. /* [in] */ DWORD dwReserved) = 0;
  1476. };
  1477. #else /* C style interface */
  1478. typedef struct IOldSyncMgrSynchronizeCallbackVtbl
  1479. {
  1480. BEGIN_INTERFACE
  1481. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1482. IOldSyncMgrSynchronizeCallback * This,
  1483. /* [in] */ REFIID riid,
  1484. /* [iid_is][out] */ void **ppvObject);
  1485. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1486. IOldSyncMgrSynchronizeCallback * This);
  1487. ULONG ( STDMETHODCALLTYPE *Release )(
  1488. IOldSyncMgrSynchronizeCallback * This);
  1489. HRESULT ( STDMETHODCALLTYPE *Progress )(
  1490. IOldSyncMgrSynchronizeCallback * This,
  1491. /* [in] */ REFSYNCMGRITEMID pItemID,
  1492. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
  1493. HRESULT ( STDMETHODCALLTYPE *PrepareForSyncCompleted )(
  1494. IOldSyncMgrSynchronizeCallback * This,
  1495. HRESULT hr);
  1496. HRESULT ( STDMETHODCALLTYPE *SynchronizeCompleted )(
  1497. IOldSyncMgrSynchronizeCallback * This,
  1498. HRESULT hr);
  1499. HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
  1500. IOldSyncMgrSynchronizeCallback * This,
  1501. /* [in] */ BOOL fEnable);
  1502. HRESULT ( STDMETHODCALLTYPE *LogError )(
  1503. IOldSyncMgrSynchronizeCallback * This,
  1504. /* [in] */ DWORD dwErrorLevel,
  1505. /* [in] */ const WCHAR *lpcErrorText,
  1506. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
  1507. HRESULT ( STDMETHODCALLTYPE *DeleteLogError )(
  1508. IOldSyncMgrSynchronizeCallback * This,
  1509. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1510. /* [in] */ DWORD dwReserved);
  1511. END_INTERFACE
  1512. } IOldSyncMgrSynchronizeCallbackVtbl;
  1513. interface IOldSyncMgrSynchronizeCallback
  1514. {
  1515. CONST_VTBL struct IOldSyncMgrSynchronizeCallbackVtbl *lpVtbl;
  1516. };
  1517. #ifdef COBJMACROS
  1518. #define IOldSyncMgrSynchronizeCallback_QueryInterface(This,riid,ppvObject) \
  1519. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1520. #define IOldSyncMgrSynchronizeCallback_AddRef(This) \
  1521. (This)->lpVtbl -> AddRef(This)
  1522. #define IOldSyncMgrSynchronizeCallback_Release(This) \
  1523. (This)->lpVtbl -> Release(This)
  1524. #define IOldSyncMgrSynchronizeCallback_Progress(This,pItemID,lpSyncProgressItem) \
  1525. (This)->lpVtbl -> Progress(This,pItemID,lpSyncProgressItem)
  1526. #define IOldSyncMgrSynchronizeCallback_PrepareForSyncCompleted(This,hr) \
  1527. (This)->lpVtbl -> PrepareForSyncCompleted(This,hr)
  1528. #define IOldSyncMgrSynchronizeCallback_SynchronizeCompleted(This,hr) \
  1529. (This)->lpVtbl -> SynchronizeCompleted(This,hr)
  1530. #define IOldSyncMgrSynchronizeCallback_EnableModeless(This,fEnable) \
  1531. (This)->lpVtbl -> EnableModeless(This,fEnable)
  1532. #define IOldSyncMgrSynchronizeCallback_LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError) \
  1533. (This)->lpVtbl -> LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError)
  1534. #define IOldSyncMgrSynchronizeCallback_DeleteLogError(This,ErrorID,dwReserved) \
  1535. (This)->lpVtbl -> DeleteLogError(This,ErrorID,dwReserved)
  1536. #endif /* COBJMACROS */
  1537. #endif /* C style interface */
  1538. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_Progress_Proxy(
  1539. IOldSyncMgrSynchronizeCallback * This,
  1540. /* [in] */ REFSYNCMGRITEMID pItemID,
  1541. /* [in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
  1542. void __RPC_STUB IOldSyncMgrSynchronizeCallback_Progress_Stub(
  1543. IRpcStubBuffer *This,
  1544. IRpcChannelBuffer *_pRpcChannelBuffer,
  1545. PRPC_MESSAGE _pRpcMessage,
  1546. DWORD *_pdwStubPhase);
  1547. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_PrepareForSyncCompleted_Proxy(
  1548. IOldSyncMgrSynchronizeCallback * This,
  1549. HRESULT hr);
  1550. void __RPC_STUB IOldSyncMgrSynchronizeCallback_PrepareForSyncCompleted_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_SynchronizeCompleted_Proxy(
  1556. IOldSyncMgrSynchronizeCallback * This,
  1557. HRESULT hr);
  1558. void __RPC_STUB IOldSyncMgrSynchronizeCallback_SynchronizeCompleted_Stub(
  1559. IRpcStubBuffer *This,
  1560. IRpcChannelBuffer *_pRpcChannelBuffer,
  1561. PRPC_MESSAGE _pRpcMessage,
  1562. DWORD *_pdwStubPhase);
  1563. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_EnableModeless_Proxy(
  1564. IOldSyncMgrSynchronizeCallback * This,
  1565. /* [in] */ BOOL fEnable);
  1566. void __RPC_STUB IOldSyncMgrSynchronizeCallback_EnableModeless_Stub(
  1567. IRpcStubBuffer *This,
  1568. IRpcChannelBuffer *_pRpcChannelBuffer,
  1569. PRPC_MESSAGE _pRpcMessage,
  1570. DWORD *_pdwStubPhase);
  1571. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_LogError_Proxy(
  1572. IOldSyncMgrSynchronizeCallback * This,
  1573. /* [in] */ DWORD dwErrorLevel,
  1574. /* [in] */ const WCHAR *lpcErrorText,
  1575. /* [in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
  1576. void __RPC_STUB IOldSyncMgrSynchronizeCallback_LogError_Stub(
  1577. IRpcStubBuffer *This,
  1578. IRpcChannelBuffer *_pRpcChannelBuffer,
  1579. PRPC_MESSAGE _pRpcMessage,
  1580. DWORD *_pdwStubPhase);
  1581. HRESULT STDMETHODCALLTYPE IOldSyncMgrSynchronizeCallback_DeleteLogError_Proxy(
  1582. IOldSyncMgrSynchronizeCallback * This,
  1583. /* [in] */ REFSYNCMGRERRORID ErrorID,
  1584. /* [in] */ DWORD dwReserved);
  1585. void __RPC_STUB IOldSyncMgrSynchronizeCallback_DeleteLogError_Stub(
  1586. IRpcStubBuffer *This,
  1587. IRpcChannelBuffer *_pRpcChannelBuffer,
  1588. PRPC_MESSAGE _pRpcMessage,
  1589. DWORD *_pdwStubPhase);
  1590. #endif /* __IOldSyncMgrSynchronizeCallback_INTERFACE_DEFINED__ */
  1591. #ifndef __IOldSyncMgrRegister_INTERFACE_DEFINED__
  1592. #define __IOldSyncMgrRegister_INTERFACE_DEFINED__
  1593. /* interface IOldSyncMgrRegister */
  1594. /* [unique][uuid][object][local] */
  1595. typedef /* [unique] */ IOldSyncMgrRegister *LPOLDSYNCMGRREGISTER;
  1596. EXTERN_C const IID IID_IOldSyncMgrRegister;
  1597. #if defined(__cplusplus) && !defined(CINTERFACE)
  1598. MIDL_INTERFACE("894D8C55-BDDF-11d1-B85D-00C04FB93981")
  1599. IOldSyncMgrRegister : public IUnknown
  1600. {
  1601. public:
  1602. virtual HRESULT STDMETHODCALLTYPE RegisterSyncMgrHandler(
  1603. /* [in] */ REFCLSID rclsidHandler,
  1604. /* [in] */ DWORD dwReserved) = 0;
  1605. virtual HRESULT STDMETHODCALLTYPE UnregisterSyncMgrHandler(
  1606. /* [in] */ REFCLSID rclsidHandler,
  1607. /* [in] */ DWORD dwReserved) = 0;
  1608. };
  1609. #else /* C style interface */
  1610. typedef struct IOldSyncMgrRegisterVtbl
  1611. {
  1612. BEGIN_INTERFACE
  1613. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1614. IOldSyncMgrRegister * This,
  1615. /* [in] */ REFIID riid,
  1616. /* [iid_is][out] */ void **ppvObject);
  1617. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1618. IOldSyncMgrRegister * This);
  1619. ULONG ( STDMETHODCALLTYPE *Release )(
  1620. IOldSyncMgrRegister * This);
  1621. HRESULT ( STDMETHODCALLTYPE *RegisterSyncMgrHandler )(
  1622. IOldSyncMgrRegister * This,
  1623. /* [in] */ REFCLSID rclsidHandler,
  1624. /* [in] */ DWORD dwReserved);
  1625. HRESULT ( STDMETHODCALLTYPE *UnregisterSyncMgrHandler )(
  1626. IOldSyncMgrRegister * This,
  1627. /* [in] */ REFCLSID rclsidHandler,
  1628. /* [in] */ DWORD dwReserved);
  1629. END_INTERFACE
  1630. } IOldSyncMgrRegisterVtbl;
  1631. interface IOldSyncMgrRegister
  1632. {
  1633. CONST_VTBL struct IOldSyncMgrRegisterVtbl *lpVtbl;
  1634. };
  1635. #ifdef COBJMACROS
  1636. #define IOldSyncMgrRegister_QueryInterface(This,riid,ppvObject) \
  1637. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1638. #define IOldSyncMgrRegister_AddRef(This) \
  1639. (This)->lpVtbl -> AddRef(This)
  1640. #define IOldSyncMgrRegister_Release(This) \
  1641. (This)->lpVtbl -> Release(This)
  1642. #define IOldSyncMgrRegister_RegisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
  1643. (This)->lpVtbl -> RegisterSyncMgrHandler(This,rclsidHandler,dwReserved)
  1644. #define IOldSyncMgrRegister_UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
  1645. (This)->lpVtbl -> UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved)
  1646. #endif /* COBJMACROS */
  1647. #endif /* C style interface */
  1648. HRESULT STDMETHODCALLTYPE IOldSyncMgrRegister_RegisterSyncMgrHandler_Proxy(
  1649. IOldSyncMgrRegister * This,
  1650. /* [in] */ REFCLSID rclsidHandler,
  1651. /* [in] */ DWORD dwReserved);
  1652. void __RPC_STUB IOldSyncMgrRegister_RegisterSyncMgrHandler_Stub(
  1653. IRpcStubBuffer *This,
  1654. IRpcChannelBuffer *_pRpcChannelBuffer,
  1655. PRPC_MESSAGE _pRpcMessage,
  1656. DWORD *_pdwStubPhase);
  1657. HRESULT STDMETHODCALLTYPE IOldSyncMgrRegister_UnregisterSyncMgrHandler_Proxy(
  1658. IOldSyncMgrRegister * This,
  1659. /* [in] */ REFCLSID rclsidHandler,
  1660. /* [in] */ DWORD dwReserved);
  1661. void __RPC_STUB IOldSyncMgrRegister_UnregisterSyncMgrHandler_Stub(
  1662. IRpcStubBuffer *This,
  1663. IRpcChannelBuffer *_pRpcChannelBuffer,
  1664. PRPC_MESSAGE _pRpcMessage,
  1665. DWORD *_pdwStubPhase);
  1666. #endif /* __IOldSyncMgrRegister_INTERFACE_DEFINED__ */
  1667. /* interface __MIDL_itf_mobsyncp_0165 */
  1668. /* [local] */
  1669. DEFINE_GUID(IID_ISyncMgrRegisterCSC,0x47681a61, 0xbc74, 0x11d2, 0xb5, 0xc5, 0x0, 0xc0, 0x4f, 0xb9, 0x39, 0x81);
  1670. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0165_v0_0_c_ifspec;
  1671. extern RPC_IF_HANDLE __MIDL_itf_mobsyncp_0165_v0_0_s_ifspec;
  1672. #ifndef __ISyncMgrRegisterCSC_INTERFACE_DEFINED__
  1673. #define __ISyncMgrRegisterCSC_INTERFACE_DEFINED__
  1674. /* interface ISyncMgrRegisterCSC */
  1675. /* [unique][uuid][object][local] */
  1676. typedef /* [unique] */ ISyncMgrRegisterCSC *LPSYNCMGRREGISTERCSC;
  1677. EXTERN_C const IID IID_ISyncMgrRegisterCSC;
  1678. #if defined(__cplusplus) && !defined(CINTERFACE)
  1679. MIDL_INTERFACE("47681A61-BC74-11d2-B5C5-00C04FB93981")
  1680. ISyncMgrRegisterCSC : public ISyncMgrRegister
  1681. {
  1682. public:
  1683. virtual HRESULT STDMETHODCALLTYPE GetUserRegisterFlags(
  1684. /* [out] */ LPDWORD pdwSyncMgrRegisterFlags) = 0;
  1685. virtual HRESULT STDMETHODCALLTYPE SetUserRegisterFlags(
  1686. /* [in] */ DWORD dwSyncMgrRegisterMask,
  1687. /* [in] */ DWORD dwSyncMgrRegisterFlags) = 0;
  1688. };
  1689. #else /* C style interface */
  1690. typedef struct ISyncMgrRegisterCSCVtbl
  1691. {
  1692. BEGIN_INTERFACE
  1693. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1694. ISyncMgrRegisterCSC * This,
  1695. /* [in] */ REFIID riid,
  1696. /* [iid_is][out] */ void **ppvObject);
  1697. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1698. ISyncMgrRegisterCSC * This);
  1699. ULONG ( STDMETHODCALLTYPE *Release )(
  1700. ISyncMgrRegisterCSC * This);
  1701. HRESULT ( STDMETHODCALLTYPE *RegisterSyncMgrHandler )(
  1702. ISyncMgrRegisterCSC * This,
  1703. /* [in] */ REFCLSID rclsidHandler,
  1704. /* [unique][in] */ LPCWSTR pwszDescription,
  1705. /* [in] */ DWORD dwSyncMgrRegisterFlags);
  1706. HRESULT ( STDMETHODCALLTYPE *UnregisterSyncMgrHandler )(
  1707. ISyncMgrRegisterCSC * This,
  1708. /* [in] */ REFCLSID rclsidHandler,
  1709. /* [in] */ DWORD dwReserved);
  1710. HRESULT ( STDMETHODCALLTYPE *GetHandlerRegistrationInfo )(
  1711. ISyncMgrRegisterCSC * This,
  1712. /* [in] */ REFCLSID rclsidHandler,
  1713. /* [out][in] */ LPDWORD pdwSyncMgrRegisterFlags);
  1714. HRESULT ( STDMETHODCALLTYPE *GetUserRegisterFlags )(
  1715. ISyncMgrRegisterCSC * This,
  1716. /* [out] */ LPDWORD pdwSyncMgrRegisterFlags);
  1717. HRESULT ( STDMETHODCALLTYPE *SetUserRegisterFlags )(
  1718. ISyncMgrRegisterCSC * This,
  1719. /* [in] */ DWORD dwSyncMgrRegisterMask,
  1720. /* [in] */ DWORD dwSyncMgrRegisterFlags);
  1721. END_INTERFACE
  1722. } ISyncMgrRegisterCSCVtbl;
  1723. interface ISyncMgrRegisterCSC
  1724. {
  1725. CONST_VTBL struct ISyncMgrRegisterCSCVtbl *lpVtbl;
  1726. };
  1727. #ifdef COBJMACROS
  1728. #define ISyncMgrRegisterCSC_QueryInterface(This,riid,ppvObject) \
  1729. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1730. #define ISyncMgrRegisterCSC_AddRef(This) \
  1731. (This)->lpVtbl -> AddRef(This)
  1732. #define ISyncMgrRegisterCSC_Release(This) \
  1733. (This)->lpVtbl -> Release(This)
  1734. #define ISyncMgrRegisterCSC_RegisterSyncMgrHandler(This,rclsidHandler,pwszDescription,dwSyncMgrRegisterFlags) \
  1735. (This)->lpVtbl -> RegisterSyncMgrHandler(This,rclsidHandler,pwszDescription,dwSyncMgrRegisterFlags)
  1736. #define ISyncMgrRegisterCSC_UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
  1737. (This)->lpVtbl -> UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved)
  1738. #define ISyncMgrRegisterCSC_GetHandlerRegistrationInfo(This,rclsidHandler,pdwSyncMgrRegisterFlags) \
  1739. (This)->lpVtbl -> GetHandlerRegistrationInfo(This,rclsidHandler,pdwSyncMgrRegisterFlags)
  1740. #define ISyncMgrRegisterCSC_GetUserRegisterFlags(This,pdwSyncMgrRegisterFlags) \
  1741. (This)->lpVtbl -> GetUserRegisterFlags(This,pdwSyncMgrRegisterFlags)
  1742. #define ISyncMgrRegisterCSC_SetUserRegisterFlags(This,dwSyncMgrRegisterMask,dwSyncMgrRegisterFlags) \
  1743. (This)->lpVtbl -> SetUserRegisterFlags(This,dwSyncMgrRegisterMask,dwSyncMgrRegisterFlags)
  1744. #endif /* COBJMACROS */
  1745. #endif /* C style interface */
  1746. HRESULT STDMETHODCALLTYPE ISyncMgrRegisterCSC_GetUserRegisterFlags_Proxy(
  1747. ISyncMgrRegisterCSC * This,
  1748. /* [out] */ LPDWORD pdwSyncMgrRegisterFlags);
  1749. void __RPC_STUB ISyncMgrRegisterCSC_GetUserRegisterFlags_Stub(
  1750. IRpcStubBuffer *This,
  1751. IRpcChannelBuffer *_pRpcChannelBuffer,
  1752. PRPC_MESSAGE _pRpcMessage,
  1753. DWORD *_pdwStubPhase);
  1754. HRESULT STDMETHODCALLTYPE ISyncMgrRegisterCSC_SetUserRegisterFlags_Proxy(
  1755. ISyncMgrRegisterCSC * This,
  1756. /* [in] */ DWORD dwSyncMgrRegisterMask,
  1757. /* [in] */ DWORD dwSyncMgrRegisterFlags);
  1758. void __RPC_STUB ISyncMgrRegisterCSC_SetUserRegisterFlags_Stub(
  1759. IRpcStubBuffer *This,
  1760. IRpcChannelBuffer *_pRpcChannelBuffer,
  1761. PRPC_MESSAGE _pRpcMessage,
  1762. DWORD *_pdwStubPhase);
  1763. #endif /* __ISyncMgrRegisterCSC_INTERFACE_DEFINED__ */
  1764. /* Additional Prototypes for ALL interfaces */
  1765. /* end of Additional Prototypes */
  1766. #ifdef __cplusplus
  1767. }
  1768. #endif
  1769. #endif