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

📄 pclient.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    __declspec(property(get=GetType,put=PutType))
    _bstr_t Type;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetLocation,put=PutLocation))
    _bstr_t Location;
    __declspec(property(get=GetConnectInfo,put=PutConnectInfo))
    _bstr_t ConnectInfo;
    __declspec(property(get=GetStatus))
    long Status;
    __declspec(property(get=GetMode,put=PutMode))
    long Mode;
    __declspec(property(get=GetParent,put=PutParent))
    IDispatchPtr Parent;
    __declspec(property(get=GetApplication,put=PutApplication))
    IDispatchPtr Application;
    __declspec(property(get=GetSpatialFilter,put=PutRefSpatialFilter))
    DGMSpatialFilterPtr SpatialFilter;
    __declspec(property(get=GetDatabase))
    IDispatchPtr Database;
    __declspec(property(get=GetUpdatable))
    VARIANT_BOOL Updatable;
    __declspec(property(get=GetSchemaUpdatable))
    VARIANT_BOOL SchemaUpdatable;
    __declspec(property(get=GetTransactions))
    VARIANT_BOOL Transactions;
    __declspec(property(get=GetVersion))
    _bstr_t Version;
    __declspec(property(get=GetCollatingOrder))
    long CollatingOrder;
    __declspec(property(get=GetOriginatingPipeCount))
    long OriginatingPipeCount;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetConnectionName ( );
    void PutConnectionName (
        _bstr_t ConnectionName );
    _bstr_t GetDescription ( );
    void PutDescription (
        _bstr_t Description );
    _bstr_t GetType ( );
    void PutType (
        _bstr_t Type );
    _bstr_t GetLocation ( );
    void PutLocation (
        _bstr_t Location );
    _bstr_t GetConnectInfo ( );
    void PutConnectInfo (
        _bstr_t ConnectInfo );
    long GetStatus ( );
    long GetMode ( );
    void PutMode (
        long Mode );
    IDispatchPtr GetParent ( );
    void PutParent (
        IDispatch * Parent );
    IDispatchPtr GetApplication ( );
    void PutApplication (
        IDispatch * Application );
    DGMSpatialFilterPtr GetSpatialFilter ( );
    void PutRefSpatialFilter (
        struct DGMSpatialFilter * SpatialFilter );
    IDispatchPtr GetDatabase ( );
    VARIANT_BOOL GetUpdatable ( );
    VARIANT_BOOL GetSchemaUpdatable ( );
    VARIANT_BOOL GetTransactions ( );
    _bstr_t GetVersion ( );
    long GetCollatingOrder ( );
    HRESULT Connect ( );
    HRESULT Disconnect ( );
    HRESULT BroadcastDatabaseChanges (
        const _variant_t & bLocalOnly = vtMissing );
    HRESULT CreateOriginatingPipe (
        struct OriginatingPipe * * OriginatingPipe );
    HRESULT PostLoadInit ( );
    HRESULT ReloadDatabase ( );
    long GetOriginatingPipeCount ( );
    DGMCoordSystemsMgrPtr GetCoordSystemsMgr ( );
    void PutRefCoordSystemsMgr (
        struct DGMCoordSystemsMgr * CoordSystemsMgr );
    _bstr_t GetProxyType ( );
    void PutProxyType (
        _bstr_t pbstrProxyType );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t ConnectionName );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_ConnectionName (
        BSTR * ConnectionName ) = 0;
    virtual HRESULT __stdcall put_ConnectionName (
        BSTR ConnectionName ) = 0;
    virtual HRESULT __stdcall get_Description (
        BSTR * Description ) = 0;
    virtual HRESULT __stdcall put_Description (
        BSTR Description ) = 0;
    virtual HRESULT __stdcall get_Type (
        BSTR * Type ) = 0;
    virtual HRESULT __stdcall put_Type (
        BSTR Type ) = 0;
    virtual HRESULT __stdcall get_Location (
        BSTR * Location ) = 0;
    virtual HRESULT __stdcall put_Location (
        BSTR Location ) = 0;
    virtual HRESULT __stdcall get_ConnectInfo (
        BSTR * ConnectInfo ) = 0;
    virtual HRESULT __stdcall put_ConnectInfo (
        BSTR ConnectInfo ) = 0;
    virtual HRESULT __stdcall get_Status (
        long * Status ) = 0;
    virtual HRESULT __stdcall get_Mode (
        long * Mode ) = 0;
    virtual HRESULT __stdcall put_Mode (
        long Mode ) = 0;
    virtual HRESULT __stdcall get_Parent (
        IDispatch * * Parent ) = 0;
    virtual HRESULT __stdcall put_Parent (
        IDispatch * Parent ) = 0;
    virtual HRESULT __stdcall get_Application (
        IDispatch * * Application ) = 0;
    virtual HRESULT __stdcall put_Application (
        IDispatch * Application ) = 0;
    virtual HRESULT __stdcall get_SpatialFilter (
        struct DGMSpatialFilter * * SpatialFilter ) = 0;
    virtual HRESULT __stdcall putref_SpatialFilter (
        struct DGMSpatialFilter * SpatialFilter ) = 0;
    virtual HRESULT __stdcall get_Database (
        IDispatch * * Database ) = 0;
    virtual HRESULT __stdcall get_Updatable (
        VARIANT_BOOL * Updatable ) = 0;
    virtual HRESULT __stdcall get_SchemaUpdatable (
        VARIANT_BOOL * SchemaUpdatable ) = 0;
    virtual HRESULT __stdcall get_Transactions (
        VARIANT_BOOL * Transactions ) = 0;
    virtual HRESULT __stdcall get_Version (
        BSTR * Version ) = 0;
    virtual HRESULT __stdcall get_CollatingOrder (
        long * CollatingOrder ) = 0;
    virtual HRESULT __stdcall raw_Connect ( ) = 0;
    virtual HRESULT __stdcall raw_Disconnect ( ) = 0;
    virtual HRESULT __stdcall raw_BroadcastDatabaseChanges (
        VARIANT bLocalOnly = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_CreateOriginatingPipe (
        struct OriginatingPipe * * OriginatingPipe ) = 0;
    virtual HRESULT __stdcall raw_PostLoadInit ( ) = 0;
    virtual HRESULT __stdcall raw_ReloadDatabase ( ) = 0;
    virtual HRESULT __stdcall get_OriginatingPipeCount (
        long * OriginatingPipeCount ) = 0;
    virtual HRESULT __stdcall get_CoordSystemsMgr (
        struct DGMCoordSystemsMgr * * CoordSystemsMgr ) = 0;
    virtual HRESULT __stdcall putref_CoordSystemsMgr (
        struct DGMCoordSystemsMgr * CoordSystemsMgr ) = 0;
    virtual HRESULT __stdcall get_ProxyType (
        BSTR * pbstrProxyType ) = 0;
    virtual HRESULT __stdcall put_ProxyType (
        BSTR pbstrProxyType ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * ConnectionName ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR ConnectionName ) = 0;
};

