⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ca_merge30.h

📁 修正了广为流传的RDA例子中的错误 记得link里加上commctrl.lib coredll.lib use mfc in a share dll 就能正常编译了
💻 H
📖 第 1 页 / 共 5 页
字号:

#pragma warning( disable: 4049 )  /* more than 64k source lines */


/* 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 __ca_mergex30_h__
#define __ca_mergex30_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __ISSCEParam_FWD_DEFINED__
#define __ISSCEParam_FWD_DEFINED__
typedef interface ISSCEParam ISSCEParam;
#endif 	/* __ISSCEParam_FWD_DEFINED__ */


#ifndef __ISSCEParams_FWD_DEFINED__
#define __ISSCEParams_FWD_DEFINED__
typedef interface ISSCEParams ISSCEParams;
#endif 	/* __ISSCEParams_FWD_DEFINED__ */


#ifndef __ISSCEError_FWD_DEFINED__
#define __ISSCEError_FWD_DEFINED__
typedef interface ISSCEError ISSCEError;
#endif 	/* __ISSCEError_FWD_DEFINED__ */


#ifndef __ISSCEStatusReporting_FWD_DEFINED__
#define __ISSCEStatusReporting_FWD_DEFINED__
typedef interface ISSCEStatusReporting ISSCEStatusReporting;
#endif 	/* __ISSCEStatusReporting_FWD_DEFINED__ */


#ifndef __ISSCEErrors_FWD_DEFINED__
#define __ISSCEErrors_FWD_DEFINED__
typedef interface ISSCEErrors ISSCEErrors;
#endif 	/* __ISSCEErrors_FWD_DEFINED__ */


#ifndef __ISSCEMerge_FWD_DEFINED__
#define __ISSCEMerge_FWD_DEFINED__
typedef interface ISSCEMerge ISSCEMerge;
#endif 	/* __ISSCEMerge_FWD_DEFINED__ */


#ifndef __ISSCERDA_FWD_DEFINED__
#define __ISSCERDA_FWD_DEFINED__
typedef interface ISSCERDA ISSCERDA;
#endif 	/* __ISSCERDA_FWD_DEFINED__ */


#ifndef __ISSCEEngine_FWD_DEFINED__
#define __ISSCEEngine_FWD_DEFINED__
typedef interface ISSCEEngine ISSCEEngine;
#endif 	/* __ISSCEEngine_FWD_DEFINED__ */


#ifndef __Replication_FWD_DEFINED__
#define __Replication_FWD_DEFINED__

#ifdef __cplusplus
typedef class Replication Replication;
#else
typedef struct Replication Replication;
#endif /* __cplusplus */

#endif 	/* __Replication_FWD_DEFINED__ */


#ifndef __RemoteDataAccess_FWD_DEFINED__
#define __RemoteDataAccess_FWD_DEFINED__

#ifdef __cplusplus
typedef class RemoteDataAccess RemoteDataAccess;
#else
typedef struct RemoteDataAccess RemoteDataAccess;
#endif /* __cplusplus */

#endif 	/* __RemoteDataAccess_FWD_DEFINED__ */


#ifndef __Engine_FWD_DEFINED__
#define __Engine_FWD_DEFINED__

#ifdef __cplusplus
typedef class Engine Engine;
#else
typedef struct Engine Engine;
#endif /* __cplusplus */

#endif 	/* __Engine_FWD_DEFINED__ */


#ifndef __SSCEErrors_FWD_DEFINED__
#define __SSCEErrors_FWD_DEFINED__

#ifdef __cplusplus
typedef class SSCEErrors SSCEErrors;
#else
typedef struct SSCEErrors SSCEErrors;
#endif /* __cplusplus */

#endif 	/* __SSCEErrors_FWD_DEFINED__ */


#ifndef __SSCEError_FWD_DEFINED__
#define __SSCEError_FWD_DEFINED__

#ifdef __cplusplus
typedef class SSCEError SSCEError;
#else
typedef struct SSCEError SSCEError;
#endif /* __cplusplus */

#endif 	/* __SSCEError_FWD_DEFINED__ */


#ifndef __SSCEParams_FWD_DEFINED__
#define __SSCEParams_FWD_DEFINED__

#ifdef __cplusplus
typedef class SSCEParams SSCEParams;
#else
typedef struct SSCEParams SSCEParams;
#endif /* __cplusplus */

#endif 	/* __SSCEParams_FWD_DEFINED__ */


#ifndef __SSCEParam_FWD_DEFINED__
#define __SSCEParam_FWD_DEFINED__

