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

📄 msadox.tlh

📁 这是一款用MFC ADO编写的数据库软件
💻 TLH
📖 第 1 页 / 共 3 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (9abf7353).
//
// i:\数据库ado\debug\Msadox.tlh
//
// C++ source equivalent of Win32 type library c:\Program Files\Common Files\System\ADO\Msadox.dll
// compiler-generated file created 04/20/09 at 13:02:21 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

namespace ADOCG {

//
// Forward references and typedefs
//

struct __declspec(uuid("00000512-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Collection;
struct __declspec(uuid("00000513-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _DynaCollection;
struct __declspec(uuid("00000603-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Catalog;
struct __declspec(uuid("00000611-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Tables;
struct /* coclass */ Table;
struct __declspec(uuid("00000610-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Table;
struct __declspec(uuid("0000061d-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Columns;
struct /* coclass */ Column;
struct __declspec(uuid("0000061c-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Column;
struct __declspec(uuid("00000504-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Properties;
struct __declspec(uuid("00000503-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Property;
struct __declspec(uuid("00000620-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Indexes;
struct /* coclass */ Index;
struct __declspec(uuid("0000061f-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Index;
struct __declspec(uuid("00000623-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Keys;
struct /* coclass */ Key;
struct __declspec(uuid("00000622-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Key;
struct __declspec(uuid("00000626-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Procedures;
struct __declspec(uuid("00000625-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Procedure;
struct __declspec(uuid("00000614-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Views;
struct __declspec(uuid("00000613-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ View;
struct __declspec(uuid("00000617-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Groups;
struct /* coclass */ Group;
struct __declspec(uuid("00000628-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Group;
struct __declspec(uuid("00000616-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _Group25;
struct __declspec(uuid("0000061a-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ Users;
struct /* coclass */ User;
struct __declspec(uuid("00000627-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _User;
struct __declspec(uuid("00000619-0000-0010-8000-00aa006d2ea4"))
/* dual interface */ _User25;
struct /* coclass */ Catalog;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(_Collection, __uuidof(_Collection));
_COM_SMARTPTR_TYPEDEF(_DynaCollection, __uuidof(_DynaCollection));
_COM_SMARTPTR_TYPEDEF(_Catalog, __uuidof(_Catalog));
_COM_SMARTPTR_TYPEDEF(Tables, __uuidof(Tables));
_COM_SMARTPTR_TYPEDEF(_Table, __uuidof(_Table));
_COM_SMARTPTR_TYPEDEF(Columns, __uuidof(Columns));
_COM_SMARTPTR_TYPEDEF(_Column, __uuidof(_Column));
_COM_SMARTPTR_TYPEDEF(Properties, __uuidof(Properties));
_COM_SMARTPTR_TYPEDEF(Property, __uuidof(Property));
_COM_SMARTPTR_TYPEDEF(Indexes, __uuidof(Indexes));
_COM_SMARTPTR_TYPEDEF(_Index, __uuidof(_Index));
_COM_SMARTPTR_TYPEDEF(Keys, __uuidof(Keys));
_COM_SMARTPTR_TYPEDEF(_Key, __uuidof(_Key));
_COM_SMARTPTR_TYPEDEF(Procedures, __uuidof(Procedures));
_COM_SMARTPTR_TYPEDEF(Procedure, __uuidof(Procedure));
_COM_SMARTPTR_TYPEDEF(Views, __uuidof(Views));
_COM_SMARTPTR_TYPEDEF(View, __uuidof(View));
_COM_SMARTPTR_TYPEDEF(Groups, __uuidof(Groups));
_COM_SMARTPTR_TYPEDEF(_Group25, __uuidof(_Group25));
_COM_SMARTPTR_TYPEDEF(_Group, __uuidof(_Group));
_COM_SMARTPTR_TYPEDEF(Users, __uuidof(Users));
_COM_SMARTPTR_TYPEDEF(_User25, __uuidof(_User25));
_COM_SMARTPTR_TYPEDEF(_User, __uuidof(_User));

//
// Type library items
//

struct __declspec(uuid("00000512-0000-0010-8000-00aa006d2ea4"))
_Collection : IDispatch
{
    //
    // Property data
    //

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

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

    long GetCount ( );
    IUnknownPtr _NewEnum ( );
    HRESULT Refresh ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Count (
        long * c ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * ppvObject ) = 0;
    virtual HRESULT __stdcall raw_Refresh ( ) = 0;
};

struct __declspec(uuid("00000513-0000-0010-8000-00aa006d2ea4"))
_DynaCollection : _Collection
{
    //
    // Wrapper methods for error-handling
    //

    HRESULT Append (
        IDispatch * Object );
    HRESULT Delete (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Append (
        IDispatch * Object ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        VARIANT Item ) = 0;
};

struct __declspec(uuid("00000603-0000-0010-8000-00aa006d2ea4"))
_Catalog : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetTables))
    TablesPtr Tables;
    __declspec(property(get=GetProcedures))
    ProceduresPtr Procedures;
    __declspec(property(get=GetViews))
    ViewsPtr Views;
    __declspec(property(get=GetGroups))
    GroupsPtr Groups;
    __declspec(property(get=GetUsers))
    UsersPtr Users;

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

    TablesPtr GetTables ( );
    _variant_t GetActiveConnection ( );
    void PutActiveConnection (
        const _variant_t & pVal );
    void PutRefActiveConnection (
        IDispatch * pVal );
    ProceduresPtr GetProcedures ( );
    ViewsPtr GetViews ( );
    GroupsPtr GetGroups ( );
    UsersPtr GetUsers ( );
    _variant_t Create (
        _bstr_t ConnectString );
    _bstr_t GetObjectOwner (
        _bstr_t ObjectName,
        enum ObjectTypeEnum ObjectType,
        const _variant_t & ObjectTypeId = vtMissing );
    HRESULT SetObjectOwner (
        _bstr_t ObjectName,
        enum ObjectTypeEnum ObjectType,
        _bstr_t UserName,
        const _variant_t & ObjectTypeId = vtMissing );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Tables (
        struct Tables * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_ActiveConnection (
        VARIANT * pVal ) = 0;
    virtual HRESULT __stdcall put_ActiveConnection (
        VARIANT pVal ) = 0;
    virtual HRESULT __stdcall putref_ActiveConnection (
        IDispatch * pVal ) = 0;
    virtual HRESULT __stdcall get_Procedures (
        struct Procedures * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Views (
        struct Views * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Groups (
        struct Groups * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Users (
        struct Users * * ppvObject ) = 0;
    virtual HRESULT __stdcall raw_Create (
        BSTR ConnectString,
        VARIANT * Connection ) = 0;
    virtual HRESULT __stdcall raw_GetObjectOwner (
        BSTR ObjectName,
        enum ObjectTypeEnum ObjectType,
        VARIANT ObjectTypeId,
        BSTR * OwnerName ) = 0;
    virtual HRESULT __stdcall raw_SetObjectOwner (
        BSTR ObjectName,
        enum ObjectTypeEnum ObjectType,
        BSTR UserName,
        VARIANT ObjectTypeId = vtMissing ) = 0;
};

struct __declspec(uuid("00000611-0000-0010-8000-00aa006d2ea4"))
Tables : _Collection
{
    //
    // Property data
    //

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

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

    _TablePtr GetItem (
        const _variant_t & Item );
    HRESULT Append (
        const _variant_t & Item );
    HRESULT Delete (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Item (
        VARIANT Item,
        struct _Table * * ppvObject ) = 0;
    virtual HRESULT __stdcall raw_Append (
        VARIANT Item ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        VARIANT Item ) = 0;
};

struct __declspec(uuid("00000609-0000-0010-8000-00aa006d2ea4"))
Table;
    // [ default ] interface _Table

struct __declspec(uuid("00000610-0000-0010-8000-00aa006d2ea4"))
_Table : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetColumns))
    ColumnsPtr Columns;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetType))
    _bstr_t Type;
    __declspec(property(get=GetIndexes))
    IndexesPtr Indexes;
    __declspec(property(get=GetKeys))
    KeysPtr Keys;
    __declspec(property(get=GetProperties))
    PropertiesPtr Properties;
    __declspec(property(get=GetDateCreated))
    _variant_t DateCreated;
    __declspec(property(get=GetDateModified))
    _variant_t DateModified;
    __declspec(property(get=GetParentCatalog,put=PutRefParentCatalog))
    _CatalogPtr ParentCatalog;

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

    ColumnsPtr GetColumns ( );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t pVal );
    _bstr_t GetType ( );
    IndexesPtr GetIndexes ( );
    KeysPtr GetKeys ( );
    PropertiesPtr GetProperties ( );
    _variant_t GetDateCreated ( );
    _variant_t GetDateModified ( );
    _CatalogPtr GetParentCatalog ( );
    void PutParentCatalog (
        struct _Catalog * ppvObject );
    void PutRefParentCatalog (
        struct _Catalog * ppvObject );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Columns (
        struct Columns * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Type (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall get_Indexes (
        struct Indexes * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Keys (
        struct Keys * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_Properties (
        struct Properties * * ppvObject ) = 0;
    virtual HRESULT __stdcall get_DateCreated (
        VARIANT * pVal ) = 0;
    virtual HRESULT __stdcall get_DateModified (
        VARIANT * pVal ) = 0;
    virtual HRESULT __stdcall get_ParentCatalog (
        struct _Catalog * * ppvObject ) = 0;
    virtual HRESULT __stdcall put_ParentCatalog (
        struct _Catalog * ppvObject ) = 0;
    virtual HRESULT __stdcall putref_ParentCatalog (
        struct _Catalog * ppvObject ) = 0;
};

struct __declspec(uuid("0000061d-0000-0010-8000-00aa006d2ea4"))
Columns : _Collection
{
    //
    // Property data
    //

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

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

    _ColumnPtr GetItem (
        const _variant_t & Item );
    HRESULT Append (
        const _variant_t & Item,
        enum adoXDataTypeEnum Type,
        long DefinedSize );
    HRESULT Delete (
        const _variant_t & Item );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Item (
        VARIANT Item,
        struct _Column * * ppvObject ) = 0;
    virtual HRESULT __stdcall raw_Append (
        VARIANT Item,
        enum adoXDataTypeEnum Type,
        long DefinedSize ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        VARIANT Item ) = 0;
};

struct __declspec(uuid("0000061b-0000-0010-8000-00aa006d2ea4"))
Column;
    // [ default ] interface _Column

struct __declspec(uuid("0000061c-0000-0010-8000-00aa006d2ea4"))
_Column : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetAttributes,put=PutAttributes))
    enum ColumnAttributesEnum Attributes;
    __declspec(property(get=GetDefinedSize,put=PutDefinedSize))
    long DefinedSize;
    __declspec(property(get=GetNumericScale,put=PutNumericScale))
    unsigned char NumericScale;
    __declspec(property(get=GetPrecision,put=PutPrecision))
    long Precision;
    __declspec(property(get=GetRelatedColumn,put=PutRelatedColumn))
    _bstr_t RelatedColumn;
    __declspec(property(get=GetSortOrder,put=PutSortOrder))
    enum SortOrderEnum SortOrder;
    __declspec(property(get=GetType,put=PutType))
    enum adoXDataTypeEnum Type;
    __declspec(property(get=GetProperties))
    PropertiesPtr Properties;
    __declspec(property(get=GetParentCatalog,put=PutRefParentCatalog))
    _CatalogPtr ParentCatalog;

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

    _bstr_t GetName ( );
    void PutName (
        _bstr_t pVal );
    enum ColumnAttributesEnum GetAttributes ( );
    void PutAttributes (
        enum ColumnAttributesEnum pVal );
    long GetDefinedSize ( );
    void PutDefinedSize (
        long pVal );
    unsigned char GetNumericScale ( );
    void PutNumericScale (
        unsigned char pVal );
    long GetPrecision ( );
    void PutPrecision (
        long pVal );
    _bstr_t GetRelatedColumn ( );
    void PutRelatedColumn (
        _bstr_t pVal );
    enum SortOrderEnum GetSortOrder ( );
    void PutSortOrder (
        enum SortOrderEnum pVal );
    enum adoXDataTypeEnum GetType ( );
    void PutType (
        enum adoXDataTypeEnum pVal );
    PropertiesPtr GetProperties ( );
    _CatalogPtr GetParentCatalog ( );
    void PutParentCatalog (
        struct _Catalog * ppvObject );
    void PutRefParentCatalog (
        struct _Catalog * ppvObject );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Name (

⌨️ 快捷键说明

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