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

📄 adoxce31.tlh

📁 windows ce开发技巧与实例光盘代码
💻 TLH
📖 第 1 页 / 共 2 页
字号:
// Created by Microsoft (R) C/C++ Compiler Version 12.00.8168.0 (ce55bd70).
//
// adoxce31.tlh
//
// C++ source equivalent of Win32 type library ..\testSDK\adoxce31.tlb
// compiler-generated file created 08/28/02 at 15:52:15 - DO NOT EDIT!

#pragma once
#pragma pack(push, 8)

#include <comdef.h>

namespace AdoXNS {

//
// Forward references and typedefs
//

struct __declspec(uuid("77c8df59-d29f-11d3-98ba-00105acc50fc"))
/* dual interface */ _ADOXCECollection;
struct __declspec(uuid("77c8df5a-d29f-11d3-98ba-00105acc50fc"))
/* 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("77c8df58-d29f-11d3-98ba-00105acc50fc"))
/* dual interface */ ADOXCEProperties;
struct __declspec(uuid("77c8df57-d29f-11d3-98ba-00105acc50fc"))
/* dual interface */ ADOXCEProperty;
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 /* coclass */ Catalog;

//
// Smart pointer typedef declarations
//

_COM_SMARTPTR_TYPEDEF(_ADOXCECollection, __uuidof(_ADOXCECollection));
_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(ADOXCEProperties, __uuidof(ADOXCEProperties));
_COM_SMARTPTR_TYPEDEF(ADOXCEProperty, __uuidof(ADOXCEProperty));
_COM_SMARTPTR_TYPEDEF(Indexes, __uuidof(Indexes));
_COM_SMARTPTR_TYPEDEF(_Index, __uuidof(_Index));
_COM_SMARTPTR_TYPEDEF(Keys, __uuidof(Keys));
_COM_SMARTPTR_TYPEDEF(_Key, __uuidof(_Key));

//
// Type library items
//

struct __declspec(uuid("77c8df59-d29f-11d3-98ba-00105acc50fc"))
_ADOXCECollection : IDispatch
{
    //
    // Property data
    //

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

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

    long GetCount ( );
    IUnknownPtr _NewEnum ( );
    HRESULT Refresh ( );
    void GetElement (
        VARIANT * pvar,
        int index );

    //
    // 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;
    virtual HRESULT __stdcall get_Element (
        VARIANT * pvar,
        int index ) = 0;
};

struct __declspec(uuid("77c8df5a-d29f-11d3-98ba-00105acc50fc"))
_DynaCollection : _ADOXCECollection
{
    //
    // 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;

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

    TablesPtr GetTables ( );
    _variant_t GetActiveConnection ( );
    void PutActiveConnection (
        const _variant_t & pVal );
    void PutRefActiveConnection (
        IDispatch * pVal );
    _variant_t Create (
        _bstr_t ConnectString );

    //
    // 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 raw_Create (
        BSTR ConnectString,
        VARIANT * Connection ) = 0;
};

struct __declspec(uuid("00000611-0000-0010-8000-00aa006d2ea4"))
Tables : _ADOXCECollection
{
    //
    // 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("77c8df52-d29f-11d3-98ba-00105acc50fc"))
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))
    ADOXCEPropertiesPtr 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 ( );
    ADOXCEPropertiesPtr 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 ADOXCEProperties * * 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 : _ADOXCECollection
{
    //
    // 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 DataTypeEnum 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 DataTypeEnum Type,
        long DefinedSize ) = 0;
    virtual HRESULT __stdcall raw_Delete (
        VARIANT Item ) = 0;
};

struct __declspec(uuid("77c8df53-d29f-11d3-98ba-00105acc50fc"))
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 DataTypeEnum Type;
    __declspec(property(get=GetProperties))
    ADOXCEPropertiesPtr 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 DataTypeEnum GetType ( );
    void PutType (
        enum DataTypeEnum pVal );
    ADOXCEPropertiesPtr GetProperties ( );
    _CatalogPtr GetParentCatalog ( );
    void PutParentCatalog (
        struct _Catalog * ppvObject );
    void PutRefParentCatalog (
        struct _Catalog * ppvObject );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Name (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pVal ) = 0;
    virtual HRESULT __stdcall get_Attributes (
        enum ColumnAttributesEnum * pVal ) = 0;
    virtual HRESULT __stdcall put_Attributes (
        enum ColumnAttributesEnum pVal ) = 0;
    virtual HRESULT __stdcall get_DefinedSize (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_DefinedSize (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_NumericScale (
        unsigned char * pVal ) = 0;
    virtual HRESULT __stdcall put_NumericScale (
        unsigned char pVal ) = 0;
    virtual HRESULT __stdcall get_Precision (
        long * pVal ) = 0;
    virtual HRESULT __stdcall put_Precision (
        long pVal ) = 0;
    virtual HRESULT __stdcall get_RelatedColumn (
        BSTR * pVal ) = 0;
    virtual HRESULT __stdcall put_RelatedColumn (

⌨️ 快捷键说明

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