struct __declspec(uuid("7eaffb72-35e3-11d0-a1c4-08003601d502"))
DGMSpatialFilter : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetGeometry,put=PutRefGeometry))
    IDispatchPtr Geometry;
    __declspec(property(get=GetOperator,put=PutOperator))
    short Operator;
    __declspec(property(get=GetParent,put=PutRefParent))
    IDispatchPtr Parent;
    __declspec(property(get=GetApplication,put=PutRefApplication))
    IDispatchPtr Application;

    //
    // Wrapper methods for error-handling
    //

    _bstr_t GetName ( );
    void PutName (
        _bstr_t Name );
    IDispatchPtr GetGeometry ( );
    void PutRefGeometry (
        IDispatch * Geometry );
    short GetOperator ( );
    void PutOperator (
        short Operator );
    IDispatchPtr GetParent ( );
    void PutRefParent (
        IDispatch * Parent );
    IDispatchPtr GetApplication ( );
    void PutRefApplication (
        IDispatch * Application );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Name (
        BSTR * Name ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR Name ) = 0;
    virtual HRESULT __stdcall get_Geometry (
        IDispatch * * Geometry ) = 0;
    virtual HRESULT __stdcall putref_Geometry (
        IDispatch * Geometry ) = 0;
    virtual HRESULT __stdcall get_Operator (
        short * Operator ) = 0;
    virtual HRESULT __stdcall put_Operator (
        short Operator ) = 0;
    virtual HRESULT __stdcall get_Parent (
        IDispatch * * Parent ) = 0;
    virtual HRESULT __stdcall putref_Parent (
        IDispatch * Parent ) = 0;
    virtual HRESULT __stdcall get_Application (
        IDispatch * * Application ) = 0;
    virtual HRESULT __stdcall putref_Application (
        IDispatch * Application ) = 0;
};

struct __declspec(uuid("c9a29052-d2e4-11cf-b32a-08003601c5b4"))
OriginatingPipe : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetOutputRecordset))
    GRecordsetPtr OutputRecordset;
    __declspec(property(get=GetTable,put=PutTable))
    _bstr_t Table;
    __declspec(property(get=GetFilter,put=PutFilter))
    _bstr_t Filter;
    __declspec(property(get=GetSpatialOperator,put=PutSpatialOperator))
    _variant_t SpatialOperator;
    __declspec(property(get=GetSpatialFilter,put=PutSpatialFilter))
    _variant_t SpatialFilter;
    __declspec(property(get=GetGeometryFieldName,put=PutGeometryFieldName))
    _variant_t GeometryFieldName;
    __declspec(property(get=GetConnection))
    IDispatchPtr Connection;

    //
    // Wrapper methods for error-handling
    //

    GRecordsetPtr GetOutputRecordset ( );
    _bstr_t GetTable ( );
    void PutTable (
        _bstr_t TableName );
    _bstr_t GetFilter ( );
    void PutFilter (
        _bstr_t Filter );
    _variant_t GetSpatialOperator ( );
    void PutSpatialOperator (
        const _variant_t & SpatialOp );
    _variant_t GetSpatialFilter ( );
    void PutSpatialFilter (
        const _variant_t & SpatialFilter );
    _variant_t GetGeometryFieldName ( );
    void PutGeometryFieldName (
        const _variant_t & GeometryFieldName );
    IDispatchPtr GetConnection ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_OutputRecordset (
        struct GRecordset * * Rs ) = 0;
    virtual HRESULT __stdcall get_Table (
        BSTR * TableName ) = 0;
    virtual HRESULT __stdcall put_Table (
        BSTR TableName ) = 0;
    virtual HRESULT __stdcall get_Filter (
        BSTR * Filter ) = 0;
    virtual HRESULT __stdcall put_Filter (
        BSTR Filter ) = 0;
    virtual HRESULT __stdcall get_SpatialOperator (
        VARIANT * SpatialOp ) = 0;
    virtual HRESULT __stdcall put_SpatialOperator (
        VARIANT SpatialOp ) = 0;
    virtual HRESULT __stdcall get_SpatialFilter (
        VARIANT * SpatialFilter ) = 0;
    virtual HRESULT __stdcall put_SpatialFilter (
        VARIANT SpatialFilter ) = 0;
    virtual HRESULT __stdcall get_GeometryFieldName (
        VARIANT * GeometryFieldName ) = 0;
    virtual HRESULT __stdcall put_GeometryFieldName (
        VARIANT GeometryFieldName ) = 0;
    virtual HRESULT __stdcall get_Connection (
        IDispatch * * Connection ) = 0;
};

struct __declspec(uuid("bcbd18c0-72d2-11cf-8357-08003601e5f9"))
GRecordset : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetGFields))
    GFieldsPtr GFields;
    __declspec(property(get=GetBOF))
    VARIANT_BOOL BOF;
    __declspec(property(get=GetBookmarkable))
    VARIANT_BOOL Bookmarkable;
    __declspec(property(get=GetEditMode))
    short EditMode;
    __declspec(property(get=Get_EOF))
    VARIANT_BOOL _EOF;
    __declspec(property(get=GetLastModified))
    SAFEARRAY * LastModified;
    __declspec(property(get=GetName))
    _bstr_t Name;
    __declspec(property(get=GetRecordCount))
    long RecordCount;
    __declspec(property(get=GetType))
    short Type;
    __declspec(property(get=GetUpdatable))
    VARIANT_BOOL Updatable;

    //
    // Wrapper methods for error-handling
    //

    GFieldsPtr GetGFields ( );
    VARIANT_BOOL GetBOF ( );
    SAFEARRAY * GetBookmark ( );
    void PutBookmark (
        SAFEARRAY * * ppsach );
    VARIANT_BOOL GetBookmarkable ( );
    short GetEditMode ( );
    VARIANT_BOOL Get_EOF ( );
    SAFEARRAY * GetLastModified ( );
    _bstr_t GetName ( );
    long GetRecordCount ( );
    short GetType ( );
    VARIANT_BOOL GetUpdatable ( );
    HRESULT AddNew ( );
    HRESULT CancelUpdate ( );
    HRESULT Close ( );
    HRESULT Delete ( );
    HRESULT Edit ( );
    IDispatchPtr GetExtension (
        _bstr_t Name );
    _variant_t GetRows (
        const _variant_t & Rows );
    HRESULT Move (
        long Rows,
        const _variant_t & StartBookmark = vtMissing );
    HRESULT MoveFirst ( );
    HRESULT MoveLast ( );
    HRESULT MoveNext ( );
    HRESULT MovePrevious ( );
    HRESULT Update ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_GFields (
        struct GFields * * ppGFields ) = 0;
    virtual HRESULT __stdcall get_BOF (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall get_Bookmark (
        SAFEARRAY * * ppsach ) = 0;
    virtual HRESULT __stdcall put_Bookmark (
        SAFEARRAY * * ppsach ) = 0;

⌨️ 快捷键说明

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