1402 lines
44 KiB
C
1402 lines
44 KiB
C
|
|
||
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */
|
||
|
|
||
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
|
||
|
|
||
|
|
||
|
/* File created by MIDL compiler version 6.00.0347 */
|
||
|
/* Compiler settings for mobsync.idl:
|
||
|
Oicf, W1, Zp8, env=Win32 (32b run)
|
||
|
protocol : dce , ms_ext, c_ext, robust
|
||
|
error checks: allocation ref bounds_check enum stub_data
|
||
|
VC __declspec() decoration level:
|
||
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
|
||
|
DECLSPEC_UUID(), MIDL_INTERFACE()
|
||
|
*/
|
||
|
//@@MIDL_FILE_HEADING( )
|
||
|
|
||
|
|
||
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/
|
||
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||
|
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||
|
#endif
|
||
|
|
||
|
#include "rpc.h"
|
||
|
#include "rpcndr.h"
|
||
|
|
||
|
#ifndef __RPCNDR_H_VERSION__
|
||
|
#error this stub requires an updated version of <rpcndr.h>
|
||
|
#endif // __RPCNDR_H_VERSION__
|
||
|
|
||
|
#ifndef COM_NO_WINDOWS_H
|
||
|
#include "windows.h"
|
||
|
#include "ole2.h"
|
||
|
#endif /*COM_NO_WINDOWS_H*/
|
||
|
|
||
|
#ifndef __mobsync_h__
|
||
|
#define __mobsync_h__
|
||
|
|
||
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
/* Forward Declarations */
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronize_FWD_DEFINED__
|
||
|
#define __ISyncMgrSynchronize_FWD_DEFINED__
|
||
|
typedef interface ISyncMgrSynchronize ISyncMgrSynchronize;
|
||
|
#endif /* __ISyncMgrSynchronize_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronizeCallback_FWD_DEFINED__
|
||
|
#define __ISyncMgrSynchronizeCallback_FWD_DEFINED__
|
||
|
typedef interface ISyncMgrSynchronizeCallback ISyncMgrSynchronizeCallback;
|
||
|
#endif /* __ISyncMgrSynchronizeCallback_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrEnumItems_FWD_DEFINED__
|
||
|
#define __ISyncMgrEnumItems_FWD_DEFINED__
|
||
|
typedef interface ISyncMgrEnumItems ISyncMgrEnumItems;
|
||
|
#endif /* __ISyncMgrEnumItems_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronizeInvoke_FWD_DEFINED__
|
||
|
#define __ISyncMgrSynchronizeInvoke_FWD_DEFINED__
|
||
|
typedef interface ISyncMgrSynchronizeInvoke ISyncMgrSynchronizeInvoke;
|
||
|
#endif /* __ISyncMgrSynchronizeInvoke_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrRegister_FWD_DEFINED__
|
||
|
#define __ISyncMgrRegister_FWD_DEFINED__
|
||
|
typedef interface ISyncMgrRegister ISyncMgrRegister;
|
||
|
#endif /* __ISyncMgrRegister_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __SyncMgr_FWD_DEFINED__
|
||
|
#define __SyncMgr_FWD_DEFINED__
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
typedef class SyncMgr SyncMgr;
|
||
|
#else
|
||
|
typedef struct SyncMgr SyncMgr;
|
||
|
#endif /* __cplusplus */
|
||
|
|
||
|
#endif /* __SyncMgr_FWD_DEFINED__ */
|
||
|
|
||
|
|
||
|
/* header files for imported files */
|
||
|
#include "objidl.h"
|
||
|
#include "oleidl.h"
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"{
|
||
|
#endif
|
||
|
|
||
|
void * __RPC_USER MIDL_user_allocate(size_t);
|
||
|
void __RPC_USER MIDL_user_free( void * );
|
||
|
|
||
|
/* interface __MIDL_itf_mobsync_0000 */
|
||
|
/* [local] */
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
typedef GUID SYNCMGRITEMID;
|
||
|
|
||
|
typedef REFGUID REFSYNCMGRITEMID;
|
||
|
|
||
|
typedef GUID SYNCMGRERRORID;
|
||
|
|
||
|
typedef REFGUID REFSYNCMGRERRORID;
|
||
|
|
||
|
DEFINE_GUID(CLSID_SyncMgr,0x6295df27, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
DEFINE_GUID(IID_ISyncMgrSynchronize,0x6295df40, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
DEFINE_GUID(IID_ISyncMgrSynchronizeCallback,0x6295df41, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
DEFINE_GUID(IID_ISyncMgrRegister, 0x6295df42, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
DEFINE_GUID(IID_ISyncMgrEnumItems,0x6295df2a, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
DEFINE_GUID(IID_ISyncMgrSynchronizeInvoke,0x6295df2c, 0x35ee, 0x11d1, 0x87, 0x7, 0x0, 0xc0, 0x4f, 0xd9, 0x33, 0x27);
|
||
|
#define S_SYNCMGR_MISSINGITEMS MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0201)
|
||
|
#define S_SYNCMGR_RETRYSYNC MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0202)
|
||
|
#define S_SYNCMGR_CANCELITEM MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0203)
|
||
|
#define S_SYNCMGR_CANCELALL MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0204)
|
||
|
#define S_SYNCMGR_ITEMDELETED MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0210)
|
||
|
#define S_SYNCMGR_ENUMITEMS MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0211)
|
||
|
|
||
|
|
||
|
extern RPC_IF_HANDLE __MIDL_itf_mobsync_0000_v0_0_c_ifspec;
|
||
|
extern RPC_IF_HANDLE __MIDL_itf_mobsync_0000_v0_0_s_ifspec;
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronize_INTERFACE_DEFINED__
|
||
|
#define __ISyncMgrSynchronize_INTERFACE_DEFINED__
|
||
|
|
||
|
/* interface ISyncMgrSynchronize */
|
||
|
/* [uuid][object][local] */
|
||
|
|
||
|
typedef /* [unique] */ ISyncMgrSynchronize *LPSYNCMGRSYNCHRONIZE;
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRFLAG
|
||
|
{ SYNCMGRFLAG_CONNECT = 0x1,
|
||
|
SYNCMGRFLAG_PENDINGDISCONNECT = 0x2,
|
||
|
SYNCMGRFLAG_MANUAL = 0x3,
|
||
|
SYNCMGRFLAG_IDLE = 0x4,
|
||
|
SYNCMGRFLAG_INVOKE = 0x5,
|
||
|
SYNCMGRFLAG_SCHEDULED = 0x6,
|
||
|
SYNCMGRFLAG_EVENTMASK = 0xff,
|
||
|
SYNCMGRFLAG_SETTINGS = 0x100,
|
||
|
SYNCMGRFLAG_MAYBOTHERUSER = 0x200
|
||
|
} SYNCMGRFLAG;
|
||
|
|
||
|
#define MAX_SYNCMGRHANDLERNAME ( 32 )
|
||
|
|
||
|
#define SYNCMGRHANDLERFLAG_MASK 0x07
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRHANDLERFLAGS
|
||
|
{ SYNCMGRHANDLER_HASPROPERTIES = 0x1,
|
||
|
SYNCMGRHANDLER_MAYESTABLISHCONNECTION = 0x2,
|
||
|
SYNCMGRHANDLER_ALWAYSLISTHANDLER = 0x4
|
||
|
} SYNCMGRHANDLERFLAGS;
|
||
|
|
||
|
typedef struct _tagSYNCMGRHANDLERINFO
|
||
|
{
|
||
|
DWORD cbSize;
|
||
|
HICON hIcon;
|
||
|
DWORD SyncMgrHandlerFlags;
|
||
|
WCHAR wszHandlerName[ 32 ];
|
||
|
} SYNCMGRHANDLERINFO;
|
||
|
|
||
|
typedef struct _tagSYNCMGRHANDLERINFO *LPSYNCMGRHANDLERINFO;
|
||
|
|
||
|
#define SYNCMGRITEMSTATE_UNCHECKED 0x0000
|
||
|
#define SYNCMGRITEMSTATE_CHECKED 0x0001
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRSTATUS
|
||
|
{ SYNCMGRSTATUS_STOPPED = 0,
|
||
|
SYNCMGRSTATUS_SKIPPED = 0x1,
|
||
|
SYNCMGRSTATUS_PENDING = 0x2,
|
||
|
SYNCMGRSTATUS_UPDATING = 0x3,
|
||
|
SYNCMGRSTATUS_SUCCEEDED = 0x4,
|
||
|
SYNCMGRSTATUS_FAILED = 0x5,
|
||
|
SYNCMGRSTATUS_PAUSED = 0x6,
|
||
|
SYNCMGRSTATUS_RESUMING = 0x7,
|
||
|
SYNCMGRSTATUS_DELETED = 0x100
|
||
|
} SYNCMGRSTATUS;
|
||
|
|
||
|
|
||
|
EXTERN_C const IID IID_ISyncMgrSynchronize;
|
||
|
|
||
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||
|
|
||
|
MIDL_INTERFACE("6295DF40-35EE-11d1-8707-00C04FD93327")
|
||
|
ISyncMgrSynchronize : public IUnknown
|
||
|
{
|
||
|
public:
|
||
|
virtual HRESULT STDMETHODCALLTYPE Initialize(
|
||
|
/* [in] */ DWORD dwReserved,
|
||
|
/* [in] */ DWORD dwSyncMgrFlags,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE GetHandlerInfo(
|
||
|
/* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE EnumSyncMgrItems(
|
||
|
/* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE GetItemObject(
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppv) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE ShowProperties(
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE SetProgressCallback(
|
||
|
/* [unique][in] */ ISyncMgrSynchronizeCallback *lpCallBack) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE PrepareForSync(
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][in] */ SYNCMGRITEMID *pItemIDs,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ DWORD dwReserved) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE Synchronize(
|
||
|
/* [in] */ HWND hWndParent) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE SetItemStatus(
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [in] */ DWORD dwSyncMgrStatus) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE ShowError(
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID) = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
#else /* C style interface */
|
||
|
|
||
|
typedef struct ISyncMgrSynchronizeVtbl
|
||
|
{
|
||
|
BEGIN_INTERFACE
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppvObject);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||
|
ISyncMgrSynchronize * This);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
||
|
ISyncMgrSynchronize * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Initialize )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ DWORD dwReserved,
|
||
|
/* [in] */ DWORD dwSyncMgrFlags,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *GetHandlerInfo )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *EnumSyncMgrItems )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *GetItemObject )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppv);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *ShowProperties )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *SetProgressCallback )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [unique][in] */ ISyncMgrSynchronizeCallback *lpCallBack);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *PrepareForSync )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][in] */ SYNCMGRITEMID *pItemIDs,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Synchronize )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *SetItemStatus )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [in] */ DWORD dwSyncMgrStatus);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *ShowError )(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID);
|
||
|
|
||
|
END_INTERFACE
|
||
|
} ISyncMgrSynchronizeVtbl;
|
||
|
|
||
|
interface ISyncMgrSynchronize
|
||
|
{
|
||
|
CONST_VTBL struct ISyncMgrSynchronizeVtbl *lpVtbl;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef COBJMACROS
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronize_QueryInterface(This,riid,ppvObject) \
|
||
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||
|
|
||
|
#define ISyncMgrSynchronize_AddRef(This) \
|
||
|
(This)->lpVtbl -> AddRef(This)
|
||
|
|
||
|
#define ISyncMgrSynchronize_Release(This) \
|
||
|
(This)->lpVtbl -> Release(This)
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronize_Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie) \
|
||
|
(This)->lpVtbl -> Initialize(This,dwReserved,dwSyncMgrFlags,cbCookie,lpCookie)
|
||
|
|
||
|
#define ISyncMgrSynchronize_GetHandlerInfo(This,ppSyncMgrHandlerInfo) \
|
||
|
(This)->lpVtbl -> GetHandlerInfo(This,ppSyncMgrHandlerInfo)
|
||
|
|
||
|
#define ISyncMgrSynchronize_EnumSyncMgrItems(This,ppSyncMgrEnumItems) \
|
||
|
(This)->lpVtbl -> EnumSyncMgrItems(This,ppSyncMgrEnumItems)
|
||
|
|
||
|
#define ISyncMgrSynchronize_GetItemObject(This,ItemID,riid,ppv) \
|
||
|
(This)->lpVtbl -> GetItemObject(This,ItemID,riid,ppv)
|
||
|
|
||
|
#define ISyncMgrSynchronize_ShowProperties(This,hWndParent,ItemID) \
|
||
|
(This)->lpVtbl -> ShowProperties(This,hWndParent,ItemID)
|
||
|
|
||
|
#define ISyncMgrSynchronize_SetProgressCallback(This,lpCallBack) \
|
||
|
(This)->lpVtbl -> SetProgressCallback(This,lpCallBack)
|
||
|
|
||
|
#define ISyncMgrSynchronize_PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved) \
|
||
|
(This)->lpVtbl -> PrepareForSync(This,cbNumItems,pItemIDs,hWndParent,dwReserved)
|
||
|
|
||
|
#define ISyncMgrSynchronize_Synchronize(This,hWndParent) \
|
||
|
(This)->lpVtbl -> Synchronize(This,hWndParent)
|
||
|
|
||
|
#define ISyncMgrSynchronize_SetItemStatus(This,pItemID,dwSyncMgrStatus) \
|
||
|
(This)->lpVtbl -> SetItemStatus(This,pItemID,dwSyncMgrStatus)
|
||
|
|
||
|
#define ISyncMgrSynchronize_ShowError(This,hWndParent,ErrorID) \
|
||
|
(This)->lpVtbl -> ShowError(This,hWndParent,ErrorID)
|
||
|
|
||
|
#endif /* COBJMACROS */
|
||
|
|
||
|
|
||
|
#endif /* C style interface */
|
||
|
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_Initialize_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ DWORD dwReserved,
|
||
|
/* [in] */ DWORD dwSyncMgrFlags,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_Initialize_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_GetHandlerInfo_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [out] */ LPSYNCMGRHANDLERINFO *ppSyncMgrHandlerInfo);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_GetHandlerInfo_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_EnumSyncMgrItems_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [out] */ ISyncMgrEnumItems **ppSyncMgrEnumItems);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_EnumSyncMgrItems_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_GetItemObject_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppv);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_GetItemObject_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_ShowProperties_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRITEMID ItemID);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_ShowProperties_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_SetProgressCallback_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [unique][in] */ ISyncMgrSynchronizeCallback *lpCallBack);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_SetProgressCallback_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_PrepareForSync_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][in] */ SYNCMGRITEMID *pItemIDs,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_PrepareForSync_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_Synchronize_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_Synchronize_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_SetItemStatus_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [in] */ DWORD dwSyncMgrStatus);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_SetItemStatus_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronize_ShowError_Proxy(
|
||
|
ISyncMgrSynchronize * This,
|
||
|
/* [in] */ HWND hWndParent,
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronize_ShowError_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* __ISyncMgrSynchronize_INTERFACE_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__
|
||
|
#define __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__
|
||
|
|
||
|
/* interface ISyncMgrSynchronizeCallback */
|
||
|
/* [uuid][object][local] */
|
||
|
|
||
|
typedef /* [unique] */ ISyncMgrSynchronizeCallback *LPSYNCMGRSYNCHRONIZECALLBACK;
|
||
|
|
||
|
#define SYNCMGRPROGRESSITEM_STATUSTEXT 0x0001
|
||
|
#define SYNCMGRPROGRESSITEM_STATUSTYPE 0x0002
|
||
|
#define SYNCMGRPROGRESSITEM_PROGVALUE 0x0004
|
||
|
#define SYNCMGRPROGRESSITEM_MAXVALUE 0x0008
|
||
|
|
||
|
typedef struct _tagSYNCMGRPROGRESSITEM
|
||
|
{
|
||
|
DWORD cbSize;
|
||
|
UINT mask;
|
||
|
LPCWSTR lpcStatusText;
|
||
|
DWORD dwStatusType;
|
||
|
INT iProgValue;
|
||
|
INT iMaxValue;
|
||
|
} SYNCMGRPROGRESSITEM;
|
||
|
|
||
|
typedef struct _tagSYNCMGRPROGRESSITEM *LPSYNCMGRPROGRESSITEM;
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRLOGLEVEL
|
||
|
{ SYNCMGRLOGLEVEL_INFORMATION = 0x1,
|
||
|
SYNCMGRLOGLEVEL_WARNING = 0x2,
|
||
|
SYNCMGRLOGLEVEL_ERROR = 0x3
|
||
|
} SYNCMGRLOGLEVEL;
|
||
|
|
||
|
#define SYNCMGRLOGERROR_ERRORFLAGS 0x0001
|
||
|
#define SYNCMGRLOGERROR_ERRORID 0x0002
|
||
|
#define SYNCMGRLOGERROR_ITEMID 0x0004
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRERRORFLAGS
|
||
|
{ SYNCMGRERRORFLAG_ENABLEJUMPTEXT = 0x1
|
||
|
} SYNCMGRERRORFLAGS;
|
||
|
|
||
|
typedef struct _tagSYNCMGRLOGERRORINFO
|
||
|
{
|
||
|
DWORD cbSize;
|
||
|
DWORD mask;
|
||
|
DWORD dwSyncMgrErrorFlags;
|
||
|
SYNCMGRERRORID ErrorID;
|
||
|
SYNCMGRITEMID ItemID;
|
||
|
} SYNCMGRLOGERRORINFO;
|
||
|
|
||
|
typedef struct _tagSYNCMGRLOGERRORINFO *LPSYNCMGRLOGERRORINFO;
|
||
|
|
||
|
|
||
|
EXTERN_C const IID IID_ISyncMgrSynchronizeCallback;
|
||
|
|
||
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||
|
|
||
|
MIDL_INTERFACE("6295DF41-35EE-11d1-8707-00C04FD93327")
|
||
|
ISyncMgrSynchronizeCallback : public IUnknown
|
||
|
{
|
||
|
public:
|
||
|
virtual HRESULT STDMETHODCALLTYPE ShowPropertiesCompleted(
|
||
|
/* [in] */ HRESULT hr) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE PrepareForSyncCompleted(
|
||
|
/* [in] */ HRESULT hr) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE SynchronizeCompleted(
|
||
|
/* [in] */ HRESULT hr) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE ShowErrorCompleted(
|
||
|
/* [in] */ HRESULT hr,
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][unique][in] */ SYNCMGRITEMID *pItemIDs) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE EnableModeless(
|
||
|
/* [in] */ BOOL fEnable) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE Progress(
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [unique][in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE LogError(
|
||
|
/* [in] */ DWORD dwErrorLevel,
|
||
|
/* [in] */ LPCWSTR lpcErrorText,
|
||
|
/* [unique][in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE DeleteLogError(
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID,
|
||
|
/* [in] */ DWORD dwReserved) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE EstablishConnection(
|
||
|
/* [unique][in] */ LPCWSTR lpwszConnection,
|
||
|
/* [in] */ DWORD dwReserved) = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
#else /* C style interface */
|
||
|
|
||
|
typedef struct ISyncMgrSynchronizeCallbackVtbl
|
||
|
{
|
||
|
BEGIN_INTERFACE
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppvObject);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||
|
ISyncMgrSynchronizeCallback * This);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
||
|
ISyncMgrSynchronizeCallback * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *ShowPropertiesCompleted )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *PrepareForSyncCompleted )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *SynchronizeCompleted )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *ShowErrorCompleted )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr,
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][unique][in] */ SYNCMGRITEMID *pItemIDs);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *EnableModeless )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ BOOL fEnable);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Progress )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [unique][in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *LogError )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ DWORD dwErrorLevel,
|
||
|
/* [in] */ LPCWSTR lpcErrorText,
|
||
|
/* [unique][in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *DeleteLogError )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *EstablishConnection )(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [unique][in] */ LPCWSTR lpwszConnection,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
END_INTERFACE
|
||
|
} ISyncMgrSynchronizeCallbackVtbl;
|
||
|
|
||
|
interface ISyncMgrSynchronizeCallback
|
||
|
{
|
||
|
CONST_VTBL struct ISyncMgrSynchronizeCallbackVtbl *lpVtbl;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef COBJMACROS
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_QueryInterface(This,riid,ppvObject) \
|
||
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_AddRef(This) \
|
||
|
(This)->lpVtbl -> AddRef(This)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_Release(This) \
|
||
|
(This)->lpVtbl -> Release(This)
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_ShowPropertiesCompleted(This,hr) \
|
||
|
(This)->lpVtbl -> ShowPropertiesCompleted(This,hr)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_PrepareForSyncCompleted(This,hr) \
|
||
|
(This)->lpVtbl -> PrepareForSyncCompleted(This,hr)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_SynchronizeCompleted(This,hr) \
|
||
|
(This)->lpVtbl -> SynchronizeCompleted(This,hr)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_ShowErrorCompleted(This,hr,cbNumItems,pItemIDs) \
|
||
|
(This)->lpVtbl -> ShowErrorCompleted(This,hr,cbNumItems,pItemIDs)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_EnableModeless(This,fEnable) \
|
||
|
(This)->lpVtbl -> EnableModeless(This,fEnable)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_Progress(This,pItemID,lpSyncProgressItem) \
|
||
|
(This)->lpVtbl -> Progress(This,pItemID,lpSyncProgressItem)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError) \
|
||
|
(This)->lpVtbl -> LogError(This,dwErrorLevel,lpcErrorText,lpSyncLogError)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_DeleteLogError(This,ErrorID,dwReserved) \
|
||
|
(This)->lpVtbl -> DeleteLogError(This,ErrorID,dwReserved)
|
||
|
|
||
|
#define ISyncMgrSynchronizeCallback_EstablishConnection(This,lpwszConnection,dwReserved) \
|
||
|
(This)->lpVtbl -> EstablishConnection(This,lpwszConnection,dwReserved)
|
||
|
|
||
|
#endif /* COBJMACROS */
|
||
|
|
||
|
|
||
|
#endif /* C style interface */
|
||
|
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_ShowPropertiesCompleted_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_ShowPropertiesCompleted_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_PrepareForSyncCompleted_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_PrepareForSyncCompleted_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_SynchronizeCompleted_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_SynchronizeCompleted_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_ShowErrorCompleted_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ HRESULT hr,
|
||
|
/* [in] */ ULONG cbNumItems,
|
||
|
/* [size_is][unique][in] */ SYNCMGRITEMID *pItemIDs);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_ShowErrorCompleted_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_EnableModeless_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ BOOL fEnable);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_EnableModeless_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_Progress_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ REFSYNCMGRITEMID pItemID,
|
||
|
/* [unique][in] */ LPSYNCMGRPROGRESSITEM lpSyncProgressItem);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_Progress_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_LogError_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ DWORD dwErrorLevel,
|
||
|
/* [in] */ LPCWSTR lpcErrorText,
|
||
|
/* [unique][in] */ LPSYNCMGRLOGERRORINFO lpSyncLogError);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_LogError_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_DeleteLogError_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [in] */ REFSYNCMGRERRORID ErrorID,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_DeleteLogError_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeCallback_EstablishConnection_Proxy(
|
||
|
ISyncMgrSynchronizeCallback * This,
|
||
|
/* [unique][in] */ LPCWSTR lpwszConnection,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeCallback_EstablishConnection_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* __ISyncMgrSynchronizeCallback_INTERFACE_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrEnumItems_INTERFACE_DEFINED__
|
||
|
#define __ISyncMgrEnumItems_INTERFACE_DEFINED__
|
||
|
|
||
|
/* interface ISyncMgrEnumItems */
|
||
|
/* [unique][uuid][object][local] */
|
||
|
|
||
|
typedef /* [unique] */ ISyncMgrEnumItems *LPSYNCMGRENUMITEMS;
|
||
|
|
||
|
#define SYNCMGRITEM_ITEMFLAGMASK 0x1F
|
||
|
#define MAX_SYNCMGRITEMNAME ( 128 )
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRITEMFLAGS
|
||
|
{ SYNCMGRITEM_HASPROPERTIES = 0x1,
|
||
|
SYNCMGRITEM_TEMPORARY = 0x2,
|
||
|
SYNCMGRITEM_ROAMINGUSER = 0x4,
|
||
|
SYNCMGRITEM_LASTUPDATETIME = 0x8,
|
||
|
SYNCMGRITEM_MAYDELETEITEM = 0x10
|
||
|
} SYNCMGRITEMFLAGS;
|
||
|
|
||
|
typedef struct _tagSYNCMGRITEM
|
||
|
{
|
||
|
DWORD cbSize;
|
||
|
DWORD dwFlags;
|
||
|
SYNCMGRITEMID ItemID;
|
||
|
DWORD dwItemState;
|
||
|
HICON hIcon;
|
||
|
WCHAR wszItemName[ 128 ];
|
||
|
FILETIME ftLastUpdate;
|
||
|
} SYNCMGRITEM;
|
||
|
|
||
|
typedef struct _tagSYNCMGRITEM *LPSYNCMGRITEM;
|
||
|
|
||
|
|
||
|
EXTERN_C const IID IID_ISyncMgrEnumItems;
|
||
|
|
||
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||
|
|
||
|
MIDL_INTERFACE("6295DF2A-35EE-11d1-8707-00C04FD93327")
|
||
|
ISyncMgrEnumItems : public IUnknown
|
||
|
{
|
||
|
public:
|
||
|
virtual HRESULT STDMETHODCALLTYPE Next(
|
||
|
/* [in] */ ULONG celt,
|
||
|
/* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
|
||
|
/* [out] */ ULONG *pceltFetched) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||
|
/* [in] */ ULONG celt) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||
|
/* [out] */ ISyncMgrEnumItems **ppenum) = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
#else /* C style interface */
|
||
|
|
||
|
typedef struct ISyncMgrEnumItemsVtbl
|
||
|
{
|
||
|
BEGIN_INTERFACE
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppvObject);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||
|
ISyncMgrEnumItems * This);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
||
|
ISyncMgrEnumItems * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Next )(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [in] */ ULONG celt,
|
||
|
/* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
|
||
|
/* [out] */ ULONG *pceltFetched);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Skip )(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [in] */ ULONG celt);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||
|
ISyncMgrEnumItems * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [out] */ ISyncMgrEnumItems **ppenum);
|
||
|
|
||
|
END_INTERFACE
|
||
|
} ISyncMgrEnumItemsVtbl;
|
||
|
|
||
|
interface ISyncMgrEnumItems
|
||
|
{
|
||
|
CONST_VTBL struct ISyncMgrEnumItemsVtbl *lpVtbl;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef COBJMACROS
|
||
|
|
||
|
|
||
|
#define ISyncMgrEnumItems_QueryInterface(This,riid,ppvObject) \
|
||
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||
|
|
||
|
#define ISyncMgrEnumItems_AddRef(This) \
|
||
|
(This)->lpVtbl -> AddRef(This)
|
||
|
|
||
|
#define ISyncMgrEnumItems_Release(This) \
|
||
|
(This)->lpVtbl -> Release(This)
|
||
|
|
||
|
|
||
|
#define ISyncMgrEnumItems_Next(This,celt,rgelt,pceltFetched) \
|
||
|
(This)->lpVtbl -> Next(This,celt,rgelt,pceltFetched)
|
||
|
|
||
|
#define ISyncMgrEnumItems_Skip(This,celt) \
|
||
|
(This)->lpVtbl -> Skip(This,celt)
|
||
|
|
||
|
#define ISyncMgrEnumItems_Reset(This) \
|
||
|
(This)->lpVtbl -> Reset(This)
|
||
|
|
||
|
#define ISyncMgrEnumItems_Clone(This,ppenum) \
|
||
|
(This)->lpVtbl -> Clone(This,ppenum)
|
||
|
|
||
|
#endif /* COBJMACROS */
|
||
|
|
||
|
|
||
|
#endif /* C style interface */
|
||
|
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Next_Proxy(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [in] */ ULONG celt,
|
||
|
/* [length_is][size_is][out] */ LPSYNCMGRITEM rgelt,
|
||
|
/* [out] */ ULONG *pceltFetched);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrEnumItems_Next_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Skip_Proxy(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [in] */ ULONG celt);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrEnumItems_Skip_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Reset_Proxy(
|
||
|
ISyncMgrEnumItems * This);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrEnumItems_Reset_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrEnumItems_Clone_Proxy(
|
||
|
ISyncMgrEnumItems * This,
|
||
|
/* [out] */ ISyncMgrEnumItems **ppenum);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrEnumItems_Clone_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* __ISyncMgrEnumItems_INTERFACE_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
|
||
|
#define __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__
|
||
|
|
||
|
/* interface ISyncMgrSynchronizeInvoke */
|
||
|
/* [unique][uuid][object][local] */
|
||
|
|
||
|
typedef /* [unique] */ ISyncMgrSynchronizeInvoke *LPSYNCMGRSYNCHRONIZEINVOKE;
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRINVOKEFLAGS
|
||
|
{ SYNCMGRINVOKE_STARTSYNC = 0x2,
|
||
|
SYNCMGRINVOKE_MINIMIZED = 0x4
|
||
|
} SYNCMGRINVOKEFLAGS;
|
||
|
|
||
|
|
||
|
EXTERN_C const IID IID_ISyncMgrSynchronizeInvoke;
|
||
|
|
||
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||
|
|
||
|
MIDL_INTERFACE("6295DF2C-35EE-11d1-8707-00C04FD93327")
|
||
|
ISyncMgrSynchronizeInvoke : public IUnknown
|
||
|
{
|
||
|
public:
|
||
|
virtual HRESULT STDMETHODCALLTYPE UpdateItems(
|
||
|
/* [in] */ DWORD dwInvokeFlags,
|
||
|
/* [in] */ REFCLSID rclsid,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE UpdateAll( void) = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
#else /* C style interface */
|
||
|
|
||
|
typedef struct ISyncMgrSynchronizeInvokeVtbl
|
||
|
{
|
||
|
BEGIN_INTERFACE
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||
|
ISyncMgrSynchronizeInvoke * This,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppvObject);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||
|
ISyncMgrSynchronizeInvoke * This);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
||
|
ISyncMgrSynchronizeInvoke * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *UpdateItems )(
|
||
|
ISyncMgrSynchronizeInvoke * This,
|
||
|
/* [in] */ DWORD dwInvokeFlags,
|
||
|
/* [in] */ REFCLSID rclsid,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *UpdateAll )(
|
||
|
ISyncMgrSynchronizeInvoke * This);
|
||
|
|
||
|
END_INTERFACE
|
||
|
} ISyncMgrSynchronizeInvokeVtbl;
|
||
|
|
||
|
interface ISyncMgrSynchronizeInvoke
|
||
|
{
|
||
|
CONST_VTBL struct ISyncMgrSynchronizeInvokeVtbl *lpVtbl;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef COBJMACROS
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronizeInvoke_QueryInterface(This,riid,ppvObject) \
|
||
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||
|
|
||
|
#define ISyncMgrSynchronizeInvoke_AddRef(This) \
|
||
|
(This)->lpVtbl -> AddRef(This)
|
||
|
|
||
|
#define ISyncMgrSynchronizeInvoke_Release(This) \
|
||
|
(This)->lpVtbl -> Release(This)
|
||
|
|
||
|
|
||
|
#define ISyncMgrSynchronizeInvoke_UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie) \
|
||
|
(This)->lpVtbl -> UpdateItems(This,dwInvokeFlags,rclsid,cbCookie,lpCookie)
|
||
|
|
||
|
#define ISyncMgrSynchronizeInvoke_UpdateAll(This) \
|
||
|
(This)->lpVtbl -> UpdateAll(This)
|
||
|
|
||
|
#endif /* COBJMACROS */
|
||
|
|
||
|
|
||
|
#endif /* C style interface */
|
||
|
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeInvoke_UpdateItems_Proxy(
|
||
|
ISyncMgrSynchronizeInvoke * This,
|
||
|
/* [in] */ DWORD dwInvokeFlags,
|
||
|
/* [in] */ REFCLSID rclsid,
|
||
|
/* [in] */ DWORD cbCookie,
|
||
|
/* [size_is][unique][in] */ const BYTE *lpCookie);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeInvoke_UpdateItems_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrSynchronizeInvoke_UpdateAll_Proxy(
|
||
|
ISyncMgrSynchronizeInvoke * This);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrSynchronizeInvoke_UpdateAll_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* __ISyncMgrSynchronizeInvoke_INTERFACE_DEFINED__ */
|
||
|
|
||
|
|
||
|
#ifndef __ISyncMgrRegister_INTERFACE_DEFINED__
|
||
|
#define __ISyncMgrRegister_INTERFACE_DEFINED__
|
||
|
|
||
|
/* interface ISyncMgrRegister */
|
||
|
/* [unique][uuid][object][local] */
|
||
|
|
||
|
typedef /* [unique] */ ISyncMgrRegister *LPSYNCMGRREGISTER;
|
||
|
|
||
|
#define SYNCMGRREGISTERFLAGS_MASK 0x07
|
||
|
|
||
|
typedef
|
||
|
enum _tagSYNCMGRREGISTERFLAGS
|
||
|
{ SYNCMGRREGISTERFLAG_CONNECT = 0x1,
|
||
|
SYNCMGRREGISTERFLAG_PENDINGDISCONNECT = 0x2,
|
||
|
SYNCMGRREGISTERFLAG_IDLE = 0x4
|
||
|
} SYNCMGRREGISTERFLAGS;
|
||
|
|
||
|
|
||
|
EXTERN_C const IID IID_ISyncMgrRegister;
|
||
|
|
||
|
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||
|
|
||
|
MIDL_INTERFACE("6295DF42-35EE-11d1-8707-00C04FD93327")
|
||
|
ISyncMgrRegister : public IUnknown
|
||
|
{
|
||
|
public:
|
||
|
virtual HRESULT STDMETHODCALLTYPE RegisterSyncMgrHandler(
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [unique][in] */ LPCWSTR pwszDescription,
|
||
|
/* [in] */ DWORD dwSyncMgrRegisterFlags) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE UnregisterSyncMgrHandler(
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [in] */ DWORD dwReserved) = 0;
|
||
|
|
||
|
virtual HRESULT STDMETHODCALLTYPE GetHandlerRegistrationInfo(
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [out][in] */ LPDWORD pdwSyncMgrRegisterFlags) = 0;
|
||
|
|
||
|
};
|
||
|
|
||
|
#else /* C style interface */
|
||
|
|
||
|
typedef struct ISyncMgrRegisterVtbl
|
||
|
{
|
||
|
BEGIN_INTERFACE
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFIID riid,
|
||
|
/* [iid_is][out] */ void **ppvObject);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||
|
ISyncMgrRegister * This);
|
||
|
|
||
|
ULONG ( STDMETHODCALLTYPE *Release )(
|
||
|
ISyncMgrRegister * This);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *RegisterSyncMgrHandler )(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [unique][in] */ LPCWSTR pwszDescription,
|
||
|
/* [in] */ DWORD dwSyncMgrRegisterFlags);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *UnregisterSyncMgrHandler )(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
HRESULT ( STDMETHODCALLTYPE *GetHandlerRegistrationInfo )(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [out][in] */ LPDWORD pdwSyncMgrRegisterFlags);
|
||
|
|
||
|
END_INTERFACE
|
||
|
} ISyncMgrRegisterVtbl;
|
||
|
|
||
|
interface ISyncMgrRegister
|
||
|
{
|
||
|
CONST_VTBL struct ISyncMgrRegisterVtbl *lpVtbl;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
#ifdef COBJMACROS
|
||
|
|
||
|
|
||
|
#define ISyncMgrRegister_QueryInterface(This,riid,ppvObject) \
|
||
|
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
|
||
|
|
||
|
#define ISyncMgrRegister_AddRef(This) \
|
||
|
(This)->lpVtbl -> AddRef(This)
|
||
|
|
||
|
#define ISyncMgrRegister_Release(This) \
|
||
|
(This)->lpVtbl -> Release(This)
|
||
|
|
||
|
|
||
|
#define ISyncMgrRegister_RegisterSyncMgrHandler(This,rclsidHandler,pwszDescription,dwSyncMgrRegisterFlags) \
|
||
|
(This)->lpVtbl -> RegisterSyncMgrHandler(This,rclsidHandler,pwszDescription,dwSyncMgrRegisterFlags)
|
||
|
|
||
|
#define ISyncMgrRegister_UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved) \
|
||
|
(This)->lpVtbl -> UnregisterSyncMgrHandler(This,rclsidHandler,dwReserved)
|
||
|
|
||
|
#define ISyncMgrRegister_GetHandlerRegistrationInfo(This,rclsidHandler,pdwSyncMgrRegisterFlags) \
|
||
|
(This)->lpVtbl -> GetHandlerRegistrationInfo(This,rclsidHandler,pdwSyncMgrRegisterFlags)
|
||
|
|
||
|
#endif /* COBJMACROS */
|
||
|
|
||
|
|
||
|
#endif /* C style interface */
|
||
|
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrRegister_RegisterSyncMgrHandler_Proxy(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [unique][in] */ LPCWSTR pwszDescription,
|
||
|
/* [in] */ DWORD dwSyncMgrRegisterFlags);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrRegister_RegisterSyncMgrHandler_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrRegister_UnregisterSyncMgrHandler_Proxy(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [in] */ DWORD dwReserved);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrRegister_UnregisterSyncMgrHandler_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
HRESULT STDMETHODCALLTYPE ISyncMgrRegister_GetHandlerRegistrationInfo_Proxy(
|
||
|
ISyncMgrRegister * This,
|
||
|
/* [in] */ REFCLSID rclsidHandler,
|
||
|
/* [out][in] */ LPDWORD pdwSyncMgrRegisterFlags);
|
||
|
|
||
|
|
||
|
void __RPC_STUB ISyncMgrRegister_GetHandlerRegistrationInfo_Stub(
|
||
|
IRpcStubBuffer *This,
|
||
|
IRpcChannelBuffer *_pRpcChannelBuffer,
|
||
|
PRPC_MESSAGE _pRpcMessage,
|
||
|
DWORD *_pdwStubPhase);
|
||
|
|
||
|
|
||
|
|
||
|
#endif /* __ISyncMgrRegister_INTERFACE_DEFINED__ */
|
||
|
|
||
|
|
||
|
/* interface __MIDL_itf_mobsync_0118 */
|
||
|
/* [local] */
|
||
|
|
||
|
|
||
|
// Declarations for Conflict resolution dialog
|
||
|
|
||
|
// Flags
|
||
|
#define RFCF_APPLY_ALL 0x0001
|
||
|
|
||
|
// Parameter values for RFCCM_NEEDELEMENT (unimplemented)
|
||
|
#define RFCD_NAME 0x0001
|
||
|
#define RFCD_KEEPBOTHICON 0x0002
|
||
|
#define RFCD_KEEPLOCALICON 0x0004
|
||
|
#define RFCD_KEEPSERVERICON 0x0008
|
||
|
#define RFCD_NETWORKMODIFIEDBY 0x0010
|
||
|
#define RFCD_NETWORKMODIFIEDON 0x0020
|
||
|
#define RFCD_LOCALMODIFIEDBY 0x0040
|
||
|
#define RFCD_LOCALMODIFIEDON 0x0080
|
||
|
#define RFCD_NEWNAME 0x0100
|
||
|
#define RFCD_LOCATION 0x0200
|
||
|
#define RFCD_ALL 0x03FF
|
||
|
|
||
|
// Callback Messages
|
||
|
#define RFCCM_VIEWLOCAL 0x0001
|
||
|
#define RFCCM_VIEWNETWORK 0x0002
|
||
|
#define RFCCM_NEEDELEMENT 0x0003
|
||
|
|
||
|
// Return values
|
||
|
#define RFC_CANCEL 0x00
|
||
|
#define RFC_KEEPBOTH 0x01
|
||
|
#define RFC_KEEPLOCAL 0x02
|
||
|
#define RFC_KEEPNETWORK 0x03
|
||
|
#define RFC_APPLY_TO_ALL 0x10
|
||
|
|
||
|
typedef BOOL (WINAPI *PFNRFCDCALLBACK)(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||
|
|
||
|
typedef struct tagRFCDLGPARAMW {
|
||
|
DWORD dwFlags; // RFCF_*
|
||
|
LPCWSTR pszFilename; // File name of the file conflicted
|
||
|
LPCWSTR pszLocation; // Location of the file
|
||
|
LPCWSTR pszNewName; // The new name to give the file
|
||
|
LPCWSTR pszNetworkModifiedBy; // Name of person who changed the net doc
|
||
|
LPCWSTR pszLocalModifiedBy; // Name of person who changed the local doc
|
||
|
LPCWSTR pszNetworkModifiedOn; // When the net doc was changed
|
||
|
LPCWSTR pszLocalModifiedOn; // When the local doc was changed
|
||
|
HICON hIKeepBoth; // Icon
|
||
|
HICON hIKeepLocal; //
|
||
|
HICON hIKeepNetwork; //
|
||
|
PFNRFCDCALLBACK pfnCallBack; // Callback
|
||
|
LPARAM lCallerData; // Place where the caller can keep some context data
|
||
|
} RFCDLGPARAMW;
|
||
|
|
||
|
typedef struct tagRFCDLGPARAMA {
|
||
|
DWORD dwFlags; // RFCF_*
|
||
|
LPCSTR pszFilename; // File name of the file conflicted
|
||
|
LPCSTR pszLocation; // Location of the file
|
||
|
LPCSTR pszNewName; // The new name to give the file
|
||
|
LPCSTR pszNetworkModifiedBy; // Name of person who changed the net doc
|
||
|
LPCSTR pszLocalModifiedBy; // Name of person who changed the local doc
|
||
|
LPCSTR pszNetworkModifiedOn; // When the net doc was changed
|
||
|
LPCSTR pszLocalModifiedOn; // When the local doc was changed
|
||
|
HICON hIKeepBoth; // Icon
|
||
|
HICON hIKeepLocal; //
|
||
|
HICON hIKeepNetwork; //
|
||
|
PFNRFCDCALLBACK pfnCallBack; // Callback
|
||
|
LPARAM lCallerData; // Place where the caller can keep some context data
|
||
|
} RFCDLGPARAMA;
|
||
|
|
||
|
|
||
|
int WINAPI SyncMgrResolveConflictW(HWND hWndParent, RFCDLGPARAMW *pdlgParam);
|
||
|
int WINAPI SyncMgrResolveConflictA(HWND hWndParent, RFCDLGPARAMA *pdlgParam);
|
||
|
|
||
|
#ifdef UNICODE
|
||
|
#define SyncMgrResolveConflict SyncMgrResolveConflictW
|
||
|
#define RFCDLGPARAM RFCDLGPARAMW
|
||
|
#else
|
||
|
#define SyncMgrResolveConflict SyncMgrResolveConflictA
|
||
|
#define RFCDLGPARAM RFCDLGPARAMA
|
||
|
#endif // !UNICODE
|
||
|
|
||
|
|
||
|
|
||
|
extern RPC_IF_HANDLE __MIDL_itf_mobsync_0118_v0_0_c_ifspec;
|
||
|
extern RPC_IF_HANDLE __MIDL_itf_mobsync_0118_v0_0_s_ifspec;
|
||
|
|
||
|
/* Additional Prototypes for ALL interfaces */
|
||
|
|
||
|
/* end of Additional Prototypes */
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif
|
||
|
|
||
|
|