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

📄 vbe6ext.tlh

📁 让powerpoint支持插入internet资源
💻 TLH
📖 第 1 页 / 共 5 页
字号:
    virtual HRESULT __stdcall get_Height (
        long * plHeight ) = 0;
    virtual HRESULT __stdcall put_Height (
        long plHeight ) = 0;
    virtual HRESULT __stdcall get_WindowState (
        enum vbext_WindowState * plWindowState ) = 0;
    virtual HRESULT __stdcall put_WindowState (
        enum vbext_WindowState plWindowState ) = 0;
    virtual HRESULT __stdcall raw_SetFocus ( ) = 0;
    virtual HRESULT __stdcall get_Type (
        enum vbext_WindowType * pKind ) = 0;
    virtual HRESULT __stdcall raw_SetKind (
        enum vbext_WindowType eKind ) = 0;
    virtual HRESULT __stdcall get_LinkedWindows (
        struct _LinkedWindows * * ppwnsCollection ) = 0;
    virtual HRESULT __stdcall get_LinkedWindowFrame (
        struct Window * * ppwinFrame ) = 0;
    virtual HRESULT __stdcall raw_Detach ( ) = 0;
    virtual HRESULT __stdcall raw_Attach (
        long lWindowHandle ) = 0;
    virtual HRESULT __stdcall get_HWnd (
        long * plWindowHandle ) = 0;
};

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

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

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

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

    //
    // Raw methods provided by interface
    //

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

struct __declspec(uuid("f57b7ed0-d8ab-11d1-85df-00c04f98f42c"))
_Windows : _Windows_old
{
    //
    // Wrapper methods for error-handling
    //

    WindowPtr CreateToolWindow (
        struct AddIn * AddInInst,
        _bstr_t ProgId,
        _bstr_t Caption,
        _bstr_t GuidPosition,
        IDispatch * * DocObj );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall raw_CreateToolWindow (
        struct AddIn * AddInInst,
        BSTR ProgId,
        BSTR Caption,
        BSTR GuidPosition,
        IDispatch * * DocObj,
        struct Window * * lppcReturn ) = 0;
};

struct __declspec(uuid("0002e185-0000-0000-c000-000000000046"))
Windows;
    // [ default ] interface _Windows

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

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

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

    VBEPtr GetVBE ( );
    WindowPtr GetParent ( );
    WindowPtr Item (
        const _variant_t & index );
    long GetCount ( );
    IUnknownPtr _NewEnum ( );
    HRESULT Remove (
        struct Window * Window );
    HRESULT Add (
        struct Window * Window );

    //
    // Raw methods provided by interface
    //

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

struct __declspec(uuid("0002e187-0000-0000-c000-000000000046"))
LinkedWindows;
    // [ default ] interface _LinkedWindows

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

    __declspec(property(get=GetReferencesEvents))
    _ReferencesEventsPtr ReferencesEvents[];
    __declspec(property(get=GetCommandBarEvents))
    _CommandBarControlEventsPtr CommandBarEvents[];

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

    _ReferencesEventsPtr GetReferencesEvents (
        struct _VBProject * VBProject );
    _CommandBarControlEventsPtr GetCommandBarEvents (
        IDispatch * CommandBarControl );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_ReferencesEvents (
        struct _VBProject * VBProject,
        struct _ReferencesEvents * * prceNew ) = 0;
    virtual HRESULT __stdcall get_CommandBarEvents (
        IDispatch * CommandBarControl,
        struct _CommandBarControlEvents * * prceNew ) = 0;
};

struct __declspec(uuid("0002e113-0000-0000-c000-000000000046"))
_VBProjectsEvents : IUnknown
{};

struct __declspec(uuid("0002e103-0000-0000-c000-000000000046"))
_dispVBProjectsEvents : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    // Methods:
    HRESULT ItemAdded (
        struct _VBProject * VBProject );
    HRESULT ItemRemoved (
        struct _VBProject * VBProject );
    HRESULT ItemRenamed (
        struct _VBProject * VBProject,
        _bstr_t OldName );
    HRESULT ItemActivated (
        struct _VBProject * VBProject );
};

struct __declspec(uuid("0002e115-0000-0000-c000-000000000046"))
_VBComponentsEvents : IUnknown
{};

struct __declspec(uuid("0002e116-0000-0000-c000-000000000046"))
_dispVBComponentsEvents : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    // Methods:
    HRESULT ItemAdded (
        struct _VBComponent * VBComponent );
    HRESULT ItemRemoved (
        struct _VBComponent * VBComponent );
    HRESULT ItemRenamed (
        struct _VBComponent * VBComponent,
        _bstr_t OldName );
    HRESULT ItemSelected (
        struct _VBComponent * VBComponent );
    HRESULT ItemActivated (
        struct _VBComponent * VBComponent );
    HRESULT ItemReloaded (
        struct _VBComponent * VBComponent );
};

struct __declspec(uuid("0002e11a-0000-0000-c000-000000000046"))
_ReferencesEvents : IUnknown
{};

struct __declspec(uuid("0002e118-0000-0000-c000-000000000046"))
_dispReferencesEvents : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    // Methods:
    HRESULT ItemAdded (
        struct Reference * Reference );
    HRESULT ItemRemoved (
        struct Reference * Reference );
};

struct __declspec(uuid("0002e119-0000-0000-c000-000000000046"))
ReferencesEvents;
    // [ default ] interface _ReferencesEvents
    // [ default, source ] dispinterface _dispReferencesEvents

struct __declspec(uuid("0002e130-0000-0000-c000-000000000046"))
_CommandBarControlEvents : IUnknown
{};

struct __declspec(uuid("0002e131-0000-0000-c000-000000000046"))
_dispCommandBarControlEvents : IDispatch
{
    //
    // Wrapper methods for error-handling
    //

    // Methods:
    HRESULT Click (
        IDispatch * CommandBarControl,
        VARIANT_BOOL * handled,
        VARIANT_BOOL * CancelDefault );
};

struct __declspec(uuid("0002e132-0000-0000-c000-000000000046"))
CommandBarEvents;
    // [ default ] interface _CommandBarControlEvents
    // [ default, source ] dispinterface _dispCommandBarControlEvents

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

    __declspec(property(get=GetApplication))
    ApplicationPtr Application;
    __declspec(property(get=GetParent))
    ApplicationPtr Parent;

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

    ApplicationPtr GetApplication ( );
    ApplicationPtr GetParent ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_Application (
        struct Application * * lppaReturn ) = 0;
    virtual HRESULT __stdcall get_Parent (
        struct Application * * lppaReturn ) = 0;
};

struct __declspec(uuid("32cdf9e0-1602-11ce-bfdc-08002b2b8cda"))
ProjectTemplate;
    // [ default ] interface _ProjectTemplate

enum vbext_ProjectType
{
    vbext_pt_HostProject = 100,
    vbext_pt_StandAlone = 101
};

enum vbext_ProjectProtection
{
    vbext_pp_none = 0,
    vbext_pp_locked = 1
};

enum vbext_VBAMode
{
    vbext_vm_Run = 0,
    vbext_vm_Break = 1,
    vbext_vm_Design = 2
};

struct __declspec(uuid("0002e160-0000-0000-c000-000000000046"))
_VBProject_Old : _ProjectTemplate
{
    //
    // Property data
    //

    __declspec(property(get=GetProtection))
    enum vbext_ProjectProtection Protection;
    __declspec(property(get=GetSaved))
    VARIANT_BOOL Saved;
    __declspec(property(get=GetVBComponents))
    _VBComponentsPtr VBComponents;
    __declspec(property(get=GetHelpFile,put=PutHelpFile))
    _bstr_t HelpFile;
    __declspec(property(get=GetHelpContextID,put=PutHelpContextID))
    long HelpContextID;
    __declspec(property(get=GetDescription,put=PutDescription))
    _bstr_t Description;
    __declspec(property(get=GetMode))
    enum vbext_VBAMode Mode;
    __declspec(property(get=GetReferences))
    _ReferencesPtr References;
    __declspec(property(get=GetName,put=PutName))
    _bstr_t Name;
    __declspec(property(get=GetVBE))
    VBEPtr VBE;
    __declspec(property(get=GetCollection))
    _VBProjectsPtr Collection;

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

    _bstr_t GetHelpFile ( );
    void PutHelpFile (
        _bstr_t lpbstrHelpFile );
    long GetHelpContextID ( );
    void PutHelpContextID (
        long lpdwContextID );
    _bstr_t GetDescription ( );
    void PutDescription (
        _bstr_t lpbstrDescription );
    enum vbext_VBAMode GetMode ( );
    _ReferencesPtr GetReferences ( );
    _bstr_t GetName ( );
    void PutName (
        _bstr_t lpbstrName );
    VBEPtr GetVBE ( );
    _VBProjectsPtr GetCollection ( );
    enum vbext_ProjectProtection GetProtection ( );
    VARIANT_BOOL GetSaved ( );
    _VBComponentsPtr GetVBComponents ( );

    //
    // Raw methods provided by interface
    //

    virtual HRESULT __stdcall get_HelpFile (
        BSTR * lpbstrHelpFile ) = 0;
    virtual HRESULT __stdcall put_HelpFile (
        BSTR lpbstrHelpFile ) = 0;
    virtual HRESULT __stdcall get_HelpContextID (
        long * lpdwContextID ) = 0;
    virtual HRESULT __stdcall put_HelpContextID (
        long lpdwContextID ) = 0;
    virtual HRESULT __stdcall get_Description (
        BSTR * lpbstrDescription ) = 0;
    virtual HRESULT __stdcall put_Description (
        BSTR lpbstrDescription ) = 0;
    virtual HRESULT __stdcall get_Mode (
        enum vbext_VBAMode * lpVbaMode ) = 0;
    virtual HRESULT __stdcall get_References (
        struct _References * * lppReferences ) = 0;
    virtual HRESULT __stdcall get_Name (
        BSTR * lpbstrName ) = 0;

⌨️ 快捷键说明

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