📄 vbe6ext.tlh
字号:
//
// 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;
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 );
//
// 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;
};
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -