📄 sqlinitx.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 5.01.0164 */
/* at Sun Aug 06 01:26:58 2000
*/
/* Compiler settings for q:\SPHINX\SQLREPL\SQLINITX\sqlinitx.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
*/
//@@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__ 440
#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 __sqlinitx_h__
#define __sqlinitx_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __ISQLSnapshot_FWD_DEFINED__
#define __ISQLSnapshot_FWD_DEFINED__
typedef interface ISQLSnapshot ISQLSnapshot;
#endif /* __ISQLSnapshot_FWD_DEFINED__ */
#ifndef ___SQLSnapshotEvents_FWD_DEFINED__
#define ___SQLSnapshotEvents_FWD_DEFINED__
typedef interface _SQLSnapshotEvents _SQLSnapshotEvents;
#endif /* ___SQLSnapshotEvents_FWD_DEFINED__ */
#ifndef __SQLSnapshot_FWD_DEFINED__
#define __SQLSnapshot_FWD_DEFINED__
#ifdef __cplusplus
typedef class SQLSnapshot SQLSnapshot;
#else
typedef struct SQLSnapshot SQLSnapshot;
#endif /* __cplusplus */
#endif /* __SQLSnapshot_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#include "replerrx.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/* interface __MIDL_itf_sqlinitx_0000 */
/* [local] */
typedef
enum REPLICATION_TYPE
{ TRANSACTIONAL = 1,
MERGE = 2
} REPL_REPLICATION_TYPE;
#ifndef COMMON_REPL_ENUMS_DEFINED
#define COMMON_REPL_ENUMS_DEFINED
typedef
enum SECURITY_TYPE
{ DB_AUTHENTICATION = 0,
NT_AUTHENTICATION = 1
} REPL_SECURITY_TYPE;
typedef
enum DATASOURCE_TYPE
{ SQL_SERVER = 0,
ODBC_DSN = 1,
JET4_DATABASE = 2,
OLEDB_DATASOURCE = 3,
EXCHANGE = 4,
ORACLE = 5,
DB2_UNIVERSAL = 6
} REPL_DATASOURCE_TYPE;
typedef
enum SUBSCRIPTION_TYPE
{ PUSH = 0,
PULL = 1,
ANONYMOUS = 2
} REPL_SUBSCRIPTION_TYPE;
typedef
enum NETWORK_TYPE
{ DEFAULT_NETWORK = 0,
TCPIP_SOCKETS = 1,
MULTI_PROTOCOL = 2
} REPL_NETWORK_TYPE;
typedef
enum DBADDOPTION
{ EXISTING_DATABASE = 0,
CREATE_DATABASE = 1,
ATTACH_DATABASE = 2,
ATTACH_SUBSCRIPTION = 3,
REGISTER_SUBSCRIPTION = 4
} REPL_DBADDOPTION;
typedef
enum DBDROPOPTION
{ LEAVE_DATABASE = 0,
DROP_DATABASE = 1,
UNREGISTER_SUBSCRIPTION = 2
} REPL_DBDROPOPTION;
typedef
enum SUBSCRIPTION_HOST
{ NONE = 0,
SYNC_MANAGER = 1
} REPL_SUBSCRIPTION_HOST;
typedef
enum STATUS_RETURN_CODE
{ SUCCESS = 0,
CANCEL = 1
} REPL_STATUS_RETURN_CODE;
typedef
enum FILE_TRANSFER_TYPE
{ FILETRANSFERUNC = 0,
FILETRANSFERFTP = 1
} REPL_FILE_TRANSFER_TYPE;
typedef
enum SYNCHRONIZATION_TYPE
{ AUTOMATIC = 1,
NOSYNC = 2
} REPL_SYNCHRONIZATION_TYPE;
typedef
enum FILECREATE_OPTION
{ CREATE_NEW_FILE = 0,
OVERWRITE_EXISTING_FILE = 1
} REPL_FILECREATE_OPTION;
#define S_REPLX_CANCELLED MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0101)
#define E_REPLX_NAMETOOLONG MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0102)
#define E_REPLX_NAMETOOSHORT MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0103)
#endif //COMMON_REPL_ENUMS_DEFINED
extern RPC_IF_HANDLE __MIDL_itf_sqlinitx_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_sqlinitx_0000_v0_0_s_ifspec;
#ifndef __ISQLSnapshot_INTERFACE_DEFINED__
#define __ISQLSnapshot_INTERFACE_DEFINED__
/* interface ISQLSnapshot */
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISQLSnapshot;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E02C121C-C12A-11d2-B6DB-00C04F688E8F")
ISQLSnapshot : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Distributor(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Distributor(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DistributorLogin(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DistributorLogin(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DistributorPassword(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DistributorPassword(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DistributorSecurityMode(
/* [retval][out] */ REPL_SECURITY_TYPE __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DistributorSecurityMode(
/* [in] */ REPL_SECURITY_TYPE newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_LoginTimeout(
/* [retval][out] */ short __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_LoginTimeout(
/* [in] */ short newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Publication(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Publication(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Publisher(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_Publisher(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherDatabase(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherDatabase(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherLogin(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherLogin(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherPassword(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherPassword(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_PublisherSecurityMode(
/* [retval][out] */ REPL_SECURITY_TYPE __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherSecurityMode(
/* [in] */ REPL_SECURITY_TYPE newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_QueryTimeout(
/* [retval][out] */ short __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_QueryTimeout(
/* [in] */ short newVal) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Run( void) = 0;
virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Terminate( void) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_DistributorEncryptedPassword(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_PublisherEncryptedPassword(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ProfileName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ProfileName(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorRecords(
/* [retval][out] */ ISQLReplErrors __RPC_FAR *__RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ReplicationType(
/* [retval][out] */ REPL_REPLICATION_TYPE __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_ReplicationType(
/* [in] */ REPL_REPLICATION_TYPE newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DynamicFilterLogin(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DynamicFilterLogin(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DynamicFilterHostName(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DynamicFilterHostName(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_DynamicSnapshotLocation(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][id][propput] */ HRESULT STDMETHODCALLTYPE put_DynamicSnapshotLocation(
/* [in] */ BSTR newVal) = 0;
};
#else /* C style interface */
typedef struct ISQLSnapshotVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISQLSnapshot __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISQLSnapshot __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISQLSnapshot __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
/* [in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
/* [out] */ VARIANT __RPC_FAR *pVarResult,
/* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
/* [out] */ UINT __RPC_FAR *puArgErr);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Distributor )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Distributor )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DistributorLogin )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DistributorLogin )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DistributorPassword )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DistributorPassword )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_DistributorSecurityMode )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ REPL_SECURITY_TYPE __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_DistributorSecurityMode )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ REPL_SECURITY_TYPE newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_LoginTimeout )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ short __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_LoginTimeout )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ short newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Publication )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Publication )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Publisher )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Publisher )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PublisherDatabase )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PublisherDatabase )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PublisherLogin )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PublisherLogin )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PublisherPassword )(
ISQLSnapshot __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_PublisherPassword )(
ISQLSnapshot __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_PublisherSecurityMode )(
ISQLSnapshot __RPC_FAR * This,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -