MSJRO.tlh
资源名称:MiniCA2.rar [点击查看]
上传用户:dengkfang
上传日期:2008-12-30
资源大小:5233k
文件大小:10k
源码类别:
CA认证
开发平台:
Visual C++
- // Created by Microsoft (R) C/C++ Compiler Version 12.00.9782.0 (054b1cb9).
- //
- // MSJRO.tlh
- //
- // C++ source equivalent of Win32 type library C:Program FilesCommon FilesSystemadoMSJRO.DLL
- // compiler-generated file created 09/21/05 at 09:03:00 - DO NOT EDIT!
- //
- // Cross-referenced type libraries:
- //
- // #import "C:Program FilesCommon Filessystemadomsado15.dll"
- //
- #pragma once
- #pragma pack(push, 8)
- #include <comdef.h>
- //
- // Forward references and typedefs
- //
- struct __declspec(uuid("d2d139e0-b6ca-11d1-9f31-00c04fc29d52"))
- /* dual interface */ IReplica;
- struct __declspec(uuid("d2d139e2-b6ca-11d1-9f31-00c04fc29d52"))
- /* dual interface */ Filters;
- struct __declspec(uuid("d2d139e1-b6ca-11d1-9f31-00c04fc29d52"))
- /* dual interface */ Filter;
- struct __declspec(uuid("9f63d980-ff25-11d1-bb6f-00c04fae22da"))
- /* dual interface */ IJetEngine;
- struct /* coclass */ Replica;
- struct /* coclass */ JetEngine;
- //
- // Smart pointer typedef declarations
- //
- _COM_SMARTPTR_TYPEDEF(IReplica, __uuidof(IReplica));
- _COM_SMARTPTR_TYPEDEF(Filters, __uuidof(Filters));
- _COM_SMARTPTR_TYPEDEF(Filter, __uuidof(Filter));
- _COM_SMARTPTR_TYPEDEF(IJetEngine, __uuidof(IJetEngine));
- //
- // Type library items
- //
- enum _ReplicaTypeEnum
- {
- jrRepTypeNotReplicable = 0,
- jrRepTypeDesignMaster = 1,
- jrRepTypeFull = 2,
- jrRepTypePartial = 3
- };
- enum VisibilityEnum
- {
- jrRepVisibilityGlobal = 1,
- jrRepVisibilityLocal = 2,
- jrRepVisibilityAnon = 4
- };
- enum UpdatabilityEnum
- {
- jrRepUpdFull = 0,
- jrRepUpdReadOnly = 2
- };
- enum SyncTypeEnum
- {
- jrSyncTypeExport = 1,
- jrSyncTypeImport = 2,
- jrSyncTypeImpExp = 3
- };
- enum SyncModeEnum
- {
- jrSyncModeIndirect = 1,
- jrSyncModeDirect = 2,
- jrSyncModeInternet = 3
- };
- enum FilterTypeEnum
- {
- jrFilterTypeTable = 1,
- jrFilterTypeRelationship = 2
- };
- struct __declspec(uuid("d2d139e0-b6ca-11d1-9f31-00c04fc29d52"))
- IReplica : IDispatch
- {
- //
- // Property data
- //
- __declspec(property(get=GetActiveConnection,put=PutRefActiveConnection))
- IDispatchPtr ActiveConnection;
- __declspec(property(get=GetConflictFunction,put=PutConflictFunction))
- _bstr_t ConflictFunction;
- __declspec(property(get=GetConflictTables))
- ADODB::_RecordsetPtr ConflictTables;
- __declspec(property(get=GetDesignMasterId,put=PutDesignMasterId))
- _variant_t DesignMasterId;
- __declspec(property(get=GetPriority))
- long Priority;
- __declspec(property(get=GetReplicaId))
- _variant_t ReplicaId;
- __declspec(property(get=GetReplicaType))
- enum _ReplicaTypeEnum ReplicaType;
- __declspec(property(get=GetRetentionPeriod,put=PutRetentionPeriod))
- long RetentionPeriod;
- __declspec(property(get=GetVisibility))
- enum VisibilityEnum Visibility;
- __declspec(property(get=GetFilters))
- FiltersPtr Filters;
- //
- // Wrapper methods for error-handling
- //
- void PutRefActiveConnection (
- IDispatch * ppconn );
- void PutActiveConnection (
- const _variant_t & ppconn );
- IDispatchPtr GetActiveConnection ( );
- _bstr_t GetConflictFunction ( );
- void PutConflictFunction (
- _bstr_t pbstr );
- ADODB::_RecordsetPtr GetConflictTables ( );
- _variant_t GetDesignMasterId ( );
- void PutDesignMasterId (
- const _variant_t & pvar );
- long GetPriority ( );
- _variant_t GetReplicaId ( );
- enum _ReplicaTypeEnum GetReplicaType ( );
- long GetRetentionPeriod ( );
- void PutRetentionPeriod (
- long pl );
- enum VisibilityEnum GetVisibility ( );
- HRESULT CreateReplica (
- _bstr_t replicaName,
- _bstr_t description,
- enum _ReplicaTypeEnum ReplicaType,
- enum VisibilityEnum Visibility,
- long Priority,
- enum UpdatabilityEnum updatability );
- VARIANT_BOOL GetObjectReplicability (
- _bstr_t objectName,
- _bstr_t objectType );
- HRESULT SetObjectReplicability (
- _bstr_t objectName,
- _bstr_t objectType,
- VARIANT_BOOL replicability );
- HRESULT MakeReplicable (
- _bstr_t connectionString,
- VARIANT_BOOL columnTracking );
- HRESULT PopulatePartial (
- _bstr_t FullReplica );
- HRESULT Synchronize (
- _bstr_t target,
- enum SyncTypeEnum syncType,
- enum SyncModeEnum syncMode );
- FiltersPtr GetFilters ( );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall putref_ActiveConnection (
- IDispatch * ppconn ) = 0;
- virtual HRESULT __stdcall put_ActiveConnection (
- VARIANT ppconn ) = 0;
- virtual HRESULT __stdcall get_ActiveConnection (
- IDispatch * * ppconn ) = 0;
- virtual HRESULT __stdcall get_ConflictFunction (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall put_ConflictFunction (
- BSTR pbstr ) = 0;
- virtual HRESULT __stdcall get_ConflictTables (
- struct ADODB::_Recordset * * pprset ) = 0;
- virtual HRESULT __stdcall get_DesignMasterId (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall put_DesignMasterId (
- VARIANT pvar ) = 0;
- virtual HRESULT __stdcall get_Priority (
- long * pl ) = 0;
- virtual HRESULT __stdcall get_ReplicaId (
- VARIANT * pvar ) = 0;
- virtual HRESULT __stdcall get_ReplicaType (
- enum _ReplicaTypeEnum * pl ) = 0;
- virtual HRESULT __stdcall get_RetentionPeriod (
- long * pl ) = 0;
- virtual HRESULT __stdcall put_RetentionPeriod (
- long pl ) = 0;
- virtual HRESULT __stdcall get_Visibility (
- enum VisibilityEnum * pl ) = 0;
- virtual HRESULT __stdcall raw_CreateReplica (
- BSTR replicaName,
- BSTR description,
- enum _ReplicaTypeEnum ReplicaType,
- enum VisibilityEnum Visibility,
- long Priority,
- enum UpdatabilityEnum updatability ) = 0;
- virtual HRESULT __stdcall raw_GetObjectReplicability (
- BSTR objectName,
- BSTR objectType,
- VARIANT_BOOL * replicability ) = 0;
- virtual HRESULT __stdcall raw_SetObjectReplicability (
- BSTR objectName,
- BSTR objectType,
- VARIANT_BOOL replicability ) = 0;
- virtual HRESULT __stdcall raw_MakeReplicable (
- BSTR connectionString,
- VARIANT_BOOL columnTracking ) = 0;
- virtual HRESULT __stdcall raw_PopulatePartial (
- BSTR FullReplica ) = 0;
- virtual HRESULT __stdcall raw_Synchronize (
- BSTR target,
- enum SyncTypeEnum syncType,
- enum SyncModeEnum syncMode ) = 0;
- virtual HRESULT __stdcall get_Filters (
- struct Filters * * ppFilters ) = 0;
- };
- struct __declspec(uuid("d2d139e2-b6ca-11d1-9f31-00c04fc29d52"))
- Filters : IDispatch
- {
- //
- // Property data
- //
- __declspec(property(get=GetItem))
- FilterPtr Item[];
- __declspec(property(get=GetCount))
- long Count;
- //
- // Wrapper methods for error-handling
- //
- HRESULT Refresh ( );
- IUnknownPtr _NewEnum ( );
- long GetCount ( );
- FilterPtr GetItem (
- const _variant_t & Index );
- HRESULT Append (
- _bstr_t TableName,
- enum FilterTypeEnum FilterType,
- _bstr_t FilterCriteria );
- HRESULT Delete (
- const _variant_t & Index );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall raw_Refresh ( ) = 0;
- virtual HRESULT __stdcall raw__NewEnum (
- IUnknown * * ppvObject ) = 0;
- virtual HRESULT __stdcall get_Count (
- long * c ) = 0;
- virtual HRESULT __stdcall get_Item (
- VARIANT Index,
- struct Filter * * ppvObject ) = 0;
- virtual HRESULT __stdcall raw_Append (
- BSTR TableName,
- enum FilterTypeEnum FilterType,
- BSTR FilterCriteria ) = 0;
- virtual HRESULT __stdcall raw_Delete (
- VARIANT Index ) = 0;
- };
- struct __declspec(uuid("d2d139e1-b6ca-11d1-9f31-00c04fc29d52"))
- Filter : IDispatch
- {
- //
- // Property data
- //
- __declspec(property(get=GetTableName))
- _bstr_t TableName;
- __declspec(property(get=GetFilterType))
- enum FilterTypeEnum FilterType;
- __declspec(property(get=GetFilterCriteria))
- _bstr_t FilterCriteria;
- //
- // Wrapper methods for error-handling
- //
- _bstr_t GetTableName ( );
- enum FilterTypeEnum GetFilterType ( );
- _bstr_t GetFilterCriteria ( );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall get_TableName (
- BSTR * pbstr ) = 0;
- virtual HRESULT __stdcall get_FilterType (
- enum FilterTypeEnum * ptype ) = 0;
- virtual HRESULT __stdcall get_FilterCriteria (
- BSTR * pbstr ) = 0;
- };
- struct __declspec(uuid("9f63d980-ff25-11d1-bb6f-00c04fae22da"))
- IJetEngine : IDispatch
- {
- //
- // Wrapper methods for error-handling
- //
- HRESULT CompactDatabase (
- _bstr_t SourceConnection,
- _bstr_t Destconnection );
- HRESULT RefreshCache (
- struct ADODB::_Connection * Connection );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall raw_CompactDatabase (
- BSTR SourceConnection,
- BSTR Destconnection ) = 0;
- virtual HRESULT __stdcall raw_RefreshCache (
- struct ADODB::_Connection * Connection ) = 0;
- };
- struct __declspec(uuid("d2d139e3-b6ca-11d1-9f31-00c04fc29d52"))
- Replica;
- // [ default ] interface IReplica
- struct __declspec(uuid("de88c160-ff2c-11d1-bb6f-00c04fae22da"))
- JetEngine;
- // [ default ] interface IJetEngine
- //
- // Wrapper method implementations
- //
- #include "MSJRO.tli"
- #pragma pack(pop)