dao360.tlh

来自「一个模板打印的源程序。可用于医院诊断报告的打印。」· TLH 代码 · 共 2,120 行 · 第 1/5 页

TLH
2,120 行
字号
        VARIANT Item,
        struct _TableDef * * pptdf ) = 0;
};

struct __declspec(uuid("00000103-0000-0010-8000-00aa006d2ea4"))
TableDef;
    // [ default ] interface _TableDef

struct __declspec(uuid("00000049-0000-0010-8000-00aa006d2ea4"))
_TableDef : _DAO
{
    //
    // Property data
    //

    __declspec(property(get=GetAttributes,put=PutAttributes))
    long Attributes;
    __declspec(property(get=GetFields))
    FieldsPtr Fields;
    __declspec(property(get=GetConnect,put=PutConnect))
    _bstr_t Connect;
    __declspec(property(get=GetDateCreated))
    _variant_t DateCreated;
    __declspec(property(get=GetLastUpdated))
    _variant_t LastUpdated;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetSourceTableName,put=PutSourceTableName))
    _bstr_t SourceTableName;
    __declspec(property(get=GetUpdatable))
    VARIANT_BOOL Updatable;
    __declspec(property(get=GetValidationText,put=PutValidationText))
    _bstr_t ValidationText;
    __declspec(property(get=GetValidationRule,put=PutValidationRule))
    _bstr_t ValidationRule;
    __declspec(property(get=GetRecordCount))
    long RecordCount;
    __declspec(property(get=GetIndexes))
    IndexesPtr Indexes;
    __declspec(property(get=GetConflictTable))
    _bstr_t ConflictTable;
    __declspec(property(get=GetReplicaFilter,put=PutReplicaFilter))
    _variant_t ReplicaFilter;

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

    long GetAttributes ( );
    void PutAttributes (
        long pl );
    _bstr_t GetConnect ( );
    void PutConnect (
        _bstr_t pbstr );
    _variant_t GetDateCreated ( );
    _variant_t GetLastUpdated ( );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t pbstr );
    _bstr_t GetSourceTableName ( );
    void PutSourceTableName (
        _bstr_t pbstr );
    VARIANT_BOOL GetUpdatable ( );
    _bstr_t GetValidationText ( );
    void PutValidationText (
        _bstr_t pbstr );
    _bstr_t GetValidationRule ( );
    void PutValidationRule (
        _bstr_t pbstr );
    long GetRecordCount ( );
    FieldsPtr GetFields ( );
    IndexesPtr GetIndexes ( );
    RecordsetPtr OpenRecordset (
        const _variant_t & Type = vtMissing,
        const _variant_t & Options = vtMissing );
    HRESULT RefreshLink ( );
    _FieldPtr CreateField (
        const _variant_t & Name = vtMissing,
        const _variant_t & Type = vtMissing,
        const _variant_t & Size = vtMissing );
    _IndexPtr CreateIndex (
        const _variant_t & Name = vtMissing );
    PropertyPtr CreateProperty (
        const _variant_t & Name = vtMissing,
        const _variant_t & Type = vtMissing,
        const _variant_t & Value = vtMissing,
        const _variant_t & DDL = vtMissing );
    _bstr_t GetConflictTable ( );
    _variant_t GetReplicaFilter ( );
    void PutReplicaFilter (
        const _variant_t & pFilter );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Attributes (
        long * pl ) = 0;
    virtual HRESULT __stdcall put_Attributes (
        long pl ) = 0;
    virtual HRESULT __stdcall get_Connect (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_Connect (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_DateCreated (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall get_LastUpdated (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_SourceTableName (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_SourceTableName (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_Updatable (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall get_ValidationText (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_ValidationText (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_ValidationRule (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_ValidationRule (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_RecordCount (
        long * pl ) = 0;
    virtual HRESULT __stdcall get_Fields (
        struct Fields * * ppflds ) = 0;
    virtual HRESULT __stdcall get_Indexes (
        struct Indexes * * ppidxs ) = 0;
    virtual HRESULT __stdcall raw_OpenRecordset (
        VARIANT Type,
        VARIANT Options,
        struct Recordset * * pprst ) = 0;
    virtual HRESULT __stdcall raw_RefreshLink ( ) = 0;
    virtual HRESULT __stdcall raw_CreateField (
        VARIANT Name,
        VARIANT Type,
        VARIANT Size,
        struct _Field * * ppfld ) = 0;
    virtual HRESULT __stdcall raw_CreateIndex (
        VARIANT Name,
        struct _Index * * ppidx ) = 0;
    virtual HRESULT __stdcall raw_CreateProperty (
        VARIANT Name,
        VARIANT Type,
        VARIANT Value,
        VARIANT DDL,
        struct Property * * pprp ) = 0;
    virtual HRESULT __stdcall get_ConflictTable (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall get_ReplicaFilter (
        VARIANT * pFilter ) = 0;
    virtual HRESULT __stdcall put_ReplicaFilter (
        VARIANT pFilter ) = 0;
};

struct __declspec(uuid("00000053-0000-0010-8000-00aa006d2ea4"))
Fields : _DynaCollection
{
    //
    // Property data
    //

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

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

    _FieldPtr GetItem (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Item (
        VARIANT Item,
        struct _Field * * ppfld ) = 0;
};

struct __declspec(uuid("00000104-0000-0010-8000-00aa006d2ea4"))
Field;
    // [ default ] interface _Field

struct __declspec(uuid("00000051-0000-0010-8000-00aa006d2ea4"))
_Field : _DAO
{
    //
    // Property data
    //

    __declspec(property(get=GetCollatingOrder))
    long CollatingOrder;
    __declspec(property(get=GetType,put=PutType))
    short Type;
    __declspec(property(get=GetValue,put=PutValue))
    _variant_t Value;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetCollectionIndex))
    short CollectionIndex;
    __declspec(property(get=GetSize,put=PutSize))
    long Size;
    __declspec(property(get=GetOriginalValue))
    _variant_t OriginalValue;
    __declspec(property(get=GetSourceField))
    _bstr_t SourceField;
    __declspec(property(get=GetSourceTable))
    _bstr_t SourceTable;
    __declspec(property(get=GetVisibleValue))
    _variant_t VisibleValue;
    __declspec(property(get=GetFieldSize))
    long FieldSize;
    __declspec(property(get=GetAttributes,put=PutAttributes))
    long Attributes;
    __declspec(property(get=GetOrdinalPosition,put=PutOrdinalPosition))
    short OrdinalPosition;
    __declspec(property(get=GetValidationText,put=PutValidationText))
    _bstr_t ValidationText;
    __declspec(property(get=GetValidateOnSet,put=PutValidateOnSet))
    VARIANT_BOOL ValidateOnSet;
    __declspec(property(get=GetValidationRule,put=PutValidationRule))
    _bstr_t ValidationRule;
    __declspec(property(get=GetDefaultValue,put=PutDefaultValue))
    _variant_t DefaultValue;
    __declspec(property(get=GetRequired,put=PutRequired))
    VARIANT_BOOL Required;
    __declspec(property(get=GetAllowZeroLength,put=PutAllowZeroLength))
    VARIANT_BOOL AllowZeroLength;
    __declspec(property(get=GetDataUpdatable))
    VARIANT_BOOL DataUpdatable;
    __declspec(property(get=GetForeignName,put=PutForeignName))
    _bstr_t ForeignName;

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

    long GetCollatingOrder ( );
    short GetType ( );
    void PutType (
        short ps );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t pbstr );
    long GetSize ( );
    void PutSize (
        long pl );
    _bstr_t GetSourceField ( );
    _bstr_t GetSourceTable ( );
    _variant_t GetValue ( );
    void PutValue (
        const _variant_t & pvar );
    long GetAttributes ( );
    void PutAttributes (
        long pl );
    short GetOrdinalPosition ( );
    void PutOrdinalPosition (
        short ps );
    _bstr_t GetValidationText ( );
    void PutValidationText (
        _bstr_t pbstr );
    VARIANT_BOOL GetValidateOnSet ( );
    void PutValidateOnSet (
        VARIANT_BOOL pb );
    _bstr_t GetValidationRule ( );
    void PutValidationRule (
        _bstr_t pbstr );
    _variant_t GetDefaultValue ( );
    void PutDefaultValue (
        const _variant_t & pvar );
    VARIANT_BOOL GetRequired ( );
    void PutRequired (
        VARIANT_BOOL pb );
    VARIANT_BOOL GetAllowZeroLength ( );
    void PutAllowZeroLength (
        VARIANT_BOOL pb );
    VARIANT_BOOL GetDataUpdatable ( );
    _bstr_t GetForeignName ( );
    void PutForeignName (
        _bstr_t pbstr );
    HRESULT AppendChunk (
        const _variant_t & Val );
    _variant_t GetChunk (
        long Offset,
        long Bytes );
    long _30_FieldSize ( );
    PropertyPtr CreateProperty (
        const _variant_t & Name = vtMissing,
        const _variant_t & Type = vtMissing,
        const _variant_t & Value = vtMissing,
        const _variant_t & DDL = vtMissing );
    short GetCollectionIndex ( );
    _variant_t GetOriginalValue ( );
    _variant_t GetVisibleValue ( );
    long GetFieldSize ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_CollatingOrder (
        long * pl ) = 0;
    virtual HRESULT __stdcall get_Type (
        short * ps ) = 0;
    virtual HRESULT __stdcall put_Type (
        short ps ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_Size (
        long * pl ) = 0;
    virtual HRESULT __stdcall put_Size (
        long pl ) = 0;
    virtual HRESULT __stdcall get_SourceField (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall get_SourceTable (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall get_Value (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall put_Value (
        VARIANT pvar ) = 0;
    virtual HRESULT __stdcall get_Attributes (
        long * pl ) = 0;
    virtual HRESULT __stdcall put_Attributes (
        long pl ) = 0;
    virtual HRESULT __stdcall get_OrdinalPosition (
        short * ps ) = 0;
    virtual HRESULT __stdcall put_OrdinalPosition (
        short ps ) = 0;
    virtual HRESULT __stdcall get_ValidationText (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_ValidationText (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_ValidateOnSet (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall put_ValidateOnSet (
        VARIANT_BOOL pb ) = 0;
    virtual HRESULT __stdcall get_ValidationRule (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_ValidationRule (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall get_DefaultValue (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall put_DefaultValue (
        VARIANT pvar ) = 0;
    virtual HRESULT __stdcall get_Required (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall put_Required (
        VARIANT_BOOL pb ) = 0;
    virtual HRESULT __stdcall get_AllowZeroLength (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall put_AllowZeroLength (
        VARIANT_BOOL pb ) = 0;
    virtual HRESULT __stdcall get_DataUpdatable (
        VARIANT_BOOL * pb ) = 0;
    virtual HRESULT __stdcall get_ForeignName (
        BSTR * pbstr ) = 0;
    virtual HRESULT __stdcall put_ForeignName (
        BSTR pbstr ) = 0;
    virtual HRESULT __stdcall raw_AppendChunk (
        VARIANT Val ) = 0;
    virtual HRESULT __stdcall raw_GetChunk (
        long Offset,
        long Bytes,
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall raw__30_FieldSize (
        long * pl ) = 0;
    virtual HRESULT __stdcall raw_CreateProperty (
        VARIANT Name,
        VARIANT Type,
        VARIANT Value,
        VARIANT DDL,
        struct Property * * pprp ) = 0;
    virtual HRESULT __stdcall get_CollectionIndex (
        short * i ) = 0;
    virtual HRESULT __stdcall get_OriginalValue (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall get_VisibleValue (
        VARIANT * pvar ) = 0;
    virtual HRESULT __stdcall get_FieldSize (
        long * pl ) = 0;
};

struct __declspec(uuid("0000005b-0000-0010-8000-00aa006d2ea4"))
Indexes : _DynaCollection
{
    //
    // Property data
    //

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

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

    _IndexPtr GetItem (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Item (
        VARIANT Item,
        struct _Index * * ppidx ) = 0;
};

struct __declspec(uuid("00000105-0000-0010-8000-00aa006d2ea4"))
Index;
    // [ default ] interface _Index

struct __declspec(uuid("00000059-0000-0010-8000-00aa006d2ea4"))
_Index : _DAO
{
    //

⌨️ 快捷键说明

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