#ifdef __cplusplus
typedef class SSCEParam SSCEParam;
#else
typedef struct SSCEParam SSCEParam;
#endif /* __cplusplus */

#endif 	/* __SSCEParam_FWD_DEFINED__ */



#ifdef __cplusplus
extern "C"{
#endif 

void * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void * ); 

/* interface __MIDL_itf_ca_mergex30_0000 */
/* [local] */ 

typedef /* [uuid] */  DECLSPEC_UUID("92f7af19-dd02-4288-9b8b-cf2e4c5aa051") 
enum REPAIROPTION
{	DELETECORRUPTED	= 0,
	RECOVERCORRUPTED	= 1
} 	REPAIROPTION;

typedef /* [uuid] */  DECLSPEC_UUID("A0A51C5B-C23E-11d3-A931-00C04F79FD35") 
enum REPL_VALIDATE_TYPE
    {	NO_VALIDATION	= 0,
	ROWCOUNT_ONLY	= 1
    } 	REPL_VALIDATE_TYPE;

typedef /* [uuid] */  DECLSPEC_UUID("A0A51C5C-C23E-11d3-A931-00C04F79FD35") 
enum REPL_EXCHANGE_TYPE
    {	UPLOAD	= 1,
	BIDIRECTIONAL	= 3
    } 	REPL_EXCHANGE_TYPE;

typedef /* [uuid] */  DECLSPEC_UUID("5DA0B0DA-E55E-11d3-BE19-00C04FA312F8") 
enum RDA_TRACKOPTION
    {	TRACKINGOFF	= 0,
	TRACKINGON	= 1,
	TRACKINGON_INDEXES	= 2,
	TRACKINGOFF_INDEXES	= 3
    } 	RDA_TRACKOPTION;

typedef /* [uuid] */  DECLSPEC_UUID("5DA0B0D1-E55F-11d3-BE19-00C04FA312F8") 
enum RDA_BATCHOPTION
    {	BATCHINGOFF	= 0,
	BATCHINGON	= 1
    } 	RDA_BATCHOPTION;

typedef /* [uuid] */  DECLSPEC_UUID("E3E8B857-E8CA-11d3-BE1B-00C04FA312F8") 
enum SSCE_ENCRYPTOPTION
    {	ENCRYPTCOPY	= 0,
	ENCRYPTOFF	= 1,
	ENCRYPTON	= 2
    } 	SSCE_ENCRYPTOPTION;

typedef /* [uuid] */  DECLSPEC_UUID("EB3837DD-07F4-4aa7-AA72-4563E3E8D290") 
enum SNAPSHOT_TRANSFER_TYPE
    {	SNAPSHOT_TRANSFER_UNC	= 0,
	SNAPSHOT_TRANSFER_FTP	= 1
    } 	SNAPSHOT_TRANSFER_TYPE;

typedef /* [uuid] */  DECLSPEC_UUID("3732fb2b-106f-4872-8fb5-196ce4a1724a") 
enum REPL_SAVEPROFILEOPTION
    {	EXISTING_PROFILE	= 0,
	CREATE_PROFILE	= 1
    } 	REPL_SAVEPROFILEOPTION;


///////////////////////////////////////////////////////////////////////////
// definitions from ReplCommon.h
//
#ifndef REPL_SECURITY_TYPE
typedef 
enum SECURITY_TYPE
    {	DB_AUTHENTICATION	= 0,
	NT_AUTHENTICATION	= 1
    } 	REPL_SECURITY_TYPE;
    
#endif //REPL_SECURITY_TYPE

#ifndef REPL_NETWORK_TYPE    
typedef 
enum NETWORK_TYPE
    {	DEFAULT_NETWORK	= 0,
	TCPIP_SOCKETS	= 1,
	MULTI_PROTOCOL	= 2
    } 	REPL_NETWORK_TYPE;
#endif // REPL_NETWORK_TYPE


#ifndef REPL_DBADDOPTION
typedef 
enum DBADDOPTION
    {	EXISTING_DATABASE	= 0,
	CREATE_DATABASE	= 1,
	ATTACH_DATABASE	= 2,
	ATTACH_SUBSCRIPTION	= 3,
	REGISTER_SUBSCRIPTION	= 4
    } 	REPL_DBADDOPTION;    
#endif  // REPL_DBADDOPTION  

#ifndef REPL_DBDROPOPTION
typedef 
enum DBDROPOPTION
    {	LEAVE_DATABASE	= 0,
	DROP_DATABASE	= 1,
	UNREGISTER_SUBSCRIPTION	= 2
    } 	REPL_DBDROPOPTION;

