📄 replerrx.h
字号:
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Fri Nov 13 00:28:52 1998
*/
/* Compiler settings for r:\SPHINX\SQLREPL\common\inc\replerrx.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@MIDL_FILE_HEADING( )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __replerrx_h__
#define __replerrx_h__
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __ISQLReplError_FWD_DEFINED__
#define __ISQLReplError_FWD_DEFINED__
typedef interface ISQLReplError ISQLReplError;
#endif /* __ISQLReplError_FWD_DEFINED__ */
#ifndef __ISQLReplErrors_FWD_DEFINED__
#define __ISQLReplErrors_FWD_DEFINED__
typedef interface ISQLReplErrors ISQLReplErrors;
#endif /* __ISQLReplErrors_FWD_DEFINED__ */
#ifndef __SQLReplErrors_FWD_DEFINED__
#define __SQLReplErrors_FWD_DEFINED__
#ifdef __cplusplus
typedef class SQLReplErrors SQLReplErrors;
#else
typedef struct SQLReplErrors SQLReplErrors;
#endif /* __cplusplus */
#endif /* __SQLReplErrors_FWD_DEFINED__ */
#ifndef __SQLReplError_FWD_DEFINED__
#define __SQLReplError_FWD_DEFINED__
#ifdef __cplusplus
typedef class SQLReplError SQLReplError;
#else
typedef struct SQLReplError SQLReplError;
#endif /* __cplusplus */
#endif /* __SQLReplError_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * );
/****************************************
* Generated header for interface: __MIDL_itf_replerrx_0000
* at Fri Nov 13 00:28:52 1998
* using MIDL 3.01.75
****************************************/
/* [local] */
typedef
enum ERRORSOURCE_TYPE
{ INVALID_SOURCE_TYPE = 0,
SQL_COMMAND = 1,
REPL_CONTROL = 2,
OPERATING_SYSTEM = 3,
ODBC_API = 4,
SQLSERVER_ENGINE = 5,
NET_LIBRARY = 6,
SQLDMO = 7
} REPL_ERRORSOURCE_TYPE;
#define REPLX_E_DBEXISTS MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e00)
#define REPLX_E_DBNOTFOUND MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e01)
#define REPLX_E_SUBEXISTS MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e02)
#define REPLX_E_SUBNOTFOUND MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e03)
#define REPLX_E_SUBEXPIRED MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e04)
#define REPLX_E_DEADLOCK MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e05)
#define REPLX_E_PROFILENOTFOUND MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e06)
#define REPLX_E_RETRYFAILURE MAKE_SCODE(SEVERITY_ERROR,FACILITY_ITF,0x0e07)
#define REPLX_S_VALIDATIONFAILED MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0100)
#define REPLX_S_CONFLICTSOCCURRED MAKE_SCODE(SEVERITY_SUCCESS,FACILITY_ITF,0x0101)
extern RPC_IF_HANDLE __MIDL_itf_replerrx_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_replerrx_0000_v0_0_s_ifspec;
#ifndef __ISQLReplError_INTERFACE_DEFINED__
#define __ISQLReplError_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: ISQLReplError
* at Fri Nov 13 00:28:52 1998
* using MIDL 3.01.75
****************************************/
/* [unique][helpstring][dual][uuid][object] */
EXTERN_C const IID IID_ISQLReplError;
#if defined(__cplusplus) && !defined(CINTERFACE)
interface DECLSPEC_UUID("35CE087C-2E4E-11D2-B6D4-00C04FB93D6B")
ISQLReplError : public IDispatch
{
public:
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Description(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_Description(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_Source(
/* [retval][out] */ BSTR __RPC_FAR *pVal) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_Source(
/* [in] */ BSTR newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_ErrorNumber(
/* [retval][out] */ long __RPC_FAR *pVal) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_ErrorNumber(
/* [in] */ long newVal) = 0;
virtual /* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE get_SourceType(
/* [retval][out] */ REPL_ERRORSOURCE_TYPE __RPC_FAR *pVal) = 0;
virtual /* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE put_SourceType(
/* [in] */ REPL_ERRORSOURCE_TYPE newVal) = 0;
};
#else /* C style interface */
typedef struct ISQLReplErrorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
ISQLReplError __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
ISQLReplError __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
ISQLReplError __RPC_FAR * This);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
ISQLReplError __RPC_FAR * This,
/* [out] */ UINT __RPC_FAR *pctinfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
ISQLReplError __RPC_FAR * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
ISQLReplError __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 )(
ISQLReplError __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_Description )(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][restricted][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Description )(
ISQLReplError __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_Source )(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
/* [helpstring][restricted][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_Source )(
ISQLReplError __RPC_FAR * This,
/* [in] */ BSTR newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_ErrorNumber )(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ long __RPC_FAR *pVal);
/* [helpstring][restricted][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_ErrorNumber )(
ISQLReplError __RPC_FAR * This,
/* [in] */ long newVal);
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *get_SourceType )(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ REPL_ERRORSOURCE_TYPE __RPC_FAR *pVal);
/* [helpstring][restricted][id][propput] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *put_SourceType )(
ISQLReplError __RPC_FAR * This,
/* [in] */ REPL_ERRORSOURCE_TYPE newVal);
END_INTERFACE
} ISQLReplErrorVtbl;
interface ISQLReplError
{
CONST_VTBL struct ISQLReplErrorVtbl __RPC_FAR *lpVtbl;
};
#ifdef COBJMACROS
#define ISQLReplError_QueryInterface(This,riid,ppvObject) \
(This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define ISQLReplError_AddRef(This) \
(This)->lpVtbl -> AddRef(This)
#define ISQLReplError_Release(This) \
(This)->lpVtbl -> Release(This)
#define ISQLReplError_GetTypeInfoCount(This,pctinfo) \
(This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
#define ISQLReplError_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
(This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
#define ISQLReplError_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
(This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
#define ISQLReplError_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
(This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
#define ISQLReplError_get_Description(This,pVal) \
(This)->lpVtbl -> get_Description(This,pVal)
#define ISQLReplError_put_Description(This,newVal) \
(This)->lpVtbl -> put_Description(This,newVal)
#define ISQLReplError_get_Source(This,pVal) \
(This)->lpVtbl -> get_Source(This,pVal)
#define ISQLReplError_put_Source(This,newVal) \
(This)->lpVtbl -> put_Source(This,newVal)
#define ISQLReplError_get_ErrorNumber(This,pVal) \
(This)->lpVtbl -> get_ErrorNumber(This,pVal)
#define ISQLReplError_put_ErrorNumber(This,newVal) \
(This)->lpVtbl -> put_ErrorNumber(This,newVal)
#define ISQLReplError_get_SourceType(This,pVal) \
(This)->lpVtbl -> get_SourceType(This,pVal)
#define ISQLReplError_put_SourceType(This,newVal) \
(This)->lpVtbl -> put_SourceType(This,newVal)
#endif /* COBJMACROS */
#endif /* C style interface */
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISQLReplError_get_Description_Proxy(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB ISQLReplError_get_Description_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE ISQLReplError_put_Description_Proxy(
ISQLReplError __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB ISQLReplError_put_Description_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][id][propget] */ HRESULT STDMETHODCALLTYPE ISQLReplError_get_Source_Proxy(
ISQLReplError __RPC_FAR * This,
/* [retval][out] */ BSTR __RPC_FAR *pVal);
void __RPC_STUB ISQLReplError_get_Source_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [helpstring][restricted][id][propput] */ HRESULT STDMETHODCALLTYPE ISQLReplError_put_Source_Proxy(
ISQLReplError __RPC_FAR * This,
/* [in] */ BSTR newVal);
void __RPC_STUB ISQLReplError_put_Source_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -