📄 vbe6ext.tlh
字号:
//
_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 );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_AddCustom (
BSTR ProgId,
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;
__declspec(property(get=GetHasOpenDesigner))
VARIANT_BOOL HasOpenDesigner;
__declspec(property(get=GetProperties))
_PropertiesPtr Properties;
//
// Wrapper methods for error-handling
//
VARIANT_BOOL GetSaved ( );
_bstr_t GetName ( );
void PutName (
_bstr_t pbstrReturn );
IDispatchPtr GetDesigner ( );
_CodeModulePtr GetCodeModule ( );
enum vbext_ComponentType GetType ( );
HRESULT Export (
_bstr_t FileName );
VBEPtr GetVBE ( );
_VBComponentsPtr GetCollection ( );
VARIANT_BOOL GetHasOpenDesigner ( );
_PropertiesPtr GetProperties ( );
WindowPtr DesignerWindow ( );
HRESULT Activate ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Saved (
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall get_Name (
BSTR * pbstrReturn ) = 0;
virtual HRESULT __stdcall put_Name (
BSTR pbstrReturn ) = 0;
virtual HRESULT __stdcall get_Designer (
IDispatch * * ppDispatch ) = 0;
virtual HRESULT __stdcall get_CodeModule (
struct _CodeModule * * ppVbaModule ) = 0;
virtual HRESULT __stdcall get_Type (
enum vbext_ComponentType * pKind ) = 0;
virtual HRESULT __stdcall raw_Export (
BSTR FileName ) = 0;
virtual HRESULT __stdcall get_VBE (
struct VBE * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Collection (
struct _VBComponents * * lppcReturn ) = 0;
virtual HRESULT __stdcall get_HasOpenDesigner (
VARIANT_BOOL * lpfReturn ) = 0;
virtual HRESULT __stdcall get_Properties (
struct _Properties * * lpppReturn ) = 0;
virtual HRESULT __stdcall raw_DesignerWindow (
struct Window * * lppcReturn ) = 0;
virtual HRESULT __stdcall raw_Activate ( ) = 0;
};
struct __declspec(uuid("eee00921-e393-11d1-bb03-00c04fb6c4a6"))
_VBComponent : _VBComponent_Old
{
//
// Property data
//
__declspec(property(get=GetDesignerID))
_bstr_t DesignerID;
//
// Wrapper methods for error-handling
//
_bstr_t GetDesignerID ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_DesignerID (
BSTR * pbstrReturn ) = 0;
};
struct __declspec(uuid("be39f3da-1b13-11d0-887f-00a0c90f2744"))
VBComponent;
// [ default ] interface _VBComponent
struct __declspec(uuid("0002e18c-0000-0000-c000-000000000046"))
Property : IDispatch
{
//
// Property data
//
__declspec(property(get=GetValue,put=PutValue))
_variant_t Value;
__declspec(property(get=GetApplication))
ApplicationPtr Application;
__declspec(property(get=GetParent))
_PropertiesPtr Parent;
__declspec(property(get=GetIndexedValue,put=PutIndexedValue))
_variant_t IndexedValue[][][][];
__declspec(property(get=GetNumIndices))
short NumIndices;
__declspec(property(get=GetName))
_bstr_t Name;
__declspec(property(get=GetVBE))
VBEPtr VBE;
__declspec(property(get=GetCollection))
_PropertiesPtr Collection;
__declspec(property(get=GetObject,put=PutRefObject))
IUnknownPtr Object;
//
// Wrapper methods for error-handling
//
_variant_t GetValue ( );
void PutValue (
const _variant_t & lppvReturn );
_variant_t GetIndexedValue (
const _variant_t & Index1,
const _variant_t & Index2 = vtMissing,
const _variant_t & Index3 = vtMissing,
const _variant_t & Index4 = vtMissing );
void PutIndexedValue (
const _variant_t & Index1,
const _variant_t & Index2,
const _variant_t & Index3 = vtMissing,
const _variant_t & Index4 = vtMissing,
const _variant_t & lppvReturn = vtMissing );
short GetNumIndices ( );
ApplicationPtr GetApplication ( );
_PropertiesPtr GetParent ( );
_bstr_t GetName ( );
VBEPtr GetVBE ( );
_PropertiesPtr GetCollection ( );
IUnknownPtr GetObject ( );
void PutRefObject (
IUnknown * lppunk );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall get_Value (
VARIANT * lppvReturn ) = 0;
virtual HRESULT __stdcall put_Value (
VARIANT lppvReturn ) = 0;
virtual HRESULT __stdcall get_IndexedValue (
VARIANT Index1,
VARIANT Index2,
VARIANT Index3,
VARIANT Index4,
VARIANT * lppvReturn ) = 0;
virtual HRESULT __stdcall put_IndexedValue (
VARIANT Index1,
VARIANT Index2,
VARIANT Index3 = vtMissing,
VARIANT Index4 = vtMissing,
VARIANT lppvReturn = vtMissing ) = 0;
virtual HRESULT __stdcall get_NumIndices (
short * lpiRetVal ) = 0;
virtual HRESULT __stdcall get_Application (
struct Application * * lpaReturn ) = 0;
virtual HRESULT __stdcall get_Parent (
struct _Properties * * lpppReturn ) = 0;
virtual HRESULT __stdcall get_Name (
BSTR * lpbstrReturn ) = 0;
virtual HRESULT __stdcall get_VBE (
struct VBE * * lpaReturn ) = 0;
virtual HRESULT __stdcall get_Collection (
struct _Properties * * lpppReturn ) = 0;
virtual HRESULT __stdcall get_Object (
IUnknown * * lppunk ) = 0;
virtual HRESULT __stdcall putref_Object (
IUnknown * lppunk ) = 0;
};
struct __declspec(uuid("0002e188-0000-0000-c000-000000000046"))
_Properties : IDispatch
{
//
// Property data
//
__declspec(property(get=GetApplication))
ApplicationPtr Application;
__declspec(property(get=GetParent))
IDispatchPtr Parent;
__declspec(property(get=GetCount))
long Count;
__declspec(property(get=GetVBE))
VBEPtr VBE;
//
// Wrapper methods for error-handling
//
PropertyPtr Item (
const _variant_t & index );
ApplicationPtr GetApplication ( );
IDispatchPtr GetParent ( );
long GetCount ( );
IUnknownPtr _NewEnum ( );
VBEPtr GetVBE ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Item (
VARIANT index,
struct Property * * lplppReturn ) = 0;
virtual HRESULT __stdcall get_Application (
struct Application * * lppaReturn ) = 0;
virtual HRESULT __stdcall get_Parent (
IDispatch * * lppidReturn ) = 0;
virtual HRESULT __stdcall get_Count (
long * lplReturn ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * lppiuReturn ) = 0;
virtual HRESULT __stdcall get_VBE (
struct VBE * * lppaReturn ) = 0;
};
struct __declspec(uuid("0002e18b-0000-0000-c000-000000000046"))
Properties;
// [ default ] interface _Properties
struct __declspec(uuid("da936b62-ac8b-11d1-b6e5-00a0c90f2744"))
_AddIns : IDispatch
{
//
// Property data
//
__declspec(property(get=GetVBE))
VBEPtr VBE;
__declspec(property(get=GetParent))
IDispatchPtr Parent;
__declspec(property(get=GetCount))
long Count;
//
// Wrapper methods for error-handling
//
AddInPtr Item (
const _variant_t & index );
VBEPtr GetVBE ( );
IDispatchPtr GetParent ( );
long GetCount ( );
IUnknownPtr _NewEnum ( );
HRESULT Update ( );
//
// Raw methods provided by interface
//
virtual HRESULT __stdcall raw_Item (
VARIANT index,
struct AddIn * * lppaddin ) = 0;
virtual HRESULT __stdcall get_VBE (
struct VBE * * lppVBA ) = 0;
virtual HRESULT __stdcall get_Parent (
IDispatch * * lppVBA ) = 0;
virtual HRESULT __stdcall get_Count (
long * lplReturn ) = 0;
virtual HRESULT __stdcall raw__NewEnum (
IUnknown * * lppiuReturn ) = 0;
virtual HRESULT __stdcall raw_Update ( ) = 0;
};
struct __declspec(uuid("da936b63-ac8b-11d1-b6e5-00a0c90f2744"))
Addins;
// [ default ] interface _AddIns
struct __declspec(uuid("da936b64-ac8b-11d1-b6e5-00a0c90f2744"))
AddIn : IDispatch
{
//
// Property data
//
__declspec(property(get=GetDescription,put=PutDescription))
_bstr_t Description;
__declspec(property(get=GetVBE))
VBEPtr VBE;
__declspec(property(get=GetCollection))
_AddInsPtr Collection;
__declspec(property(get=GetProgId))
_bstr_t ProgId;
__declspec(property(get=GetGuid))
_bstr_t Guid;
__declspec(property(get=GetConnect,put=PutConnect))
VARIANT_BOOL Connect;
__declspec(property(get=GetObject,put=PutObject))
IDispatchPtr Object;
//
// Wrapper methods for error-handling
//
_bstr_t GetDescription ( );
void PutDescription (
_bstr_t lpbstr );
VBEPtr GetVBE ( );
_AddInsPtr GetCollection ( );
_bstr_t GetProgId ( );
_bstr_t GetGuid ( );
VARIANT_BOOL GetConnect ( );
void PutConnect (
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -