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

📄 vbe6ext.tlh

📁 让powerpoint支持插入internet资源
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    virtual HRESULT __stdcall put_Name (
        BSTR lpbstrName ) = 0;
    virtual HRESULT __stdcall get_VBE (
        struct VBE * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Collection (
        struct _VBProjects * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Protection (
        enum vbext_ProjectProtection * lpProtection ) = 0;
    virtual HRESULT __stdcall get_Saved (
        VARIANT_BOOL * lpfReturn ) = 0;
    virtual HRESULT __stdcall get_VBComponents (
        struct _VBComponents * * lppcReturn ) = 0;
};

struct __declspec(uuid("eee00915-e393-11d1-bb03-00c04fb6c4a6"))
_VBProject : _VBProject_Old
{
    //
    // Property data
    //

    __declspec(property(get=GetType))
    enum vbext_ProjectType Type;
    __declspec(property(get=GetFileName))
    _bstr_t FileName;
    __declspec(property(get=GetBuildFileName,put=PutBuildFileName))
    _bstr_t BuildFileName;

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

    HRESULT SaveAs (
        _bstr_t FileName );
    HRESULT MakeCompiledFile ( );
    enum vbext_ProjectType GetType ( );
    _bstr_t GetFileName ( );
    _bstr_t GetBuildFileName ( );
    void PutBuildFileName (
        _bstr_t lpbstrBldFName );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_SaveAs (
        BSTR FileName ) = 0;
    virtual HRESULT __stdcall raw_MakeCompiledFile ( ) = 0;
    virtual HRESULT __stdcall get_Type (
        enum vbext_ProjectType * lpkind ) = 0;
    virtual HRESULT __stdcall get_FileName (
        BSTR * lpbstrReturn ) = 0;
    virtual HRESULT __stdcall get_BuildFileName (
        BSTR * lpbstrBldFName ) = 0;
    virtual HRESULT __stdcall put_BuildFileName (
        BSTR lpbstrBldFName ) = 0;
};

struct __declspec(uuid("0002e169-0000-0000-c000-000000000046"))
VBProject;
    // [ default ] interface _VBProject

struct __declspec(uuid("0002e165-0000-0000-c000-000000000046"))
_VBProjects_Old : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetParent))
    VBEPtr Parent;
    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetVBE))
    VBEPtr VBE;

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

    _VBProjectPtr Item (
        const _variant_t & index );
    VBEPtr GetVBE ( );
    VBEPtr GetParent ( );
    long GetCount ( );
    IUnknownPtr _NewEnum ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Item (
        VARIANT index,
        struct _VBProject * * lppcReturn ) = 0;
    virtual HRESULT __stdcall get_VBE (
        struct VBE * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct VBE * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * lplReturn ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * lppiuReturn ) = 0;
};

struct __declspec(uuid("eee00919-e393-11d1-bb03-00c04fb6c4a6"))
_VBProjects : _VBProjects_Old
{
    //
    // Wrapper methods for error-handling
    //

    _VBProjectPtr Add (
        enum vbext_ProjectType Type );
    HRESULT Remove (
        struct _VBProject * lpc );
    _VBProjectPtr Open (
        _bstr_t bstrPath );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Add (
        enum vbext_ProjectType Type,
        struct _VBProject * * lppcReturn ) = 0;
    virtual HRESULT __stdcall raw_Remove (
        struct _VBProject * lpc ) = 0;
    virtual HRESULT __stdcall raw_Open (
        BSTR bstrPath,
        struct _VBProject * * lpc ) = 0;
};

struct __declspec(uuid("0002e101-0000-0000-c000-000000000046"))
VBProjects;
    // [ default ] interface _VBProjects

struct __declspec(uuid("be39f3d4-1b13-11d0-887f-00a0c90f2744"))
SelectedComponents : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetApplication))
    ApplicationPtr Application;
    __declspec(property(get=GetParent))
    _VBProjectPtr Parent;
    __declspec(property(get=GetCount))
    long Count;

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

    _ComponentPtr Item (
        int index );
    ApplicationPtr GetApplication ( );
    _VBProjectPtr GetParent ( );
    long GetCount ( );
    IUnknownPtr _NewEnum ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Item (
        int index,
        struct _Component * * lppcReturn ) = 0;
    virtual HRESULT __stdcall get_Application (
        struct Application * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct _VBProject * * lppptReturn ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * lplReturn ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * lppiuReturn ) = 0;
};

enum vbext_ComponentType
{
    vbext_ct_StdModule = 1,
    vbext_ct_ClassModule = 2,
    vbext_ct_MSForm = 3,
    vbext_ct_ActiveXDesigner = 11,
    vbext_ct_Document = 100
};