#endif //REPL_DBDROPOPTION




typedef /* [uuid] */  DECLSPEC_UUID("ABCDEF98-07F4-4aa7-AA72-4563E3E8D290") struct INTERNET_TRANSPORT_OPTIONS
    {
    SHORT CompressionLevel;
    SHORT ConnectionRetryTimeout;
    LONG  ConnectTimeout;
    LONG  SendTimeout;
    LONG  ReceiveTimeout;
    LONG  DataSendTimeout;
    LONG  DataReceiveTimeout;
    LONG  ControlSendTimeout;
    LONG  ControlReceiveTimeout;
    } 	INTERNET_TRANSPORT_OPTIONS;



//
// Time units
//
#define SECONDS                                  1000 /* milli seconds */
//
// INETOPT_MIN Values
//
#define INETOPT_MIN_COMPRESSIONLEVEL             (SHORT) (0)
#define INETOPT_MIN_CONNECTIONRETRYTIMEOUT       (SHORT) (0) /* seconds */
#define INETOPT_MIN_CONNECTTIMEOUT               0*SECONDS
#define INETOPT_MIN_SENDTIMEOUT                  0*SECONDS
#define INETOPT_MIN_RECEIVETIMEOUT               0*SECONDS
#define INETOPT_MIN_DATARECEIVETIMEOUT           0*SECONDS 
#define INETOPT_MIN_DATASENDTIMEOUT              0*SECONDS
#define INETOPT_MIN_CONTROLSENDTIMEOUT           0*SECONDS
#define INETOPT_MIN_CONTROLRECEIVETIMEOUT        0*SECONDS
//
// INETOPT_MAX Values
//
#define INETOPT_MAX_COMPRESSIONLEVEL             (SHORT) (6)
#define INETOPT_MAX_CONNECTIONRETRYTIMEOUT       (SHORT) (900) /* seconds */
#define INETOPT_MAX_CONNECTTIMEOUT               360*SECONDS
#define INETOPT_MAX_SENDTIMEOUT                  360*SECONDS
#define INETOPT_MAX_RECEIVETIMEOUT               360*SECONDS
#define INETOPT_MAX_DATARECEIVETIMEOUT           360*SECONDS 
#define INETOPT_MAX_DATASENDTIMEOUT              360*SECONDS
#define INETOPT_MAX_CONTROLSENDTIMEOUT           360*SECONDS
#define INETOPT_MAX_CONTROLRECEIVETIMEOUT        360*SECONDS
//
// INETOPT_DEFAULT Values
//
#define INETOPT_DEFAULT_COMPRESSIONLEVEL         (SHORT) (1)
#define INETOPT_DEFAULT_CONNECTIONRETRYTIMEOUT   (SHORT) (120) /* seconds */
#define INETOPT_DEFAULT_CONNECTTIMEOUT           60*SECONDS
#define INETOPT_DEFAULT_SENDTIMEOUT              60*SECONDS
#define INETOPT_DEFAULT_RECEIVETIMEOUT           60*SECONDS
#define INETOPT_DEFAULT_DATARECEIVETIMEOUT       60*SECONDS 
#define INETOPT_DEFAULT_DATASENDTIMEOUT          60*SECONDS
#define INETOPT_DEFAULT_CONTROLSENDTIMEOUT       60*SECONDS
#define INETOPT_DEFAULT_CONTROLRECEIVETIMEOUT    60*SECONDS




extern RPC_IF_HANDLE __MIDL_itf_ca_mergex30_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_ca_mergex30_0000_v0_0_s_ifspec;

#ifndef __ISSCEParam_INTERFACE_DEFINED__
#define __ISSCEParam_INTERFACE_DEFINED__

/* interface ISSCEParam */
/* [unique][helpstring][dual][uuid][object] */ 


#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("EE30E5D0-915B-4ff1-B928-BF932489BDC5")
    ISSCEParam : public IUnknown
    {
    public:
        virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_Param( 
            /* [retval][out] */ VARIANT *pVal) = 0;
        
        virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_Param( 
            /* [in] */ VARIANT *newVal) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct ISSCEParamVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            ISSCEParam * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            ISSCEParam * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            ISSCEParam * This);
        
        /* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Param )( 
            ISSCEParam * This,
            /* [retval][out] */ VARIANT *pVal);
        
        /* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Param )( 
            ISSCEParam * This,
            /* [in] */ VARIANT *newVal);
        
        END_INTERFACE
    } ISSCEParamVtbl;

    interface ISSCEParam
    {
        CONST_VTBL struct ISSCEParamVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -