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

📄 pclient.tlh

📁 GemoMedia 应用 演示了其使用方法
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    virtual HRESULT __stdcall get_Bookmarkable (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall get_EditMode (
        short * pi ) = 0;
    virtual HRESULT __stdcall get__EOF (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall get_LastModified (
        SAFEARRAY * * LastModified ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * Name ) = 0;
    virtual HRESULT __stdcall get_RecordCount (
        long * RecordCount ) = 0;
    virtual HRESULT __stdcall get_Type (
        short * Type ) = 0;
    virtual HRESULT __stdcall get_Updatable (
        VARIANT_BOOL * Updatable ) = 0;
    virtual HRESULT __stdcall raw_AddNew ( ) = 0;
    virtual HRESULT __stdcall raw_CancelUpdate ( ) = 0;
    virtual HRESULT __stdcall raw_Close ( ) = 0;
    virtual HRESULT __stdcall raw_Delete ( ) = 0;
    virtual HRESULT __stdcall raw_Edit ( ) = 0;
    virtual HRESULT __stdcall raw_GetExtension (
        BSTR Name,
        IDispatch * * ppGExtension ) = 0;
    virtual HRESULT __stdcall raw_GetRows (
        VARIANT Rows,
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall raw_Move (
        long Rows,
        VARIANT StartBookmark = vtMissing ) = 0;
    virtual HRESULT __stdcall raw_MoveFirst ( ) = 0;
    virtual HRESULT __stdcall raw_MoveLast ( ) = 0;
    virtual HRESULT __stdcall raw_MoveNext ( ) = 0;
    virtual HRESULT __stdcall raw_MovePrevious ( ) = 0;
    virtual HRESULT __stdcall raw_Update ( ) = 0;
};

struct __declspec(uuid("3bd80880-7126-11cf-8357-08003601e5f9"))
_IGCollection : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetCount))
    short Count;

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

    short GetCount ( );
    IUnknownPtr _NewEnum ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        short * Count ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * Enum ) = 0;
};

struct __declspec(uuid("05f57eb0-720b-11cf-8357-08003601e5f9"))
_IGDynaCollection : _IGCollection
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT Append (
        IDispatch * Object );
    HRESULT Delete (
        _bstr_t Name );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Append (
        IDispatch * Object ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        BSTR Name ) = 0;
};

struct __declspec(uuid("034d65a0-76b4-11cf-8357-08003601e5f9"))
GFields : _IGDynaCollection
{
    //
    // Property data
    //

    __declspec(property(get=GetItem))
    GFieldPtr Item[];

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

    GFieldPtr GetItem (
        const _variant_t & Index );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Item (
        VARIANT Index,
        struct GField * * ppGField ) = 0;
};

struct __declspec(uuid("a1596d10-7602-11cf-8357-08003601e5f9"))
GField : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetValue,put=PutValue))
    _variant_t Value;
    __declspec(property(get=GetAllowZeroLength,put=PutAllowZeroLength))
    VARIANT_BOOL AllowZeroLength;
    __declspec(property(get=GetAttributes,put=PutAttributes))
    long Attributes;
    __declspec(property(get=GetCollatingOrder))
    long CollatingOrder;
    __declspec(property(get=GetCoordSystemGUID,put=PutCoordSystemGUID))
    _variant_t CoordSystemGUID;
    __declspec(property(get=GetDataUpdatable))
    VARIANT_BOOL DataUpdatable;
    __declspec(property(get=GetDefaultValue,put=PutDefaultValue))
    _bstr_t DefaultValue;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetRequired,put=PutRequired))
    VARIANT_BOOL Required;
    __declspec(property(get=GetSize,put=PutSize))
    long Size;
    __declspec(property(get=GetSourceDatabase))
    _bstr_t SourceDatabase;
    __declspec(property(get=GetSourceField))
    _bstr_t SourceField;
    __declspec(property(get=GetSourceTable))
    _bstr_t SourceTable;
    __declspec(property(get=GetSubType,put=PutSubType))
    long SubType;
    __declspec(property(get=GetType,put=PutType))
    short Type;

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

    _variant_t GetValue ( );
    void PutValue (
        const _variant_t & pValue );
    VARIANT_BOOL GetAllowZeroLength ( );
    void PutAllowZeroLength (
        VARIANT_BOOL pAllow );
    long GetAttributes ( );
    void PutAttributes (
        long pAttr );
    long GetCollatingOrder ( );
    _variant_t GetCoordSystemGUID ( );
    void PutCoordSystemGUID (
        const _variant_t & CSGuid );
    VARIANT_BOOL GetDataUpdatable ( );
    void PutDefaultValue (
        _bstr_t pValue );
    _bstr_t GetDefaultValue ( );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t pName );
    VARIANT_BOOL GetRequired ( );
    void PutRequired (
        VARIANT_BOOL pRequired );
    long GetSize ( );
    void PutSize (
        long pSize );
    _bstr_t GetSourceDatabase ( );
    _bstr_t GetSourceField ( );
    _bstr_t GetSourceTable ( );
    long GetSubType ( );
    void PutSubType (
        long pGeometryType );
    short GetType ( );
    void PutType (
        short pType );
    HRESULT AppendChunk (
        const _variant_t & Val );
    long FieldSize ( );
    _variant_t GetChunk (
        long Offset,
        long Bytes );
    IDispatchPtr GetExtension (
        _bstr_t Name );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Value (
        VARIANT * pValue ) = 0;
    virtual HRESULT __stdcall put_Value (
        VARIANT pValue ) = 0;
    virtual HRESULT __stdcall get_AllowZeroLength (
        VARIANT_BOOL * pAllow ) = 0;
    virtual HRESULT __stdcall put_AllowZeroLength (
        VARIANT_BOOL pAllow ) = 0;
    virtual HRESULT __stdcall get_Attributes (
        long * pAttr ) = 0;
    virtual HRESULT __stdcall put_Attributes (
        long pAttr ) = 0;
    virtual HRESULT __stdcall get_CollatingOrder (
        long * pOrder ) = 0;
    virtual HRESULT __stdcall get_CoordSystemGUID (
        VARIANT * CSGuid ) = 0;
    virtual HRESULT __stdcall put_CoordSystemGUID (
        VARIANT CSGuid ) = 0;
    virtual HRESULT __stdcall get_DataUpdatable (
        VARIANT_BOOL * pUpdatable ) = 0;
    virtual HRESULT __stdcall put_DefaultValue (
        BSTR pValue ) = 0;
    virtual HRESULT __stdcall get_DefaultValue (
        BSTR * pValue ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * pName ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pName ) = 0;
    virtual HRESULT __stdcall get_Required (
        VARIANT_BOOL * pRequired ) = 0;
    virtual HRESULT __stdcall put_Required (
        VARIANT_BOOL pRequired ) = 0;
    virtual HRESULT __stdcall get_Size (
        long * pSize ) = 0;
    virtual HRESULT __stdcall put_Size (
        long pSize ) = 0;
    virtual HRESULT __stdcall get_SourceDatabase (
        BSTR * pDatabase ) = 0;
    virtual HRESULT __stdcall get_SourceField (
        BSTR * pField ) = 0;
    virtual HRESULT __stdcall get_SourceTable (
        BSTR * pTable ) = 0;
    virtual HRESULT __stdcall get_SubType (
        long * pGeometryType ) = 0;
    virtual HRESULT __stdcall put_SubType (
        long pGeometryType ) = 0;
    virtual HRESULT __stdcall get_Type (
        short * pType ) = 0;
    virtual HRESULT __stdcall put_Type (
        short pType ) = 0;
    virtual HRESULT __stdcall raw_AppendChunk (
        VARIANT Val ) = 0;
    virtual HRESULT __stdcall raw_FieldSize (
        long * pSize ) = 0;
    virtual HRESULT __stdcall raw_GetChunk (
        long Offset,
        long Bytes,
        VARIANT * pChunk ) = 0;
    virtual HRESULT __stdcall raw_GetExtension (
        BSTR Name,
        IDispatch * * ppGExtension ) = 0;
};

struct __declspec(uuid("49fe36f0-dcca-11cf-a1a2-08003601d502"))
DGMConnections : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetApplication,put=PutApplication))
    IDispatchPtr Application;
    __declspec(property(get=GetParent,put=PutParent))
    IDispatchPtr Parent;
    __declspec(property(get=GetCount))
    long Count;

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

    IDispatchPtr GetApplication ( );
    void PutApplication (
        IDispatch * Application );
    IDispatchPtr GetParent ( );
    void PutParent (
        IDispatch * Parent );
    long GetCount ( );
    DGMConnectionPtr Add (
        _bstr_t Name );
    DGMConnectionPtr Item (
        const _variant_t & Index );
    HRESULT Delete (
        const _variant_t & Index );
    IUnknownPtr _NewEnum ( );
    HRESULT Append (
        struct DGMConnection * Connection );
    DGMConnectionPtr Remove (
        const _variant_t & Index );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Application (
        IDispatch * * Application ) = 0;
    virtual HRESULT __stdcall put_Application (
        IDispatch * Application ) = 0;
    virtual HRESULT __stdcall get_Parent (
        IDispatch * * Parent ) = 0;
    virtual HRESULT __stdcall put_Parent (
        IDispatch * Parent ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * Count ) = 0;
    virtual HRESULT __stdcall raw_Add (
        BSTR Name,
        struct DGMConnection * * Connection ) = 0;
    virtual HRESULT __stdcall raw_Item (
        VARIANT Index,
        struct DGMConnection * * Connection ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        VARIANT Index ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * ppEnum ) = 0;
    virtual HRESULT __stdcall raw_Append (
        struct DGMConnection * Connection ) = 0;
    virtual HRESULT __stdcall raw_Remove (
        VARIANT Index,
        struct DGMConnection * * pRemovedConnection ) = 0;
};

struct __declspec(uuid("d5a4b050-d05e-11cf-b328-08003601c5b4"))
Notification : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetMembershipStatus))
    long MembershipStatus;
    __declspec(property(get=GetStatus))
    long Status;

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

    HRESULT AddListener (
        struct RecordsetListener * Listener,
        long * NotificationHandle );
    HRESULT RemoveListener (
        long NotificationHandle );
    long GetMembershipStatus ( );
    HRESULT Refresh ( );
    HRESULT BroadcastMembershipChange ( );
    HRESULT GetNextMembershipChange (
        long NotificationHandle,
        long * Type,
        SAFEARRAY * * Bookmark );
    HRESULT GetNextRowChange (
        long NotificationHandle,
        long * Type,
        SAFEARRAY * * Bookmark );
    long GetStatus ( );
    HRESULT Reopen ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_AddListener (
        struct RecordsetListener * Listener,
        long * NotificationHandle ) = 0;
    virtual HRESULT __stdcall raw_RemoveListener (
        long NotificationHandle ) = 0;
    virtual HRESULT __stdcall get_MembershipStatus (
        long * Status ) = 0;
    virtual HRESULT __stdcall raw_Refresh ( ) = 0;
    virtual HRESULT __stdcall raw_BroadcastMembershipChange ( ) = 0;

⌨️ 快捷键说明

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