struct __declspec(uuid("0002e161-0000-0000-c000-000000000046"))
_Components : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetApplication))
    ApplicationPtr Application;
    __declspec(property(get=GetParent))
    _VBProjectPtr Parent;
    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetVBE))
    VBEPtr VBE;

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

    _ComponentPtr Item (
        const _variant_t & index );
    ApplicationPtr GetApplication ( );
    _VBProjectPtr GetParent ( );
    long GetCount ( );
    IUnknownPtr _NewEnum ( );
    HRESULT Remove (
        struct _Component * Component );
    _ComponentPtr Add (
        enum vbext_ComponentType ComponentType );
    _ComponentPtr Import (
        _bstr_t FileName );
    VBEPtr GetVBE ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Item (
        VARIANT index,
        struct _Component * * lppcReturn ) = 0;
    virtual HRESULT __stdcall get_Application (
        struct Application * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct _VBProject * * lppptReturn ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * lplReturn ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * lppiuReturn ) = 0;
    virtual HRESULT __stdcall raw_Remove (
        struct _Component * Component ) = 0;
    virtual HRESULT __stdcall raw_Add (
        enum vbext_ComponentType ComponentType,
        struct _Component * * lppComponent ) = 0;
    virtual HRESULT __stdcall raw_Import (
        BSTR FileName,
        struct _Component * * lppComponent ) = 0;
    virtual HRESULT __stdcall get_VBE (
        struct VBE * * lppaReturn ) = 0;
};

struct __declspec(uuid("be39f3d6-1b13-11d0-887f-00a0c90f2744"))
Components;
    // [ default ] interface _Components

struct __declspec(uuid("0002e162-0000-0000-c000-000000000046"))
_VBComponents_Old : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetParent))
    _VBProjectPtr Parent;
    __declspec(property(get=GetCount))
    long Count;
    __declspec(property(get=GetVBE))
    VBEPtr VBE;

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

    _VBComponentPtr Item (
        const _variant_t & index );
    _VBProjectPtr GetParent ( );
    long GetCount ( );
    IUnknownPtr _NewEnum ( );
    HRESULT Remove (
        struct _VBComponent * VBComponent );
    _VBComponentPtr Add (
        enum vbext_ComponentType ComponentType );
    _VBComponentPtr Import (
        _bstr_t FileName );
    VBEPtr GetVBE ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_Item (
        VARIANT index,
        struct _VBComponent * * lppcReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct _VBProject * * lppptReturn ) = 0;
    virtual HRESULT __stdcall get_Count (
        long * lplReturn ) = 0;
    virtual HRESULT __stdcall raw__NewEnum (
        IUnknown * * lppiuReturn ) = 0;
    virtual HRESULT __stdcall raw_Remove (
        struct _VBComponent * VBComponent ) = 0;
    virtual HRESULT __stdcall raw_Add (
        enum vbext_ComponentType ComponentType,
        struct _VBComponent * * lppComponent ) = 0;
    virtual HRESULT __stdcall raw_Import (
        BSTR FileName,
        struct _VBComponent * * lppComponent ) = 0;
    virtual HRESULT __stdcall get_VBE (
        struct VBE * * lppaReturn ) = 0;
};

struct __declspec(uuid("eee0091c-e393-11d1-bb03-00c04fb6c4a6"))
_VBComponents : _VBComponents_Old
{
    //
    // Wrapper methods for error-handling
    //

    _VBComponentPtr AddCustom (
        _bstr_t ProgId );
    _VBComponentPtr AddMTDesigner (
        long index );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_AddCustom (
        BSTR ProgId,
        struct _VBComponent * * lppComponent ) = 0;
    virtual HRESULT __stdcall raw_AddMTDesigner (
        long index,
        struct _VBComponent * * lppComponent ) = 0;
};

struct __declspec(uuid("be39f3d7-1b13-11d0-887f-00a0c90f2744"))
VBComponents;
    // [ default ] interface _VBComponents

struct __declspec(uuid("0002e163-0000-0000-c000-000000000046"))
_Component : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetApplication))
    ApplicationPtr Application;
    __declspec(property(get=GetParent))
    _ComponentsPtr Parent;
    __declspec(property(get=GetIsDirty,put=PutIsDirty))
    VARIANT_BOOL IsDirty;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;

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

    ApplicationPtr GetApplication ( );
    _ComponentsPtr GetParent ( );
    VARIANT_BOOL GetIsDirty ( );
    void PutIsDirty (
        VARIANT_BOOL lpfReturn );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t pbstrReturn );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Application (
        struct Application * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct _Components * * lppcReturn ) = 0;
    virtual HRESULT __stdcall get_IsDirty (
        VARIANT_BOOL * lpfReturn ) = 0;
    virtual HRESULT __stdcall put_IsDirty (
        VARIANT_BOOL lpfReturn ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * pbstrReturn ) = 0;
    virtual HRESULT __stdcall put_Name (
        BSTR pbstrReturn ) = 0;
};

struct __declspec(uuid("be39f3d8-1b13-11d0-887f-00a0c90f2744"))
Component;
    // [ default ] interface _Component

struct __declspec(uuid("0002e164-0000-0000-c000-000000000046"))
_VBComponent_Old : IDispatch
{
    //
    // Property data
    //

    __declspec(property(get=GetSaved))
    VARIANT_BOOL Saved;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetDesigner))
    IDispatchPtr Designer;
    __declspec(property(get=GetCodeModule))
    _CodeModulePtr CodeModule;
    __declspec(property(get=GetType))
    enum vbext_ComponentType Type;
    __declspec(property(get=GetVBE))
    VBEPtr VBE;
    __declspec(property(get=GetCollection))
    _VBComponentsPtr Collection;

⌨️ 快捷键说明

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