123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348 |
- // Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (d497bd66).
- //
- // msjro.tlh
- //
- // C++ source equivalent of Win32 type library C:\Program Files (x86)\Common Files\System\ADO\msjro.dll
- // compiler-generated file created 10/07/15 at 11:48:46 - DO NOT EDIT!
- //
- // Cross-referenced type libraries:
- //
- // #import "C:\Program Files (x86)\Common Files\System\ado\msado28.tlb"
- //
- #pragma once
- #pragma pack(push, 8)
- #include <comdef.h>
- namespace JRO {
- //
- // 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))
- _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 );
- _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 _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 _Connection * Connection );
- //
- // Raw methods provided by interface
- //
- virtual HRESULT __stdcall raw_CompactDatabase (
- BSTR SourceConnection,
- BSTR Destconnection ) = 0;
- virtual HRESULT __stdcall raw_RefreshCache (
- struct _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"
- } // namespace JRO
- #pragma pack(pop)
|