Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5640 lines
175 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  3. /* File created by MIDL compiler version 6.00.0334 */
  4. /* Compiler settings for dirsync.idl:
  5. Oicf, W1, Zp8, env=Win32 (32b run)
  6. protocol : dce , ms_ext, c_ext, robust
  7. error checks: allocation ref bounds_check enum stub_data
  8. VC __declspec() decoration level:
  9. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  10. DECLSPEC_UUID(), MIDL_INTERFACE()
  11. */
  12. //@@MIDL_FILE_HEADING( )
  13. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  14. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  15. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  16. #endif
  17. #include "rpc.h"
  18. #include "rpcndr.h"
  19. #ifndef __RPCNDR_H_VERSION__
  20. #error this stub requires an updated version of <rpcndr.h>
  21. #endif // __RPCNDR_H_VERSION__
  22. #ifndef COM_NO_WINDOWS_H
  23. #include "windows.h"
  24. #include "ole2.h"
  25. #endif /*COM_NO_WINDOWS_H*/
  26. #ifndef __dirsync_h__
  27. #define __dirsync_h__
  28. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  29. #pragma once
  30. #endif
  31. /* Forward Declarations */
  32. #ifndef __IDirsyncLog_FWD_DEFINED__
  33. #define __IDirsyncLog_FWD_DEFINED__
  34. typedef interface IDirsyncLog IDirsyncLog;
  35. #endif /* __IDirsyncLog_FWD_DEFINED__ */
  36. #ifndef __IDirsyncStatus_FWD_DEFINED__
  37. #define __IDirsyncStatus_FWD_DEFINED__
  38. typedef interface IDirsyncStatus IDirsyncStatus;
  39. #endif /* __IDirsyncStatus_FWD_DEFINED__ */
  40. #ifndef __IDirsyncDatabase_FWD_DEFINED__
  41. #define __IDirsyncDatabase_FWD_DEFINED__
  42. typedef interface IDirsyncDatabase IDirsyncDatabase;
  43. #endif /* __IDirsyncDatabase_FWD_DEFINED__ */
  44. #ifndef __IDirsyncDatabaseTable_FWD_DEFINED__
  45. #define __IDirsyncDatabaseTable_FWD_DEFINED__
  46. typedef interface IDirsyncDatabaseTable IDirsyncDatabaseTable;
  47. #endif /* __IDirsyncDatabaseTable_FWD_DEFINED__ */
  48. #ifndef __IEnumDirsyncSession_FWD_DEFINED__
  49. #define __IEnumDirsyncSession_FWD_DEFINED__
  50. typedef interface IEnumDirsyncSession IEnumDirsyncSession;
  51. #endif /* __IEnumDirsyncSession_FWD_DEFINED__ */
  52. #ifndef __IDirsyncSessionManager_FWD_DEFINED__
  53. #define __IDirsyncSessionManager_FWD_DEFINED__
  54. typedef interface IDirsyncSessionManager IDirsyncSessionManager;
  55. #endif /* __IDirsyncSessionManager_FWD_DEFINED__ */
  56. #ifndef __IDirsyncObjectMapper_FWD_DEFINED__
  57. #define __IDirsyncObjectMapper_FWD_DEFINED__
  58. typedef interface IDirsyncObjectMapper IDirsyncObjectMapper;
  59. #endif /* __IDirsyncObjectMapper_FWD_DEFINED__ */
  60. #ifndef __IEnumDirsyncFailedObjectList_FWD_DEFINED__
  61. #define __IEnumDirsyncFailedObjectList_FWD_DEFINED__
  62. typedef interface IEnumDirsyncFailedObjectList IEnumDirsyncFailedObjectList;
  63. #endif /* __IEnumDirsyncFailedObjectList_FWD_DEFINED__ */
  64. #ifndef __IDirsyncFailedObjectList_FWD_DEFINED__
  65. #define __IDirsyncFailedObjectList_FWD_DEFINED__
  66. typedef interface IDirsyncFailedObjectList IDirsyncFailedObjectList;
  67. #endif /* __IDirsyncFailedObjectList_FWD_DEFINED__ */
  68. #ifndef __IDirsyncNamespaceMapping_FWD_DEFINED__
  69. #define __IDirsyncNamespaceMapping_FWD_DEFINED__
  70. typedef interface IDirsyncNamespaceMapping IDirsyncNamespaceMapping;
  71. #endif /* __IDirsyncNamespaceMapping_FWD_DEFINED__ */
  72. #ifndef __IDirsyncSession_FWD_DEFINED__
  73. #define __IDirsyncSession_FWD_DEFINED__
  74. typedef interface IDirsyncSession IDirsyncSession;
  75. #endif /* __IDirsyncSession_FWD_DEFINED__ */
  76. #ifndef __IDirsyncSessionCallback_FWD_DEFINED__
  77. #define __IDirsyncSessionCallback_FWD_DEFINED__
  78. typedef interface IDirsyncSessionCallback IDirsyncSessionCallback;
  79. #endif /* __IDirsyncSessionCallback_FWD_DEFINED__ */
  80. #ifndef __IDirsyncWriteProvider_FWD_DEFINED__
  81. #define __IDirsyncWriteProvider_FWD_DEFINED__
  82. typedef interface IDirsyncWriteProvider IDirsyncWriteProvider;
  83. #endif /* __IDirsyncWriteProvider_FWD_DEFINED__ */
  84. #ifndef __IDirsyncServer_FWD_DEFINED__
  85. #define __IDirsyncServer_FWD_DEFINED__
  86. typedef interface IDirsyncServer IDirsyncServer;
  87. #endif /* __IDirsyncServer_FWD_DEFINED__ */
  88. #ifndef __IDirsyncReadProvider_FWD_DEFINED__
  89. #define __IDirsyncReadProvider_FWD_DEFINED__
  90. typedef interface IDirsyncReadProvider IDirsyncReadProvider;
  91. #endif /* __IDirsyncReadProvider_FWD_DEFINED__ */
  92. #ifndef __IDirsyncNamespaceMapper_FWD_DEFINED__
  93. #define __IDirsyncNamespaceMapper_FWD_DEFINED__
  94. typedef interface IDirsyncNamespaceMapper IDirsyncNamespaceMapper;
  95. #endif /* __IDirsyncNamespaceMapper_FWD_DEFINED__ */
  96. #ifndef __IDirsyncAttributeMapper_FWD_DEFINED__
  97. #define __IDirsyncAttributeMapper_FWD_DEFINED__
  98. typedef interface IDirsyncAttributeMapper IDirsyncAttributeMapper;
  99. #endif /* __IDirsyncAttributeMapper_FWD_DEFINED__ */
  100. #ifndef __DirsyncServer_FWD_DEFINED__
  101. #define __DirsyncServer_FWD_DEFINED__
  102. #ifdef __cplusplus
  103. typedef class DirsyncServer DirsyncServer;
  104. #else
  105. typedef struct DirsyncServer DirsyncServer;
  106. #endif /* __cplusplus */
  107. #endif /* __DirsyncServer_FWD_DEFINED__ */
  108. /* header files for imported files */
  109. #include "oaidl.h"
  110. #include "iads.h"
  111. #ifdef __cplusplus
  112. extern "C"{
  113. #endif
  114. void * __RPC_USER MIDL_user_allocate(size_t);
  115. void __RPC_USER MIDL_user_free( void * );
  116. /* interface __MIDL_itf_dirsync_0000 */
  117. /* [local] */
  118. #define MAX_SESSION ( 128 )
  119. #define SCHEDULE_SIZE ( 84 )
  120. #define LOG_NUM_VALUE ( 16 )
  121. typedef LPWSTR PWSTR;
  122. typedef CHAR *PCHAR;
  123. typedef BYTE *PBYTE;
  124. typedef struct _DirsyncDBValue
  125. {
  126. BYTE *pByte;
  127. DWORD dwLength;
  128. } DirsyncDBValue;
  129. typedef struct _DirsyncDBValue *PDirsyncDBValue;
  130. typedef
  131. enum _DBTYPE
  132. { DBTYPE_STRING = 0,
  133. DBTYPE_LONGSTRING = DBTYPE_STRING + 1,
  134. DBTYPE_GUID = DBTYPE_LONGSTRING + 1,
  135. DBTYPE_OCTETSTRING = DBTYPE_GUID + 1,
  136. DBTYPE_DWORD = DBTYPE_OCTETSTRING + 1,
  137. DBTYPE_BOOLEAN = DBTYPE_DWORD + 1
  138. } DBTYPE;
  139. typedef
  140. enum _UPDATETYPE
  141. { INSERT_ROW = 1,
  142. REPLACE_ROW = INSERT_ROW + 1
  143. } UPDATETYPE;
  144. typedef
  145. enum _RETRYTYPE
  146. { RT_NORETRY = 0,
  147. RT_SESSIONRETRY = RT_NORETRY + 1,
  148. RT_AUTORETRY = RT_SESSIONRETRY + 1
  149. } RETRYTYPE;
  150. typedef
  151. enum _SYNCDIRECTION
  152. { SYNC_FORWARD = 1,
  153. SYNC_REVERSE = SYNC_FORWARD + 1
  154. } SYNCDIRECTION;
  155. typedef
  156. enum _SYNCPROVIDER
  157. { SUBSCRIBER = 0,
  158. PUBLISHER = 1
  159. } SYNCPROVIDER;
  160. typedef
  161. enum _PROVIDERTYPE
  162. { READ_PROVIDER = 0,
  163. WRITE_PROVIDER = READ_PROVIDER + 1,
  164. READWRITE_PROVIDER = WRITE_PROVIDER + 1,
  165. OBJECT_MAPPER = READWRITE_PROVIDER + 1
  166. } PROVIDERTYPE;
  167. typedef
  168. enum _CUSTOMMAPPERTYPE
  169. { ATTRIBUTE_MAPPER = 0,
  170. NAMESPACE_MAPPER = ATTRIBUTE_MAPPER + 1
  171. } CUSTOMMAPPERTYPE;
  172. typedef
  173. enum _OBJECTACTION
  174. { OBJECT_ADD = 1,
  175. OBJECT_DELETE = OBJECT_ADD + 1,
  176. OBJECT_MOVE = OBJECT_DELETE + 1,
  177. OBJECT_MODIFY = OBJECT_MOVE + 1,
  178. OBJECT_UPDATE = OBJECT_MODIFY + 1,
  179. OBJECT_DELETE_RECURSIVE = OBJECT_UPDATE + 1
  180. } OBJECTACTION;
  181. typedef
  182. enum _ATTRACTION
  183. { ATTR_INVALID = 0,
  184. ATTR_REPLACE = ATTR_INVALID + 1,
  185. ATTR_APPEND = ATTR_REPLACE + 1,
  186. ATTR_DELETE = ATTR_APPEND + 1,
  187. ATTR_CLEAR = ATTR_DELETE + 1
  188. } ATTRACTION;
  189. typedef
  190. enum _ATTRTYPE
  191. { ATTR_TYPE_INVALID = 0,
  192. ATTR_TYPE_BINARY = ATTR_TYPE_INVALID + 1,
  193. ATTR_TYPE_UNICODE = ATTR_TYPE_BINARY + 1,
  194. ATTR_TYPE_DN = ATTR_TYPE_UNICODE + 1,
  195. ATTR_TYPE_INTEGER = ATTR_TYPE_DN + 1,
  196. ATTR_TYPE_LARGEINTEGER = ATTR_TYPE_INTEGER + 1,
  197. ATTR_TYPE_UTCTIME = ATTR_TYPE_LARGEINTEGER + 1,
  198. ATTR_TYPE_BOOLEAN = ATTR_TYPE_UTCTIME + 1,
  199. ATTR_TYPE_EMAIL = ATTR_TYPE_BOOLEAN + 1,
  200. ATTR_TYPE_POSTALADDRESS = ATTR_TYPE_EMAIL + 1,
  201. ATTR_TYPE_FAXNUMBER = ATTR_TYPE_POSTALADDRESS + 1
  202. } ATTRTYPE;
  203. typedef struct _BINVAL
  204. {
  205. DWORD dwLen;
  206. /* [size_is] */ PBYTE pVal;
  207. } BINVAL;
  208. typedef struct _BINVAL *PBINVAL;
  209. typedef struct _DIRSYNCVAL
  210. {
  211. /* [size_is] */ PBYTE pVal;
  212. DWORD dwLen;
  213. /* [size_is] */ PBYTE pObjectId;
  214. DWORD cbObjectId;
  215. } DIRSYNCVAL;
  216. typedef struct _DIRSYNCVAL *PDIRSYNCVAL;
  217. typedef struct _DIRSYNCATTRIBUTE
  218. {
  219. PWSTR pszName;
  220. ATTRTYPE attrType;
  221. ATTRACTION action;
  222. DWORD cVal;
  223. /* [size_is] */ PDIRSYNCVAL rgVal;
  224. } DIRSYNCATTRIBUTE;
  225. typedef struct _DIRSYNCATTRIBUTE *PDIRSYNCATTRIBUTE;
  226. typedef struct _DIRSYNCOBJECT
  227. {
  228. DWORD dwSize;
  229. PWSTR pszSourceDN;
  230. PWSTR pszTargetDN;
  231. PWSTR pszSourceOldDN;
  232. PWSTR pszTargetOldDN;
  233. PWSTR pszObjClass;
  234. /* [size_is] */ PBYTE pObjectId;
  235. DWORD cbObjectId;
  236. /* [size_is] */ PBYTE pTgtObjectId;
  237. DWORD cbTgtObjectId;
  238. /* [size_is] */ PBYTE pParentId;
  239. DWORD cbParentId;
  240. OBJECTACTION action;
  241. DWORD cAttr;
  242. /* [size_is] */ PDIRSYNCATTRIBUTE rgAttr;
  243. } DIRSYNCOBJECT;
  244. typedef struct _DIRSYNCOBJECT *PDIRSYNCOBJECT;
  245. typedef
  246. enum _PASSWORDTYPE
  247. { PT_SPECIFIED = 0,
  248. PT_USERNAME = PT_SPECIFIED + 1,
  249. PT_RANDOM = PT_USERNAME + 1,
  250. PASSWORDTYPE_BADVALUE = PT_RANDOM + 1
  251. } PASSWORDTYPE;
  252. typedef struct PASSWORDOPTIONS
  253. {
  254. PASSWORDTYPE passwordType;
  255. PWSTR pszPassword;
  256. } PASSWORDOPTIONS;
  257. typedef struct _FAILEDOBJECT
  258. {
  259. PWSTR pszID;
  260. PDIRSYNCOBJECT pObject;
  261. DWORD dwRetryCount;
  262. LARGE_INTEGER timeLastSync;
  263. HRESULT hrLastSync;
  264. BOOL fAutoRetry;
  265. SYNCDIRECTION syncDirection;
  266. } FAILEDOBJECT;
  267. typedef /* [allocate][allocate] */ struct _FAILEDOBJECT *PFAILEDOBJECT;
  268. typedef struct _SESSIONDATA
  269. {
  270. DWORD dwFields;
  271. PWSTR pszName;
  272. PWSTR pszComments;
  273. DWORD dwFlags;
  274. DWORD dwLogLevel;
  275. BYTE pScheduleForward[ 84 ];
  276. BYTE pScheduleReverse[ 84 ];
  277. PWSTR pszSourceDirType;
  278. PWSTR pszSourceServer;
  279. PWSTR pszSourceUserName;
  280. PWSTR pszSourcePassword;
  281. PWSTR pszSourceBase;
  282. DWORD dwSourceScope;
  283. PWSTR pszSourceFilter;
  284. PASSWORDOPTIONS SourcePwdOptions;
  285. PWSTR pszTargetDirType;
  286. PWSTR pszTargetServer;
  287. PWSTR pszTargetUserName;
  288. PWSTR pszTargetPassword;
  289. PWSTR pszTargetBase;
  290. DWORD dwTargetScope;
  291. PWSTR pszTargetFilter;
  292. PASSWORDOPTIONS TargetPwdOptions;
  293. BINVAL bvalMapForward;
  294. BINVAL bvalMapBackward;
  295. BINVAL bvalNamespaceMap;
  296. } SESSIONDATA;
  297. typedef struct _SESSIONDATA *PSESSIONDATA;
  298. typedef struct _GLOBAL_SESSIONID
  299. {
  300. PWSTR pszServer;
  301. DWORD dwID;
  302. } GLOBAL_SESSIONID;
  303. typedef struct _GLOBAL_SESSIONID *PGLOBAL_SESSIONID;
  304. typedef
  305. enum _LOGVALUETYPE
  306. { LOG_VALUETYPE_STRING = 0,
  307. LOG_VALUETYPE_INTEGER_10 = LOG_VALUETYPE_STRING + 1,
  308. LOG_VALUETYPE_INTEGER_16 = LOG_VALUETYPE_INTEGER_10 + 1,
  309. LOG_VALUETYPE_WIN32_ERROR = LOG_VALUETYPE_INTEGER_16 + 1,
  310. LOG_VALUETYPE_HRESULT = LOG_VALUETYPE_WIN32_ERROR + 1,
  311. LOG_VALUETYPE_GUID = LOG_VALUETYPE_HRESULT + 1,
  312. LOG_VALUETYPE_EXTENDED_ERROR = LOG_VALUETYPE_GUID + 1
  313. } LOGVALUETYPE;
  314. typedef struct _LOGVALUE
  315. {
  316. LOGVALUETYPE logValueType;
  317. union
  318. {
  319. PWSTR pszString;
  320. DWORD dwInteger10;
  321. DWORD dwInteger16;
  322. DWORD dwWin32Error;
  323. HRESULT hResult;
  324. LPGUID pGuid;
  325. } ;
  326. } LOGVALUE;
  327. typedef struct _LOGVALUE *PLOGVALUE;
  328. typedef struct _LOGPARAM
  329. {
  330. HANDLE hInstance;
  331. DWORD dwEventType;
  332. DWORD dwSessionId;
  333. DWORD dwMsgId;
  334. DWORD dwCount;
  335. LOGVALUE logValue[ 16 ];
  336. DWORD cbData;
  337. PBYTE pData;
  338. } LOGPARAM;
  339. typedef struct _LOGPARAM *PLOGPARAM;
  340. typedef struct COLLECTRPCDATA
  341. {
  342. long ObjectType;
  343. long dwInstances;
  344. long dwCounters;
  345. /* [size_is] */ PWSTR *rgpszInstanceName;
  346. long dwDataSize;
  347. /* [size_is] */ byte *pbData;
  348. } CollectRpcData;
  349. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0000_v0_0_c_ifspec;
  350. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0000_v0_0_s_ifspec;
  351. #ifndef __IDirsyncLog_INTERFACE_DEFINED__
  352. #define __IDirsyncLog_INTERFACE_DEFINED__
  353. /* interface IDirsyncLog */
  354. /* [unique][helpstring][uuid][local][object] */
  355. EXTERN_C const IID IID_IDirsyncLog;
  356. #if defined(__cplusplus) && !defined(CINTERFACE)
  357. MIDL_INTERFACE("1381ef2c-c28c-11d1-a407-00c04fb950dc")
  358. IDirsyncLog : public IUnknown
  359. {
  360. public:
  361. virtual HRESULT STDMETHODCALLTYPE SetLevel(
  362. /* [in] */ DWORD dwSessionID,
  363. /* [in] */ DWORD dwLogLevel) = 0;
  364. virtual HRESULT STDMETHODCALLTYPE GetLevel(
  365. /* [in] */ DWORD dwSessionID,
  366. /* [out] */ DWORD *pdwLogLevel) = 0;
  367. virtual HRESULT STDMETHODCALLTYPE RemoveLevel(
  368. /* [in] */ DWORD dwSessionID) = 0;
  369. virtual HRESULT STDMETHODCALLTYPE LogEvent(
  370. /* [in] */ HANDLE handle,
  371. /* [in] */ DWORD dwEventType,
  372. /* [in] */ DWORD dwSessionID,
  373. /* [in] */ DWORD dwMsgId,
  374. /* [in] */ DWORD dwNumStrings,
  375. /* [in] */ LPCWSTR *rgszMsgString,
  376. /* [in] */ DWORD dwDataSize,
  377. /* [in] */ PBYTE pRawData) = 0;
  378. virtual HRESULT STDMETHODCALLTYPE LogEventEx(
  379. /* [in] */ PLOGPARAM pLogParam) = 0;
  380. };
  381. #else /* C style interface */
  382. typedef struct IDirsyncLogVtbl
  383. {
  384. BEGIN_INTERFACE
  385. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  386. IDirsyncLog * This,
  387. /* [in] */ REFIID riid,
  388. /* [iid_is][out] */ void **ppvObject);
  389. ULONG ( STDMETHODCALLTYPE *AddRef )(
  390. IDirsyncLog * This);
  391. ULONG ( STDMETHODCALLTYPE *Release )(
  392. IDirsyncLog * This);
  393. HRESULT ( STDMETHODCALLTYPE *SetLevel )(
  394. IDirsyncLog * This,
  395. /* [in] */ DWORD dwSessionID,
  396. /* [in] */ DWORD dwLogLevel);
  397. HRESULT ( STDMETHODCALLTYPE *GetLevel )(
  398. IDirsyncLog * This,
  399. /* [in] */ DWORD dwSessionID,
  400. /* [out] */ DWORD *pdwLogLevel);
  401. HRESULT ( STDMETHODCALLTYPE *RemoveLevel )(
  402. IDirsyncLog * This,
  403. /* [in] */ DWORD dwSessionID);
  404. HRESULT ( STDMETHODCALLTYPE *LogEvent )(
  405. IDirsyncLog * This,
  406. /* [in] */ HANDLE handle,
  407. /* [in] */ DWORD dwEventType,
  408. /* [in] */ DWORD dwSessionID,
  409. /* [in] */ DWORD dwMsgId,
  410. /* [in] */ DWORD dwNumStrings,
  411. /* [in] */ LPCWSTR *rgszMsgString,
  412. /* [in] */ DWORD dwDataSize,
  413. /* [in] */ PBYTE pRawData);
  414. HRESULT ( STDMETHODCALLTYPE *LogEventEx )(
  415. IDirsyncLog * This,
  416. /* [in] */ PLOGPARAM pLogParam);
  417. END_INTERFACE
  418. } IDirsyncLogVtbl;
  419. interface IDirsyncLog
  420. {
  421. CONST_VTBL struct IDirsyncLogVtbl *lpVtbl;
  422. };
  423. #ifdef COBJMACROS
  424. #define IDirsyncLog_QueryInterface(This,riid,ppvObject) \
  425. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  426. #define IDirsyncLog_AddRef(This) \
  427. (This)->lpVtbl -> AddRef(This)
  428. #define IDirsyncLog_Release(This) \
  429. (This)->lpVtbl -> Release(This)
  430. #define IDirsyncLog_SetLevel(This,dwSessionID,dwLogLevel) \
  431. (This)->lpVtbl -> SetLevel(This,dwSessionID,dwLogLevel)
  432. #define IDirsyncLog_GetLevel(This,dwSessionID,pdwLogLevel) \
  433. (This)->lpVtbl -> GetLevel(This,dwSessionID,pdwLogLevel)
  434. #define IDirsyncLog_RemoveLevel(This,dwSessionID) \
  435. (This)->lpVtbl -> RemoveLevel(This,dwSessionID)
  436. #define IDirsyncLog_LogEvent(This,handle,dwEventType,dwSessionID,dwMsgId,dwNumStrings,rgszMsgString,dwDataSize,pRawData) \
  437. (This)->lpVtbl -> LogEvent(This,handle,dwEventType,dwSessionID,dwMsgId,dwNumStrings,rgszMsgString,dwDataSize,pRawData)
  438. #define IDirsyncLog_LogEventEx(This,pLogParam) \
  439. (This)->lpVtbl -> LogEventEx(This,pLogParam)
  440. #endif /* COBJMACROS */
  441. #endif /* C style interface */
  442. HRESULT STDMETHODCALLTYPE IDirsyncLog_SetLevel_Proxy(
  443. IDirsyncLog * This,
  444. /* [in] */ DWORD dwSessionID,
  445. /* [in] */ DWORD dwLogLevel);
  446. void __RPC_STUB IDirsyncLog_SetLevel_Stub(
  447. IRpcStubBuffer *This,
  448. IRpcChannelBuffer *_pRpcChannelBuffer,
  449. PRPC_MESSAGE _pRpcMessage,
  450. DWORD *_pdwStubPhase);
  451. HRESULT STDMETHODCALLTYPE IDirsyncLog_GetLevel_Proxy(
  452. IDirsyncLog * This,
  453. /* [in] */ DWORD dwSessionID,
  454. /* [out] */ DWORD *pdwLogLevel);
  455. void __RPC_STUB IDirsyncLog_GetLevel_Stub(
  456. IRpcStubBuffer *This,
  457. IRpcChannelBuffer *_pRpcChannelBuffer,
  458. PRPC_MESSAGE _pRpcMessage,
  459. DWORD *_pdwStubPhase);
  460. HRESULT STDMETHODCALLTYPE IDirsyncLog_RemoveLevel_Proxy(
  461. IDirsyncLog * This,
  462. /* [in] */ DWORD dwSessionID);
  463. void __RPC_STUB IDirsyncLog_RemoveLevel_Stub(
  464. IRpcStubBuffer *This,
  465. IRpcChannelBuffer *_pRpcChannelBuffer,
  466. PRPC_MESSAGE _pRpcMessage,
  467. DWORD *_pdwStubPhase);
  468. HRESULT STDMETHODCALLTYPE IDirsyncLog_LogEvent_Proxy(
  469. IDirsyncLog * This,
  470. /* [in] */ HANDLE handle,
  471. /* [in] */ DWORD dwEventType,
  472. /* [in] */ DWORD dwSessionID,
  473. /* [in] */ DWORD dwMsgId,
  474. /* [in] */ DWORD dwNumStrings,
  475. /* [in] */ LPCWSTR *rgszMsgString,
  476. /* [in] */ DWORD dwDataSize,
  477. /* [in] */ PBYTE pRawData);
  478. void __RPC_STUB IDirsyncLog_LogEvent_Stub(
  479. IRpcStubBuffer *This,
  480. IRpcChannelBuffer *_pRpcChannelBuffer,
  481. PRPC_MESSAGE _pRpcMessage,
  482. DWORD *_pdwStubPhase);
  483. HRESULT STDMETHODCALLTYPE IDirsyncLog_LogEventEx_Proxy(
  484. IDirsyncLog * This,
  485. /* [in] */ PLOGPARAM pLogParam);
  486. void __RPC_STUB IDirsyncLog_LogEventEx_Stub(
  487. IRpcStubBuffer *This,
  488. IRpcChannelBuffer *_pRpcChannelBuffer,
  489. PRPC_MESSAGE _pRpcMessage,
  490. DWORD *_pdwStubPhase);
  491. #endif /* __IDirsyncLog_INTERFACE_DEFINED__ */
  492. /* interface __MIDL_itf_dirsync_0107 */
  493. /* [local] */
  494. enum EventType
  495. { EVENTTYPE_ERROR = 1,
  496. EVENTTYPE_WARNING = 2,
  497. EVENTTYPE_INFORMATION = 3,
  498. EVENTTYPE_BASIC_TRACE = 4,
  499. EVENTTYPE_VERBOSE_TRACE = 5
  500. } ;
  501. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0107_v0_0_c_ifspec;
  502. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0107_v0_0_s_ifspec;
  503. #ifndef __IDirsyncStatus_INTERFACE_DEFINED__
  504. #define __IDirsyncStatus_INTERFACE_DEFINED__
  505. /* interface IDirsyncStatus */
  506. /* [unique][helpstring][uuid][object] */
  507. EXTERN_C const IID IID_IDirsyncStatus;
  508. #if defined(__cplusplus) && !defined(CINTERFACE)
  509. MIDL_INTERFACE("041a280a-1dd6-11d3-b63a-00c04f79f834")
  510. IDirsyncStatus : public IUnknown
  511. {
  512. public:
  513. virtual HRESULT STDMETHODCALLTYPE StatusUpdate(
  514. DWORD dwPercent,
  515. DWORD dwWarning,
  516. DWORD dwError) = 0;
  517. };
  518. #else /* C style interface */
  519. typedef struct IDirsyncStatusVtbl
  520. {
  521. BEGIN_INTERFACE
  522. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  523. IDirsyncStatus * This,
  524. /* [in] */ REFIID riid,
  525. /* [iid_is][out] */ void **ppvObject);
  526. ULONG ( STDMETHODCALLTYPE *AddRef )(
  527. IDirsyncStatus * This);
  528. ULONG ( STDMETHODCALLTYPE *Release )(
  529. IDirsyncStatus * This);
  530. HRESULT ( STDMETHODCALLTYPE *StatusUpdate )(
  531. IDirsyncStatus * This,
  532. DWORD dwPercent,
  533. DWORD dwWarning,
  534. DWORD dwError);
  535. END_INTERFACE
  536. } IDirsyncStatusVtbl;
  537. interface IDirsyncStatus
  538. {
  539. CONST_VTBL struct IDirsyncStatusVtbl *lpVtbl;
  540. };
  541. #ifdef COBJMACROS
  542. #define IDirsyncStatus_QueryInterface(This,riid,ppvObject) \
  543. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  544. #define IDirsyncStatus_AddRef(This) \
  545. (This)->lpVtbl -> AddRef(This)
  546. #define IDirsyncStatus_Release(This) \
  547. (This)->lpVtbl -> Release(This)
  548. #define IDirsyncStatus_StatusUpdate(This,dwPercent,dwWarning,dwError) \
  549. (This)->lpVtbl -> StatusUpdate(This,dwPercent,dwWarning,dwError)
  550. #endif /* COBJMACROS */
  551. #endif /* C style interface */
  552. HRESULT STDMETHODCALLTYPE IDirsyncStatus_StatusUpdate_Proxy(
  553. IDirsyncStatus * This,
  554. DWORD dwPercent,
  555. DWORD dwWarning,
  556. DWORD dwError);
  557. void __RPC_STUB IDirsyncStatus_StatusUpdate_Stub(
  558. IRpcStubBuffer *This,
  559. IRpcChannelBuffer *_pRpcChannelBuffer,
  560. PRPC_MESSAGE _pRpcMessage,
  561. DWORD *_pdwStubPhase);
  562. #endif /* __IDirsyncStatus_INTERFACE_DEFINED__ */
  563. /* interface __MIDL_itf_dirsync_0108 */
  564. /* [local] */
  565. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0108_v0_0_c_ifspec;
  566. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0108_v0_0_s_ifspec;
  567. #ifndef __IDirsyncDatabase_INTERFACE_DEFINED__
  568. #define __IDirsyncDatabase_INTERFACE_DEFINED__
  569. /* interface IDirsyncDatabase */
  570. /* [unique][helpstring][uuid][local][object] */
  571. EXTERN_C const IID IID_IDirsyncDatabase;
  572. #if defined(__cplusplus) && !defined(CINTERFACE)
  573. MIDL_INTERFACE("df83c5d6-3098-11d3-be6d-0000f87a369e")
  574. IDirsyncDatabase : public IUnknown
  575. {
  576. public:
  577. virtual HRESULT STDMETHODCALLTYPE AddTable(
  578. /* [in] */ PWSTR pszTableName,
  579. /* [retval][out] */ IDirsyncDatabaseTable **ppTable) = 0;
  580. virtual HRESULT STDMETHODCALLTYPE GetTable(
  581. /* [in] */ PWSTR pszTableName,
  582. /* [retval][out] */ IDirsyncDatabaseTable **ppTable) = 0;
  583. virtual HRESULT STDMETHODCALLTYPE DeleteTable(
  584. /* [in] */ PWSTR pszTableName) = 0;
  585. virtual HRESULT STDMETHODCALLTYPE BeginTransaction( void) = 0;
  586. virtual HRESULT STDMETHODCALLTYPE CommitTransaction( void) = 0;
  587. virtual HRESULT STDMETHODCALLTYPE AbortTransaction( void) = 0;
  588. virtual HRESULT STDMETHODCALLTYPE Backup(
  589. /* [in] */ PWSTR pszBackupPath) = 0;
  590. virtual HRESULT STDMETHODCALLTYPE Restore(
  591. /* [in] */ PWSTR pszBackupPath) = 0;
  592. };
  593. #else /* C style interface */
  594. typedef struct IDirsyncDatabaseVtbl
  595. {
  596. BEGIN_INTERFACE
  597. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  598. IDirsyncDatabase * This,
  599. /* [in] */ REFIID riid,
  600. /* [iid_is][out] */ void **ppvObject);
  601. ULONG ( STDMETHODCALLTYPE *AddRef )(
  602. IDirsyncDatabase * This);
  603. ULONG ( STDMETHODCALLTYPE *Release )(
  604. IDirsyncDatabase * This);
  605. HRESULT ( STDMETHODCALLTYPE *AddTable )(
  606. IDirsyncDatabase * This,
  607. /* [in] */ PWSTR pszTableName,
  608. /* [retval][out] */ IDirsyncDatabaseTable **ppTable);
  609. HRESULT ( STDMETHODCALLTYPE *GetTable )(
  610. IDirsyncDatabase * This,
  611. /* [in] */ PWSTR pszTableName,
  612. /* [retval][out] */ IDirsyncDatabaseTable **ppTable);
  613. HRESULT ( STDMETHODCALLTYPE *DeleteTable )(
  614. IDirsyncDatabase * This,
  615. /* [in] */ PWSTR pszTableName);
  616. HRESULT ( STDMETHODCALLTYPE *BeginTransaction )(
  617. IDirsyncDatabase * This);
  618. HRESULT ( STDMETHODCALLTYPE *CommitTransaction )(
  619. IDirsyncDatabase * This);
  620. HRESULT ( STDMETHODCALLTYPE *AbortTransaction )(
  621. IDirsyncDatabase * This);
  622. HRESULT ( STDMETHODCALLTYPE *Backup )(
  623. IDirsyncDatabase * This,
  624. /* [in] */ PWSTR pszBackupPath);
  625. HRESULT ( STDMETHODCALLTYPE *Restore )(
  626. IDirsyncDatabase * This,
  627. /* [in] */ PWSTR pszBackupPath);
  628. END_INTERFACE
  629. } IDirsyncDatabaseVtbl;
  630. interface IDirsyncDatabase
  631. {
  632. CONST_VTBL struct IDirsyncDatabaseVtbl *lpVtbl;
  633. };
  634. #ifdef COBJMACROS
  635. #define IDirsyncDatabase_QueryInterface(This,riid,ppvObject) \
  636. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  637. #define IDirsyncDatabase_AddRef(This) \
  638. (This)->lpVtbl -> AddRef(This)
  639. #define IDirsyncDatabase_Release(This) \
  640. (This)->lpVtbl -> Release(This)
  641. #define IDirsyncDatabase_AddTable(This,pszTableName,ppTable) \
  642. (This)->lpVtbl -> AddTable(This,pszTableName,ppTable)
  643. #define IDirsyncDatabase_GetTable(This,pszTableName,ppTable) \
  644. (This)->lpVtbl -> GetTable(This,pszTableName,ppTable)
  645. #define IDirsyncDatabase_DeleteTable(This,pszTableName) \
  646. (This)->lpVtbl -> DeleteTable(This,pszTableName)
  647. #define IDirsyncDatabase_BeginTransaction(This) \
  648. (This)->lpVtbl -> BeginTransaction(This)
  649. #define IDirsyncDatabase_CommitTransaction(This) \
  650. (This)->lpVtbl -> CommitTransaction(This)
  651. #define IDirsyncDatabase_AbortTransaction(This) \
  652. (This)->lpVtbl -> AbortTransaction(This)
  653. #define IDirsyncDatabase_Backup(This,pszBackupPath) \
  654. (This)->lpVtbl -> Backup(This,pszBackupPath)
  655. #define IDirsyncDatabase_Restore(This,pszBackupPath) \
  656. (This)->lpVtbl -> Restore(This,pszBackupPath)
  657. #endif /* COBJMACROS */
  658. #endif /* C style interface */
  659. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_AddTable_Proxy(
  660. IDirsyncDatabase * This,
  661. /* [in] */ PWSTR pszTableName,
  662. /* [retval][out] */ IDirsyncDatabaseTable **ppTable);
  663. void __RPC_STUB IDirsyncDatabase_AddTable_Stub(
  664. IRpcStubBuffer *This,
  665. IRpcChannelBuffer *_pRpcChannelBuffer,
  666. PRPC_MESSAGE _pRpcMessage,
  667. DWORD *_pdwStubPhase);
  668. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_GetTable_Proxy(
  669. IDirsyncDatabase * This,
  670. /* [in] */ PWSTR pszTableName,
  671. /* [retval][out] */ IDirsyncDatabaseTable **ppTable);
  672. void __RPC_STUB IDirsyncDatabase_GetTable_Stub(
  673. IRpcStubBuffer *This,
  674. IRpcChannelBuffer *_pRpcChannelBuffer,
  675. PRPC_MESSAGE _pRpcMessage,
  676. DWORD *_pdwStubPhase);
  677. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_DeleteTable_Proxy(
  678. IDirsyncDatabase * This,
  679. /* [in] */ PWSTR pszTableName);
  680. void __RPC_STUB IDirsyncDatabase_DeleteTable_Stub(
  681. IRpcStubBuffer *This,
  682. IRpcChannelBuffer *_pRpcChannelBuffer,
  683. PRPC_MESSAGE _pRpcMessage,
  684. DWORD *_pdwStubPhase);
  685. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_BeginTransaction_Proxy(
  686. IDirsyncDatabase * This);
  687. void __RPC_STUB IDirsyncDatabase_BeginTransaction_Stub(
  688. IRpcStubBuffer *This,
  689. IRpcChannelBuffer *_pRpcChannelBuffer,
  690. PRPC_MESSAGE _pRpcMessage,
  691. DWORD *_pdwStubPhase);
  692. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_CommitTransaction_Proxy(
  693. IDirsyncDatabase * This);
  694. void __RPC_STUB IDirsyncDatabase_CommitTransaction_Stub(
  695. IRpcStubBuffer *This,
  696. IRpcChannelBuffer *_pRpcChannelBuffer,
  697. PRPC_MESSAGE _pRpcMessage,
  698. DWORD *_pdwStubPhase);
  699. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_AbortTransaction_Proxy(
  700. IDirsyncDatabase * This);
  701. void __RPC_STUB IDirsyncDatabase_AbortTransaction_Stub(
  702. IRpcStubBuffer *This,
  703. IRpcChannelBuffer *_pRpcChannelBuffer,
  704. PRPC_MESSAGE _pRpcMessage,
  705. DWORD *_pdwStubPhase);
  706. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_Backup_Proxy(
  707. IDirsyncDatabase * This,
  708. /* [in] */ PWSTR pszBackupPath);
  709. void __RPC_STUB IDirsyncDatabase_Backup_Stub(
  710. IRpcStubBuffer *This,
  711. IRpcChannelBuffer *_pRpcChannelBuffer,
  712. PRPC_MESSAGE _pRpcMessage,
  713. DWORD *_pdwStubPhase);
  714. HRESULT STDMETHODCALLTYPE IDirsyncDatabase_Restore_Proxy(
  715. IDirsyncDatabase * This,
  716. /* [in] */ PWSTR pszBackupPath);
  717. void __RPC_STUB IDirsyncDatabase_Restore_Stub(
  718. IRpcStubBuffer *This,
  719. IRpcChannelBuffer *_pRpcChannelBuffer,
  720. PRPC_MESSAGE _pRpcMessage,
  721. DWORD *_pdwStubPhase);
  722. #endif /* __IDirsyncDatabase_INTERFACE_DEFINED__ */
  723. #ifndef __IDirsyncDatabaseTable_INTERFACE_DEFINED__
  724. #define __IDirsyncDatabaseTable_INTERFACE_DEFINED__
  725. /* interface IDirsyncDatabaseTable */
  726. /* [unique][helpstring][uuid][object] */
  727. EXTERN_C const IID IID_IDirsyncDatabaseTable;
  728. #if defined(__cplusplus) && !defined(CINTERFACE)
  729. MIDL_INTERFACE("da2dab58-3098-11d3-be6d-0000f87a369e")
  730. IDirsyncDatabaseTable : public IUnknown
  731. {
  732. public:
  733. virtual HRESULT STDMETHODCALLTYPE AddColumn(
  734. /* [in] */ DBTYPE dwType,
  735. /* [in] */ PWSTR pszColumnName) = 0;
  736. virtual HRESULT STDMETHODCALLTYPE AddIndex(
  737. /* [in] */ PWSTR pszColumnName,
  738. /* [in] */ PWSTR pszIndexName,
  739. /* [in] */ DWORD dwIndexType) = 0;
  740. virtual HRESULT STDMETHODCALLTYPE Seek(
  741. /* [in] */ PWSTR szIndexName,
  742. /* [in] */ PDirsyncDBValue pValue) = 0;
  743. virtual HRESULT STDMETHODCALLTYPE UpdateRow(
  744. /* [in] */ PWSTR *rgszColumnName,
  745. /* [in] */ PDirsyncDBValue rgValue,
  746. /* [in] */ UPDATETYPE prep) = 0;
  747. virtual HRESULT STDMETHODCALLTYPE RetrieveRow(
  748. /* [in] */ PWSTR *rgszColumnName,
  749. /* [retval][out] */ PDirsyncDBValue rgValue) = 0;
  750. virtual HRESULT STDMETHODCALLTYPE DeleteRow(
  751. /* [in] */ PWSTR pszIndexName,
  752. /* [in] */ PDirsyncDBValue pValue) = 0;
  753. virtual HRESULT STDMETHODCALLTYPE SetColumn(
  754. /* [in] */ PWSTR pszColumnName,
  755. /* [in] */ PDirsyncDBValue pValue) = 0;
  756. virtual HRESULT STDMETHODCALLTYPE Move(
  757. /* [in] */ DWORD dwOperation) = 0;
  758. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_RowCount(
  759. /* [retval][out] */ DWORD *pdwRowCount) = 0;
  760. };
  761. #else /* C style interface */
  762. typedef struct IDirsyncDatabaseTableVtbl
  763. {
  764. BEGIN_INTERFACE
  765. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  766. IDirsyncDatabaseTable * This,
  767. /* [in] */ REFIID riid,
  768. /* [iid_is][out] */ void **ppvObject);
  769. ULONG ( STDMETHODCALLTYPE *AddRef )(
  770. IDirsyncDatabaseTable * This);
  771. ULONG ( STDMETHODCALLTYPE *Release )(
  772. IDirsyncDatabaseTable * This);
  773. HRESULT ( STDMETHODCALLTYPE *AddColumn )(
  774. IDirsyncDatabaseTable * This,
  775. /* [in] */ DBTYPE dwType,
  776. /* [in] */ PWSTR pszColumnName);
  777. HRESULT ( STDMETHODCALLTYPE *AddIndex )(
  778. IDirsyncDatabaseTable * This,
  779. /* [in] */ PWSTR pszColumnName,
  780. /* [in] */ PWSTR pszIndexName,
  781. /* [in] */ DWORD dwIndexType);
  782. HRESULT ( STDMETHODCALLTYPE *Seek )(
  783. IDirsyncDatabaseTable * This,
  784. /* [in] */ PWSTR szIndexName,
  785. /* [in] */ PDirsyncDBValue pValue);
  786. HRESULT ( STDMETHODCALLTYPE *UpdateRow )(
  787. IDirsyncDatabaseTable * This,
  788. /* [in] */ PWSTR *rgszColumnName,
  789. /* [in] */ PDirsyncDBValue rgValue,
  790. /* [in] */ UPDATETYPE prep);
  791. HRESULT ( STDMETHODCALLTYPE *RetrieveRow )(
  792. IDirsyncDatabaseTable * This,
  793. /* [in] */ PWSTR *rgszColumnName,
  794. /* [retval][out] */ PDirsyncDBValue rgValue);
  795. HRESULT ( STDMETHODCALLTYPE *DeleteRow )(
  796. IDirsyncDatabaseTable * This,
  797. /* [in] */ PWSTR pszIndexName,
  798. /* [in] */ PDirsyncDBValue pValue);
  799. HRESULT ( STDMETHODCALLTYPE *SetColumn )(
  800. IDirsyncDatabaseTable * This,
  801. /* [in] */ PWSTR pszColumnName,
  802. /* [in] */ PDirsyncDBValue pValue);
  803. HRESULT ( STDMETHODCALLTYPE *Move )(
  804. IDirsyncDatabaseTable * This,
  805. /* [in] */ DWORD dwOperation);
  806. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_RowCount )(
  807. IDirsyncDatabaseTable * This,
  808. /* [retval][out] */ DWORD *pdwRowCount);
  809. END_INTERFACE
  810. } IDirsyncDatabaseTableVtbl;
  811. interface IDirsyncDatabaseTable
  812. {
  813. CONST_VTBL struct IDirsyncDatabaseTableVtbl *lpVtbl;
  814. };
  815. #ifdef COBJMACROS
  816. #define IDirsyncDatabaseTable_QueryInterface(This,riid,ppvObject) \
  817. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  818. #define IDirsyncDatabaseTable_AddRef(This) \
  819. (This)->lpVtbl -> AddRef(This)
  820. #define IDirsyncDatabaseTable_Release(This) \
  821. (This)->lpVtbl -> Release(This)
  822. #define IDirsyncDatabaseTable_AddColumn(This,dwType,pszColumnName) \
  823. (This)->lpVtbl -> AddColumn(This,dwType,pszColumnName)
  824. #define IDirsyncDatabaseTable_AddIndex(This,pszColumnName,pszIndexName,dwIndexType) \
  825. (This)->lpVtbl -> AddIndex(This,pszColumnName,pszIndexName,dwIndexType)
  826. #define IDirsyncDatabaseTable_Seek(This,szIndexName,pValue) \
  827. (This)->lpVtbl -> Seek(This,szIndexName,pValue)
  828. #define IDirsyncDatabaseTable_UpdateRow(This,rgszColumnName,rgValue,prep) \
  829. (This)->lpVtbl -> UpdateRow(This,rgszColumnName,rgValue,prep)
  830. #define IDirsyncDatabaseTable_RetrieveRow(This,rgszColumnName,rgValue) \
  831. (This)->lpVtbl -> RetrieveRow(This,rgszColumnName,rgValue)
  832. #define IDirsyncDatabaseTable_DeleteRow(This,pszIndexName,pValue) \
  833. (This)->lpVtbl -> DeleteRow(This,pszIndexName,pValue)
  834. #define IDirsyncDatabaseTable_SetColumn(This,pszColumnName,pValue) \
  835. (This)->lpVtbl -> SetColumn(This,pszColumnName,pValue)
  836. #define IDirsyncDatabaseTable_Move(This,dwOperation) \
  837. (This)->lpVtbl -> Move(This,dwOperation)
  838. #define IDirsyncDatabaseTable_get_RowCount(This,pdwRowCount) \
  839. (This)->lpVtbl -> get_RowCount(This,pdwRowCount)
  840. #endif /* COBJMACROS */
  841. #endif /* C style interface */
  842. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_AddColumn_Proxy(
  843. IDirsyncDatabaseTable * This,
  844. /* [in] */ DBTYPE dwType,
  845. /* [in] */ PWSTR pszColumnName);
  846. void __RPC_STUB IDirsyncDatabaseTable_AddColumn_Stub(
  847. IRpcStubBuffer *This,
  848. IRpcChannelBuffer *_pRpcChannelBuffer,
  849. PRPC_MESSAGE _pRpcMessage,
  850. DWORD *_pdwStubPhase);
  851. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_AddIndex_Proxy(
  852. IDirsyncDatabaseTable * This,
  853. /* [in] */ PWSTR pszColumnName,
  854. /* [in] */ PWSTR pszIndexName,
  855. /* [in] */ DWORD dwIndexType);
  856. void __RPC_STUB IDirsyncDatabaseTable_AddIndex_Stub(
  857. IRpcStubBuffer *This,
  858. IRpcChannelBuffer *_pRpcChannelBuffer,
  859. PRPC_MESSAGE _pRpcMessage,
  860. DWORD *_pdwStubPhase);
  861. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_Seek_Proxy(
  862. IDirsyncDatabaseTable * This,
  863. /* [in] */ PWSTR szIndexName,
  864. /* [in] */ PDirsyncDBValue pValue);
  865. void __RPC_STUB IDirsyncDatabaseTable_Seek_Stub(
  866. IRpcStubBuffer *This,
  867. IRpcChannelBuffer *_pRpcChannelBuffer,
  868. PRPC_MESSAGE _pRpcMessage,
  869. DWORD *_pdwStubPhase);
  870. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_UpdateRow_Proxy(
  871. IDirsyncDatabaseTable * This,
  872. /* [in] */ PWSTR *rgszColumnName,
  873. /* [in] */ PDirsyncDBValue rgValue,
  874. /* [in] */ UPDATETYPE prep);
  875. void __RPC_STUB IDirsyncDatabaseTable_UpdateRow_Stub(
  876. IRpcStubBuffer *This,
  877. IRpcChannelBuffer *_pRpcChannelBuffer,
  878. PRPC_MESSAGE _pRpcMessage,
  879. DWORD *_pdwStubPhase);
  880. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_RetrieveRow_Proxy(
  881. IDirsyncDatabaseTable * This,
  882. /* [in] */ PWSTR *rgszColumnName,
  883. /* [retval][out] */ PDirsyncDBValue rgValue);
  884. void __RPC_STUB IDirsyncDatabaseTable_RetrieveRow_Stub(
  885. IRpcStubBuffer *This,
  886. IRpcChannelBuffer *_pRpcChannelBuffer,
  887. PRPC_MESSAGE _pRpcMessage,
  888. DWORD *_pdwStubPhase);
  889. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_DeleteRow_Proxy(
  890. IDirsyncDatabaseTable * This,
  891. /* [in] */ PWSTR pszIndexName,
  892. /* [in] */ PDirsyncDBValue pValue);
  893. void __RPC_STUB IDirsyncDatabaseTable_DeleteRow_Stub(
  894. IRpcStubBuffer *This,
  895. IRpcChannelBuffer *_pRpcChannelBuffer,
  896. PRPC_MESSAGE _pRpcMessage,
  897. DWORD *_pdwStubPhase);
  898. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_SetColumn_Proxy(
  899. IDirsyncDatabaseTable * This,
  900. /* [in] */ PWSTR pszColumnName,
  901. /* [in] */ PDirsyncDBValue pValue);
  902. void __RPC_STUB IDirsyncDatabaseTable_SetColumn_Stub(
  903. IRpcStubBuffer *This,
  904. IRpcChannelBuffer *_pRpcChannelBuffer,
  905. PRPC_MESSAGE _pRpcMessage,
  906. DWORD *_pdwStubPhase);
  907. HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_Move_Proxy(
  908. IDirsyncDatabaseTable * This,
  909. /* [in] */ DWORD dwOperation);
  910. void __RPC_STUB IDirsyncDatabaseTable_Move_Stub(
  911. IRpcStubBuffer *This,
  912. IRpcChannelBuffer *_pRpcChannelBuffer,
  913. PRPC_MESSAGE _pRpcMessage,
  914. DWORD *_pdwStubPhase);
  915. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncDatabaseTable_get_RowCount_Proxy(
  916. IDirsyncDatabaseTable * This,
  917. /* [retval][out] */ DWORD *pdwRowCount);
  918. void __RPC_STUB IDirsyncDatabaseTable_get_RowCount_Stub(
  919. IRpcStubBuffer *This,
  920. IRpcChannelBuffer *_pRpcChannelBuffer,
  921. PRPC_MESSAGE _pRpcMessage,
  922. DWORD *_pdwStubPhase);
  923. #endif /* __IDirsyncDatabaseTable_INTERFACE_DEFINED__ */
  924. /* interface __MIDL_itf_dirsync_0110 */
  925. /* [local] */
  926. enum DatabaseMoveType
  927. { DB_MOVE_FIRST = 1,
  928. DB_MOVE_PREVIOUS = 2,
  929. DB_MOVE_NEXT = 3,
  930. DB_MOVE_LAST = 4
  931. } ;
  932. enum DatabaseIndexType
  933. { DB_INDEX_PRIMARY = 1,
  934. DB_INDEX_SECONDARY_UNIQUE = 2,
  935. DB_INDEX_SECONDARY_NOTUNIQUE = 3
  936. } ;
  937. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0110_v0_0_c_ifspec;
  938. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0110_v0_0_s_ifspec;
  939. #ifndef __IEnumDirsyncSession_INTERFACE_DEFINED__
  940. #define __IEnumDirsyncSession_INTERFACE_DEFINED__
  941. /* interface IEnumDirsyncSession */
  942. /* [unique][helpstring][uuid][object] */
  943. EXTERN_C const IID IID_IEnumDirsyncSession;
  944. #if defined(__cplusplus) && !defined(CINTERFACE)
  945. MIDL_INTERFACE("12ac92e2-ca83-11d1-a40e-00c04fb950dc")
  946. IEnumDirsyncSession : public IUnknown
  947. {
  948. public:
  949. virtual HRESULT STDMETHODCALLTYPE Next(
  950. /* [in] */ ULONG cSession,
  951. /* [length_is][size_is][out] */ IDirsyncSession *rgSession[ ],
  952. /* [out] */ ULONG *pcSessionFetched) = 0;
  953. virtual HRESULT STDMETHODCALLTYPE Clone(
  954. /* [retval][out] */ IEnumDirsyncSession **ppEnum) = 0;
  955. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  956. virtual HRESULT STDMETHODCALLTYPE Skip(
  957. /* [in] */ ULONG cSession) = 0;
  958. };
  959. #else /* C style interface */
  960. typedef struct IEnumDirsyncSessionVtbl
  961. {
  962. BEGIN_INTERFACE
  963. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  964. IEnumDirsyncSession * This,
  965. /* [in] */ REFIID riid,
  966. /* [iid_is][out] */ void **ppvObject);
  967. ULONG ( STDMETHODCALLTYPE *AddRef )(
  968. IEnumDirsyncSession * This);
  969. ULONG ( STDMETHODCALLTYPE *Release )(
  970. IEnumDirsyncSession * This);
  971. HRESULT ( STDMETHODCALLTYPE *Next )(
  972. IEnumDirsyncSession * This,
  973. /* [in] */ ULONG cSession,
  974. /* [length_is][size_is][out] */ IDirsyncSession *rgSession[ ],
  975. /* [out] */ ULONG *pcSessionFetched);
  976. HRESULT ( STDMETHODCALLTYPE *Clone )(
  977. IEnumDirsyncSession * This,
  978. /* [retval][out] */ IEnumDirsyncSession **ppEnum);
  979. HRESULT ( STDMETHODCALLTYPE *Reset )(
  980. IEnumDirsyncSession * This);
  981. HRESULT ( STDMETHODCALLTYPE *Skip )(
  982. IEnumDirsyncSession * This,
  983. /* [in] */ ULONG cSession);
  984. END_INTERFACE
  985. } IEnumDirsyncSessionVtbl;
  986. interface IEnumDirsyncSession
  987. {
  988. CONST_VTBL struct IEnumDirsyncSessionVtbl *lpVtbl;
  989. };
  990. #ifdef COBJMACROS
  991. #define IEnumDirsyncSession_QueryInterface(This,riid,ppvObject) \
  992. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  993. #define IEnumDirsyncSession_AddRef(This) \
  994. (This)->lpVtbl -> AddRef(This)
  995. #define IEnumDirsyncSession_Release(This) \
  996. (This)->lpVtbl -> Release(This)
  997. #define IEnumDirsyncSession_Next(This,cSession,rgSession,pcSessionFetched) \
  998. (This)->lpVtbl -> Next(This,cSession,rgSession,pcSessionFetched)
  999. #define IEnumDirsyncSession_Clone(This,ppEnum) \
  1000. (This)->lpVtbl -> Clone(This,ppEnum)
  1001. #define IEnumDirsyncSession_Reset(This) \
  1002. (This)->lpVtbl -> Reset(This)
  1003. #define IEnumDirsyncSession_Skip(This,cSession) \
  1004. (This)->lpVtbl -> Skip(This,cSession)
  1005. #endif /* COBJMACROS */
  1006. #endif /* C style interface */
  1007. HRESULT STDMETHODCALLTYPE IEnumDirsyncSession_Next_Proxy(
  1008. IEnumDirsyncSession * This,
  1009. /* [in] */ ULONG cSession,
  1010. /* [length_is][size_is][out] */ IDirsyncSession *rgSession[ ],
  1011. /* [out] */ ULONG *pcSessionFetched);
  1012. void __RPC_STUB IEnumDirsyncSession_Next_Stub(
  1013. IRpcStubBuffer *This,
  1014. IRpcChannelBuffer *_pRpcChannelBuffer,
  1015. PRPC_MESSAGE _pRpcMessage,
  1016. DWORD *_pdwStubPhase);
  1017. HRESULT STDMETHODCALLTYPE IEnumDirsyncSession_Clone_Proxy(
  1018. IEnumDirsyncSession * This,
  1019. /* [retval][out] */ IEnumDirsyncSession **ppEnum);
  1020. void __RPC_STUB IEnumDirsyncSession_Clone_Stub(
  1021. IRpcStubBuffer *This,
  1022. IRpcChannelBuffer *_pRpcChannelBuffer,
  1023. PRPC_MESSAGE _pRpcMessage,
  1024. DWORD *_pdwStubPhase);
  1025. HRESULT STDMETHODCALLTYPE IEnumDirsyncSession_Reset_Proxy(
  1026. IEnumDirsyncSession * This);
  1027. void __RPC_STUB IEnumDirsyncSession_Reset_Stub(
  1028. IRpcStubBuffer *This,
  1029. IRpcChannelBuffer *_pRpcChannelBuffer,
  1030. PRPC_MESSAGE _pRpcMessage,
  1031. DWORD *_pdwStubPhase);
  1032. HRESULT STDMETHODCALLTYPE IEnumDirsyncSession_Skip_Proxy(
  1033. IEnumDirsyncSession * This,
  1034. /* [in] */ ULONG cSession);
  1035. void __RPC_STUB IEnumDirsyncSession_Skip_Stub(
  1036. IRpcStubBuffer *This,
  1037. IRpcChannelBuffer *_pRpcChannelBuffer,
  1038. PRPC_MESSAGE _pRpcMessage,
  1039. DWORD *_pdwStubPhase);
  1040. #endif /* __IEnumDirsyncSession_INTERFACE_DEFINED__ */
  1041. /* interface __MIDL_itf_dirsync_0111 */
  1042. /* [local] */
  1043. //
  1044. // Bit fields for Flags property
  1045. //
  1046. #define DIRSYNC_PASSWORD_EXTRACT 0x00000001
  1047. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0111_v0_0_c_ifspec;
  1048. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0111_v0_0_s_ifspec;
  1049. #ifndef __IDirsyncSessionManager_INTERFACE_DEFINED__
  1050. #define __IDirsyncSessionManager_INTERFACE_DEFINED__
  1051. /* interface IDirsyncSessionManager */
  1052. /* [unique][helpstring][uuid][object] */
  1053. EXTERN_C const IID IID_IDirsyncSessionManager;
  1054. #if defined(__cplusplus) && !defined(CINTERFACE)
  1055. MIDL_INTERFACE("fc26ad44-c430-11d1-a407-00c04fb950dc")
  1056. IDirsyncSessionManager : public IUnknown
  1057. {
  1058. public:
  1059. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Server(
  1060. /* [retval][out] */ PWSTR *ppszServer) = 0;
  1061. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ServerGuid(
  1062. /* [retval][out] */ PWSTR *ppszServerGuid) = 0;
  1063. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Flags(
  1064. /* [retval][out] */ DWORD *pdwFlags) = 0;
  1065. virtual HRESULT STDMETHODCALLTYPE CreateSession(
  1066. /* [retval][out] */ IDirsyncSession **ppSession) = 0;
  1067. virtual HRESULT STDMETHODCALLTYPE GetSession(
  1068. /* [in] */ DWORD dwSessionId,
  1069. /* [retval][out] */ IDirsyncSession **ppSession) = 0;
  1070. virtual HRESULT STDMETHODCALLTYPE DeleteSession(
  1071. /* [in] */ DWORD dwSessionId) = 0;
  1072. virtual HRESULT STDMETHODCALLTYPE PauseSession(
  1073. /* [in] */ DWORD dwSessionId,
  1074. /* [in] */ BOOL fPause) = 0;
  1075. virtual HRESULT STDMETHODCALLTYPE GetSessionCount(
  1076. /* [retval][out] */ DWORD *pdwSessions) = 0;
  1077. virtual HRESULT STDMETHODCALLTYPE GetEnumInterface(
  1078. /* [in] */ BOOL fGlobal,
  1079. /* [retval][out] */ IEnumDirsyncSession **pEnumSession) = 0;
  1080. virtual HRESULT STDMETHODCALLTYPE ExecuteSession(
  1081. /* [in] */ DWORD dwSessionId,
  1082. /* [in] */ DWORD dwExecuteType,
  1083. /* [in] */ BOOL fFullSync,
  1084. /* [in] */ BOOL fSynchronous,
  1085. /* [in] */ IDirsyncStatus *pStatus) = 0;
  1086. virtual HRESULT STDMETHODCALLTYPE CancelSession(
  1087. /* [in] */ DWORD dwSessionId) = 0;
  1088. };
  1089. #else /* C style interface */
  1090. typedef struct IDirsyncSessionManagerVtbl
  1091. {
  1092. BEGIN_INTERFACE
  1093. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1094. IDirsyncSessionManager * This,
  1095. /* [in] */ REFIID riid,
  1096. /* [iid_is][out] */ void **ppvObject);
  1097. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1098. IDirsyncSessionManager * This);
  1099. ULONG ( STDMETHODCALLTYPE *Release )(
  1100. IDirsyncSessionManager * This);
  1101. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
  1102. IDirsyncSessionManager * This,
  1103. /* [retval][out] */ PWSTR *ppszServer);
  1104. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ServerGuid )(
  1105. IDirsyncSessionManager * This,
  1106. /* [retval][out] */ PWSTR *ppszServerGuid);
  1107. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Flags )(
  1108. IDirsyncSessionManager * This,
  1109. /* [retval][out] */ DWORD *pdwFlags);
  1110. HRESULT ( STDMETHODCALLTYPE *CreateSession )(
  1111. IDirsyncSessionManager * This,
  1112. /* [retval][out] */ IDirsyncSession **ppSession);
  1113. HRESULT ( STDMETHODCALLTYPE *GetSession )(
  1114. IDirsyncSessionManager * This,
  1115. /* [in] */ DWORD dwSessionId,
  1116. /* [retval][out] */ IDirsyncSession **ppSession);
  1117. HRESULT ( STDMETHODCALLTYPE *DeleteSession )(
  1118. IDirsyncSessionManager * This,
  1119. /* [in] */ DWORD dwSessionId);
  1120. HRESULT ( STDMETHODCALLTYPE *PauseSession )(
  1121. IDirsyncSessionManager * This,
  1122. /* [in] */ DWORD dwSessionId,
  1123. /* [in] */ BOOL fPause);
  1124. HRESULT ( STDMETHODCALLTYPE *GetSessionCount )(
  1125. IDirsyncSessionManager * This,
  1126. /* [retval][out] */ DWORD *pdwSessions);
  1127. HRESULT ( STDMETHODCALLTYPE *GetEnumInterface )(
  1128. IDirsyncSessionManager * This,
  1129. /* [in] */ BOOL fGlobal,
  1130. /* [retval][out] */ IEnumDirsyncSession **pEnumSession);
  1131. HRESULT ( STDMETHODCALLTYPE *ExecuteSession )(
  1132. IDirsyncSessionManager * This,
  1133. /* [in] */ DWORD dwSessionId,
  1134. /* [in] */ DWORD dwExecuteType,
  1135. /* [in] */ BOOL fFullSync,
  1136. /* [in] */ BOOL fSynchronous,
  1137. /* [in] */ IDirsyncStatus *pStatus);
  1138. HRESULT ( STDMETHODCALLTYPE *CancelSession )(
  1139. IDirsyncSessionManager * This,
  1140. /* [in] */ DWORD dwSessionId);
  1141. END_INTERFACE
  1142. } IDirsyncSessionManagerVtbl;
  1143. interface IDirsyncSessionManager
  1144. {
  1145. CONST_VTBL struct IDirsyncSessionManagerVtbl *lpVtbl;
  1146. };
  1147. #ifdef COBJMACROS
  1148. #define IDirsyncSessionManager_QueryInterface(This,riid,ppvObject) \
  1149. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1150. #define IDirsyncSessionManager_AddRef(This) \
  1151. (This)->lpVtbl -> AddRef(This)
  1152. #define IDirsyncSessionManager_Release(This) \
  1153. (This)->lpVtbl -> Release(This)
  1154. #define IDirsyncSessionManager_get_Server(This,ppszServer) \
  1155. (This)->lpVtbl -> get_Server(This,ppszServer)
  1156. #define IDirsyncSessionManager_get_ServerGuid(This,ppszServerGuid) \
  1157. (This)->lpVtbl -> get_ServerGuid(This,ppszServerGuid)
  1158. #define IDirsyncSessionManager_get_Flags(This,pdwFlags) \
  1159. (This)->lpVtbl -> get_Flags(This,pdwFlags)
  1160. #define IDirsyncSessionManager_CreateSession(This,ppSession) \
  1161. (This)->lpVtbl -> CreateSession(This,ppSession)
  1162. #define IDirsyncSessionManager_GetSession(This,dwSessionId,ppSession) \
  1163. (This)->lpVtbl -> GetSession(This,dwSessionId,ppSession)
  1164. #define IDirsyncSessionManager_DeleteSession(This,dwSessionId) \
  1165. (This)->lpVtbl -> DeleteSession(This,dwSessionId)
  1166. #define IDirsyncSessionManager_PauseSession(This,dwSessionId,fPause) \
  1167. (This)->lpVtbl -> PauseSession(This,dwSessionId,fPause)
  1168. #define IDirsyncSessionManager_GetSessionCount(This,pdwSessions) \
  1169. (This)->lpVtbl -> GetSessionCount(This,pdwSessions)
  1170. #define IDirsyncSessionManager_GetEnumInterface(This,fGlobal,pEnumSession) \
  1171. (This)->lpVtbl -> GetEnumInterface(This,fGlobal,pEnumSession)
  1172. #define IDirsyncSessionManager_ExecuteSession(This,dwSessionId,dwExecuteType,fFullSync,fSynchronous,pStatus) \
  1173. (This)->lpVtbl -> ExecuteSession(This,dwSessionId,dwExecuteType,fFullSync,fSynchronous,pStatus)
  1174. #define IDirsyncSessionManager_CancelSession(This,dwSessionId) \
  1175. (This)->lpVtbl -> CancelSession(This,dwSessionId)
  1176. #endif /* COBJMACROS */
  1177. #endif /* C style interface */
  1178. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_get_Server_Proxy(
  1179. IDirsyncSessionManager * This,
  1180. /* [retval][out] */ PWSTR *ppszServer);
  1181. void __RPC_STUB IDirsyncSessionManager_get_Server_Stub(
  1182. IRpcStubBuffer *This,
  1183. IRpcChannelBuffer *_pRpcChannelBuffer,
  1184. PRPC_MESSAGE _pRpcMessage,
  1185. DWORD *_pdwStubPhase);
  1186. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_get_ServerGuid_Proxy(
  1187. IDirsyncSessionManager * This,
  1188. /* [retval][out] */ PWSTR *ppszServerGuid);
  1189. void __RPC_STUB IDirsyncSessionManager_get_ServerGuid_Stub(
  1190. IRpcStubBuffer *This,
  1191. IRpcChannelBuffer *_pRpcChannelBuffer,
  1192. PRPC_MESSAGE _pRpcMessage,
  1193. DWORD *_pdwStubPhase);
  1194. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_get_Flags_Proxy(
  1195. IDirsyncSessionManager * This,
  1196. /* [retval][out] */ DWORD *pdwFlags);
  1197. void __RPC_STUB IDirsyncSessionManager_get_Flags_Stub(
  1198. IRpcStubBuffer *This,
  1199. IRpcChannelBuffer *_pRpcChannelBuffer,
  1200. PRPC_MESSAGE _pRpcMessage,
  1201. DWORD *_pdwStubPhase);
  1202. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_CreateSession_Proxy(
  1203. IDirsyncSessionManager * This,
  1204. /* [retval][out] */ IDirsyncSession **ppSession);
  1205. void __RPC_STUB IDirsyncSessionManager_CreateSession_Stub(
  1206. IRpcStubBuffer *This,
  1207. IRpcChannelBuffer *_pRpcChannelBuffer,
  1208. PRPC_MESSAGE _pRpcMessage,
  1209. DWORD *_pdwStubPhase);
  1210. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_GetSession_Proxy(
  1211. IDirsyncSessionManager * This,
  1212. /* [in] */ DWORD dwSessionId,
  1213. /* [retval][out] */ IDirsyncSession **ppSession);
  1214. void __RPC_STUB IDirsyncSessionManager_GetSession_Stub(
  1215. IRpcStubBuffer *This,
  1216. IRpcChannelBuffer *_pRpcChannelBuffer,
  1217. PRPC_MESSAGE _pRpcMessage,
  1218. DWORD *_pdwStubPhase);
  1219. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_DeleteSession_Proxy(
  1220. IDirsyncSessionManager * This,
  1221. /* [in] */ DWORD dwSessionId);
  1222. void __RPC_STUB IDirsyncSessionManager_DeleteSession_Stub(
  1223. IRpcStubBuffer *This,
  1224. IRpcChannelBuffer *_pRpcChannelBuffer,
  1225. PRPC_MESSAGE _pRpcMessage,
  1226. DWORD *_pdwStubPhase);
  1227. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_PauseSession_Proxy(
  1228. IDirsyncSessionManager * This,
  1229. /* [in] */ DWORD dwSessionId,
  1230. /* [in] */ BOOL fPause);
  1231. void __RPC_STUB IDirsyncSessionManager_PauseSession_Stub(
  1232. IRpcStubBuffer *This,
  1233. IRpcChannelBuffer *_pRpcChannelBuffer,
  1234. PRPC_MESSAGE _pRpcMessage,
  1235. DWORD *_pdwStubPhase);
  1236. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_GetSessionCount_Proxy(
  1237. IDirsyncSessionManager * This,
  1238. /* [retval][out] */ DWORD *pdwSessions);
  1239. void __RPC_STUB IDirsyncSessionManager_GetSessionCount_Stub(
  1240. IRpcStubBuffer *This,
  1241. IRpcChannelBuffer *_pRpcChannelBuffer,
  1242. PRPC_MESSAGE _pRpcMessage,
  1243. DWORD *_pdwStubPhase);
  1244. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_GetEnumInterface_Proxy(
  1245. IDirsyncSessionManager * This,
  1246. /* [in] */ BOOL fGlobal,
  1247. /* [retval][out] */ IEnumDirsyncSession **pEnumSession);
  1248. void __RPC_STUB IDirsyncSessionManager_GetEnumInterface_Stub(
  1249. IRpcStubBuffer *This,
  1250. IRpcChannelBuffer *_pRpcChannelBuffer,
  1251. PRPC_MESSAGE _pRpcMessage,
  1252. DWORD *_pdwStubPhase);
  1253. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_ExecuteSession_Proxy(
  1254. IDirsyncSessionManager * This,
  1255. /* [in] */ DWORD dwSessionId,
  1256. /* [in] */ DWORD dwExecuteType,
  1257. /* [in] */ BOOL fFullSync,
  1258. /* [in] */ BOOL fSynchronous,
  1259. /* [in] */ IDirsyncStatus *pStatus);
  1260. void __RPC_STUB IDirsyncSessionManager_ExecuteSession_Stub(
  1261. IRpcStubBuffer *This,
  1262. IRpcChannelBuffer *_pRpcChannelBuffer,
  1263. PRPC_MESSAGE _pRpcMessage,
  1264. DWORD *_pdwStubPhase);
  1265. HRESULT STDMETHODCALLTYPE IDirsyncSessionManager_CancelSession_Proxy(
  1266. IDirsyncSessionManager * This,
  1267. /* [in] */ DWORD dwSessionId);
  1268. void __RPC_STUB IDirsyncSessionManager_CancelSession_Stub(
  1269. IRpcStubBuffer *This,
  1270. IRpcChannelBuffer *_pRpcChannelBuffer,
  1271. PRPC_MESSAGE _pRpcMessage,
  1272. DWORD *_pdwStubPhase);
  1273. #endif /* __IDirsyncSessionManager_INTERFACE_DEFINED__ */
  1274. /* interface __MIDL_itf_dirsync_0112 */
  1275. /* [local] */
  1276. enum ExecutionType
  1277. { EXECUTESESSION_FORWARD = 1,
  1278. EXECUTESESSION_REVERSE = 2,
  1279. EXECUTESESSION_FORWARD_REVERSE = 3,
  1280. EXECUTESESSION_REVERSE_FORWARD = 4
  1281. } ;
  1282. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0112_v0_0_c_ifspec;
  1283. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0112_v0_0_s_ifspec;
  1284. #ifndef __IDirsyncObjectMapper_INTERFACE_DEFINED__
  1285. #define __IDirsyncObjectMapper_INTERFACE_DEFINED__
  1286. /* interface IDirsyncObjectMapper */
  1287. /* [unique][helpstring][uuid][local][object] */
  1288. EXTERN_C const IID IID_IDirsyncObjectMapper;
  1289. #if defined(__cplusplus) && !defined(CINTERFACE)
  1290. MIDL_INTERFACE("c5cf7e60-e91f-11d1-b40f-00c04fb950dc")
  1291. IDirsyncObjectMapper : public IUnknown
  1292. {
  1293. public:
  1294. virtual HRESULT STDMETHODCALLTYPE Initialize(
  1295. /* [in] */ IDirsyncSession *pSession,
  1296. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  1297. /* [in] */ IDirsyncSessionManager *pSessionManager,
  1298. /* [in] */ SYNCDIRECTION syncDirection,
  1299. /* [in] */ BOOL fFullSync) = 0;
  1300. virtual HRESULT STDMETHODCALLTYPE MapObject(
  1301. /* [out][in] */ PDIRSYNCOBJECT pObject,
  1302. /* [out][in] */ BOOL *pfMore) = 0;
  1303. virtual HRESULT STDMETHODCALLTYPE MapAttributeName(
  1304. /* [in] */ PWSTR pszClassIn,
  1305. /* [in] */ PWSTR pszAttrIn,
  1306. /* [out] */ PWSTR *ppszAttrOut,
  1307. /* [in] */ SYNCDIRECTION syncDirection) = 0;
  1308. virtual HRESULT STDMETHODCALLTYPE MapNamespace(
  1309. /* [in] */ PWSTR pszSourceDN,
  1310. /* [out] */ PWSTR *ppszTargetDN,
  1311. /* [in] */ PWSTR pszClassName,
  1312. /* [in] */ PWSTR pszAttrName) = 0;
  1313. virtual HRESULT STDMETHODCALLTYPE IsClassMappingValid(
  1314. /* [in] */ PWSTR pszClassSource,
  1315. /* [in] */ PWSTR pszClassTarget) = 0;
  1316. };
  1317. #else /* C style interface */
  1318. typedef struct IDirsyncObjectMapperVtbl
  1319. {
  1320. BEGIN_INTERFACE
  1321. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1322. IDirsyncObjectMapper * This,
  1323. /* [in] */ REFIID riid,
  1324. /* [iid_is][out] */ void **ppvObject);
  1325. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1326. IDirsyncObjectMapper * This);
  1327. ULONG ( STDMETHODCALLTYPE *Release )(
  1328. IDirsyncObjectMapper * This);
  1329. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  1330. IDirsyncObjectMapper * This,
  1331. /* [in] */ IDirsyncSession *pSession,
  1332. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  1333. /* [in] */ IDirsyncSessionManager *pSessionManager,
  1334. /* [in] */ SYNCDIRECTION syncDirection,
  1335. /* [in] */ BOOL fFullSync);
  1336. HRESULT ( STDMETHODCALLTYPE *MapObject )(
  1337. IDirsyncObjectMapper * This,
  1338. /* [out][in] */ PDIRSYNCOBJECT pObject,
  1339. /* [out][in] */ BOOL *pfMore);
  1340. HRESULT ( STDMETHODCALLTYPE *MapAttributeName )(
  1341. IDirsyncObjectMapper * This,
  1342. /* [in] */ PWSTR pszClassIn,
  1343. /* [in] */ PWSTR pszAttrIn,
  1344. /* [out] */ PWSTR *ppszAttrOut,
  1345. /* [in] */ SYNCDIRECTION syncDirection);
  1346. HRESULT ( STDMETHODCALLTYPE *MapNamespace )(
  1347. IDirsyncObjectMapper * This,
  1348. /* [in] */ PWSTR pszSourceDN,
  1349. /* [out] */ PWSTR *ppszTargetDN,
  1350. /* [in] */ PWSTR pszClassName,
  1351. /* [in] */ PWSTR pszAttrName);
  1352. HRESULT ( STDMETHODCALLTYPE *IsClassMappingValid )(
  1353. IDirsyncObjectMapper * This,
  1354. /* [in] */ PWSTR pszClassSource,
  1355. /* [in] */ PWSTR pszClassTarget);
  1356. END_INTERFACE
  1357. } IDirsyncObjectMapperVtbl;
  1358. interface IDirsyncObjectMapper
  1359. {
  1360. CONST_VTBL struct IDirsyncObjectMapperVtbl *lpVtbl;
  1361. };
  1362. #ifdef COBJMACROS
  1363. #define IDirsyncObjectMapper_QueryInterface(This,riid,ppvObject) \
  1364. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1365. #define IDirsyncObjectMapper_AddRef(This) \
  1366. (This)->lpVtbl -> AddRef(This)
  1367. #define IDirsyncObjectMapper_Release(This) \
  1368. (This)->lpVtbl -> Release(This)
  1369. #define IDirsyncObjectMapper_Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection,fFullSync) \
  1370. (This)->lpVtbl -> Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection,fFullSync)
  1371. #define IDirsyncObjectMapper_MapObject(This,pObject,pfMore) \
  1372. (This)->lpVtbl -> MapObject(This,pObject,pfMore)
  1373. #define IDirsyncObjectMapper_MapAttributeName(This,pszClassIn,pszAttrIn,ppszAttrOut,syncDirection) \
  1374. (This)->lpVtbl -> MapAttributeName(This,pszClassIn,pszAttrIn,ppszAttrOut,syncDirection)
  1375. #define IDirsyncObjectMapper_MapNamespace(This,pszSourceDN,ppszTargetDN,pszClassName,pszAttrName) \
  1376. (This)->lpVtbl -> MapNamespace(This,pszSourceDN,ppszTargetDN,pszClassName,pszAttrName)
  1377. #define IDirsyncObjectMapper_IsClassMappingValid(This,pszClassSource,pszClassTarget) \
  1378. (This)->lpVtbl -> IsClassMappingValid(This,pszClassSource,pszClassTarget)
  1379. #endif /* COBJMACROS */
  1380. #endif /* C style interface */
  1381. HRESULT STDMETHODCALLTYPE IDirsyncObjectMapper_Initialize_Proxy(
  1382. IDirsyncObjectMapper * This,
  1383. /* [in] */ IDirsyncSession *pSession,
  1384. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  1385. /* [in] */ IDirsyncSessionManager *pSessionManager,
  1386. /* [in] */ SYNCDIRECTION syncDirection,
  1387. /* [in] */ BOOL fFullSync);
  1388. void __RPC_STUB IDirsyncObjectMapper_Initialize_Stub(
  1389. IRpcStubBuffer *This,
  1390. IRpcChannelBuffer *_pRpcChannelBuffer,
  1391. PRPC_MESSAGE _pRpcMessage,
  1392. DWORD *_pdwStubPhase);
  1393. HRESULT STDMETHODCALLTYPE IDirsyncObjectMapper_MapObject_Proxy(
  1394. IDirsyncObjectMapper * This,
  1395. /* [out][in] */ PDIRSYNCOBJECT pObject,
  1396. /* [out][in] */ BOOL *pfMore);
  1397. void __RPC_STUB IDirsyncObjectMapper_MapObject_Stub(
  1398. IRpcStubBuffer *This,
  1399. IRpcChannelBuffer *_pRpcChannelBuffer,
  1400. PRPC_MESSAGE _pRpcMessage,
  1401. DWORD *_pdwStubPhase);
  1402. HRESULT STDMETHODCALLTYPE IDirsyncObjectMapper_MapAttributeName_Proxy(
  1403. IDirsyncObjectMapper * This,
  1404. /* [in] */ PWSTR pszClassIn,
  1405. /* [in] */ PWSTR pszAttrIn,
  1406. /* [out] */ PWSTR *ppszAttrOut,
  1407. /* [in] */ SYNCDIRECTION syncDirection);
  1408. void __RPC_STUB IDirsyncObjectMapper_MapAttributeName_Stub(
  1409. IRpcStubBuffer *This,
  1410. IRpcChannelBuffer *_pRpcChannelBuffer,
  1411. PRPC_MESSAGE _pRpcMessage,
  1412. DWORD *_pdwStubPhase);
  1413. HRESULT STDMETHODCALLTYPE IDirsyncObjectMapper_MapNamespace_Proxy(
  1414. IDirsyncObjectMapper * This,
  1415. /* [in] */ PWSTR pszSourceDN,
  1416. /* [out] */ PWSTR *ppszTargetDN,
  1417. /* [in] */ PWSTR pszClassName,
  1418. /* [in] */ PWSTR pszAttrName);
  1419. void __RPC_STUB IDirsyncObjectMapper_MapNamespace_Stub(
  1420. IRpcStubBuffer *This,
  1421. IRpcChannelBuffer *_pRpcChannelBuffer,
  1422. PRPC_MESSAGE _pRpcMessage,
  1423. DWORD *_pdwStubPhase);
  1424. HRESULT STDMETHODCALLTYPE IDirsyncObjectMapper_IsClassMappingValid_Proxy(
  1425. IDirsyncObjectMapper * This,
  1426. /* [in] */ PWSTR pszClassSource,
  1427. /* [in] */ PWSTR pszClassTarget);
  1428. void __RPC_STUB IDirsyncObjectMapper_IsClassMappingValid_Stub(
  1429. IRpcStubBuffer *This,
  1430. IRpcChannelBuffer *_pRpcChannelBuffer,
  1431. PRPC_MESSAGE _pRpcMessage,
  1432. DWORD *_pdwStubPhase);
  1433. #endif /* __IDirsyncObjectMapper_INTERFACE_DEFINED__ */
  1434. #ifndef __IEnumDirsyncFailedObjectList_INTERFACE_DEFINED__
  1435. #define __IEnumDirsyncFailedObjectList_INTERFACE_DEFINED__
  1436. /* interface IEnumDirsyncFailedObjectList */
  1437. /* [unique][helpstring][uuid][object] */
  1438. EXTERN_C const IID IID_IEnumDirsyncFailedObjectList;
  1439. #if defined(__cplusplus) && !defined(CINTERFACE)
  1440. MIDL_INTERFACE("a74c77a2-622b-11d2-9284-00c04f79f834")
  1441. IEnumDirsyncFailedObjectList : public IUnknown
  1442. {
  1443. public:
  1444. virtual HRESULT STDMETHODCALLTYPE Next(
  1445. /* [in] */ ULONG cFailedObjects,
  1446. /* [length_is][size_is][out] */ PFAILEDOBJECT rgpFailedObjects[ ],
  1447. /* [out] */ ULONG *pcFailedObjectsFetched) = 0;
  1448. virtual HRESULT STDMETHODCALLTYPE Clone(
  1449. /* [retval][out] */ IEnumDirsyncFailedObjectList **ppEnum) = 0;
  1450. virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
  1451. virtual HRESULT STDMETHODCALLTYPE Skip(
  1452. /* [in] */ ULONG cFailedObjects) = 0;
  1453. };
  1454. #else /* C style interface */
  1455. typedef struct IEnumDirsyncFailedObjectListVtbl
  1456. {
  1457. BEGIN_INTERFACE
  1458. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1459. IEnumDirsyncFailedObjectList * This,
  1460. /* [in] */ REFIID riid,
  1461. /* [iid_is][out] */ void **ppvObject);
  1462. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1463. IEnumDirsyncFailedObjectList * This);
  1464. ULONG ( STDMETHODCALLTYPE *Release )(
  1465. IEnumDirsyncFailedObjectList * This);
  1466. HRESULT ( STDMETHODCALLTYPE *Next )(
  1467. IEnumDirsyncFailedObjectList * This,
  1468. /* [in] */ ULONG cFailedObjects,
  1469. /* [length_is][size_is][out] */ PFAILEDOBJECT rgpFailedObjects[ ],
  1470. /* [out] */ ULONG *pcFailedObjectsFetched);
  1471. HRESULT ( STDMETHODCALLTYPE *Clone )(
  1472. IEnumDirsyncFailedObjectList * This,
  1473. /* [retval][out] */ IEnumDirsyncFailedObjectList **ppEnum);
  1474. HRESULT ( STDMETHODCALLTYPE *Reset )(
  1475. IEnumDirsyncFailedObjectList * This);
  1476. HRESULT ( STDMETHODCALLTYPE *Skip )(
  1477. IEnumDirsyncFailedObjectList * This,
  1478. /* [in] */ ULONG cFailedObjects);
  1479. END_INTERFACE
  1480. } IEnumDirsyncFailedObjectListVtbl;
  1481. interface IEnumDirsyncFailedObjectList
  1482. {
  1483. CONST_VTBL struct IEnumDirsyncFailedObjectListVtbl *lpVtbl;
  1484. };
  1485. #ifdef COBJMACROS
  1486. #define IEnumDirsyncFailedObjectList_QueryInterface(This,riid,ppvObject) \
  1487. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1488. #define IEnumDirsyncFailedObjectList_AddRef(This) \
  1489. (This)->lpVtbl -> AddRef(This)
  1490. #define IEnumDirsyncFailedObjectList_Release(This) \
  1491. (This)->lpVtbl -> Release(This)
  1492. #define IEnumDirsyncFailedObjectList_Next(This,cFailedObjects,rgpFailedObjects,pcFailedObjectsFetched) \
  1493. (This)->lpVtbl -> Next(This,cFailedObjects,rgpFailedObjects,pcFailedObjectsFetched)
  1494. #define IEnumDirsyncFailedObjectList_Clone(This,ppEnum) \
  1495. (This)->lpVtbl -> Clone(This,ppEnum)
  1496. #define IEnumDirsyncFailedObjectList_Reset(This) \
  1497. (This)->lpVtbl -> Reset(This)
  1498. #define IEnumDirsyncFailedObjectList_Skip(This,cFailedObjects) \
  1499. (This)->lpVtbl -> Skip(This,cFailedObjects)
  1500. #endif /* COBJMACROS */
  1501. #endif /* C style interface */
  1502. HRESULT STDMETHODCALLTYPE IEnumDirsyncFailedObjectList_Next_Proxy(
  1503. IEnumDirsyncFailedObjectList * This,
  1504. /* [in] */ ULONG cFailedObjects,
  1505. /* [length_is][size_is][out] */ PFAILEDOBJECT rgpFailedObjects[ ],
  1506. /* [out] */ ULONG *pcFailedObjectsFetched);
  1507. void __RPC_STUB IEnumDirsyncFailedObjectList_Next_Stub(
  1508. IRpcStubBuffer *This,
  1509. IRpcChannelBuffer *_pRpcChannelBuffer,
  1510. PRPC_MESSAGE _pRpcMessage,
  1511. DWORD *_pdwStubPhase);
  1512. HRESULT STDMETHODCALLTYPE IEnumDirsyncFailedObjectList_Clone_Proxy(
  1513. IEnumDirsyncFailedObjectList * This,
  1514. /* [retval][out] */ IEnumDirsyncFailedObjectList **ppEnum);
  1515. void __RPC_STUB IEnumDirsyncFailedObjectList_Clone_Stub(
  1516. IRpcStubBuffer *This,
  1517. IRpcChannelBuffer *_pRpcChannelBuffer,
  1518. PRPC_MESSAGE _pRpcMessage,
  1519. DWORD *_pdwStubPhase);
  1520. HRESULT STDMETHODCALLTYPE IEnumDirsyncFailedObjectList_Reset_Proxy(
  1521. IEnumDirsyncFailedObjectList * This);
  1522. void __RPC_STUB IEnumDirsyncFailedObjectList_Reset_Stub(
  1523. IRpcStubBuffer *This,
  1524. IRpcChannelBuffer *_pRpcChannelBuffer,
  1525. PRPC_MESSAGE _pRpcMessage,
  1526. DWORD *_pdwStubPhase);
  1527. HRESULT STDMETHODCALLTYPE IEnumDirsyncFailedObjectList_Skip_Proxy(
  1528. IEnumDirsyncFailedObjectList * This,
  1529. /* [in] */ ULONG cFailedObjects);
  1530. void __RPC_STUB IEnumDirsyncFailedObjectList_Skip_Stub(
  1531. IRpcStubBuffer *This,
  1532. IRpcChannelBuffer *_pRpcChannelBuffer,
  1533. PRPC_MESSAGE _pRpcMessage,
  1534. DWORD *_pdwStubPhase);
  1535. #endif /* __IEnumDirsyncFailedObjectList_INTERFACE_DEFINED__ */
  1536. #ifndef __IDirsyncFailedObjectList_INTERFACE_DEFINED__
  1537. #define __IDirsyncFailedObjectList_INTERFACE_DEFINED__
  1538. /* interface IDirsyncFailedObjectList */
  1539. /* [unique][helpstring][uuid][object] */
  1540. EXTERN_C const IID IID_IDirsyncFailedObjectList;
  1541. #if defined(__cplusplus) && !defined(CINTERFACE)
  1542. MIDL_INTERFACE("a16c0bcc-622b-11d2-9284-00c04f79f834")
  1543. IDirsyncFailedObjectList : public IUnknown
  1544. {
  1545. public:
  1546. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Count(
  1547. /* [retval][out] */ DWORD *pdwCount) = 0;
  1548. virtual HRESULT STDMETHODCALLTYPE GetObject(
  1549. /* [in] */ PWSTR pszID,
  1550. /* [retval][out] */ PFAILEDOBJECT *ppFailedObject) = 0;
  1551. virtual HRESULT STDMETHODCALLTYPE DeleteObject(
  1552. /* [in] */ PWSTR pszID) = 0;
  1553. virtual HRESULT STDMETHODCALLTYPE UpdateObject(
  1554. /* [in] */ PWSTR pszID,
  1555. /* [in] */ PFAILEDOBJECT pFailedObject) = 0;
  1556. virtual HRESULT STDMETHODCALLTYPE GetEnumInterface(
  1557. /* [retval][out] */ IEnumDirsyncFailedObjectList **pEnumFailedObject) = 0;
  1558. };
  1559. #else /* C style interface */
  1560. typedef struct IDirsyncFailedObjectListVtbl
  1561. {
  1562. BEGIN_INTERFACE
  1563. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1564. IDirsyncFailedObjectList * This,
  1565. /* [in] */ REFIID riid,
  1566. /* [iid_is][out] */ void **ppvObject);
  1567. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1568. IDirsyncFailedObjectList * This);
  1569. ULONG ( STDMETHODCALLTYPE *Release )(
  1570. IDirsyncFailedObjectList * This);
  1571. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
  1572. IDirsyncFailedObjectList * This,
  1573. /* [retval][out] */ DWORD *pdwCount);
  1574. HRESULT ( STDMETHODCALLTYPE *GetObject )(
  1575. IDirsyncFailedObjectList * This,
  1576. /* [in] */ PWSTR pszID,
  1577. /* [retval][out] */ PFAILEDOBJECT *ppFailedObject);
  1578. HRESULT ( STDMETHODCALLTYPE *DeleteObject )(
  1579. IDirsyncFailedObjectList * This,
  1580. /* [in] */ PWSTR pszID);
  1581. HRESULT ( STDMETHODCALLTYPE *UpdateObject )(
  1582. IDirsyncFailedObjectList * This,
  1583. /* [in] */ PWSTR pszID,
  1584. /* [in] */ PFAILEDOBJECT pFailedObject);
  1585. HRESULT ( STDMETHODCALLTYPE *GetEnumInterface )(
  1586. IDirsyncFailedObjectList * This,
  1587. /* [retval][out] */ IEnumDirsyncFailedObjectList **pEnumFailedObject);
  1588. END_INTERFACE
  1589. } IDirsyncFailedObjectListVtbl;
  1590. interface IDirsyncFailedObjectList
  1591. {
  1592. CONST_VTBL struct IDirsyncFailedObjectListVtbl *lpVtbl;
  1593. };
  1594. #ifdef COBJMACROS
  1595. #define IDirsyncFailedObjectList_QueryInterface(This,riid,ppvObject) \
  1596. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1597. #define IDirsyncFailedObjectList_AddRef(This) \
  1598. (This)->lpVtbl -> AddRef(This)
  1599. #define IDirsyncFailedObjectList_Release(This) \
  1600. (This)->lpVtbl -> Release(This)
  1601. #define IDirsyncFailedObjectList_get_Count(This,pdwCount) \
  1602. (This)->lpVtbl -> get_Count(This,pdwCount)
  1603. #define IDirsyncFailedObjectList_GetObject(This,pszID,ppFailedObject) \
  1604. (This)->lpVtbl -> GetObject(This,pszID,ppFailedObject)
  1605. #define IDirsyncFailedObjectList_DeleteObject(This,pszID) \
  1606. (This)->lpVtbl -> DeleteObject(This,pszID)
  1607. #define IDirsyncFailedObjectList_UpdateObject(This,pszID,pFailedObject) \
  1608. (This)->lpVtbl -> UpdateObject(This,pszID,pFailedObject)
  1609. #define IDirsyncFailedObjectList_GetEnumInterface(This,pEnumFailedObject) \
  1610. (This)->lpVtbl -> GetEnumInterface(This,pEnumFailedObject)
  1611. #endif /* COBJMACROS */
  1612. #endif /* C style interface */
  1613. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncFailedObjectList_get_Count_Proxy(
  1614. IDirsyncFailedObjectList * This,
  1615. /* [retval][out] */ DWORD *pdwCount);
  1616. void __RPC_STUB IDirsyncFailedObjectList_get_Count_Stub(
  1617. IRpcStubBuffer *This,
  1618. IRpcChannelBuffer *_pRpcChannelBuffer,
  1619. PRPC_MESSAGE _pRpcMessage,
  1620. DWORD *_pdwStubPhase);
  1621. HRESULT STDMETHODCALLTYPE IDirsyncFailedObjectList_GetObject_Proxy(
  1622. IDirsyncFailedObjectList * This,
  1623. /* [in] */ PWSTR pszID,
  1624. /* [retval][out] */ PFAILEDOBJECT *ppFailedObject);
  1625. void __RPC_STUB IDirsyncFailedObjectList_GetObject_Stub(
  1626. IRpcStubBuffer *This,
  1627. IRpcChannelBuffer *_pRpcChannelBuffer,
  1628. PRPC_MESSAGE _pRpcMessage,
  1629. DWORD *_pdwStubPhase);
  1630. HRESULT STDMETHODCALLTYPE IDirsyncFailedObjectList_DeleteObject_Proxy(
  1631. IDirsyncFailedObjectList * This,
  1632. /* [in] */ PWSTR pszID);
  1633. void __RPC_STUB IDirsyncFailedObjectList_DeleteObject_Stub(
  1634. IRpcStubBuffer *This,
  1635. IRpcChannelBuffer *_pRpcChannelBuffer,
  1636. PRPC_MESSAGE _pRpcMessage,
  1637. DWORD *_pdwStubPhase);
  1638. HRESULT STDMETHODCALLTYPE IDirsyncFailedObjectList_UpdateObject_Proxy(
  1639. IDirsyncFailedObjectList * This,
  1640. /* [in] */ PWSTR pszID,
  1641. /* [in] */ PFAILEDOBJECT pFailedObject);
  1642. void __RPC_STUB IDirsyncFailedObjectList_UpdateObject_Stub(
  1643. IRpcStubBuffer *This,
  1644. IRpcChannelBuffer *_pRpcChannelBuffer,
  1645. PRPC_MESSAGE _pRpcMessage,
  1646. DWORD *_pdwStubPhase);
  1647. HRESULT STDMETHODCALLTYPE IDirsyncFailedObjectList_GetEnumInterface_Proxy(
  1648. IDirsyncFailedObjectList * This,
  1649. /* [retval][out] */ IEnumDirsyncFailedObjectList **pEnumFailedObject);
  1650. void __RPC_STUB IDirsyncFailedObjectList_GetEnumInterface_Stub(
  1651. IRpcStubBuffer *This,
  1652. IRpcChannelBuffer *_pRpcChannelBuffer,
  1653. PRPC_MESSAGE _pRpcMessage,
  1654. DWORD *_pdwStubPhase);
  1655. #endif /* __IDirsyncFailedObjectList_INTERFACE_DEFINED__ */
  1656. /* interface __MIDL_itf_dirsync_0115 */
  1657. /* [local] */
  1658. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0115_v0_0_c_ifspec;
  1659. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0115_v0_0_s_ifspec;
  1660. #ifndef __IDirsyncNamespaceMapping_INTERFACE_DEFINED__
  1661. #define __IDirsyncNamespaceMapping_INTERFACE_DEFINED__
  1662. /* interface IDirsyncNamespaceMapping */
  1663. /* [unique][helpstring][uuid][object] */
  1664. EXTERN_C const IID IID_IDirsyncNamespaceMapping;
  1665. #if defined(__cplusplus) && !defined(CINTERFACE)
  1666. MIDL_INTERFACE("d5a63159-88e6-4a50-833d-77da95dcb327")
  1667. IDirsyncNamespaceMapping : public IUnknown
  1668. {
  1669. public:
  1670. virtual HRESULT STDMETHODCALLTYPE GetMappings(
  1671. /* [size_is][size_is][out] */ PWSTR **prgpszPublisher,
  1672. /* [size_is][size_is][out] */ PWSTR **prgpszSubscriber,
  1673. /* [out] */ DWORD *pdwCount) = 0;
  1674. virtual HRESULT STDMETHODCALLTYPE AddMappings(
  1675. /* [size_is][in] */ PWSTR *rgpszPublisher,
  1676. /* [size_is][in] */ PWSTR *rgpszSubscriber,
  1677. /* [in] */ DWORD dwCount) = 0;
  1678. virtual HRESULT STDMETHODCALLTYPE DeleteMapping(
  1679. /* [in] */ PWSTR pszPublisher,
  1680. /* [in] */ PWSTR pszSubscriber) = 0;
  1681. virtual HRESULT STDMETHODCALLTYPE LookupMapping(
  1682. /* [in] */ PWSTR pszSource,
  1683. /* [in] */ BOOL fPublisher,
  1684. /* [in] */ PWSTR *pszTarget) = 0;
  1685. virtual HRESULT STDMETHODCALLTYPE UpdateMapping(
  1686. /* [in] */ PWSTR pszPublisherOld,
  1687. /* [in] */ PWSTR pszSubscriberOld,
  1688. /* [in] */ PWSTR pszPublisher,
  1689. /* [in] */ PWSTR pszSubscriber) = 0;
  1690. virtual HRESULT STDMETHODCALLTYPE ClearMappings( void) = 0;
  1691. virtual HRESULT STDMETHODCALLTYPE Persist( void) = 0;
  1692. };
  1693. #else /* C style interface */
  1694. typedef struct IDirsyncNamespaceMappingVtbl
  1695. {
  1696. BEGIN_INTERFACE
  1697. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  1698. IDirsyncNamespaceMapping * This,
  1699. /* [in] */ REFIID riid,
  1700. /* [iid_is][out] */ void **ppvObject);
  1701. ULONG ( STDMETHODCALLTYPE *AddRef )(
  1702. IDirsyncNamespaceMapping * This);
  1703. ULONG ( STDMETHODCALLTYPE *Release )(
  1704. IDirsyncNamespaceMapping * This);
  1705. HRESULT ( STDMETHODCALLTYPE *GetMappings )(
  1706. IDirsyncNamespaceMapping * This,
  1707. /* [size_is][size_is][out] */ PWSTR **prgpszPublisher,
  1708. /* [size_is][size_is][out] */ PWSTR **prgpszSubscriber,
  1709. /* [out] */ DWORD *pdwCount);
  1710. HRESULT ( STDMETHODCALLTYPE *AddMappings )(
  1711. IDirsyncNamespaceMapping * This,
  1712. /* [size_is][in] */ PWSTR *rgpszPublisher,
  1713. /* [size_is][in] */ PWSTR *rgpszSubscriber,
  1714. /* [in] */ DWORD dwCount);
  1715. HRESULT ( STDMETHODCALLTYPE *DeleteMapping )(
  1716. IDirsyncNamespaceMapping * This,
  1717. /* [in] */ PWSTR pszPublisher,
  1718. /* [in] */ PWSTR pszSubscriber);
  1719. HRESULT ( STDMETHODCALLTYPE *LookupMapping )(
  1720. IDirsyncNamespaceMapping * This,
  1721. /* [in] */ PWSTR pszSource,
  1722. /* [in] */ BOOL fPublisher,
  1723. /* [in] */ PWSTR *pszTarget);
  1724. HRESULT ( STDMETHODCALLTYPE *UpdateMapping )(
  1725. IDirsyncNamespaceMapping * This,
  1726. /* [in] */ PWSTR pszPublisherOld,
  1727. /* [in] */ PWSTR pszSubscriberOld,
  1728. /* [in] */ PWSTR pszPublisher,
  1729. /* [in] */ PWSTR pszSubscriber);
  1730. HRESULT ( STDMETHODCALLTYPE *ClearMappings )(
  1731. IDirsyncNamespaceMapping * This);
  1732. HRESULT ( STDMETHODCALLTYPE *Persist )(
  1733. IDirsyncNamespaceMapping * This);
  1734. END_INTERFACE
  1735. } IDirsyncNamespaceMappingVtbl;
  1736. interface IDirsyncNamespaceMapping
  1737. {
  1738. CONST_VTBL struct IDirsyncNamespaceMappingVtbl *lpVtbl;
  1739. };
  1740. #ifdef COBJMACROS
  1741. #define IDirsyncNamespaceMapping_QueryInterface(This,riid,ppvObject) \
  1742. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1743. #define IDirsyncNamespaceMapping_AddRef(This) \
  1744. (This)->lpVtbl -> AddRef(This)
  1745. #define IDirsyncNamespaceMapping_Release(This) \
  1746. (This)->lpVtbl -> Release(This)
  1747. #define IDirsyncNamespaceMapping_GetMappings(This,prgpszPublisher,prgpszSubscriber,pdwCount) \
  1748. (This)->lpVtbl -> GetMappings(This,prgpszPublisher,prgpszSubscriber,pdwCount)
  1749. #define IDirsyncNamespaceMapping_AddMappings(This,rgpszPublisher,rgpszSubscriber,dwCount) \
  1750. (This)->lpVtbl -> AddMappings(This,rgpszPublisher,rgpszSubscriber,dwCount)
  1751. #define IDirsyncNamespaceMapping_DeleteMapping(This,pszPublisher,pszSubscriber) \
  1752. (This)->lpVtbl -> DeleteMapping(This,pszPublisher,pszSubscriber)
  1753. #define IDirsyncNamespaceMapping_LookupMapping(This,pszSource,fPublisher,pszTarget) \
  1754. (This)->lpVtbl -> LookupMapping(This,pszSource,fPublisher,pszTarget)
  1755. #define IDirsyncNamespaceMapping_UpdateMapping(This,pszPublisherOld,pszSubscriberOld,pszPublisher,pszSubscriber) \
  1756. (This)->lpVtbl -> UpdateMapping(This,pszPublisherOld,pszSubscriberOld,pszPublisher,pszSubscriber)
  1757. #define IDirsyncNamespaceMapping_ClearMappings(This) \
  1758. (This)->lpVtbl -> ClearMappings(This)
  1759. #define IDirsyncNamespaceMapping_Persist(This) \
  1760. (This)->lpVtbl -> Persist(This)
  1761. #endif /* COBJMACROS */
  1762. #endif /* C style interface */
  1763. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_GetMappings_Proxy(
  1764. IDirsyncNamespaceMapping * This,
  1765. /* [size_is][size_is][out] */ PWSTR **prgpszPublisher,
  1766. /* [size_is][size_is][out] */ PWSTR **prgpszSubscriber,
  1767. /* [out] */ DWORD *pdwCount);
  1768. void __RPC_STUB IDirsyncNamespaceMapping_GetMappings_Stub(
  1769. IRpcStubBuffer *This,
  1770. IRpcChannelBuffer *_pRpcChannelBuffer,
  1771. PRPC_MESSAGE _pRpcMessage,
  1772. DWORD *_pdwStubPhase);
  1773. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_AddMappings_Proxy(
  1774. IDirsyncNamespaceMapping * This,
  1775. /* [size_is][in] */ PWSTR *rgpszPublisher,
  1776. /* [size_is][in] */ PWSTR *rgpszSubscriber,
  1777. /* [in] */ DWORD dwCount);
  1778. void __RPC_STUB IDirsyncNamespaceMapping_AddMappings_Stub(
  1779. IRpcStubBuffer *This,
  1780. IRpcChannelBuffer *_pRpcChannelBuffer,
  1781. PRPC_MESSAGE _pRpcMessage,
  1782. DWORD *_pdwStubPhase);
  1783. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_DeleteMapping_Proxy(
  1784. IDirsyncNamespaceMapping * This,
  1785. /* [in] */ PWSTR pszPublisher,
  1786. /* [in] */ PWSTR pszSubscriber);
  1787. void __RPC_STUB IDirsyncNamespaceMapping_DeleteMapping_Stub(
  1788. IRpcStubBuffer *This,
  1789. IRpcChannelBuffer *_pRpcChannelBuffer,
  1790. PRPC_MESSAGE _pRpcMessage,
  1791. DWORD *_pdwStubPhase);
  1792. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_LookupMapping_Proxy(
  1793. IDirsyncNamespaceMapping * This,
  1794. /* [in] */ PWSTR pszSource,
  1795. /* [in] */ BOOL fPublisher,
  1796. /* [in] */ PWSTR *pszTarget);
  1797. void __RPC_STUB IDirsyncNamespaceMapping_LookupMapping_Stub(
  1798. IRpcStubBuffer *This,
  1799. IRpcChannelBuffer *_pRpcChannelBuffer,
  1800. PRPC_MESSAGE _pRpcMessage,
  1801. DWORD *_pdwStubPhase);
  1802. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_UpdateMapping_Proxy(
  1803. IDirsyncNamespaceMapping * This,
  1804. /* [in] */ PWSTR pszPublisherOld,
  1805. /* [in] */ PWSTR pszSubscriberOld,
  1806. /* [in] */ PWSTR pszPublisher,
  1807. /* [in] */ PWSTR pszSubscriber);
  1808. void __RPC_STUB IDirsyncNamespaceMapping_UpdateMapping_Stub(
  1809. IRpcStubBuffer *This,
  1810. IRpcChannelBuffer *_pRpcChannelBuffer,
  1811. PRPC_MESSAGE _pRpcMessage,
  1812. DWORD *_pdwStubPhase);
  1813. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_ClearMappings_Proxy(
  1814. IDirsyncNamespaceMapping * This);
  1815. void __RPC_STUB IDirsyncNamespaceMapping_ClearMappings_Stub(
  1816. IRpcStubBuffer *This,
  1817. IRpcChannelBuffer *_pRpcChannelBuffer,
  1818. PRPC_MESSAGE _pRpcMessage,
  1819. DWORD *_pdwStubPhase);
  1820. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapping_Persist_Proxy(
  1821. IDirsyncNamespaceMapping * This);
  1822. void __RPC_STUB IDirsyncNamespaceMapping_Persist_Stub(
  1823. IRpcStubBuffer *This,
  1824. IRpcChannelBuffer *_pRpcChannelBuffer,
  1825. PRPC_MESSAGE _pRpcMessage,
  1826. DWORD *_pdwStubPhase);
  1827. #endif /* __IDirsyncNamespaceMapping_INTERFACE_DEFINED__ */
  1828. /* interface __MIDL_itf_dirsync_0116 */
  1829. /* [local] */
  1830. //
  1831. // Bit fields
  1832. //
  1833. #define SESSION_NAME 0x00000001
  1834. #define SESSION_COMMENTS 0x00000002
  1835. #define SESSION_FLAGS 0x00000004
  1836. #define SESSION_LOGLEVEL 0x00000008
  1837. #define SESSION_SCHEDULE_FORWARD 0x00000010
  1838. #define SESSION_SCHEDULE_REVERSE 0x00000020
  1839. #define SESSION_SRCDIRTYPE 0x00000040
  1840. #define SESSION_SRCSERVER 0x00000080
  1841. #define SESSION_SRCUSERNAME 0x00000100
  1842. #define SESSION_SRCPASSWORD 0x00000200
  1843. #define SESSION_SRCBASE 0x00000400
  1844. #define SESSION_SRCSCOPE 0x00000800
  1845. #define SESSION_SRCFILTER 0x00001000
  1846. #define SESSION_SRCPASSWORDOPTIONS 0x00002000
  1847. #define SESSION_TGTDIRTYPE 0x00004000
  1848. #define SESSION_TGTSERVER 0x00008000
  1849. #define SESSION_TGTUSERNAME 0x00010000
  1850. #define SESSION_TGTPASSWORD 0x00020000
  1851. #define SESSION_TGTBASE 0x00040000
  1852. #define SESSION_TGTSCOPE 0x00080000
  1853. #define SESSION_TGTFILTER 0x00100000
  1854. #define SESSION_TGTPASSWORDOPTIONS 0x00200000
  1855. #define SESSION_MAPFORWARD 0x00400000
  1856. #define SESSION_MAPBACKWARD 0x00800000
  1857. #define SESSION_NAMESPACEMAP 0x01000000
  1858. #define SESSION_FINEGRAINSTATUS 0x02000000
  1859. //
  1860. // Session Status
  1861. //
  1862. #define SESSION_PAUSED 1
  1863. #define SESSION_IDLE 2
  1864. #define SESSION_IN_PROGRESS 3
  1865. //
  1866. // Session Flags
  1867. //
  1868. #define FLAG_FIXUP_SAMACCOUNTNAME_CONFLICT 0x00000001
  1869. #define FLAG_FAIL_DN_CONFLICT 0x00000002
  1870. #define FLAG_CUSTOM_NAMESPACE_MAPPING 0x00000004
  1871. #define FLAG_OBJECTS_HAVE_UNIQUE_ID 0x00000008
  1872. #define FLAG_PUBLISHER_ID_IS_INDEXED 0x00000010
  1873. #define FLAG_SUBSCRIBER_ID_IS_INDEXED 0x00000020
  1874. #define FLAG_INC_SYNC_NOT_AVAILABLE 0x00000040
  1875. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0116_v0_0_c_ifspec;
  1876. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0116_v0_0_s_ifspec;
  1877. #ifndef __IDirsyncSession_INTERFACE_DEFINED__
  1878. #define __IDirsyncSession_INTERFACE_DEFINED__
  1879. /* interface IDirsyncSession */
  1880. /* [unique][helpstring][uuid][object] */
  1881. EXTERN_C const IID IID_IDirsyncSession;
  1882. #if defined(__cplusplus) && !defined(CINTERFACE)
  1883. MIDL_INTERFACE("3d72b13e-c8ec-11d1-a40b-00c04fb950dc")
  1884. IDirsyncSession : public IUnknown
  1885. {
  1886. public:
  1887. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Name(
  1888. /* [retval][out] */ PWSTR *ppszName) = 0;
  1889. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Name(
  1890. /* [full][in] */ PWSTR pszName) = 0;
  1891. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Comments(
  1892. /* [retval][out] */ PWSTR *ppszComments) = 0;
  1893. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Comments(
  1894. /* [full][in] */ PWSTR pszComments) = 0;
  1895. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Flags(
  1896. /* [retval][out] */ DWORD *pdwFlags) = 0;
  1897. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_Flags(
  1898. /* [in] */ DWORD dwFlags) = 0;
  1899. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Status(
  1900. /* [retval][out] */ DWORD *pdwStatus) = 0;
  1901. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LogLevel(
  1902. /* [retval][out] */ DWORD *pdwLogLevel) = 0;
  1903. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_LogLevel(
  1904. /* [in] */ DWORD dwLogLevel) = 0;
  1905. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ID(
  1906. /* [retval][out] */ DWORD *pdwID) = 0;
  1907. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CreatedBy(
  1908. /* [retval][out] */ PWSTR *ppszCreatedBy) = 0;
  1909. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_CreationTime(
  1910. /* [retval][out] */ LARGE_INTEGER *pCreationTime) = 0;
  1911. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LastChangedBy(
  1912. /* [retval][out] */ PWSTR *ppszLastChangedBy) = 0;
  1913. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_LastChangeTime(
  1914. /* [retval][out] */ LARGE_INTEGER *pLastChangeTime) = 0;
  1915. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceDirType(
  1916. /* [retval][out] */ PWSTR *ppszSourceDirType) = 0;
  1917. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceDirType(
  1918. /* [full][in] */ PWSTR pszSourceDirType) = 0;
  1919. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceServer(
  1920. /* [retval][out] */ PWSTR *ppszSourceServer) = 0;
  1921. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceServer(
  1922. /* [full][in] */ PWSTR pszSourceServer) = 0;
  1923. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceUsername(
  1924. /* [retval][out] */ PWSTR *ppszSourceUsername) = 0;
  1925. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceUsername(
  1926. /* [full][in] */ PWSTR pszSourceUsername) = 0;
  1927. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourcePassword(
  1928. /* [retval][out] */ PWSTR *ppszSourcePassword) = 0;
  1929. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourcePassword(
  1930. /* [full][in] */ PWSTR pszSourcePassword) = 0;
  1931. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceBase(
  1932. /* [retval][out] */ PWSTR *ppszSourceBase) = 0;
  1933. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceBase(
  1934. /* [full][in] */ PWSTR pszSourceBase) = 0;
  1935. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceScope(
  1936. /* [retval][out] */ DWORD *pdwSourceScope) = 0;
  1937. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceScope(
  1938. /* [in] */ DWORD dwSourceScope) = 0;
  1939. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_SourceFilter(
  1940. /* [retval][out] */ PWSTR *ppszSourceFilter) = 0;
  1941. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_SourceFilter(
  1942. /* [full][in] */ PWSTR pszSourceFilter) = 0;
  1943. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetDirType(
  1944. /* [retval][out] */ PWSTR *ppszTargetDirType) = 0;
  1945. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetDirType(
  1946. /* [full][in] */ PWSTR pszTargetDirType) = 0;
  1947. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetServer(
  1948. /* [retval][out] */ PWSTR *ppszTargetServer) = 0;
  1949. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetServer(
  1950. /* [full][in] */ PWSTR pszTargetServer) = 0;
  1951. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetUsername(
  1952. /* [retval][out] */ PWSTR *ppszTargetUsername) = 0;
  1953. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetUsername(
  1954. /* [full][in] */ PWSTR pszTargetUsername) = 0;
  1955. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetPassword(
  1956. /* [retval][out] */ PWSTR *ppszTargetPassword) = 0;
  1957. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetPassword(
  1958. /* [full][in] */ PWSTR pszTargetPassword) = 0;
  1959. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetBase(
  1960. /* [retval][out] */ PWSTR *ppszTargetBase) = 0;
  1961. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetBase(
  1962. /* [full][in] */ PWSTR pszTargetBase) = 0;
  1963. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetScope(
  1964. /* [retval][out] */ DWORD *pdwTargetScope) = 0;
  1965. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetScope(
  1966. /* [in] */ DWORD dwTargetScope) = 0;
  1967. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_TargetFilter(
  1968. /* [retval][out] */ PWSTR *ppszTargetFilter) = 0;
  1969. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_TargetFilter(
  1970. /* [full][in] */ PWSTR pszTargetFilter) = 0;
  1971. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Server(
  1972. /* [retval][out] */ PWSTR *ppszServer) = 0;
  1973. virtual HRESULT STDMETHODCALLTYPE SetData(
  1974. /* [in] */ PSESSIONDATA pData) = 0;
  1975. virtual HRESULT STDMETHODCALLTYPE GetData(
  1976. /* [out] */ PSESSIONDATA *ppData) = 0;
  1977. virtual HRESULT STDMETHODCALLTYPE SetSchedule(
  1978. /* [in] */ SYNCDIRECTION syncDirection,
  1979. /* [in] */ BYTE schedule[ 84 ]) = 0;
  1980. virtual HRESULT STDMETHODCALLTYPE GetSchedule(
  1981. /* [in] */ SYNCDIRECTION syncDirection,
  1982. /* [out] */ BYTE schedule[ 84 ]) = 0;
  1983. virtual HRESULT STDMETHODCALLTYPE SetMap(
  1984. /* [in] */ SYNCDIRECTION syncDirection,
  1985. /* [size_is][in] */ PBYTE pByte,
  1986. /* [in] */ DWORD dwSize) = 0;
  1987. virtual HRESULT STDMETHODCALLTYPE GetMap(
  1988. /* [in] */ SYNCDIRECTION syncDirection,
  1989. /* [size_is][size_is][out] */ PBYTE *ppByte,
  1990. /* [out] */ DWORD *pdwSize) = 0;
  1991. virtual HRESULT STDMETHODCALLTYPE SetPasswordOptions(
  1992. /* [in] */ SYNCDIRECTION syncDirection,
  1993. /* [in] */ PASSWORDTYPE passwordType,
  1994. /* [in] */ PWSTR pszPassword) = 0;
  1995. virtual HRESULT STDMETHODCALLTYPE GetPasswordOptions(
  1996. /* [in] */ SYNCDIRECTION syncDirection,
  1997. /* [out] */ PASSWORDTYPE *pPasswordType,
  1998. /* [out] */ PWSTR *ppszPassword) = 0;
  1999. virtual HRESULT STDMETHODCALLTYPE Persist(
  2000. /* [in] */ BOOL fForce,
  2001. /* [size_is][size_is][full][out][in] */ PGLOBAL_SESSIONID *prgSessionID,
  2002. /* [full][out][in] */ DWORD *pdwSize) = 0;
  2003. virtual HRESULT STDMETHODCALLTYPE SetAuxData(
  2004. /* [size_is][in] */ PADS_ATTR_INFO pAttributeEntries,
  2005. /* [in] */ DWORD dwNumAttributes,
  2006. /* [out] */ DWORD *pdwNumAttributesModified) = 0;
  2007. virtual HRESULT STDMETHODCALLTYPE GetAuxData(
  2008. /* [size_is][in] */ PWSTR *pAttributeName,
  2009. /* [in] */ DWORD dwNumAttributes,
  2010. /* [size_is][size_is][out] */ PADS_ATTR_INFO *ppAttributeEntries,
  2011. /* [out] */ DWORD *pdwAttributesReturned) = 0;
  2012. virtual HRESULT STDMETHODCALLTYPE GetFailedObjectList(
  2013. /* [retval][out] */ IDirsyncFailedObjectList **pFailedObjectList) = 0;
  2014. virtual HRESULT STDMETHODCALLTYPE GetNamespaceMapping(
  2015. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping) = 0;
  2016. virtual HRESULT STDMETHODCALLTYPE GetRuntimeNamespaceMapping(
  2017. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping) = 0;
  2018. virtual HRESULT STDMETHODCALLTYPE IsClassMappingValid(
  2019. /* [in] */ PWSTR pszClassSource,
  2020. /* [in] */ PWSTR pszClassTarget) = 0;
  2021. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_ObjMapFilePath(
  2022. /* [retval][out] */ PWSTR *ppszObjMapFilePath) = 0;
  2023. virtual /* [propput] */ HRESULT STDMETHODCALLTYPE put_ObjMapFilePath(
  2024. /* [full][in] */ PWSTR pszObjMapFilePath) = 0;
  2025. virtual HRESULT STDMETHODCALLTYPE GetSyncStatus(
  2026. /* [out] */ DWORD *pdwPercent,
  2027. /* [out] */ DWORD *pdwWarning,
  2028. /* [out] */ DWORD *pdwError) = 0;
  2029. virtual HRESULT STDMETHODCALLTYPE UpdateTerminationStatus( void) = 0;
  2030. };
  2031. #else /* C style interface */
  2032. typedef struct IDirsyncSessionVtbl
  2033. {
  2034. BEGIN_INTERFACE
  2035. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2036. IDirsyncSession * This,
  2037. /* [in] */ REFIID riid,
  2038. /* [iid_is][out] */ void **ppvObject);
  2039. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2040. IDirsyncSession * This);
  2041. ULONG ( STDMETHODCALLTYPE *Release )(
  2042. IDirsyncSession * This);
  2043. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
  2044. IDirsyncSession * This,
  2045. /* [retval][out] */ PWSTR *ppszName);
  2046. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
  2047. IDirsyncSession * This,
  2048. /* [full][in] */ PWSTR pszName);
  2049. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Comments )(
  2050. IDirsyncSession * This,
  2051. /* [retval][out] */ PWSTR *ppszComments);
  2052. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Comments )(
  2053. IDirsyncSession * This,
  2054. /* [full][in] */ PWSTR pszComments);
  2055. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Flags )(
  2056. IDirsyncSession * This,
  2057. /* [retval][out] */ DWORD *pdwFlags);
  2058. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_Flags )(
  2059. IDirsyncSession * This,
  2060. /* [in] */ DWORD dwFlags);
  2061. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Status )(
  2062. IDirsyncSession * This,
  2063. /* [retval][out] */ DWORD *pdwStatus);
  2064. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LogLevel )(
  2065. IDirsyncSession * This,
  2066. /* [retval][out] */ DWORD *pdwLogLevel);
  2067. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_LogLevel )(
  2068. IDirsyncSession * This,
  2069. /* [in] */ DWORD dwLogLevel);
  2070. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ID )(
  2071. IDirsyncSession * This,
  2072. /* [retval][out] */ DWORD *pdwID);
  2073. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_CreatedBy )(
  2074. IDirsyncSession * This,
  2075. /* [retval][out] */ PWSTR *ppszCreatedBy);
  2076. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_CreationTime )(
  2077. IDirsyncSession * This,
  2078. /* [retval][out] */ LARGE_INTEGER *pCreationTime);
  2079. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastChangedBy )(
  2080. IDirsyncSession * This,
  2081. /* [retval][out] */ PWSTR *ppszLastChangedBy);
  2082. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastChangeTime )(
  2083. IDirsyncSession * This,
  2084. /* [retval][out] */ LARGE_INTEGER *pLastChangeTime);
  2085. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceDirType )(
  2086. IDirsyncSession * This,
  2087. /* [retval][out] */ PWSTR *ppszSourceDirType);
  2088. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceDirType )(
  2089. IDirsyncSession * This,
  2090. /* [full][in] */ PWSTR pszSourceDirType);
  2091. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceServer )(
  2092. IDirsyncSession * This,
  2093. /* [retval][out] */ PWSTR *ppszSourceServer);
  2094. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceServer )(
  2095. IDirsyncSession * This,
  2096. /* [full][in] */ PWSTR pszSourceServer);
  2097. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceUsername )(
  2098. IDirsyncSession * This,
  2099. /* [retval][out] */ PWSTR *ppszSourceUsername);
  2100. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceUsername )(
  2101. IDirsyncSession * This,
  2102. /* [full][in] */ PWSTR pszSourceUsername);
  2103. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourcePassword )(
  2104. IDirsyncSession * This,
  2105. /* [retval][out] */ PWSTR *ppszSourcePassword);
  2106. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourcePassword )(
  2107. IDirsyncSession * This,
  2108. /* [full][in] */ PWSTR pszSourcePassword);
  2109. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceBase )(
  2110. IDirsyncSession * This,
  2111. /* [retval][out] */ PWSTR *ppszSourceBase);
  2112. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceBase )(
  2113. IDirsyncSession * This,
  2114. /* [full][in] */ PWSTR pszSourceBase);
  2115. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceScope )(
  2116. IDirsyncSession * This,
  2117. /* [retval][out] */ DWORD *pdwSourceScope);
  2118. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceScope )(
  2119. IDirsyncSession * This,
  2120. /* [in] */ DWORD dwSourceScope);
  2121. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_SourceFilter )(
  2122. IDirsyncSession * This,
  2123. /* [retval][out] */ PWSTR *ppszSourceFilter);
  2124. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_SourceFilter )(
  2125. IDirsyncSession * This,
  2126. /* [full][in] */ PWSTR pszSourceFilter);
  2127. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetDirType )(
  2128. IDirsyncSession * This,
  2129. /* [retval][out] */ PWSTR *ppszTargetDirType);
  2130. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetDirType )(
  2131. IDirsyncSession * This,
  2132. /* [full][in] */ PWSTR pszTargetDirType);
  2133. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetServer )(
  2134. IDirsyncSession * This,
  2135. /* [retval][out] */ PWSTR *ppszTargetServer);
  2136. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetServer )(
  2137. IDirsyncSession * This,
  2138. /* [full][in] */ PWSTR pszTargetServer);
  2139. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetUsername )(
  2140. IDirsyncSession * This,
  2141. /* [retval][out] */ PWSTR *ppszTargetUsername);
  2142. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetUsername )(
  2143. IDirsyncSession * This,
  2144. /* [full][in] */ PWSTR pszTargetUsername);
  2145. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetPassword )(
  2146. IDirsyncSession * This,
  2147. /* [retval][out] */ PWSTR *ppszTargetPassword);
  2148. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetPassword )(
  2149. IDirsyncSession * This,
  2150. /* [full][in] */ PWSTR pszTargetPassword);
  2151. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetBase )(
  2152. IDirsyncSession * This,
  2153. /* [retval][out] */ PWSTR *ppszTargetBase);
  2154. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetBase )(
  2155. IDirsyncSession * This,
  2156. /* [full][in] */ PWSTR pszTargetBase);
  2157. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetScope )(
  2158. IDirsyncSession * This,
  2159. /* [retval][out] */ DWORD *pdwTargetScope);
  2160. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetScope )(
  2161. IDirsyncSession * This,
  2162. /* [in] */ DWORD dwTargetScope);
  2163. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetFilter )(
  2164. IDirsyncSession * This,
  2165. /* [retval][out] */ PWSTR *ppszTargetFilter);
  2166. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_TargetFilter )(
  2167. IDirsyncSession * This,
  2168. /* [full][in] */ PWSTR pszTargetFilter);
  2169. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
  2170. IDirsyncSession * This,
  2171. /* [retval][out] */ PWSTR *ppszServer);
  2172. HRESULT ( STDMETHODCALLTYPE *SetData )(
  2173. IDirsyncSession * This,
  2174. /* [in] */ PSESSIONDATA pData);
  2175. HRESULT ( STDMETHODCALLTYPE *GetData )(
  2176. IDirsyncSession * This,
  2177. /* [out] */ PSESSIONDATA *ppData);
  2178. HRESULT ( STDMETHODCALLTYPE *SetSchedule )(
  2179. IDirsyncSession * This,
  2180. /* [in] */ SYNCDIRECTION syncDirection,
  2181. /* [in] */ BYTE schedule[ 84 ]);
  2182. HRESULT ( STDMETHODCALLTYPE *GetSchedule )(
  2183. IDirsyncSession * This,
  2184. /* [in] */ SYNCDIRECTION syncDirection,
  2185. /* [out] */ BYTE schedule[ 84 ]);
  2186. HRESULT ( STDMETHODCALLTYPE *SetMap )(
  2187. IDirsyncSession * This,
  2188. /* [in] */ SYNCDIRECTION syncDirection,
  2189. /* [size_is][in] */ PBYTE pByte,
  2190. /* [in] */ DWORD dwSize);
  2191. HRESULT ( STDMETHODCALLTYPE *GetMap )(
  2192. IDirsyncSession * This,
  2193. /* [in] */ SYNCDIRECTION syncDirection,
  2194. /* [size_is][size_is][out] */ PBYTE *ppByte,
  2195. /* [out] */ DWORD *pdwSize);
  2196. HRESULT ( STDMETHODCALLTYPE *SetPasswordOptions )(
  2197. IDirsyncSession * This,
  2198. /* [in] */ SYNCDIRECTION syncDirection,
  2199. /* [in] */ PASSWORDTYPE passwordType,
  2200. /* [in] */ PWSTR pszPassword);
  2201. HRESULT ( STDMETHODCALLTYPE *GetPasswordOptions )(
  2202. IDirsyncSession * This,
  2203. /* [in] */ SYNCDIRECTION syncDirection,
  2204. /* [out] */ PASSWORDTYPE *pPasswordType,
  2205. /* [out] */ PWSTR *ppszPassword);
  2206. HRESULT ( STDMETHODCALLTYPE *Persist )(
  2207. IDirsyncSession * This,
  2208. /* [in] */ BOOL fForce,
  2209. /* [size_is][size_is][full][out][in] */ PGLOBAL_SESSIONID *prgSessionID,
  2210. /* [full][out][in] */ DWORD *pdwSize);
  2211. HRESULT ( STDMETHODCALLTYPE *SetAuxData )(
  2212. IDirsyncSession * This,
  2213. /* [size_is][in] */ PADS_ATTR_INFO pAttributeEntries,
  2214. /* [in] */ DWORD dwNumAttributes,
  2215. /* [out] */ DWORD *pdwNumAttributesModified);
  2216. HRESULT ( STDMETHODCALLTYPE *GetAuxData )(
  2217. IDirsyncSession * This,
  2218. /* [size_is][in] */ PWSTR *pAttributeName,
  2219. /* [in] */ DWORD dwNumAttributes,
  2220. /* [size_is][size_is][out] */ PADS_ATTR_INFO *ppAttributeEntries,
  2221. /* [out] */ DWORD *pdwAttributesReturned);
  2222. HRESULT ( STDMETHODCALLTYPE *GetFailedObjectList )(
  2223. IDirsyncSession * This,
  2224. /* [retval][out] */ IDirsyncFailedObjectList **pFailedObjectList);
  2225. HRESULT ( STDMETHODCALLTYPE *GetNamespaceMapping )(
  2226. IDirsyncSession * This,
  2227. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping);
  2228. HRESULT ( STDMETHODCALLTYPE *GetRuntimeNamespaceMapping )(
  2229. IDirsyncSession * This,
  2230. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping);
  2231. HRESULT ( STDMETHODCALLTYPE *IsClassMappingValid )(
  2232. IDirsyncSession * This,
  2233. /* [in] */ PWSTR pszClassSource,
  2234. /* [in] */ PWSTR pszClassTarget);
  2235. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_ObjMapFilePath )(
  2236. IDirsyncSession * This,
  2237. /* [retval][out] */ PWSTR *ppszObjMapFilePath);
  2238. /* [propput] */ HRESULT ( STDMETHODCALLTYPE *put_ObjMapFilePath )(
  2239. IDirsyncSession * This,
  2240. /* [full][in] */ PWSTR pszObjMapFilePath);
  2241. HRESULT ( STDMETHODCALLTYPE *GetSyncStatus )(
  2242. IDirsyncSession * This,
  2243. /* [out] */ DWORD *pdwPercent,
  2244. /* [out] */ DWORD *pdwWarning,
  2245. /* [out] */ DWORD *pdwError);
  2246. HRESULT ( STDMETHODCALLTYPE *UpdateTerminationStatus )(
  2247. IDirsyncSession * This);
  2248. END_INTERFACE
  2249. } IDirsyncSessionVtbl;
  2250. interface IDirsyncSession
  2251. {
  2252. CONST_VTBL struct IDirsyncSessionVtbl *lpVtbl;
  2253. };
  2254. #ifdef COBJMACROS
  2255. #define IDirsyncSession_QueryInterface(This,riid,ppvObject) \
  2256. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2257. #define IDirsyncSession_AddRef(This) \
  2258. (This)->lpVtbl -> AddRef(This)
  2259. #define IDirsyncSession_Release(This) \
  2260. (This)->lpVtbl -> Release(This)
  2261. #define IDirsyncSession_get_Name(This,ppszName) \
  2262. (This)->lpVtbl -> get_Name(This,ppszName)
  2263. #define IDirsyncSession_put_Name(This,pszName) \
  2264. (This)->lpVtbl -> put_Name(This,pszName)
  2265. #define IDirsyncSession_get_Comments(This,ppszComments) \
  2266. (This)->lpVtbl -> get_Comments(This,ppszComments)
  2267. #define IDirsyncSession_put_Comments(This,pszComments) \
  2268. (This)->lpVtbl -> put_Comments(This,pszComments)
  2269. #define IDirsyncSession_get_Flags(This,pdwFlags) \
  2270. (This)->lpVtbl -> get_Flags(This,pdwFlags)
  2271. #define IDirsyncSession_put_Flags(This,dwFlags) \
  2272. (This)->lpVtbl -> put_Flags(This,dwFlags)
  2273. #define IDirsyncSession_get_Status(This,pdwStatus) \
  2274. (This)->lpVtbl -> get_Status(This,pdwStatus)
  2275. #define IDirsyncSession_get_LogLevel(This,pdwLogLevel) \
  2276. (This)->lpVtbl -> get_LogLevel(This,pdwLogLevel)
  2277. #define IDirsyncSession_put_LogLevel(This,dwLogLevel) \
  2278. (This)->lpVtbl -> put_LogLevel(This,dwLogLevel)
  2279. #define IDirsyncSession_get_ID(This,pdwID) \
  2280. (This)->lpVtbl -> get_ID(This,pdwID)
  2281. #define IDirsyncSession_get_CreatedBy(This,ppszCreatedBy) \
  2282. (This)->lpVtbl -> get_CreatedBy(This,ppszCreatedBy)
  2283. #define IDirsyncSession_get_CreationTime(This,pCreationTime) \
  2284. (This)->lpVtbl -> get_CreationTime(This,pCreationTime)
  2285. #define IDirsyncSession_get_LastChangedBy(This,ppszLastChangedBy) \
  2286. (This)->lpVtbl -> get_LastChangedBy(This,ppszLastChangedBy)
  2287. #define IDirsyncSession_get_LastChangeTime(This,pLastChangeTime) \
  2288. (This)->lpVtbl -> get_LastChangeTime(This,pLastChangeTime)
  2289. #define IDirsyncSession_get_SourceDirType(This,ppszSourceDirType) \
  2290. (This)->lpVtbl -> get_SourceDirType(This,ppszSourceDirType)
  2291. #define IDirsyncSession_put_SourceDirType(This,pszSourceDirType) \
  2292. (This)->lpVtbl -> put_SourceDirType(This,pszSourceDirType)
  2293. #define IDirsyncSession_get_SourceServer(This,ppszSourceServer) \
  2294. (This)->lpVtbl -> get_SourceServer(This,ppszSourceServer)
  2295. #define IDirsyncSession_put_SourceServer(This,pszSourceServer) \
  2296. (This)->lpVtbl -> put_SourceServer(This,pszSourceServer)
  2297. #define IDirsyncSession_get_SourceUsername(This,ppszSourceUsername) \
  2298. (This)->lpVtbl -> get_SourceUsername(This,ppszSourceUsername)
  2299. #define IDirsyncSession_put_SourceUsername(This,pszSourceUsername) \
  2300. (This)->lpVtbl -> put_SourceUsername(This,pszSourceUsername)
  2301. #define IDirsyncSession_get_SourcePassword(This,ppszSourcePassword) \
  2302. (This)->lpVtbl -> get_SourcePassword(This,ppszSourcePassword)
  2303. #define IDirsyncSession_put_SourcePassword(This,pszSourcePassword) \
  2304. (This)->lpVtbl -> put_SourcePassword(This,pszSourcePassword)
  2305. #define IDirsyncSession_get_SourceBase(This,ppszSourceBase) \
  2306. (This)->lpVtbl -> get_SourceBase(This,ppszSourceBase)
  2307. #define IDirsyncSession_put_SourceBase(This,pszSourceBase) \
  2308. (This)->lpVtbl -> put_SourceBase(This,pszSourceBase)
  2309. #define IDirsyncSession_get_SourceScope(This,pdwSourceScope) \
  2310. (This)->lpVtbl -> get_SourceScope(This,pdwSourceScope)
  2311. #define IDirsyncSession_put_SourceScope(This,dwSourceScope) \
  2312. (This)->lpVtbl -> put_SourceScope(This,dwSourceScope)
  2313. #define IDirsyncSession_get_SourceFilter(This,ppszSourceFilter) \
  2314. (This)->lpVtbl -> get_SourceFilter(This,ppszSourceFilter)
  2315. #define IDirsyncSession_put_SourceFilter(This,pszSourceFilter) \
  2316. (This)->lpVtbl -> put_SourceFilter(This,pszSourceFilter)
  2317. #define IDirsyncSession_get_TargetDirType(This,ppszTargetDirType) \
  2318. (This)->lpVtbl -> get_TargetDirType(This,ppszTargetDirType)
  2319. #define IDirsyncSession_put_TargetDirType(This,pszTargetDirType) \
  2320. (This)->lpVtbl -> put_TargetDirType(This,pszTargetDirType)
  2321. #define IDirsyncSession_get_TargetServer(This,ppszTargetServer) \
  2322. (This)->lpVtbl -> get_TargetServer(This,ppszTargetServer)
  2323. #define IDirsyncSession_put_TargetServer(This,pszTargetServer) \
  2324. (This)->lpVtbl -> put_TargetServer(This,pszTargetServer)
  2325. #define IDirsyncSession_get_TargetUsername(This,ppszTargetUsername) \
  2326. (This)->lpVtbl -> get_TargetUsername(This,ppszTargetUsername)
  2327. #define IDirsyncSession_put_TargetUsername(This,pszTargetUsername) \
  2328. (This)->lpVtbl -> put_TargetUsername(This,pszTargetUsername)
  2329. #define IDirsyncSession_get_TargetPassword(This,ppszTargetPassword) \
  2330. (This)->lpVtbl -> get_TargetPassword(This,ppszTargetPassword)
  2331. #define IDirsyncSession_put_TargetPassword(This,pszTargetPassword) \
  2332. (This)->lpVtbl -> put_TargetPassword(This,pszTargetPassword)
  2333. #define IDirsyncSession_get_TargetBase(This,ppszTargetBase) \
  2334. (This)->lpVtbl -> get_TargetBase(This,ppszTargetBase)
  2335. #define IDirsyncSession_put_TargetBase(This,pszTargetBase) \
  2336. (This)->lpVtbl -> put_TargetBase(This,pszTargetBase)
  2337. #define IDirsyncSession_get_TargetScope(This,pdwTargetScope) \
  2338. (This)->lpVtbl -> get_TargetScope(This,pdwTargetScope)
  2339. #define IDirsyncSession_put_TargetScope(This,dwTargetScope) \
  2340. (This)->lpVtbl -> put_TargetScope(This,dwTargetScope)
  2341. #define IDirsyncSession_get_TargetFilter(This,ppszTargetFilter) \
  2342. (This)->lpVtbl -> get_TargetFilter(This,ppszTargetFilter)
  2343. #define IDirsyncSession_put_TargetFilter(This,pszTargetFilter) \
  2344. (This)->lpVtbl -> put_TargetFilter(This,pszTargetFilter)
  2345. #define IDirsyncSession_get_Server(This,ppszServer) \
  2346. (This)->lpVtbl -> get_Server(This,ppszServer)
  2347. #define IDirsyncSession_SetData(This,pData) \
  2348. (This)->lpVtbl -> SetData(This,pData)
  2349. #define IDirsyncSession_GetData(This,ppData) \
  2350. (This)->lpVtbl -> GetData(This,ppData)
  2351. #define IDirsyncSession_SetSchedule(This,syncDirection,schedule) \
  2352. (This)->lpVtbl -> SetSchedule(This,syncDirection,schedule)
  2353. #define IDirsyncSession_GetSchedule(This,syncDirection,schedule) \
  2354. (This)->lpVtbl -> GetSchedule(This,syncDirection,schedule)
  2355. #define IDirsyncSession_SetMap(This,syncDirection,pByte,dwSize) \
  2356. (This)->lpVtbl -> SetMap(This,syncDirection,pByte,dwSize)
  2357. #define IDirsyncSession_GetMap(This,syncDirection,ppByte,pdwSize) \
  2358. (This)->lpVtbl -> GetMap(This,syncDirection,ppByte,pdwSize)
  2359. #define IDirsyncSession_SetPasswordOptions(This,syncDirection,passwordType,pszPassword) \
  2360. (This)->lpVtbl -> SetPasswordOptions(This,syncDirection,passwordType,pszPassword)
  2361. #define IDirsyncSession_GetPasswordOptions(This,syncDirection,pPasswordType,ppszPassword) \
  2362. (This)->lpVtbl -> GetPasswordOptions(This,syncDirection,pPasswordType,ppszPassword)
  2363. #define IDirsyncSession_Persist(This,fForce,prgSessionID,pdwSize) \
  2364. (This)->lpVtbl -> Persist(This,fForce,prgSessionID,pdwSize)
  2365. #define IDirsyncSession_SetAuxData(This,pAttributeEntries,dwNumAttributes,pdwNumAttributesModified) \
  2366. (This)->lpVtbl -> SetAuxData(This,pAttributeEntries,dwNumAttributes,pdwNumAttributesModified)
  2367. #define IDirsyncSession_GetAuxData(This,pAttributeName,dwNumAttributes,ppAttributeEntries,pdwAttributesReturned) \
  2368. (This)->lpVtbl -> GetAuxData(This,pAttributeName,dwNumAttributes,ppAttributeEntries,pdwAttributesReturned)
  2369. #define IDirsyncSession_GetFailedObjectList(This,pFailedObjectList) \
  2370. (This)->lpVtbl -> GetFailedObjectList(This,pFailedObjectList)
  2371. #define IDirsyncSession_GetNamespaceMapping(This,pNamespaceMapping) \
  2372. (This)->lpVtbl -> GetNamespaceMapping(This,pNamespaceMapping)
  2373. #define IDirsyncSession_GetRuntimeNamespaceMapping(This,pNamespaceMapping) \
  2374. (This)->lpVtbl -> GetRuntimeNamespaceMapping(This,pNamespaceMapping)
  2375. #define IDirsyncSession_IsClassMappingValid(This,pszClassSource,pszClassTarget) \
  2376. (This)->lpVtbl -> IsClassMappingValid(This,pszClassSource,pszClassTarget)
  2377. #define IDirsyncSession_get_ObjMapFilePath(This,ppszObjMapFilePath) \
  2378. (This)->lpVtbl -> get_ObjMapFilePath(This,ppszObjMapFilePath)
  2379. #define IDirsyncSession_put_ObjMapFilePath(This,pszObjMapFilePath) \
  2380. (This)->lpVtbl -> put_ObjMapFilePath(This,pszObjMapFilePath)
  2381. #define IDirsyncSession_GetSyncStatus(This,pdwPercent,pdwWarning,pdwError) \
  2382. (This)->lpVtbl -> GetSyncStatus(This,pdwPercent,pdwWarning,pdwError)
  2383. #define IDirsyncSession_UpdateTerminationStatus(This) \
  2384. (This)->lpVtbl -> UpdateTerminationStatus(This)
  2385. #endif /* COBJMACROS */
  2386. #endif /* C style interface */
  2387. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_Name_Proxy(
  2388. IDirsyncSession * This,
  2389. /* [retval][out] */ PWSTR *ppszName);
  2390. void __RPC_STUB IDirsyncSession_get_Name_Stub(
  2391. IRpcStubBuffer *This,
  2392. IRpcChannelBuffer *_pRpcChannelBuffer,
  2393. PRPC_MESSAGE _pRpcMessage,
  2394. DWORD *_pdwStubPhase);
  2395. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_Name_Proxy(
  2396. IDirsyncSession * This,
  2397. /* [full][in] */ PWSTR pszName);
  2398. void __RPC_STUB IDirsyncSession_put_Name_Stub(
  2399. IRpcStubBuffer *This,
  2400. IRpcChannelBuffer *_pRpcChannelBuffer,
  2401. PRPC_MESSAGE _pRpcMessage,
  2402. DWORD *_pdwStubPhase);
  2403. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_Comments_Proxy(
  2404. IDirsyncSession * This,
  2405. /* [retval][out] */ PWSTR *ppszComments);
  2406. void __RPC_STUB IDirsyncSession_get_Comments_Stub(
  2407. IRpcStubBuffer *This,
  2408. IRpcChannelBuffer *_pRpcChannelBuffer,
  2409. PRPC_MESSAGE _pRpcMessage,
  2410. DWORD *_pdwStubPhase);
  2411. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_Comments_Proxy(
  2412. IDirsyncSession * This,
  2413. /* [full][in] */ PWSTR pszComments);
  2414. void __RPC_STUB IDirsyncSession_put_Comments_Stub(
  2415. IRpcStubBuffer *This,
  2416. IRpcChannelBuffer *_pRpcChannelBuffer,
  2417. PRPC_MESSAGE _pRpcMessage,
  2418. DWORD *_pdwStubPhase);
  2419. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_Flags_Proxy(
  2420. IDirsyncSession * This,
  2421. /* [retval][out] */ DWORD *pdwFlags);
  2422. void __RPC_STUB IDirsyncSession_get_Flags_Stub(
  2423. IRpcStubBuffer *This,
  2424. IRpcChannelBuffer *_pRpcChannelBuffer,
  2425. PRPC_MESSAGE _pRpcMessage,
  2426. DWORD *_pdwStubPhase);
  2427. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_Flags_Proxy(
  2428. IDirsyncSession * This,
  2429. /* [in] */ DWORD dwFlags);
  2430. void __RPC_STUB IDirsyncSession_put_Flags_Stub(
  2431. IRpcStubBuffer *This,
  2432. IRpcChannelBuffer *_pRpcChannelBuffer,
  2433. PRPC_MESSAGE _pRpcMessage,
  2434. DWORD *_pdwStubPhase);
  2435. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_Status_Proxy(
  2436. IDirsyncSession * This,
  2437. /* [retval][out] */ DWORD *pdwStatus);
  2438. void __RPC_STUB IDirsyncSession_get_Status_Stub(
  2439. IRpcStubBuffer *This,
  2440. IRpcChannelBuffer *_pRpcChannelBuffer,
  2441. PRPC_MESSAGE _pRpcMessage,
  2442. DWORD *_pdwStubPhase);
  2443. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_LogLevel_Proxy(
  2444. IDirsyncSession * This,
  2445. /* [retval][out] */ DWORD *pdwLogLevel);
  2446. void __RPC_STUB IDirsyncSession_get_LogLevel_Stub(
  2447. IRpcStubBuffer *This,
  2448. IRpcChannelBuffer *_pRpcChannelBuffer,
  2449. PRPC_MESSAGE _pRpcMessage,
  2450. DWORD *_pdwStubPhase);
  2451. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_LogLevel_Proxy(
  2452. IDirsyncSession * This,
  2453. /* [in] */ DWORD dwLogLevel);
  2454. void __RPC_STUB IDirsyncSession_put_LogLevel_Stub(
  2455. IRpcStubBuffer *This,
  2456. IRpcChannelBuffer *_pRpcChannelBuffer,
  2457. PRPC_MESSAGE _pRpcMessage,
  2458. DWORD *_pdwStubPhase);
  2459. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_ID_Proxy(
  2460. IDirsyncSession * This,
  2461. /* [retval][out] */ DWORD *pdwID);
  2462. void __RPC_STUB IDirsyncSession_get_ID_Stub(
  2463. IRpcStubBuffer *This,
  2464. IRpcChannelBuffer *_pRpcChannelBuffer,
  2465. PRPC_MESSAGE _pRpcMessage,
  2466. DWORD *_pdwStubPhase);
  2467. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_CreatedBy_Proxy(
  2468. IDirsyncSession * This,
  2469. /* [retval][out] */ PWSTR *ppszCreatedBy);
  2470. void __RPC_STUB IDirsyncSession_get_CreatedBy_Stub(
  2471. IRpcStubBuffer *This,
  2472. IRpcChannelBuffer *_pRpcChannelBuffer,
  2473. PRPC_MESSAGE _pRpcMessage,
  2474. DWORD *_pdwStubPhase);
  2475. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_CreationTime_Proxy(
  2476. IDirsyncSession * This,
  2477. /* [retval][out] */ LARGE_INTEGER *pCreationTime);
  2478. void __RPC_STUB IDirsyncSession_get_CreationTime_Stub(
  2479. IRpcStubBuffer *This,
  2480. IRpcChannelBuffer *_pRpcChannelBuffer,
  2481. PRPC_MESSAGE _pRpcMessage,
  2482. DWORD *_pdwStubPhase);
  2483. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_LastChangedBy_Proxy(
  2484. IDirsyncSession * This,
  2485. /* [retval][out] */ PWSTR *ppszLastChangedBy);
  2486. void __RPC_STUB IDirsyncSession_get_LastChangedBy_Stub(
  2487. IRpcStubBuffer *This,
  2488. IRpcChannelBuffer *_pRpcChannelBuffer,
  2489. PRPC_MESSAGE _pRpcMessage,
  2490. DWORD *_pdwStubPhase);
  2491. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_LastChangeTime_Proxy(
  2492. IDirsyncSession * This,
  2493. /* [retval][out] */ LARGE_INTEGER *pLastChangeTime);
  2494. void __RPC_STUB IDirsyncSession_get_LastChangeTime_Stub(
  2495. IRpcStubBuffer *This,
  2496. IRpcChannelBuffer *_pRpcChannelBuffer,
  2497. PRPC_MESSAGE _pRpcMessage,
  2498. DWORD *_pdwStubPhase);
  2499. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceDirType_Proxy(
  2500. IDirsyncSession * This,
  2501. /* [retval][out] */ PWSTR *ppszSourceDirType);
  2502. void __RPC_STUB IDirsyncSession_get_SourceDirType_Stub(
  2503. IRpcStubBuffer *This,
  2504. IRpcChannelBuffer *_pRpcChannelBuffer,
  2505. PRPC_MESSAGE _pRpcMessage,
  2506. DWORD *_pdwStubPhase);
  2507. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceDirType_Proxy(
  2508. IDirsyncSession * This,
  2509. /* [full][in] */ PWSTR pszSourceDirType);
  2510. void __RPC_STUB IDirsyncSession_put_SourceDirType_Stub(
  2511. IRpcStubBuffer *This,
  2512. IRpcChannelBuffer *_pRpcChannelBuffer,
  2513. PRPC_MESSAGE _pRpcMessage,
  2514. DWORD *_pdwStubPhase);
  2515. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceServer_Proxy(
  2516. IDirsyncSession * This,
  2517. /* [retval][out] */ PWSTR *ppszSourceServer);
  2518. void __RPC_STUB IDirsyncSession_get_SourceServer_Stub(
  2519. IRpcStubBuffer *This,
  2520. IRpcChannelBuffer *_pRpcChannelBuffer,
  2521. PRPC_MESSAGE _pRpcMessage,
  2522. DWORD *_pdwStubPhase);
  2523. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceServer_Proxy(
  2524. IDirsyncSession * This,
  2525. /* [full][in] */ PWSTR pszSourceServer);
  2526. void __RPC_STUB IDirsyncSession_put_SourceServer_Stub(
  2527. IRpcStubBuffer *This,
  2528. IRpcChannelBuffer *_pRpcChannelBuffer,
  2529. PRPC_MESSAGE _pRpcMessage,
  2530. DWORD *_pdwStubPhase);
  2531. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceUsername_Proxy(
  2532. IDirsyncSession * This,
  2533. /* [retval][out] */ PWSTR *ppszSourceUsername);
  2534. void __RPC_STUB IDirsyncSession_get_SourceUsername_Stub(
  2535. IRpcStubBuffer *This,
  2536. IRpcChannelBuffer *_pRpcChannelBuffer,
  2537. PRPC_MESSAGE _pRpcMessage,
  2538. DWORD *_pdwStubPhase);
  2539. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceUsername_Proxy(
  2540. IDirsyncSession * This,
  2541. /* [full][in] */ PWSTR pszSourceUsername);
  2542. void __RPC_STUB IDirsyncSession_put_SourceUsername_Stub(
  2543. IRpcStubBuffer *This,
  2544. IRpcChannelBuffer *_pRpcChannelBuffer,
  2545. PRPC_MESSAGE _pRpcMessage,
  2546. DWORD *_pdwStubPhase);
  2547. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourcePassword_Proxy(
  2548. IDirsyncSession * This,
  2549. /* [retval][out] */ PWSTR *ppszSourcePassword);
  2550. void __RPC_STUB IDirsyncSession_get_SourcePassword_Stub(
  2551. IRpcStubBuffer *This,
  2552. IRpcChannelBuffer *_pRpcChannelBuffer,
  2553. PRPC_MESSAGE _pRpcMessage,
  2554. DWORD *_pdwStubPhase);
  2555. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourcePassword_Proxy(
  2556. IDirsyncSession * This,
  2557. /* [full][in] */ PWSTR pszSourcePassword);
  2558. void __RPC_STUB IDirsyncSession_put_SourcePassword_Stub(
  2559. IRpcStubBuffer *This,
  2560. IRpcChannelBuffer *_pRpcChannelBuffer,
  2561. PRPC_MESSAGE _pRpcMessage,
  2562. DWORD *_pdwStubPhase);
  2563. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceBase_Proxy(
  2564. IDirsyncSession * This,
  2565. /* [retval][out] */ PWSTR *ppszSourceBase);
  2566. void __RPC_STUB IDirsyncSession_get_SourceBase_Stub(
  2567. IRpcStubBuffer *This,
  2568. IRpcChannelBuffer *_pRpcChannelBuffer,
  2569. PRPC_MESSAGE _pRpcMessage,
  2570. DWORD *_pdwStubPhase);
  2571. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceBase_Proxy(
  2572. IDirsyncSession * This,
  2573. /* [full][in] */ PWSTR pszSourceBase);
  2574. void __RPC_STUB IDirsyncSession_put_SourceBase_Stub(
  2575. IRpcStubBuffer *This,
  2576. IRpcChannelBuffer *_pRpcChannelBuffer,
  2577. PRPC_MESSAGE _pRpcMessage,
  2578. DWORD *_pdwStubPhase);
  2579. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceScope_Proxy(
  2580. IDirsyncSession * This,
  2581. /* [retval][out] */ DWORD *pdwSourceScope);
  2582. void __RPC_STUB IDirsyncSession_get_SourceScope_Stub(
  2583. IRpcStubBuffer *This,
  2584. IRpcChannelBuffer *_pRpcChannelBuffer,
  2585. PRPC_MESSAGE _pRpcMessage,
  2586. DWORD *_pdwStubPhase);
  2587. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceScope_Proxy(
  2588. IDirsyncSession * This,
  2589. /* [in] */ DWORD dwSourceScope);
  2590. void __RPC_STUB IDirsyncSession_put_SourceScope_Stub(
  2591. IRpcStubBuffer *This,
  2592. IRpcChannelBuffer *_pRpcChannelBuffer,
  2593. PRPC_MESSAGE _pRpcMessage,
  2594. DWORD *_pdwStubPhase);
  2595. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_SourceFilter_Proxy(
  2596. IDirsyncSession * This,
  2597. /* [retval][out] */ PWSTR *ppszSourceFilter);
  2598. void __RPC_STUB IDirsyncSession_get_SourceFilter_Stub(
  2599. IRpcStubBuffer *This,
  2600. IRpcChannelBuffer *_pRpcChannelBuffer,
  2601. PRPC_MESSAGE _pRpcMessage,
  2602. DWORD *_pdwStubPhase);
  2603. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_SourceFilter_Proxy(
  2604. IDirsyncSession * This,
  2605. /* [full][in] */ PWSTR pszSourceFilter);
  2606. void __RPC_STUB IDirsyncSession_put_SourceFilter_Stub(
  2607. IRpcStubBuffer *This,
  2608. IRpcChannelBuffer *_pRpcChannelBuffer,
  2609. PRPC_MESSAGE _pRpcMessage,
  2610. DWORD *_pdwStubPhase);
  2611. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetDirType_Proxy(
  2612. IDirsyncSession * This,
  2613. /* [retval][out] */ PWSTR *ppszTargetDirType);
  2614. void __RPC_STUB IDirsyncSession_get_TargetDirType_Stub(
  2615. IRpcStubBuffer *This,
  2616. IRpcChannelBuffer *_pRpcChannelBuffer,
  2617. PRPC_MESSAGE _pRpcMessage,
  2618. DWORD *_pdwStubPhase);
  2619. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetDirType_Proxy(
  2620. IDirsyncSession * This,
  2621. /* [full][in] */ PWSTR pszTargetDirType);
  2622. void __RPC_STUB IDirsyncSession_put_TargetDirType_Stub(
  2623. IRpcStubBuffer *This,
  2624. IRpcChannelBuffer *_pRpcChannelBuffer,
  2625. PRPC_MESSAGE _pRpcMessage,
  2626. DWORD *_pdwStubPhase);
  2627. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetServer_Proxy(
  2628. IDirsyncSession * This,
  2629. /* [retval][out] */ PWSTR *ppszTargetServer);
  2630. void __RPC_STUB IDirsyncSession_get_TargetServer_Stub(
  2631. IRpcStubBuffer *This,
  2632. IRpcChannelBuffer *_pRpcChannelBuffer,
  2633. PRPC_MESSAGE _pRpcMessage,
  2634. DWORD *_pdwStubPhase);
  2635. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetServer_Proxy(
  2636. IDirsyncSession * This,
  2637. /* [full][in] */ PWSTR pszTargetServer);
  2638. void __RPC_STUB IDirsyncSession_put_TargetServer_Stub(
  2639. IRpcStubBuffer *This,
  2640. IRpcChannelBuffer *_pRpcChannelBuffer,
  2641. PRPC_MESSAGE _pRpcMessage,
  2642. DWORD *_pdwStubPhase);
  2643. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetUsername_Proxy(
  2644. IDirsyncSession * This,
  2645. /* [retval][out] */ PWSTR *ppszTargetUsername);
  2646. void __RPC_STUB IDirsyncSession_get_TargetUsername_Stub(
  2647. IRpcStubBuffer *This,
  2648. IRpcChannelBuffer *_pRpcChannelBuffer,
  2649. PRPC_MESSAGE _pRpcMessage,
  2650. DWORD *_pdwStubPhase);
  2651. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetUsername_Proxy(
  2652. IDirsyncSession * This,
  2653. /* [full][in] */ PWSTR pszTargetUsername);
  2654. void __RPC_STUB IDirsyncSession_put_TargetUsername_Stub(
  2655. IRpcStubBuffer *This,
  2656. IRpcChannelBuffer *_pRpcChannelBuffer,
  2657. PRPC_MESSAGE _pRpcMessage,
  2658. DWORD *_pdwStubPhase);
  2659. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetPassword_Proxy(
  2660. IDirsyncSession * This,
  2661. /* [retval][out] */ PWSTR *ppszTargetPassword);
  2662. void __RPC_STUB IDirsyncSession_get_TargetPassword_Stub(
  2663. IRpcStubBuffer *This,
  2664. IRpcChannelBuffer *_pRpcChannelBuffer,
  2665. PRPC_MESSAGE _pRpcMessage,
  2666. DWORD *_pdwStubPhase);
  2667. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetPassword_Proxy(
  2668. IDirsyncSession * This,
  2669. /* [full][in] */ PWSTR pszTargetPassword);
  2670. void __RPC_STUB IDirsyncSession_put_TargetPassword_Stub(
  2671. IRpcStubBuffer *This,
  2672. IRpcChannelBuffer *_pRpcChannelBuffer,
  2673. PRPC_MESSAGE _pRpcMessage,
  2674. DWORD *_pdwStubPhase);
  2675. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetBase_Proxy(
  2676. IDirsyncSession * This,
  2677. /* [retval][out] */ PWSTR *ppszTargetBase);
  2678. void __RPC_STUB IDirsyncSession_get_TargetBase_Stub(
  2679. IRpcStubBuffer *This,
  2680. IRpcChannelBuffer *_pRpcChannelBuffer,
  2681. PRPC_MESSAGE _pRpcMessage,
  2682. DWORD *_pdwStubPhase);
  2683. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetBase_Proxy(
  2684. IDirsyncSession * This,
  2685. /* [full][in] */ PWSTR pszTargetBase);
  2686. void __RPC_STUB IDirsyncSession_put_TargetBase_Stub(
  2687. IRpcStubBuffer *This,
  2688. IRpcChannelBuffer *_pRpcChannelBuffer,
  2689. PRPC_MESSAGE _pRpcMessage,
  2690. DWORD *_pdwStubPhase);
  2691. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetScope_Proxy(
  2692. IDirsyncSession * This,
  2693. /* [retval][out] */ DWORD *pdwTargetScope);
  2694. void __RPC_STUB IDirsyncSession_get_TargetScope_Stub(
  2695. IRpcStubBuffer *This,
  2696. IRpcChannelBuffer *_pRpcChannelBuffer,
  2697. PRPC_MESSAGE _pRpcMessage,
  2698. DWORD *_pdwStubPhase);
  2699. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetScope_Proxy(
  2700. IDirsyncSession * This,
  2701. /* [in] */ DWORD dwTargetScope);
  2702. void __RPC_STUB IDirsyncSession_put_TargetScope_Stub(
  2703. IRpcStubBuffer *This,
  2704. IRpcChannelBuffer *_pRpcChannelBuffer,
  2705. PRPC_MESSAGE _pRpcMessage,
  2706. DWORD *_pdwStubPhase);
  2707. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_TargetFilter_Proxy(
  2708. IDirsyncSession * This,
  2709. /* [retval][out] */ PWSTR *ppszTargetFilter);
  2710. void __RPC_STUB IDirsyncSession_get_TargetFilter_Stub(
  2711. IRpcStubBuffer *This,
  2712. IRpcChannelBuffer *_pRpcChannelBuffer,
  2713. PRPC_MESSAGE _pRpcMessage,
  2714. DWORD *_pdwStubPhase);
  2715. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_TargetFilter_Proxy(
  2716. IDirsyncSession * This,
  2717. /* [full][in] */ PWSTR pszTargetFilter);
  2718. void __RPC_STUB IDirsyncSession_put_TargetFilter_Stub(
  2719. IRpcStubBuffer *This,
  2720. IRpcChannelBuffer *_pRpcChannelBuffer,
  2721. PRPC_MESSAGE _pRpcMessage,
  2722. DWORD *_pdwStubPhase);
  2723. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_Server_Proxy(
  2724. IDirsyncSession * This,
  2725. /* [retval][out] */ PWSTR *ppszServer);
  2726. void __RPC_STUB IDirsyncSession_get_Server_Stub(
  2727. IRpcStubBuffer *This,
  2728. IRpcChannelBuffer *_pRpcChannelBuffer,
  2729. PRPC_MESSAGE _pRpcMessage,
  2730. DWORD *_pdwStubPhase);
  2731. HRESULT STDMETHODCALLTYPE IDirsyncSession_SetData_Proxy(
  2732. IDirsyncSession * This,
  2733. /* [in] */ PSESSIONDATA pData);
  2734. void __RPC_STUB IDirsyncSession_SetData_Stub(
  2735. IRpcStubBuffer *This,
  2736. IRpcChannelBuffer *_pRpcChannelBuffer,
  2737. PRPC_MESSAGE _pRpcMessage,
  2738. DWORD *_pdwStubPhase);
  2739. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetData_Proxy(
  2740. IDirsyncSession * This,
  2741. /* [out] */ PSESSIONDATA *ppData);
  2742. void __RPC_STUB IDirsyncSession_GetData_Stub(
  2743. IRpcStubBuffer *This,
  2744. IRpcChannelBuffer *_pRpcChannelBuffer,
  2745. PRPC_MESSAGE _pRpcMessage,
  2746. DWORD *_pdwStubPhase);
  2747. HRESULT STDMETHODCALLTYPE IDirsyncSession_SetSchedule_Proxy(
  2748. IDirsyncSession * This,
  2749. /* [in] */ SYNCDIRECTION syncDirection,
  2750. /* [in] */ BYTE schedule[ 84 ]);
  2751. void __RPC_STUB IDirsyncSession_SetSchedule_Stub(
  2752. IRpcStubBuffer *This,
  2753. IRpcChannelBuffer *_pRpcChannelBuffer,
  2754. PRPC_MESSAGE _pRpcMessage,
  2755. DWORD *_pdwStubPhase);
  2756. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetSchedule_Proxy(
  2757. IDirsyncSession * This,
  2758. /* [in] */ SYNCDIRECTION syncDirection,
  2759. /* [out] */ BYTE schedule[ 84 ]);
  2760. void __RPC_STUB IDirsyncSession_GetSchedule_Stub(
  2761. IRpcStubBuffer *This,
  2762. IRpcChannelBuffer *_pRpcChannelBuffer,
  2763. PRPC_MESSAGE _pRpcMessage,
  2764. DWORD *_pdwStubPhase);
  2765. HRESULT STDMETHODCALLTYPE IDirsyncSession_SetMap_Proxy(
  2766. IDirsyncSession * This,
  2767. /* [in] */ SYNCDIRECTION syncDirection,
  2768. /* [size_is][in] */ PBYTE pByte,
  2769. /* [in] */ DWORD dwSize);
  2770. void __RPC_STUB IDirsyncSession_SetMap_Stub(
  2771. IRpcStubBuffer *This,
  2772. IRpcChannelBuffer *_pRpcChannelBuffer,
  2773. PRPC_MESSAGE _pRpcMessage,
  2774. DWORD *_pdwStubPhase);
  2775. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetMap_Proxy(
  2776. IDirsyncSession * This,
  2777. /* [in] */ SYNCDIRECTION syncDirection,
  2778. /* [size_is][size_is][out] */ PBYTE *ppByte,
  2779. /* [out] */ DWORD *pdwSize);
  2780. void __RPC_STUB IDirsyncSession_GetMap_Stub(
  2781. IRpcStubBuffer *This,
  2782. IRpcChannelBuffer *_pRpcChannelBuffer,
  2783. PRPC_MESSAGE _pRpcMessage,
  2784. DWORD *_pdwStubPhase);
  2785. HRESULT STDMETHODCALLTYPE IDirsyncSession_SetPasswordOptions_Proxy(
  2786. IDirsyncSession * This,
  2787. /* [in] */ SYNCDIRECTION syncDirection,
  2788. /* [in] */ PASSWORDTYPE passwordType,
  2789. /* [in] */ PWSTR pszPassword);
  2790. void __RPC_STUB IDirsyncSession_SetPasswordOptions_Stub(
  2791. IRpcStubBuffer *This,
  2792. IRpcChannelBuffer *_pRpcChannelBuffer,
  2793. PRPC_MESSAGE _pRpcMessage,
  2794. DWORD *_pdwStubPhase);
  2795. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetPasswordOptions_Proxy(
  2796. IDirsyncSession * This,
  2797. /* [in] */ SYNCDIRECTION syncDirection,
  2798. /* [out] */ PASSWORDTYPE *pPasswordType,
  2799. /* [out] */ PWSTR *ppszPassword);
  2800. void __RPC_STUB IDirsyncSession_GetPasswordOptions_Stub(
  2801. IRpcStubBuffer *This,
  2802. IRpcChannelBuffer *_pRpcChannelBuffer,
  2803. PRPC_MESSAGE _pRpcMessage,
  2804. DWORD *_pdwStubPhase);
  2805. HRESULT STDMETHODCALLTYPE IDirsyncSession_Persist_Proxy(
  2806. IDirsyncSession * This,
  2807. /* [in] */ BOOL fForce,
  2808. /* [size_is][size_is][full][out][in] */ PGLOBAL_SESSIONID *prgSessionID,
  2809. /* [full][out][in] */ DWORD *pdwSize);
  2810. void __RPC_STUB IDirsyncSession_Persist_Stub(
  2811. IRpcStubBuffer *This,
  2812. IRpcChannelBuffer *_pRpcChannelBuffer,
  2813. PRPC_MESSAGE _pRpcMessage,
  2814. DWORD *_pdwStubPhase);
  2815. HRESULT STDMETHODCALLTYPE IDirsyncSession_SetAuxData_Proxy(
  2816. IDirsyncSession * This,
  2817. /* [size_is][in] */ PADS_ATTR_INFO pAttributeEntries,
  2818. /* [in] */ DWORD dwNumAttributes,
  2819. /* [out] */ DWORD *pdwNumAttributesModified);
  2820. void __RPC_STUB IDirsyncSession_SetAuxData_Stub(
  2821. IRpcStubBuffer *This,
  2822. IRpcChannelBuffer *_pRpcChannelBuffer,
  2823. PRPC_MESSAGE _pRpcMessage,
  2824. DWORD *_pdwStubPhase);
  2825. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetAuxData_Proxy(
  2826. IDirsyncSession * This,
  2827. /* [size_is][in] */ PWSTR *pAttributeName,
  2828. /* [in] */ DWORD dwNumAttributes,
  2829. /* [size_is][size_is][out] */ PADS_ATTR_INFO *ppAttributeEntries,
  2830. /* [out] */ DWORD *pdwAttributesReturned);
  2831. void __RPC_STUB IDirsyncSession_GetAuxData_Stub(
  2832. IRpcStubBuffer *This,
  2833. IRpcChannelBuffer *_pRpcChannelBuffer,
  2834. PRPC_MESSAGE _pRpcMessage,
  2835. DWORD *_pdwStubPhase);
  2836. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetFailedObjectList_Proxy(
  2837. IDirsyncSession * This,
  2838. /* [retval][out] */ IDirsyncFailedObjectList **pFailedObjectList);
  2839. void __RPC_STUB IDirsyncSession_GetFailedObjectList_Stub(
  2840. IRpcStubBuffer *This,
  2841. IRpcChannelBuffer *_pRpcChannelBuffer,
  2842. PRPC_MESSAGE _pRpcMessage,
  2843. DWORD *_pdwStubPhase);
  2844. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetNamespaceMapping_Proxy(
  2845. IDirsyncSession * This,
  2846. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping);
  2847. void __RPC_STUB IDirsyncSession_GetNamespaceMapping_Stub(
  2848. IRpcStubBuffer *This,
  2849. IRpcChannelBuffer *_pRpcChannelBuffer,
  2850. PRPC_MESSAGE _pRpcMessage,
  2851. DWORD *_pdwStubPhase);
  2852. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetRuntimeNamespaceMapping_Proxy(
  2853. IDirsyncSession * This,
  2854. /* [retval][out] */ IDirsyncNamespaceMapping **pNamespaceMapping);
  2855. void __RPC_STUB IDirsyncSession_GetRuntimeNamespaceMapping_Stub(
  2856. IRpcStubBuffer *This,
  2857. IRpcChannelBuffer *_pRpcChannelBuffer,
  2858. PRPC_MESSAGE _pRpcMessage,
  2859. DWORD *_pdwStubPhase);
  2860. HRESULT STDMETHODCALLTYPE IDirsyncSession_IsClassMappingValid_Proxy(
  2861. IDirsyncSession * This,
  2862. /* [in] */ PWSTR pszClassSource,
  2863. /* [in] */ PWSTR pszClassTarget);
  2864. void __RPC_STUB IDirsyncSession_IsClassMappingValid_Stub(
  2865. IRpcStubBuffer *This,
  2866. IRpcChannelBuffer *_pRpcChannelBuffer,
  2867. PRPC_MESSAGE _pRpcMessage,
  2868. DWORD *_pdwStubPhase);
  2869. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_get_ObjMapFilePath_Proxy(
  2870. IDirsyncSession * This,
  2871. /* [retval][out] */ PWSTR *ppszObjMapFilePath);
  2872. void __RPC_STUB IDirsyncSession_get_ObjMapFilePath_Stub(
  2873. IRpcStubBuffer *This,
  2874. IRpcChannelBuffer *_pRpcChannelBuffer,
  2875. PRPC_MESSAGE _pRpcMessage,
  2876. DWORD *_pdwStubPhase);
  2877. /* [propput] */ HRESULT STDMETHODCALLTYPE IDirsyncSession_put_ObjMapFilePath_Proxy(
  2878. IDirsyncSession * This,
  2879. /* [full][in] */ PWSTR pszObjMapFilePath);
  2880. void __RPC_STUB IDirsyncSession_put_ObjMapFilePath_Stub(
  2881. IRpcStubBuffer *This,
  2882. IRpcChannelBuffer *_pRpcChannelBuffer,
  2883. PRPC_MESSAGE _pRpcMessage,
  2884. DWORD *_pdwStubPhase);
  2885. HRESULT STDMETHODCALLTYPE IDirsyncSession_GetSyncStatus_Proxy(
  2886. IDirsyncSession * This,
  2887. /* [out] */ DWORD *pdwPercent,
  2888. /* [out] */ DWORD *pdwWarning,
  2889. /* [out] */ DWORD *pdwError);
  2890. void __RPC_STUB IDirsyncSession_GetSyncStatus_Stub(
  2891. IRpcStubBuffer *This,
  2892. IRpcChannelBuffer *_pRpcChannelBuffer,
  2893. PRPC_MESSAGE _pRpcMessage,
  2894. DWORD *_pdwStubPhase);
  2895. HRESULT STDMETHODCALLTYPE IDirsyncSession_UpdateTerminationStatus_Proxy(
  2896. IDirsyncSession * This);
  2897. void __RPC_STUB IDirsyncSession_UpdateTerminationStatus_Stub(
  2898. IRpcStubBuffer *This,
  2899. IRpcChannelBuffer *_pRpcChannelBuffer,
  2900. PRPC_MESSAGE _pRpcMessage,
  2901. DWORD *_pdwStubPhase);
  2902. #endif /* __IDirsyncSession_INTERFACE_DEFINED__ */
  2903. #ifndef __IDirsyncSessionCallback_INTERFACE_DEFINED__
  2904. #define __IDirsyncSessionCallback_INTERFACE_DEFINED__
  2905. /* interface IDirsyncSessionCallback */
  2906. /* [unique][helpstring][uuid][local][object] */
  2907. EXTERN_C const IID IID_IDirsyncSessionCallback;
  2908. #if defined(__cplusplus) && !defined(CINTERFACE)
  2909. MIDL_INTERFACE("f0dd3480-1531-11d2-ba65-0000f87a369e")
  2910. IDirsyncSessionCallback : public IUnknown
  2911. {
  2912. public:
  2913. virtual HRESULT STDMETHODCALLTYPE AddFailedObject(
  2914. /* [in] */ PDIRSYNCOBJECT pObject,
  2915. /* [in] */ HRESULT hrLastSync,
  2916. /* [in] */ SYNCDIRECTION syncDirection,
  2917. /* [in] */ RETRYTYPE retryType) = 0;
  2918. virtual void STDMETHODCALLTYPE FreeDirsyncObject(
  2919. /* [in] */ PDIRSYNCOBJECT pObject,
  2920. /* [in] */ BOOL fFreeOuter) = 0;
  2921. virtual void STDMETHODCALLTYPE FreeSessionData(
  2922. /* [in] */ PSESSIONDATA pSessionData) = 0;
  2923. virtual HRESULT STDMETHODCALLTYPE GetDataStore(
  2924. /* [retval][out] */ IDirsyncDatabase **ppDirsyncDatabase) = 0;
  2925. virtual HRESULT STDMETHODCALLTYPE AddObjectIdMapping(
  2926. /* [in] */ PBYTE pSourceId,
  2927. /* [in] */ DWORD cbSourceId,
  2928. /* [in] */ PBYTE pTargetId,
  2929. /* [in] */ DWORD cbTargetId,
  2930. /* [in] */ SYNCDIRECTION syncDirection) = 0;
  2931. virtual HRESULT STDMETHODCALLTYPE DeleteObjectIdMapping(
  2932. /* [in] */ PBYTE pTargetId,
  2933. /* [in] */ DWORD cbTargetId,
  2934. /* [in] */ SYNCPROVIDER Provider) = 0;
  2935. virtual HRESULT STDMETHODCALLTYPE ReportSourceStatus(
  2936. /* [in] */ PDIRSYNCOBJECT pObject) = 0;
  2937. virtual HRESULT STDMETHODCALLTYPE SetSessionPassword(
  2938. /* [in] */ PWSTR pszPassword,
  2939. /* [in] */ SYNCDIRECTION syncDirection) = 0;
  2940. virtual HRESULT STDMETHODCALLTYPE SetCheckSum(
  2941. /* [in] */ PBYTE pId,
  2942. /* [in] */ DWORD cbId,
  2943. /* [in] */ SYNCPROVIDER Provider,
  2944. /* [in] */ DWORD dwCheckSum) = 0;
  2945. virtual HRESULT STDMETHODCALLTYPE GetCheckSum(
  2946. /* [in] */ PBYTE pId,
  2947. /* [in] */ DWORD cbId,
  2948. /* [in] */ SYNCPROVIDER Provider,
  2949. /* [out] */ DWORD *dwCheckSum) = 0;
  2950. virtual HRESULT STDMETHODCALLTYPE SetDampeningInfo(
  2951. /* [in] */ PBYTE pObjectId,
  2952. /* [in] */ DWORD cbObjectId,
  2953. /* [in] */ SYNCPROVIDER Provider,
  2954. /* [in] */ PBYTE pByte,
  2955. /* [in] */ DWORD dwSize,
  2956. /* [in] */ LONGLONG highestUSN) = 0;
  2957. virtual HRESULT STDMETHODCALLTYPE GetDampeningInfo(
  2958. /* [in] */ PBYTE pObjectId,
  2959. /* [in] */ DWORD cbObjectId,
  2960. /* [in] */ SYNCPROVIDER Provider,
  2961. /* [out] */ PBYTE *ppByte,
  2962. /* [out] */ DWORD *pdwSize,
  2963. /* [out] */ LONGLONG *pHighestUSN) = 0;
  2964. virtual HRESULT STDMETHODCALLTYPE GetUnMarkedEntries(
  2965. PBYTE **prgpbId,
  2966. DWORD *pdwEntries,
  2967. SYNCPROVIDER Provider) = 0;
  2968. virtual HRESULT STDMETHODCALLTYPE MarkEntry(
  2969. PBYTE pId,
  2970. DWORD cbId,
  2971. SYNCPROVIDER Provider) = 0;
  2972. virtual HRESULT STDMETHODCALLTYPE DeleteFailedObject(
  2973. /* [in] */ PWSTR szObjectId) = 0;
  2974. };
  2975. #else /* C style interface */
  2976. typedef struct IDirsyncSessionCallbackVtbl
  2977. {
  2978. BEGIN_INTERFACE
  2979. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  2980. IDirsyncSessionCallback * This,
  2981. /* [in] */ REFIID riid,
  2982. /* [iid_is][out] */ void **ppvObject);
  2983. ULONG ( STDMETHODCALLTYPE *AddRef )(
  2984. IDirsyncSessionCallback * This);
  2985. ULONG ( STDMETHODCALLTYPE *Release )(
  2986. IDirsyncSessionCallback * This);
  2987. HRESULT ( STDMETHODCALLTYPE *AddFailedObject )(
  2988. IDirsyncSessionCallback * This,
  2989. /* [in] */ PDIRSYNCOBJECT pObject,
  2990. /* [in] */ HRESULT hrLastSync,
  2991. /* [in] */ SYNCDIRECTION syncDirection,
  2992. /* [in] */ RETRYTYPE retryType);
  2993. void ( STDMETHODCALLTYPE *FreeDirsyncObject )(
  2994. IDirsyncSessionCallback * This,
  2995. /* [in] */ PDIRSYNCOBJECT pObject,
  2996. /* [in] */ BOOL fFreeOuter);
  2997. void ( STDMETHODCALLTYPE *FreeSessionData )(
  2998. IDirsyncSessionCallback * This,
  2999. /* [in] */ PSESSIONDATA pSessionData);
  3000. HRESULT ( STDMETHODCALLTYPE *GetDataStore )(
  3001. IDirsyncSessionCallback * This,
  3002. /* [retval][out] */ IDirsyncDatabase **ppDirsyncDatabase);
  3003. HRESULT ( STDMETHODCALLTYPE *AddObjectIdMapping )(
  3004. IDirsyncSessionCallback * This,
  3005. /* [in] */ PBYTE pSourceId,
  3006. /* [in] */ DWORD cbSourceId,
  3007. /* [in] */ PBYTE pTargetId,
  3008. /* [in] */ DWORD cbTargetId,
  3009. /* [in] */ SYNCDIRECTION syncDirection);
  3010. HRESULT ( STDMETHODCALLTYPE *DeleteObjectIdMapping )(
  3011. IDirsyncSessionCallback * This,
  3012. /* [in] */ PBYTE pTargetId,
  3013. /* [in] */ DWORD cbTargetId,
  3014. /* [in] */ SYNCPROVIDER Provider);
  3015. HRESULT ( STDMETHODCALLTYPE *ReportSourceStatus )(
  3016. IDirsyncSessionCallback * This,
  3017. /* [in] */ PDIRSYNCOBJECT pObject);
  3018. HRESULT ( STDMETHODCALLTYPE *SetSessionPassword )(
  3019. IDirsyncSessionCallback * This,
  3020. /* [in] */ PWSTR pszPassword,
  3021. /* [in] */ SYNCDIRECTION syncDirection);
  3022. HRESULT ( STDMETHODCALLTYPE *SetCheckSum )(
  3023. IDirsyncSessionCallback * This,
  3024. /* [in] */ PBYTE pId,
  3025. /* [in] */ DWORD cbId,
  3026. /* [in] */ SYNCPROVIDER Provider,
  3027. /* [in] */ DWORD dwCheckSum);
  3028. HRESULT ( STDMETHODCALLTYPE *GetCheckSum )(
  3029. IDirsyncSessionCallback * This,
  3030. /* [in] */ PBYTE pId,
  3031. /* [in] */ DWORD cbId,
  3032. /* [in] */ SYNCPROVIDER Provider,
  3033. /* [out] */ DWORD *dwCheckSum);
  3034. HRESULT ( STDMETHODCALLTYPE *SetDampeningInfo )(
  3035. IDirsyncSessionCallback * This,
  3036. /* [in] */ PBYTE pObjectId,
  3037. /* [in] */ DWORD cbObjectId,
  3038. /* [in] */ SYNCPROVIDER Provider,
  3039. /* [in] */ PBYTE pByte,
  3040. /* [in] */ DWORD dwSize,
  3041. /* [in] */ LONGLONG highestUSN);
  3042. HRESULT ( STDMETHODCALLTYPE *GetDampeningInfo )(
  3043. IDirsyncSessionCallback * This,
  3044. /* [in] */ PBYTE pObjectId,
  3045. /* [in] */ DWORD cbObjectId,
  3046. /* [in] */ SYNCPROVIDER Provider,
  3047. /* [out] */ PBYTE *ppByte,
  3048. /* [out] */ DWORD *pdwSize,
  3049. /* [out] */ LONGLONG *pHighestUSN);
  3050. HRESULT ( STDMETHODCALLTYPE *GetUnMarkedEntries )(
  3051. IDirsyncSessionCallback * This,
  3052. PBYTE **prgpbId,
  3053. DWORD *pdwEntries,
  3054. SYNCPROVIDER Provider);
  3055. HRESULT ( STDMETHODCALLTYPE *MarkEntry )(
  3056. IDirsyncSessionCallback * This,
  3057. PBYTE pId,
  3058. DWORD cbId,
  3059. SYNCPROVIDER Provider);
  3060. HRESULT ( STDMETHODCALLTYPE *DeleteFailedObject )(
  3061. IDirsyncSessionCallback * This,
  3062. /* [in] */ PWSTR szObjectId);
  3063. END_INTERFACE
  3064. } IDirsyncSessionCallbackVtbl;
  3065. interface IDirsyncSessionCallback
  3066. {
  3067. CONST_VTBL struct IDirsyncSessionCallbackVtbl *lpVtbl;
  3068. };
  3069. #ifdef COBJMACROS
  3070. #define IDirsyncSessionCallback_QueryInterface(This,riid,ppvObject) \
  3071. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3072. #define IDirsyncSessionCallback_AddRef(This) \
  3073. (This)->lpVtbl -> AddRef(This)
  3074. #define IDirsyncSessionCallback_Release(This) \
  3075. (This)->lpVtbl -> Release(This)
  3076. #define IDirsyncSessionCallback_AddFailedObject(This,pObject,hrLastSync,syncDirection,retryType) \
  3077. (This)->lpVtbl -> AddFailedObject(This,pObject,hrLastSync,syncDirection,retryType)
  3078. #define IDirsyncSessionCallback_FreeDirsyncObject(This,pObject,fFreeOuter) \
  3079. (This)->lpVtbl -> FreeDirsyncObject(This,pObject,fFreeOuter)
  3080. #define IDirsyncSessionCallback_FreeSessionData(This,pSessionData) \
  3081. (This)->lpVtbl -> FreeSessionData(This,pSessionData)
  3082. #define IDirsyncSessionCallback_GetDataStore(This,ppDirsyncDatabase) \
  3083. (This)->lpVtbl -> GetDataStore(This,ppDirsyncDatabase)
  3084. #define IDirsyncSessionCallback_AddObjectIdMapping(This,pSourceId,cbSourceId,pTargetId,cbTargetId,syncDirection) \
  3085. (This)->lpVtbl -> AddObjectIdMapping(This,pSourceId,cbSourceId,pTargetId,cbTargetId,syncDirection)
  3086. #define IDirsyncSessionCallback_DeleteObjectIdMapping(This,pTargetId,cbTargetId,Provider) \
  3087. (This)->lpVtbl -> DeleteObjectIdMapping(This,pTargetId,cbTargetId,Provider)
  3088. #define IDirsyncSessionCallback_ReportSourceStatus(This,pObject) \
  3089. (This)->lpVtbl -> ReportSourceStatus(This,pObject)
  3090. #define IDirsyncSessionCallback_SetSessionPassword(This,pszPassword,syncDirection) \
  3091. (This)->lpVtbl -> SetSessionPassword(This,pszPassword,syncDirection)
  3092. #define IDirsyncSessionCallback_SetCheckSum(This,pId,cbId,Provider,dwCheckSum) \
  3093. (This)->lpVtbl -> SetCheckSum(This,pId,cbId,Provider,dwCheckSum)
  3094. #define IDirsyncSessionCallback_GetCheckSum(This,pId,cbId,Provider,dwCheckSum) \
  3095. (This)->lpVtbl -> GetCheckSum(This,pId,cbId,Provider,dwCheckSum)
  3096. #define IDirsyncSessionCallback_SetDampeningInfo(This,pObjectId,cbObjectId,Provider,pByte,dwSize,highestUSN) \
  3097. (This)->lpVtbl -> SetDampeningInfo(This,pObjectId,cbObjectId,Provider,pByte,dwSize,highestUSN)
  3098. #define IDirsyncSessionCallback_GetDampeningInfo(This,pObjectId,cbObjectId,Provider,ppByte,pdwSize,pHighestUSN) \
  3099. (This)->lpVtbl -> GetDampeningInfo(This,pObjectId,cbObjectId,Provider,ppByte,pdwSize,pHighestUSN)
  3100. #define IDirsyncSessionCallback_GetUnMarkedEntries(This,prgpbId,pdwEntries,Provider) \
  3101. (This)->lpVtbl -> GetUnMarkedEntries(This,prgpbId,pdwEntries,Provider)
  3102. #define IDirsyncSessionCallback_MarkEntry(This,pId,cbId,Provider) \
  3103. (This)->lpVtbl -> MarkEntry(This,pId,cbId,Provider)
  3104. #define IDirsyncSessionCallback_DeleteFailedObject(This,szObjectId) \
  3105. (This)->lpVtbl -> DeleteFailedObject(This,szObjectId)
  3106. #endif /* COBJMACROS */
  3107. #endif /* C style interface */
  3108. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_AddFailedObject_Proxy(
  3109. IDirsyncSessionCallback * This,
  3110. /* [in] */ PDIRSYNCOBJECT pObject,
  3111. /* [in] */ HRESULT hrLastSync,
  3112. /* [in] */ SYNCDIRECTION syncDirection,
  3113. /* [in] */ RETRYTYPE retryType);
  3114. void __RPC_STUB IDirsyncSessionCallback_AddFailedObject_Stub(
  3115. IRpcStubBuffer *This,
  3116. IRpcChannelBuffer *_pRpcChannelBuffer,
  3117. PRPC_MESSAGE _pRpcMessage,
  3118. DWORD *_pdwStubPhase);
  3119. void STDMETHODCALLTYPE IDirsyncSessionCallback_FreeDirsyncObject_Proxy(
  3120. IDirsyncSessionCallback * This,
  3121. /* [in] */ PDIRSYNCOBJECT pObject,
  3122. /* [in] */ BOOL fFreeOuter);
  3123. void __RPC_STUB IDirsyncSessionCallback_FreeDirsyncObject_Stub(
  3124. IRpcStubBuffer *This,
  3125. IRpcChannelBuffer *_pRpcChannelBuffer,
  3126. PRPC_MESSAGE _pRpcMessage,
  3127. DWORD *_pdwStubPhase);
  3128. void STDMETHODCALLTYPE IDirsyncSessionCallback_FreeSessionData_Proxy(
  3129. IDirsyncSessionCallback * This,
  3130. /* [in] */ PSESSIONDATA pSessionData);
  3131. void __RPC_STUB IDirsyncSessionCallback_FreeSessionData_Stub(
  3132. IRpcStubBuffer *This,
  3133. IRpcChannelBuffer *_pRpcChannelBuffer,
  3134. PRPC_MESSAGE _pRpcMessage,
  3135. DWORD *_pdwStubPhase);
  3136. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_GetDataStore_Proxy(
  3137. IDirsyncSessionCallback * This,
  3138. /* [retval][out] */ IDirsyncDatabase **ppDirsyncDatabase);
  3139. void __RPC_STUB IDirsyncSessionCallback_GetDataStore_Stub(
  3140. IRpcStubBuffer *This,
  3141. IRpcChannelBuffer *_pRpcChannelBuffer,
  3142. PRPC_MESSAGE _pRpcMessage,
  3143. DWORD *_pdwStubPhase);
  3144. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_AddObjectIdMapping_Proxy(
  3145. IDirsyncSessionCallback * This,
  3146. /* [in] */ PBYTE pSourceId,
  3147. /* [in] */ DWORD cbSourceId,
  3148. /* [in] */ PBYTE pTargetId,
  3149. /* [in] */ DWORD cbTargetId,
  3150. /* [in] */ SYNCDIRECTION syncDirection);
  3151. void __RPC_STUB IDirsyncSessionCallback_AddObjectIdMapping_Stub(
  3152. IRpcStubBuffer *This,
  3153. IRpcChannelBuffer *_pRpcChannelBuffer,
  3154. PRPC_MESSAGE _pRpcMessage,
  3155. DWORD *_pdwStubPhase);
  3156. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_DeleteObjectIdMapping_Proxy(
  3157. IDirsyncSessionCallback * This,
  3158. /* [in] */ PBYTE pTargetId,
  3159. /* [in] */ DWORD cbTargetId,
  3160. /* [in] */ SYNCPROVIDER Provider);
  3161. void __RPC_STUB IDirsyncSessionCallback_DeleteObjectIdMapping_Stub(
  3162. IRpcStubBuffer *This,
  3163. IRpcChannelBuffer *_pRpcChannelBuffer,
  3164. PRPC_MESSAGE _pRpcMessage,
  3165. DWORD *_pdwStubPhase);
  3166. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_ReportSourceStatus_Proxy(
  3167. IDirsyncSessionCallback * This,
  3168. /* [in] */ PDIRSYNCOBJECT pObject);
  3169. void __RPC_STUB IDirsyncSessionCallback_ReportSourceStatus_Stub(
  3170. IRpcStubBuffer *This,
  3171. IRpcChannelBuffer *_pRpcChannelBuffer,
  3172. PRPC_MESSAGE _pRpcMessage,
  3173. DWORD *_pdwStubPhase);
  3174. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_SetSessionPassword_Proxy(
  3175. IDirsyncSessionCallback * This,
  3176. /* [in] */ PWSTR pszPassword,
  3177. /* [in] */ SYNCDIRECTION syncDirection);
  3178. void __RPC_STUB IDirsyncSessionCallback_SetSessionPassword_Stub(
  3179. IRpcStubBuffer *This,
  3180. IRpcChannelBuffer *_pRpcChannelBuffer,
  3181. PRPC_MESSAGE _pRpcMessage,
  3182. DWORD *_pdwStubPhase);
  3183. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_SetCheckSum_Proxy(
  3184. IDirsyncSessionCallback * This,
  3185. /* [in] */ PBYTE pId,
  3186. /* [in] */ DWORD cbId,
  3187. /* [in] */ SYNCPROVIDER Provider,
  3188. /* [in] */ DWORD dwCheckSum);
  3189. void __RPC_STUB IDirsyncSessionCallback_SetCheckSum_Stub(
  3190. IRpcStubBuffer *This,
  3191. IRpcChannelBuffer *_pRpcChannelBuffer,
  3192. PRPC_MESSAGE _pRpcMessage,
  3193. DWORD *_pdwStubPhase);
  3194. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_GetCheckSum_Proxy(
  3195. IDirsyncSessionCallback * This,
  3196. /* [in] */ PBYTE pId,
  3197. /* [in] */ DWORD cbId,
  3198. /* [in] */ SYNCPROVIDER Provider,
  3199. /* [out] */ DWORD *dwCheckSum);
  3200. void __RPC_STUB IDirsyncSessionCallback_GetCheckSum_Stub(
  3201. IRpcStubBuffer *This,
  3202. IRpcChannelBuffer *_pRpcChannelBuffer,
  3203. PRPC_MESSAGE _pRpcMessage,
  3204. DWORD *_pdwStubPhase);
  3205. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_SetDampeningInfo_Proxy(
  3206. IDirsyncSessionCallback * This,
  3207. /* [in] */ PBYTE pObjectId,
  3208. /* [in] */ DWORD cbObjectId,
  3209. /* [in] */ SYNCPROVIDER Provider,
  3210. /* [in] */ PBYTE pByte,
  3211. /* [in] */ DWORD dwSize,
  3212. /* [in] */ LONGLONG highestUSN);
  3213. void __RPC_STUB IDirsyncSessionCallback_SetDampeningInfo_Stub(
  3214. IRpcStubBuffer *This,
  3215. IRpcChannelBuffer *_pRpcChannelBuffer,
  3216. PRPC_MESSAGE _pRpcMessage,
  3217. DWORD *_pdwStubPhase);
  3218. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_GetDampeningInfo_Proxy(
  3219. IDirsyncSessionCallback * This,
  3220. /* [in] */ PBYTE pObjectId,
  3221. /* [in] */ DWORD cbObjectId,
  3222. /* [in] */ SYNCPROVIDER Provider,
  3223. /* [out] */ PBYTE *ppByte,
  3224. /* [out] */ DWORD *pdwSize,
  3225. /* [out] */ LONGLONG *pHighestUSN);
  3226. void __RPC_STUB IDirsyncSessionCallback_GetDampeningInfo_Stub(
  3227. IRpcStubBuffer *This,
  3228. IRpcChannelBuffer *_pRpcChannelBuffer,
  3229. PRPC_MESSAGE _pRpcMessage,
  3230. DWORD *_pdwStubPhase);
  3231. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_GetUnMarkedEntries_Proxy(
  3232. IDirsyncSessionCallback * This,
  3233. PBYTE **prgpbId,
  3234. DWORD *pdwEntries,
  3235. SYNCPROVIDER Provider);
  3236. void __RPC_STUB IDirsyncSessionCallback_GetUnMarkedEntries_Stub(
  3237. IRpcStubBuffer *This,
  3238. IRpcChannelBuffer *_pRpcChannelBuffer,
  3239. PRPC_MESSAGE _pRpcMessage,
  3240. DWORD *_pdwStubPhase);
  3241. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_MarkEntry_Proxy(
  3242. IDirsyncSessionCallback * This,
  3243. PBYTE pId,
  3244. DWORD cbId,
  3245. SYNCPROVIDER Provider);
  3246. void __RPC_STUB IDirsyncSessionCallback_MarkEntry_Stub(
  3247. IRpcStubBuffer *This,
  3248. IRpcChannelBuffer *_pRpcChannelBuffer,
  3249. PRPC_MESSAGE _pRpcMessage,
  3250. DWORD *_pdwStubPhase);
  3251. HRESULT STDMETHODCALLTYPE IDirsyncSessionCallback_DeleteFailedObject_Proxy(
  3252. IDirsyncSessionCallback * This,
  3253. /* [in] */ PWSTR szObjectId);
  3254. void __RPC_STUB IDirsyncSessionCallback_DeleteFailedObject_Stub(
  3255. IRpcStubBuffer *This,
  3256. IRpcChannelBuffer *_pRpcChannelBuffer,
  3257. PRPC_MESSAGE _pRpcMessage,
  3258. DWORD *_pdwStubPhase);
  3259. #endif /* __IDirsyncSessionCallback_INTERFACE_DEFINED__ */
  3260. #ifndef __IDirsyncWriteProvider_INTERFACE_DEFINED__
  3261. #define __IDirsyncWriteProvider_INTERFACE_DEFINED__
  3262. /* interface IDirsyncWriteProvider */
  3263. /* [unique][helpstring][uuid][local][object] */
  3264. EXTERN_C const IID IID_IDirsyncWriteProvider;
  3265. #if defined(__cplusplus) && !defined(CINTERFACE)
  3266. MIDL_INTERFACE("f260c74b-e455-11d1-b40a-00c04fb950dc")
  3267. IDirsyncWriteProvider : public IUnknown
  3268. {
  3269. public:
  3270. virtual HRESULT STDMETHODCALLTYPE Initialize(
  3271. /* [in] */ IDirsyncSession *pSession,
  3272. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3273. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3274. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3275. /* [in] */ SYNCDIRECTION syncDirection,
  3276. /* [in] */ BOOL fFullSync) = 0;
  3277. virtual HRESULT STDMETHODCALLTYPE ApplyChange(
  3278. /* [in] */ PDIRSYNCOBJECT pObject) = 0;
  3279. virtual HRESULT STDMETHODCALLTYPE CommitChanges( void) = 0;
  3280. virtual HRESULT STDMETHODCALLTYPE Terminate( void) = 0;
  3281. };
  3282. #else /* C style interface */
  3283. typedef struct IDirsyncWriteProviderVtbl
  3284. {
  3285. BEGIN_INTERFACE
  3286. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3287. IDirsyncWriteProvider * This,
  3288. /* [in] */ REFIID riid,
  3289. /* [iid_is][out] */ void **ppvObject);
  3290. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3291. IDirsyncWriteProvider * This);
  3292. ULONG ( STDMETHODCALLTYPE *Release )(
  3293. IDirsyncWriteProvider * This);
  3294. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  3295. IDirsyncWriteProvider * This,
  3296. /* [in] */ IDirsyncSession *pSession,
  3297. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3298. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3299. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3300. /* [in] */ SYNCDIRECTION syncDirection,
  3301. /* [in] */ BOOL fFullSync);
  3302. HRESULT ( STDMETHODCALLTYPE *ApplyChange )(
  3303. IDirsyncWriteProvider * This,
  3304. /* [in] */ PDIRSYNCOBJECT pObject);
  3305. HRESULT ( STDMETHODCALLTYPE *CommitChanges )(
  3306. IDirsyncWriteProvider * This);
  3307. HRESULT ( STDMETHODCALLTYPE *Terminate )(
  3308. IDirsyncWriteProvider * This);
  3309. END_INTERFACE
  3310. } IDirsyncWriteProviderVtbl;
  3311. interface IDirsyncWriteProvider
  3312. {
  3313. CONST_VTBL struct IDirsyncWriteProviderVtbl *lpVtbl;
  3314. };
  3315. #ifdef COBJMACROS
  3316. #define IDirsyncWriteProvider_QueryInterface(This,riid,ppvObject) \
  3317. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3318. #define IDirsyncWriteProvider_AddRef(This) \
  3319. (This)->lpVtbl -> AddRef(This)
  3320. #define IDirsyncWriteProvider_Release(This) \
  3321. (This)->lpVtbl -> Release(This)
  3322. #define IDirsyncWriteProvider_Initialize(This,pSession,pSessionCallback,pSessionManager,pObjectMapper,syncDirection,fFullSync) \
  3323. (This)->lpVtbl -> Initialize(This,pSession,pSessionCallback,pSessionManager,pObjectMapper,syncDirection,fFullSync)
  3324. #define IDirsyncWriteProvider_ApplyChange(This,pObject) \
  3325. (This)->lpVtbl -> ApplyChange(This,pObject)
  3326. #define IDirsyncWriteProvider_CommitChanges(This) \
  3327. (This)->lpVtbl -> CommitChanges(This)
  3328. #define IDirsyncWriteProvider_Terminate(This) \
  3329. (This)->lpVtbl -> Terminate(This)
  3330. #endif /* COBJMACROS */
  3331. #endif /* C style interface */
  3332. HRESULT STDMETHODCALLTYPE IDirsyncWriteProvider_Initialize_Proxy(
  3333. IDirsyncWriteProvider * This,
  3334. /* [in] */ IDirsyncSession *pSession,
  3335. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3336. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3337. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3338. /* [in] */ SYNCDIRECTION syncDirection,
  3339. /* [in] */ BOOL fFullSync);
  3340. void __RPC_STUB IDirsyncWriteProvider_Initialize_Stub(
  3341. IRpcStubBuffer *This,
  3342. IRpcChannelBuffer *_pRpcChannelBuffer,
  3343. PRPC_MESSAGE _pRpcMessage,
  3344. DWORD *_pdwStubPhase);
  3345. HRESULT STDMETHODCALLTYPE IDirsyncWriteProvider_ApplyChange_Proxy(
  3346. IDirsyncWriteProvider * This,
  3347. /* [in] */ PDIRSYNCOBJECT pObject);
  3348. void __RPC_STUB IDirsyncWriteProvider_ApplyChange_Stub(
  3349. IRpcStubBuffer *This,
  3350. IRpcChannelBuffer *_pRpcChannelBuffer,
  3351. PRPC_MESSAGE _pRpcMessage,
  3352. DWORD *_pdwStubPhase);
  3353. HRESULT STDMETHODCALLTYPE IDirsyncWriteProvider_CommitChanges_Proxy(
  3354. IDirsyncWriteProvider * This);
  3355. void __RPC_STUB IDirsyncWriteProvider_CommitChanges_Stub(
  3356. IRpcStubBuffer *This,
  3357. IRpcChannelBuffer *_pRpcChannelBuffer,
  3358. PRPC_MESSAGE _pRpcMessage,
  3359. DWORD *_pdwStubPhase);
  3360. HRESULT STDMETHODCALLTYPE IDirsyncWriteProvider_Terminate_Proxy(
  3361. IDirsyncWriteProvider * This);
  3362. void __RPC_STUB IDirsyncWriteProvider_Terminate_Stub(
  3363. IRpcStubBuffer *This,
  3364. IRpcChannelBuffer *_pRpcChannelBuffer,
  3365. PRPC_MESSAGE _pRpcMessage,
  3366. DWORD *_pdwStubPhase);
  3367. #endif /* __IDirsyncWriteProvider_INTERFACE_DEFINED__ */
  3368. #ifndef __IDirsyncServer_INTERFACE_DEFINED__
  3369. #define __IDirsyncServer_INTERFACE_DEFINED__
  3370. /* interface IDirsyncServer */
  3371. /* [unique][helpstring][uuid][object] */
  3372. EXTERN_C const IID IID_IDirsyncServer;
  3373. #if defined(__cplusplus) && !defined(CINTERFACE)
  3374. MIDL_INTERFACE("43bc048c-c8ec-11d1-a40b-00c04fb950dc")
  3375. IDirsyncServer : public IUnknown
  3376. {
  3377. public:
  3378. virtual HRESULT STDMETHODCALLTYPE RegisterProvider(
  3379. /* [in] */ PROVIDERTYPE providerType,
  3380. /* [in] */ PWSTR pDirectoryType,
  3381. /* [in] */ REFCLSID rclsid) = 0;
  3382. virtual HRESULT STDMETHODCALLTYPE UnregisterProvider(
  3383. /* [in] */ PROVIDERTYPE providerType,
  3384. /* [in] */ PWSTR pDirectoryType) = 0;
  3385. virtual HRESULT STDMETHODCALLTYPE GetServers(
  3386. /* [size_is][size_is][out] */ PWSTR **prgpszServers,
  3387. /* [out] */ DWORD *pnServers) = 0;
  3388. virtual HRESULT STDMETHODCALLTYPE RegisterCustomMapper(
  3389. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3390. /* [in] */ PWSTR pszDirectoryType,
  3391. /* [in] */ PWSTR pszClassName,
  3392. /* [in] */ PWSTR pszAttrName,
  3393. /* [in] */ REFCLSID rclsid) = 0;
  3394. virtual HRESULT STDMETHODCALLTYPE UnregisterCustomMapper(
  3395. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3396. /* [in] */ PWSTR pszDirectoryType,
  3397. /* [in] */ PWSTR pszClassName,
  3398. /* [in] */ PWSTR pszAttrName) = 0;
  3399. virtual HRESULT STDMETHODCALLTYPE GetSessionManager(
  3400. /* [retval][out] */ IDirsyncSessionManager **ppSessionManager) = 0;
  3401. };
  3402. #else /* C style interface */
  3403. typedef struct IDirsyncServerVtbl
  3404. {
  3405. BEGIN_INTERFACE
  3406. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3407. IDirsyncServer * This,
  3408. /* [in] */ REFIID riid,
  3409. /* [iid_is][out] */ void **ppvObject);
  3410. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3411. IDirsyncServer * This);
  3412. ULONG ( STDMETHODCALLTYPE *Release )(
  3413. IDirsyncServer * This);
  3414. HRESULT ( STDMETHODCALLTYPE *RegisterProvider )(
  3415. IDirsyncServer * This,
  3416. /* [in] */ PROVIDERTYPE providerType,
  3417. /* [in] */ PWSTR pDirectoryType,
  3418. /* [in] */ REFCLSID rclsid);
  3419. HRESULT ( STDMETHODCALLTYPE *UnregisterProvider )(
  3420. IDirsyncServer * This,
  3421. /* [in] */ PROVIDERTYPE providerType,
  3422. /* [in] */ PWSTR pDirectoryType);
  3423. HRESULT ( STDMETHODCALLTYPE *GetServers )(
  3424. IDirsyncServer * This,
  3425. /* [size_is][size_is][out] */ PWSTR **prgpszServers,
  3426. /* [out] */ DWORD *pnServers);
  3427. HRESULT ( STDMETHODCALLTYPE *RegisterCustomMapper )(
  3428. IDirsyncServer * This,
  3429. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3430. /* [in] */ PWSTR pszDirectoryType,
  3431. /* [in] */ PWSTR pszClassName,
  3432. /* [in] */ PWSTR pszAttrName,
  3433. /* [in] */ REFCLSID rclsid);
  3434. HRESULT ( STDMETHODCALLTYPE *UnregisterCustomMapper )(
  3435. IDirsyncServer * This,
  3436. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3437. /* [in] */ PWSTR pszDirectoryType,
  3438. /* [in] */ PWSTR pszClassName,
  3439. /* [in] */ PWSTR pszAttrName);
  3440. HRESULT ( STDMETHODCALLTYPE *GetSessionManager )(
  3441. IDirsyncServer * This,
  3442. /* [retval][out] */ IDirsyncSessionManager **ppSessionManager);
  3443. END_INTERFACE
  3444. } IDirsyncServerVtbl;
  3445. interface IDirsyncServer
  3446. {
  3447. CONST_VTBL struct IDirsyncServerVtbl *lpVtbl;
  3448. };
  3449. #ifdef COBJMACROS
  3450. #define IDirsyncServer_QueryInterface(This,riid,ppvObject) \
  3451. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3452. #define IDirsyncServer_AddRef(This) \
  3453. (This)->lpVtbl -> AddRef(This)
  3454. #define IDirsyncServer_Release(This) \
  3455. (This)->lpVtbl -> Release(This)
  3456. #define IDirsyncServer_RegisterProvider(This,providerType,pDirectoryType,rclsid) \
  3457. (This)->lpVtbl -> RegisterProvider(This,providerType,pDirectoryType,rclsid)
  3458. #define IDirsyncServer_UnregisterProvider(This,providerType,pDirectoryType) \
  3459. (This)->lpVtbl -> UnregisterProvider(This,providerType,pDirectoryType)
  3460. #define IDirsyncServer_GetServers(This,prgpszServers,pnServers) \
  3461. (This)->lpVtbl -> GetServers(This,prgpszServers,pnServers)
  3462. #define IDirsyncServer_RegisterCustomMapper(This,mapperType,pszDirectoryType,pszClassName,pszAttrName,rclsid) \
  3463. (This)->lpVtbl -> RegisterCustomMapper(This,mapperType,pszDirectoryType,pszClassName,pszAttrName,rclsid)
  3464. #define IDirsyncServer_UnregisterCustomMapper(This,mapperType,pszDirectoryType,pszClassName,pszAttrName) \
  3465. (This)->lpVtbl -> UnregisterCustomMapper(This,mapperType,pszDirectoryType,pszClassName,pszAttrName)
  3466. #define IDirsyncServer_GetSessionManager(This,ppSessionManager) \
  3467. (This)->lpVtbl -> GetSessionManager(This,ppSessionManager)
  3468. #endif /* COBJMACROS */
  3469. #endif /* C style interface */
  3470. HRESULT STDMETHODCALLTYPE IDirsyncServer_RegisterProvider_Proxy(
  3471. IDirsyncServer * This,
  3472. /* [in] */ PROVIDERTYPE providerType,
  3473. /* [in] */ PWSTR pDirectoryType,
  3474. /* [in] */ REFCLSID rclsid);
  3475. void __RPC_STUB IDirsyncServer_RegisterProvider_Stub(
  3476. IRpcStubBuffer *This,
  3477. IRpcChannelBuffer *_pRpcChannelBuffer,
  3478. PRPC_MESSAGE _pRpcMessage,
  3479. DWORD *_pdwStubPhase);
  3480. HRESULT STDMETHODCALLTYPE IDirsyncServer_UnregisterProvider_Proxy(
  3481. IDirsyncServer * This,
  3482. /* [in] */ PROVIDERTYPE providerType,
  3483. /* [in] */ PWSTR pDirectoryType);
  3484. void __RPC_STUB IDirsyncServer_UnregisterProvider_Stub(
  3485. IRpcStubBuffer *This,
  3486. IRpcChannelBuffer *_pRpcChannelBuffer,
  3487. PRPC_MESSAGE _pRpcMessage,
  3488. DWORD *_pdwStubPhase);
  3489. HRESULT STDMETHODCALLTYPE IDirsyncServer_GetServers_Proxy(
  3490. IDirsyncServer * This,
  3491. /* [size_is][size_is][out] */ PWSTR **prgpszServers,
  3492. /* [out] */ DWORD *pnServers);
  3493. void __RPC_STUB IDirsyncServer_GetServers_Stub(
  3494. IRpcStubBuffer *This,
  3495. IRpcChannelBuffer *_pRpcChannelBuffer,
  3496. PRPC_MESSAGE _pRpcMessage,
  3497. DWORD *_pdwStubPhase);
  3498. HRESULT STDMETHODCALLTYPE IDirsyncServer_RegisterCustomMapper_Proxy(
  3499. IDirsyncServer * This,
  3500. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3501. /* [in] */ PWSTR pszDirectoryType,
  3502. /* [in] */ PWSTR pszClassName,
  3503. /* [in] */ PWSTR pszAttrName,
  3504. /* [in] */ REFCLSID rclsid);
  3505. void __RPC_STUB IDirsyncServer_RegisterCustomMapper_Stub(
  3506. IRpcStubBuffer *This,
  3507. IRpcChannelBuffer *_pRpcChannelBuffer,
  3508. PRPC_MESSAGE _pRpcMessage,
  3509. DWORD *_pdwStubPhase);
  3510. HRESULT STDMETHODCALLTYPE IDirsyncServer_UnregisterCustomMapper_Proxy(
  3511. IDirsyncServer * This,
  3512. /* [in] */ CUSTOMMAPPERTYPE mapperType,
  3513. /* [in] */ PWSTR pszDirectoryType,
  3514. /* [in] */ PWSTR pszClassName,
  3515. /* [in] */ PWSTR pszAttrName);
  3516. void __RPC_STUB IDirsyncServer_UnregisterCustomMapper_Stub(
  3517. IRpcStubBuffer *This,
  3518. IRpcChannelBuffer *_pRpcChannelBuffer,
  3519. PRPC_MESSAGE _pRpcMessage,
  3520. DWORD *_pdwStubPhase);
  3521. HRESULT STDMETHODCALLTYPE IDirsyncServer_GetSessionManager_Proxy(
  3522. IDirsyncServer * This,
  3523. /* [retval][out] */ IDirsyncSessionManager **ppSessionManager);
  3524. void __RPC_STUB IDirsyncServer_GetSessionManager_Stub(
  3525. IRpcStubBuffer *This,
  3526. IRpcChannelBuffer *_pRpcChannelBuffer,
  3527. PRPC_MESSAGE _pRpcMessage,
  3528. DWORD *_pdwStubPhase);
  3529. #endif /* __IDirsyncServer_INTERFACE_DEFINED__ */
  3530. #ifndef __IDirsyncReadProvider_INTERFACE_DEFINED__
  3531. #define __IDirsyncReadProvider_INTERFACE_DEFINED__
  3532. /* interface IDirsyncReadProvider */
  3533. /* [unique][helpstring][uuid][local][object] */
  3534. EXTERN_C const IID IID_IDirsyncReadProvider;
  3535. #if defined(__cplusplus) && !defined(CINTERFACE)
  3536. MIDL_INTERFACE("ac80a9d2-de29-11d1-ba56-2700272c2027")
  3537. IDirsyncReadProvider : public IUnknown
  3538. {
  3539. public:
  3540. virtual HRESULT STDMETHODCALLTYPE Initialize(
  3541. /* [in] */ IDirsyncSession *pSession,
  3542. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3543. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3544. /* [in] */ SYNCDIRECTION syncDirection,
  3545. /* [in] */ BOOL fFullSync) = 0;
  3546. virtual HRESULT STDMETHODCALLTYPE GetNextChange(
  3547. /* [out] */ PDIRSYNCOBJECT *ppObject,
  3548. /* [out] */ PBYTE *ppWatermark,
  3549. /* [out] */ DWORD *pcbWatermark,
  3550. /* [out][in] */ DWORD *pdwPercentCompleted) = 0;
  3551. virtual HRESULT STDMETHODCALLTYPE UpdateWatermark(
  3552. /* [in] */ PBYTE pWatermark,
  3553. /* [in] */ DWORD cbWatermark) = 0;
  3554. virtual HRESULT STDMETHODCALLTYPE Terminate( void) = 0;
  3555. virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_IsIncrementalChangesAvailable(
  3556. /* [retval][out] */ BOOL *fIsIncrementalChangesAvailable) = 0;
  3557. };
  3558. #else /* C style interface */
  3559. typedef struct IDirsyncReadProviderVtbl
  3560. {
  3561. BEGIN_INTERFACE
  3562. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3563. IDirsyncReadProvider * This,
  3564. /* [in] */ REFIID riid,
  3565. /* [iid_is][out] */ void **ppvObject);
  3566. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3567. IDirsyncReadProvider * This);
  3568. ULONG ( STDMETHODCALLTYPE *Release )(
  3569. IDirsyncReadProvider * This);
  3570. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  3571. IDirsyncReadProvider * This,
  3572. /* [in] */ IDirsyncSession *pSession,
  3573. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3574. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3575. /* [in] */ SYNCDIRECTION syncDirection,
  3576. /* [in] */ BOOL fFullSync);
  3577. HRESULT ( STDMETHODCALLTYPE *GetNextChange )(
  3578. IDirsyncReadProvider * This,
  3579. /* [out] */ PDIRSYNCOBJECT *ppObject,
  3580. /* [out] */ PBYTE *ppWatermark,
  3581. /* [out] */ DWORD *pcbWatermark,
  3582. /* [out][in] */ DWORD *pdwPercentCompleted);
  3583. HRESULT ( STDMETHODCALLTYPE *UpdateWatermark )(
  3584. IDirsyncReadProvider * This,
  3585. /* [in] */ PBYTE pWatermark,
  3586. /* [in] */ DWORD cbWatermark);
  3587. HRESULT ( STDMETHODCALLTYPE *Terminate )(
  3588. IDirsyncReadProvider * This);
  3589. /* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_IsIncrementalChangesAvailable )(
  3590. IDirsyncReadProvider * This,
  3591. /* [retval][out] */ BOOL *fIsIncrementalChangesAvailable);
  3592. END_INTERFACE
  3593. } IDirsyncReadProviderVtbl;
  3594. interface IDirsyncReadProvider
  3595. {
  3596. CONST_VTBL struct IDirsyncReadProviderVtbl *lpVtbl;
  3597. };
  3598. #ifdef COBJMACROS
  3599. #define IDirsyncReadProvider_QueryInterface(This,riid,ppvObject) \
  3600. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3601. #define IDirsyncReadProvider_AddRef(This) \
  3602. (This)->lpVtbl -> AddRef(This)
  3603. #define IDirsyncReadProvider_Release(This) \
  3604. (This)->lpVtbl -> Release(This)
  3605. #define IDirsyncReadProvider_Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection,fFullSync) \
  3606. (This)->lpVtbl -> Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection,fFullSync)
  3607. #define IDirsyncReadProvider_GetNextChange(This,ppObject,ppWatermark,pcbWatermark,pdwPercentCompleted) \
  3608. (This)->lpVtbl -> GetNextChange(This,ppObject,ppWatermark,pcbWatermark,pdwPercentCompleted)
  3609. #define IDirsyncReadProvider_UpdateWatermark(This,pWatermark,cbWatermark) \
  3610. (This)->lpVtbl -> UpdateWatermark(This,pWatermark,cbWatermark)
  3611. #define IDirsyncReadProvider_Terminate(This) \
  3612. (This)->lpVtbl -> Terminate(This)
  3613. #define IDirsyncReadProvider_get_IsIncrementalChangesAvailable(This,fIsIncrementalChangesAvailable) \
  3614. (This)->lpVtbl -> get_IsIncrementalChangesAvailable(This,fIsIncrementalChangesAvailable)
  3615. #endif /* COBJMACROS */
  3616. #endif /* C style interface */
  3617. HRESULT STDMETHODCALLTYPE IDirsyncReadProvider_Initialize_Proxy(
  3618. IDirsyncReadProvider * This,
  3619. /* [in] */ IDirsyncSession *pSession,
  3620. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3621. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3622. /* [in] */ SYNCDIRECTION syncDirection,
  3623. /* [in] */ BOOL fFullSync);
  3624. void __RPC_STUB IDirsyncReadProvider_Initialize_Stub(
  3625. IRpcStubBuffer *This,
  3626. IRpcChannelBuffer *_pRpcChannelBuffer,
  3627. PRPC_MESSAGE _pRpcMessage,
  3628. DWORD *_pdwStubPhase);
  3629. HRESULT STDMETHODCALLTYPE IDirsyncReadProvider_GetNextChange_Proxy(
  3630. IDirsyncReadProvider * This,
  3631. /* [out] */ PDIRSYNCOBJECT *ppObject,
  3632. /* [out] */ PBYTE *ppWatermark,
  3633. /* [out] */ DWORD *pcbWatermark,
  3634. /* [out][in] */ DWORD *pdwPercentCompleted);
  3635. void __RPC_STUB IDirsyncReadProvider_GetNextChange_Stub(
  3636. IRpcStubBuffer *This,
  3637. IRpcChannelBuffer *_pRpcChannelBuffer,
  3638. PRPC_MESSAGE _pRpcMessage,
  3639. DWORD *_pdwStubPhase);
  3640. HRESULT STDMETHODCALLTYPE IDirsyncReadProvider_UpdateWatermark_Proxy(
  3641. IDirsyncReadProvider * This,
  3642. /* [in] */ PBYTE pWatermark,
  3643. /* [in] */ DWORD cbWatermark);
  3644. void __RPC_STUB IDirsyncReadProvider_UpdateWatermark_Stub(
  3645. IRpcStubBuffer *This,
  3646. IRpcChannelBuffer *_pRpcChannelBuffer,
  3647. PRPC_MESSAGE _pRpcMessage,
  3648. DWORD *_pdwStubPhase);
  3649. HRESULT STDMETHODCALLTYPE IDirsyncReadProvider_Terminate_Proxy(
  3650. IDirsyncReadProvider * This);
  3651. void __RPC_STUB IDirsyncReadProvider_Terminate_Stub(
  3652. IRpcStubBuffer *This,
  3653. IRpcChannelBuffer *_pRpcChannelBuffer,
  3654. PRPC_MESSAGE _pRpcMessage,
  3655. DWORD *_pdwStubPhase);
  3656. /* [propget] */ HRESULT STDMETHODCALLTYPE IDirsyncReadProvider_get_IsIncrementalChangesAvailable_Proxy(
  3657. IDirsyncReadProvider * This,
  3658. /* [retval][out] */ BOOL *fIsIncrementalChangesAvailable);
  3659. void __RPC_STUB IDirsyncReadProvider_get_IsIncrementalChangesAvailable_Stub(
  3660. IRpcStubBuffer *This,
  3661. IRpcChannelBuffer *_pRpcChannelBuffer,
  3662. PRPC_MESSAGE _pRpcMessage,
  3663. DWORD *_pdwStubPhase);
  3664. #endif /* __IDirsyncReadProvider_INTERFACE_DEFINED__ */
  3665. /* interface __MIDL_itf_dirsync_0121 */
  3666. /* [local] */
  3667. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0121_v0_0_c_ifspec;
  3668. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0121_v0_0_s_ifspec;
  3669. #ifndef __IDirsyncNamespaceMapper_INTERFACE_DEFINED__
  3670. #define __IDirsyncNamespaceMapper_INTERFACE_DEFINED__
  3671. /* interface IDirsyncNamespaceMapper */
  3672. /* [unique][helpstring][uuid][local][object] */
  3673. EXTERN_C const IID IID_IDirsyncNamespaceMapper;
  3674. #if defined(__cplusplus) && !defined(CINTERFACE)
  3675. MIDL_INTERFACE("a4f0c94e-27e3-11d2-a159-00c04fb950dc")
  3676. IDirsyncNamespaceMapper : public IUnknown
  3677. {
  3678. public:
  3679. virtual HRESULT STDMETHODCALLTYPE Initialize(
  3680. /* [in] */ IDirsyncSession *pSession,
  3681. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3682. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3683. /* [in] */ SYNCDIRECTION syncDirection) = 0;
  3684. virtual HRESULT STDMETHODCALLTYPE MapNamespace(
  3685. /* [in] */ PWSTR pszSourceDN,
  3686. /* [in] */ PWSTR pszSourceOldDN,
  3687. /* [out] */ PWSTR *ppszTargetDN,
  3688. /* [out] */ PWSTR *ppszTargetOldDN,
  3689. /* [in] */ PWSTR pszAttribute,
  3690. /* [in] */ PWSTR pszClass,
  3691. /* [in] */ BOOL fTargetIDAvailable) = 0;
  3692. };
  3693. #else /* C style interface */
  3694. typedef struct IDirsyncNamespaceMapperVtbl
  3695. {
  3696. BEGIN_INTERFACE
  3697. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3698. IDirsyncNamespaceMapper * This,
  3699. /* [in] */ REFIID riid,
  3700. /* [iid_is][out] */ void **ppvObject);
  3701. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3702. IDirsyncNamespaceMapper * This);
  3703. ULONG ( STDMETHODCALLTYPE *Release )(
  3704. IDirsyncNamespaceMapper * This);
  3705. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  3706. IDirsyncNamespaceMapper * This,
  3707. /* [in] */ IDirsyncSession *pSession,
  3708. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3709. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3710. /* [in] */ SYNCDIRECTION syncDirection);
  3711. HRESULT ( STDMETHODCALLTYPE *MapNamespace )(
  3712. IDirsyncNamespaceMapper * This,
  3713. /* [in] */ PWSTR pszSourceDN,
  3714. /* [in] */ PWSTR pszSourceOldDN,
  3715. /* [out] */ PWSTR *ppszTargetDN,
  3716. /* [out] */ PWSTR *ppszTargetOldDN,
  3717. /* [in] */ PWSTR pszAttribute,
  3718. /* [in] */ PWSTR pszClass,
  3719. /* [in] */ BOOL fTargetIDAvailable);
  3720. END_INTERFACE
  3721. } IDirsyncNamespaceMapperVtbl;
  3722. interface IDirsyncNamespaceMapper
  3723. {
  3724. CONST_VTBL struct IDirsyncNamespaceMapperVtbl *lpVtbl;
  3725. };
  3726. #ifdef COBJMACROS
  3727. #define IDirsyncNamespaceMapper_QueryInterface(This,riid,ppvObject) \
  3728. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3729. #define IDirsyncNamespaceMapper_AddRef(This) \
  3730. (This)->lpVtbl -> AddRef(This)
  3731. #define IDirsyncNamespaceMapper_Release(This) \
  3732. (This)->lpVtbl -> Release(This)
  3733. #define IDirsyncNamespaceMapper_Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection) \
  3734. (This)->lpVtbl -> Initialize(This,pSession,pSessionCallback,pSessionManager,syncDirection)
  3735. #define IDirsyncNamespaceMapper_MapNamespace(This,pszSourceDN,pszSourceOldDN,ppszTargetDN,ppszTargetOldDN,pszAttribute,pszClass,fTargetIDAvailable) \
  3736. (This)->lpVtbl -> MapNamespace(This,pszSourceDN,pszSourceOldDN,ppszTargetDN,ppszTargetOldDN,pszAttribute,pszClass,fTargetIDAvailable)
  3737. #endif /* COBJMACROS */
  3738. #endif /* C style interface */
  3739. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapper_Initialize_Proxy(
  3740. IDirsyncNamespaceMapper * This,
  3741. /* [in] */ IDirsyncSession *pSession,
  3742. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3743. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3744. /* [in] */ SYNCDIRECTION syncDirection);
  3745. void __RPC_STUB IDirsyncNamespaceMapper_Initialize_Stub(
  3746. IRpcStubBuffer *This,
  3747. IRpcChannelBuffer *_pRpcChannelBuffer,
  3748. PRPC_MESSAGE _pRpcMessage,
  3749. DWORD *_pdwStubPhase);
  3750. HRESULT STDMETHODCALLTYPE IDirsyncNamespaceMapper_MapNamespace_Proxy(
  3751. IDirsyncNamespaceMapper * This,
  3752. /* [in] */ PWSTR pszSourceDN,
  3753. /* [in] */ PWSTR pszSourceOldDN,
  3754. /* [out] */ PWSTR *ppszTargetDN,
  3755. /* [out] */ PWSTR *ppszTargetOldDN,
  3756. /* [in] */ PWSTR pszAttribute,
  3757. /* [in] */ PWSTR pszClass,
  3758. /* [in] */ BOOL fTargetIDAvailable);
  3759. void __RPC_STUB IDirsyncNamespaceMapper_MapNamespace_Stub(
  3760. IRpcStubBuffer *This,
  3761. IRpcChannelBuffer *_pRpcChannelBuffer,
  3762. PRPC_MESSAGE _pRpcMessage,
  3763. DWORD *_pdwStubPhase);
  3764. #endif /* __IDirsyncNamespaceMapper_INTERFACE_DEFINED__ */
  3765. #ifndef __IDirsyncAttributeMapper_INTERFACE_DEFINED__
  3766. #define __IDirsyncAttributeMapper_INTERFACE_DEFINED__
  3767. /* interface IDirsyncAttributeMapper */
  3768. /* [unique][helpstring][uuid][local][object] */
  3769. EXTERN_C const IID IID_IDirsyncAttributeMapper;
  3770. #if defined(__cplusplus) && !defined(CINTERFACE)
  3771. MIDL_INTERFACE("1fff291c-413b-11d2-917d-0000f87a92ea")
  3772. IDirsyncAttributeMapper : public IUnknown
  3773. {
  3774. public:
  3775. virtual HRESULT STDMETHODCALLTYPE Initialize(
  3776. /* [in] */ IDirsyncSession *pSession,
  3777. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3778. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3779. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3780. /* [in] */ SYNCDIRECTION syncDirection) = 0;
  3781. virtual HRESULT STDMETHODCALLTYPE MapAttribute(
  3782. /* [out][in] */ PDIRSYNCOBJECT pObject,
  3783. /* [out][in] */ PDIRSYNCATTRIBUTE pAttribute) = 0;
  3784. };
  3785. #else /* C style interface */
  3786. typedef struct IDirsyncAttributeMapperVtbl
  3787. {
  3788. BEGIN_INTERFACE
  3789. HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
  3790. IDirsyncAttributeMapper * This,
  3791. /* [in] */ REFIID riid,
  3792. /* [iid_is][out] */ void **ppvObject);
  3793. ULONG ( STDMETHODCALLTYPE *AddRef )(
  3794. IDirsyncAttributeMapper * This);
  3795. ULONG ( STDMETHODCALLTYPE *Release )(
  3796. IDirsyncAttributeMapper * This);
  3797. HRESULT ( STDMETHODCALLTYPE *Initialize )(
  3798. IDirsyncAttributeMapper * This,
  3799. /* [in] */ IDirsyncSession *pSession,
  3800. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3801. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3802. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3803. /* [in] */ SYNCDIRECTION syncDirection);
  3804. HRESULT ( STDMETHODCALLTYPE *MapAttribute )(
  3805. IDirsyncAttributeMapper * This,
  3806. /* [out][in] */ PDIRSYNCOBJECT pObject,
  3807. /* [out][in] */ PDIRSYNCATTRIBUTE pAttribute);
  3808. END_INTERFACE
  3809. } IDirsyncAttributeMapperVtbl;
  3810. interface IDirsyncAttributeMapper
  3811. {
  3812. CONST_VTBL struct IDirsyncAttributeMapperVtbl *lpVtbl;
  3813. };
  3814. #ifdef COBJMACROS
  3815. #define IDirsyncAttributeMapper_QueryInterface(This,riid,ppvObject) \
  3816. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3817. #define IDirsyncAttributeMapper_AddRef(This) \
  3818. (This)->lpVtbl -> AddRef(This)
  3819. #define IDirsyncAttributeMapper_Release(This) \
  3820. (This)->lpVtbl -> Release(This)
  3821. #define IDirsyncAttributeMapper_Initialize(This,pSession,pSessionCallback,pSessionManager,pObjectMapper,syncDirection) \
  3822. (This)->lpVtbl -> Initialize(This,pSession,pSessionCallback,pSessionManager,pObjectMapper,syncDirection)
  3823. #define IDirsyncAttributeMapper_MapAttribute(This,pObject,pAttribute) \
  3824. (This)->lpVtbl -> MapAttribute(This,pObject,pAttribute)
  3825. #endif /* COBJMACROS */
  3826. #endif /* C style interface */
  3827. HRESULT STDMETHODCALLTYPE IDirsyncAttributeMapper_Initialize_Proxy(
  3828. IDirsyncAttributeMapper * This,
  3829. /* [in] */ IDirsyncSession *pSession,
  3830. /* [in] */ IDirsyncSessionCallback *pSessionCallback,
  3831. /* [in] */ IDirsyncSessionManager *pSessionManager,
  3832. /* [in] */ IDirsyncObjectMapper *pObjectMapper,
  3833. /* [in] */ SYNCDIRECTION syncDirection);
  3834. void __RPC_STUB IDirsyncAttributeMapper_Initialize_Stub(
  3835. IRpcStubBuffer *This,
  3836. IRpcChannelBuffer *_pRpcChannelBuffer,
  3837. PRPC_MESSAGE _pRpcMessage,
  3838. DWORD *_pdwStubPhase);
  3839. HRESULT STDMETHODCALLTYPE IDirsyncAttributeMapper_MapAttribute_Proxy(
  3840. IDirsyncAttributeMapper * This,
  3841. /* [out][in] */ PDIRSYNCOBJECT pObject,
  3842. /* [out][in] */ PDIRSYNCATTRIBUTE pAttribute);
  3843. void __RPC_STUB IDirsyncAttributeMapper_MapAttribute_Stub(
  3844. IRpcStubBuffer *This,
  3845. IRpcChannelBuffer *_pRpcChannelBuffer,
  3846. PRPC_MESSAGE _pRpcMessage,
  3847. DWORD *_pdwStubPhase);
  3848. #endif /* __IDirsyncAttributeMapper_INTERFACE_DEFINED__ */
  3849. /* interface __MIDL_itf_dirsync_0123 */
  3850. /* [local] */
  3851. //
  3852. // Error codes for Dirsync
  3853. //
  3854. #define FAC_DIRSYNC 0x07AB
  3855. #define E_SESSION_NOT_FOUND MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0000)
  3856. #define E_SESSION_IN_PROGRESS MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0001)
  3857. #define E_SESSION_NOT_IN_PROGRESS MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0002)
  3858. #define E_SESSION_INVALIDDATA MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0003)
  3859. #define E_SESSION_MAXREACHED MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0004)
  3860. #define E_PASSWORD_UNENCRYPTED MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0005)
  3861. #define E_PASSWORD_UNAVAILABLE MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0006)
  3862. #define E_WRITE_CLASSCONFLICT MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0007)
  3863. #define E_WRITE_DUPATTR MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0008)
  3864. #define E_WRITE_DUPSAMACCOUNT MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0009)
  3865. #define E_DATABASE_CORRUPT MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000a)
  3866. #define E_INITIALIZATION_IN_PROGRESS MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000b)
  3867. #define E_SESSION_FAILEDOBJLIST_FULL MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000c)
  3868. #define E_BACKUP_IN_PROGRESS MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000d)
  3869. #define E_TWOWAYSYNC_RENAME_BEFORE_INIT_ADD MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000e)
  3870. #define E_TWOWAYSYNC_MASTER_HAS_MOVED MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x000f)
  3871. #define E_WRITE_ADDED_TO_FAILEDOBJLIST_RETRY MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0010)
  3872. #define E_WRITE_ADDED_TO_FAILEDOBJLIST_NORETRY MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0011)
  3873. #define E_TWOWAYSYNC_MODIFY_BUT_TARGETMOVED MAKE_HRESULT(SEVERITY_ERROR, FAC_DIRSYNC, 0x0012)
  3874. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0123_v0_0_c_ifspec;
  3875. extern RPC_IF_HANDLE __MIDL_itf_dirsync_0123_v0_0_s_ifspec;
  3876. #ifndef __Dirsync_LIBRARY_DEFINED__
  3877. #define __Dirsync_LIBRARY_DEFINED__
  3878. /* library Dirsync */
  3879. /* [helpstring][version][uuid] */
  3880. EXTERN_C const IID LIBID_Dirsync;
  3881. EXTERN_C const CLSID CLSID_DirsyncServer;
  3882. #ifdef __cplusplus
  3883. class DECLSPEC_UUID("56374e32-cdba-11d1-a40e-00c04fb950dc")
  3884. DirsyncServer;
  3885. #endif
  3886. #endif /* __Dirsync_LIBRARY_DEFINED__ */
  3887. /* Additional Prototypes for ALL interfaces */
  3888. /* end of Additional Prototypes */
  3889. #ifdef __cplusplus
  3890. }
  3891. #endif
  3892. #endif