📄 lmnetx_tlb.h
字号:
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type library) re-imported, or the
// 'Refresh' command of the Type Library Editor activated while editing the
// Type Library, the contents of this file will be regenerated and all
// manual modifications will be lost.
// ************************************************************************ //
// C++ TLBWRTR : $Revision: 1.134.1.39 $
// File generated on 2004-2-29 13:23:57 from Type Library described below.
// ************************************************************************ //
// Type Lib: D:\MATLAB6p5\work\LmNetWin\LmNetX.tlb (1)
// IID\LCID: {F441C8D9-E9D8-48C6-9441-35E3DC68E487}\0
// Helpfile:
// DepndLst:
// (1) v2.0 stdole, (C:\WINDOWS\System32\stdole2.tlb)
// (2) v4.0 StdVCL, (C:\WINDOWS\System32\STDVCL40.DLL)
// ************************************************************************ //
#ifndef __LmNetX_TLB_h__
#define __LmNetX_TLB_h__
#pragma option push -b -w-inl
#include <utilcls.h>
#if !defined(__UTILCLS_H_VERSION) || (__UTILCLS_H_VERSION < 0x0500)
//
// The code generated by the TLIBIMP utility or the Import|TypeLibrary
// and Import|ActiveX feature of C++Builder rely on specific versions of
// the header file UTILCLS.H found in the INCLUDE\VCL directory. If an
// older version of the file is detected, you probably need an update/patch.
//
#error "This file requires a newer version of the header UTILCLS.H" \
"You need to apply an update/patch to your copy of C++Builder"
#endif
#include <olectl.h>
#include <ocidl.h>
#if defined(USING_ATLVCL) || defined(USING_ATL)
#if !defined(__TLB_NO_EVENT_WRAPPERS)
#include <atl/atlmod.h>
#endif
#endif
// *********************************************************************//
// Forward reference of some VCL types (to avoid including STDVCL.HPP)
// *********************************************************************//
namespace Stdvcl {class IStrings; class IStringsDisp;}
using namespace Stdvcl;
typedef TComInterface<IStrings> IStringsPtr;
typedef TComInterface<IStringsDisp> IStringsDispPtr;
namespace Lmnetx_tlb
{
// *********************************************************************//
// HelpString: LmNetProj Library
// Version: 1.0
// *********************************************************************//
// *********************************************************************//
// GUIDS declared in the TypeLibrary. Following prefixes are used:
// Type Libraries : LIBID_xxxx
// CoClasses : CLSID_xxxx
// DISPInterfaces : DIID_xxxx
// Non-DISP interfaces: IID_xxxx
// *********************************************************************//
extern __declspec (package) const GUID LIBID_LmNetX;
extern __declspec (package) const GUID IID_ILmNetX;
extern __declspec (package) const GUID DIID_ILmNetXEvents;
extern __declspec (package) const GUID CLSID_LmNetX;
extern __declspec (package) const GUID GUID_TxActiveFormBorderStyle;
extern __declspec (package) const GUID GUID_TxPrintScale;
extern __declspec (package) const GUID GUID_TxMouseButton;
// *********************************************************************//
// Forward declaration of types defined in TypeLibrary
// *********************************************************************//
enum TxActiveFormBorderStyle;
enum TxPrintScale;
enum TxMouseButton;
interface DECLSPEC_UUID("{CBFE1A3A-C390-40B3-803B-46A9DAA9B01A}") ILmNetX;
typedef TComInterface<ILmNetX, &IID_ILmNetX> ILmNetXPtr;
interface DECLSPEC_UUID("{0B47D600-AA68-4FC7-8737-33F2C2EE5362}") ILmNetXEvents;
typedef TComInterface<ILmNetXEvents, &DIID_ILmNetXEvents> ILmNetXEventsPtr;
// *********************************************************************//
// Declaration of CoClasses defined in Type Library
// (NOTE: Here we map each CoClass to its Default Interface)
//
// The LIBID_OF_ macro(s) map a LIBID_OF_CoClassName to the GUID of this
// TypeLibrary. It simplifies the updating of macros when CoClass name
// change.
// *********************************************************************//
typedef ILmNetX LmNetX;
typedef ILmNetXPtr LmNetXPtr;
#define LIBID_OF_LmNetX (&LIBID_LmNetX)
// *********************************************************************//
// Declaration of Enumerations defined in Type Library
// *********************************************************************//
typedef enum TxActiveFormBorderStyle
{
afbNone = 0,
afbSingle = 1,
afbSunken = 2,
afbRaised = 3
} TxActiveFormBorderStyle;
typedef enum TxPrintScale
{
poNone = 0,
poProportional = 1,
poPrintToFit = 2
} TxPrintScale;
typedef enum TxMouseButton
{
mbLeft = 0,
mbRight = 1,
mbMiddle = 2
} TxMouseButton;
// *********************************************************************//
// Interface: ILmNetX
// Flags: (4416) Dual OleAutomation Dispatchable
// GUID: {CBFE1A3A-C390-40B3-803B-46A9DAA9B01A}
// *********************************************************************//
interface ILmNetX : public IDispatch
{
public:
virtual HRESULT STDMETHODCALLTYPE get_Visible(TOLEBOOL* Value/*[out,retval]*/) = 0; // [1]
virtual HRESULT STDMETHODCALLTYPE set_Visible(TOLEBOOL Value/*[in]*/) = 0; // [1]
virtual HRESULT STDMETHODCALLTYPE get_AutoScroll(TOLEBOOL* Value/*[out,retval]*/) = 0; // [2]
virtual HRESULT STDMETHODCALLTYPE set_AutoScroll(TOLEBOOL Value/*[in]*/) = 0; // [2]
virtual HRESULT STDMETHODCALLTYPE get_AutoSize(TOLEBOOL* Value/*[out,retval]*/) = 0; // [3]
virtual HRESULT STDMETHODCALLTYPE set_AutoSize(TOLEBOOL Value/*[in]*/) = 0; // [3]
virtual HRESULT STDMETHODCALLTYPE get_AxBorderStyle(Lmnetx_tlb::TxActiveFormBorderStyle* Value/*[out,retval]*/) = 0; // [4]
virtual HRESULT STDMETHODCALLTYPE set_AxBorderStyle(Lmnetx_tlb::TxActiveFormBorderStyle Value/*[in]*/) = 0; // [4]
virtual HRESULT STDMETHODCALLTYPE get_BorderWidth(long* Value/*[out,retval]*/) = 0; // [5]
virtual HRESULT STDMETHODCALLTYPE set_BorderWidth(long Value/*[in]*/) = 0; // [5]
virtual HRESULT STDMETHODCALLTYPE get_Caption(BSTR* Value/*[out,retval]*/) = 0; // [-518]
virtual HRESULT STDMETHODCALLTYPE set_Caption(BSTR Value/*[in]*/) = 0; // [-518]
virtual HRESULT STDMETHODCALLTYPE get_Color(::OLE_COLOR* Value/*[out,retval]*/) = 0; // [-501]
virtual HRESULT STDMETHODCALLTYPE set_Color(::OLE_COLOR Value/*[in]*/) = 0; // [-501]
virtual HRESULT STDMETHODCALLTYPE get_Font(IFontDispPtr* Value/*[out,retval]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE set_Font(IFontDispPtr Value/*[in]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE _set_Font(IFontDispPtr* Value/*[in]*/) = 0; // [-512]
virtual HRESULT STDMETHODCALLTYPE get_KeyPreview(TOLEBOOL* Value/*[out,retval]*/) = 0; // [6]
virtual HRESULT STDMETHODCALLTYPE set_KeyPreview(TOLEBOOL Value/*[in]*/) = 0; // [6]
virtual HRESULT STDMETHODCALLTYPE get_PixelsPerInch(long* Value/*[out,retval]*/) = 0; // [7]
virtual HRESULT STDMETHODCALLTYPE set_PixelsPerInch(long Value/*[in]*/) = 0; // [7]
virtual HRESULT STDMETHODCALLTYPE get_PrintScale(Lmnetx_tlb::TxPrintScale* Value/*[out,retval]*/) = 0; // [8]
virtual HRESULT STDMETHODCALLTYPE set_PrintScale(Lmnetx_tlb::TxPrintScale Value/*[in]*/) = 0; // [8]
virtual HRESULT STDMETHODCALLTYPE get_Scaled(TOLEBOOL* Value/*[out,retval]*/) = 0; // [9]
virtual HRESULT STDMETHODCALLTYPE set_Scaled(TOLEBOOL Value/*[in]*/) = 0; // [9]
virtual HRESULT STDMETHODCALLTYPE get_Active(TOLEBOOL* Value/*[out,retval]*/) = 0; // [10]
virtual HRESULT STDMETHODCALLTYPE get_DropTarget(TOLEBOOL* Value/*[out,retval]*/) = 0; // [11]
virtual HRESULT STDMETHODCALLTYPE set_DropTarget(TOLEBOOL Value/*[in]*/) = 0; // [11]
virtual HRESULT STDMETHODCALLTYPE get_HelpFile(BSTR* Value/*[out,retval]*/) = 0; // [12]
virtual HRESULT STDMETHODCALLTYPE set_HelpFile(BSTR Value/*[in]*/) = 0; // [12]
virtual HRESULT STDMETHODCALLTYPE get_DoubleBuffered(TOLEBOOL* Value/*[out,retval]*/) = 0; // [13]
virtual HRESULT STDMETHODCALLTYPE set_DoubleBuffered(TOLEBOOL Value/*[in]*/) = 0; // [13]
virtual HRESULT STDMETHODCALLTYPE get_VisibleDockClientCount(long* Value/*[out,retval]*/) = 0; // [14]
virtual HRESULT STDMETHODCALLTYPE get_Enabled(TOLEBOOL* Value/*[out,retval]*/) = 0; // [-514]
virtual HRESULT STDMETHODCALLTYPE set_Enabled(TOLEBOOL Value/*[in]*/) = 0; // [-514]
virtual HRESULT STDMETHODCALLTYPE get_Cursor(short* Value/*[out,retval]*/) = 0; // [15]
virtual HRESULT STDMETHODCALLTYPE set_Cursor(short Value/*[in]*/) = 0; // [15]
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
TOLEBOOL __fastcall get_Visible(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Visible((TOLEBOOL*)&Value));
return Value;
}
TOLEBOOL __fastcall get_AutoScroll(void)
{
TOLEBOOL Value;
OLECHECK(this->get_AutoScroll((TOLEBOOL*)&Value));
return Value;
}
TOLEBOOL __fastcall get_AutoSize(void)
{
TOLEBOOL Value;
OLECHECK(this->get_AutoSize((TOLEBOOL*)&Value));
return Value;
}
Lmnetx_tlb::TxActiveFormBorderStyle __fastcall get_AxBorderStyle(void)
{
Lmnetx_tlb::TxActiveFormBorderStyle Value;
OLECHECK(this->get_AxBorderStyle((Lmnetx_tlb::TxActiveFormBorderStyle*)&Value));
return Value;
}
long __fastcall get_BorderWidth(void)
{
long Value;
OLECHECK(this->get_BorderWidth((long*)&Value));
return Value;
}
BSTR __fastcall get_Caption(void)
{
BSTR Value = 0;
OLECHECK(this->get_Caption((BSTR*)&Value));
return Value;
}
::OLE_COLOR __fastcall get_Color(void)
{
::OLE_COLOR Value;
OLECHECK(this->get_Color((::OLE_COLOR*)&Value));
return Value;
}
IFontDispPtr __fastcall get_Font(void)
{
IFontDispPtr Value;
OLECHECK(this->get_Font((IFontDispPtr*)&Value));
return Value;
}
TOLEBOOL __fastcall get_KeyPreview(void)
{
TOLEBOOL Value;
OLECHECK(this->get_KeyPreview((TOLEBOOL*)&Value));
return Value;
}
long __fastcall get_PixelsPerInch(void)
{
long Value;
OLECHECK(this->get_PixelsPerInch((long*)&Value));
return Value;
}
Lmnetx_tlb::TxPrintScale __fastcall get_PrintScale(void)
{
Lmnetx_tlb::TxPrintScale Value;
OLECHECK(this->get_PrintScale((Lmnetx_tlb::TxPrintScale*)&Value));
return Value;
}
TOLEBOOL __fastcall get_Scaled(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Scaled((TOLEBOOL*)&Value));
return Value;
}
TOLEBOOL __fastcall get_Active(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Active((TOLEBOOL*)&Value));
return Value;
}
TOLEBOOL __fastcall get_DropTarget(void)
{
TOLEBOOL Value;
OLECHECK(this->get_DropTarget((TOLEBOOL*)&Value));
return Value;
}
BSTR __fastcall get_HelpFile(void)
{
BSTR Value = 0;
OLECHECK(this->get_HelpFile((BSTR*)&Value));
return Value;
}
TOLEBOOL __fastcall get_DoubleBuffered(void)
{
TOLEBOOL Value;
OLECHECK(this->get_DoubleBuffered((TOLEBOOL*)&Value));
return Value;
}
long __fastcall get_VisibleDockClientCount(void)
{
long Value;
OLECHECK(this->get_VisibleDockClientCount((long*)&Value));
return Value;
}
TOLEBOOL __fastcall get_Enabled(void)
{
TOLEBOOL Value;
OLECHECK(this->get_Enabled((TOLEBOOL*)&Value));
return Value;
}
short __fastcall get_Cursor(void)
{
short Value;
OLECHECK(this->get_Cursor((short*)&Value));
return Value;
}
__property TOLEBOOL Visible = {read = get_Visible, write = set_Visible};
__property TOLEBOOL AutoScroll = {read = get_AutoScroll, write = set_AutoScroll};
__property TOLEBOOL AutoSize = {read = get_AutoSize, write = set_AutoSize};
__property Lmnetx_tlb::TxActiveFormBorderStyle AxBorderStyle = {read = get_AxBorderStyle, write = set_AxBorderStyle};
__property long BorderWidth = {read = get_BorderWidth, write = set_BorderWidth};
__property BSTR Caption = {read = get_Caption, write = set_Caption};
__property ::OLE_COLOR Color = {read = get_Color, write = set_Color};
__property IFontDispPtr Font = {read = get_Font, write = set_Font};
__property TOLEBOOL KeyPreview = {read = get_KeyPreview, write = set_KeyPreview};
__property long PixelsPerInch = {read = get_PixelsPerInch, write = set_PixelsPerInch};
__property Lmnetx_tlb::TxPrintScale PrintScale = {read = get_PrintScale, write = set_PrintScale};
__property TOLEBOOL Scaled = {read = get_Scaled, write = set_Scaled};
__property TOLEBOOL Active = {read = get_Active};
__property TOLEBOOL DropTarget = {read = get_DropTarget, write = set_DropTarget};
__property BSTR HelpFile = {read = get_HelpFile, write = set_HelpFile};
__property TOLEBOOL DoubleBuffered = {read = get_DoubleBuffered, write = set_DoubleBuffered};
__property long VisibleDockClientCount = {read = get_VisibleDockClientCount};
__property TOLEBOOL Enabled = {read = get_Enabled, write = set_Enabled};
__property short Cursor = {read = get_Cursor, write = set_Cursor};
#endif // __TLB_NO_INTERFACE_WRAPPERS
};
// *********************************************************************//
// Interface: ILmNetXEvents
// Flags: (0)
// GUID: {0B47D600-AA68-4FC7-8737-33F2C2EE5362}
// *********************************************************************//
interface ILmNetXEvents : public TDispWrapper<IDispatch>
{
void __fastcall OnActivate()
{
_TDispID _dispid(/* OnActivate */ DISPID(1));
OleProcedure(_dispid);
}
void __fastcall OnClick()
{
_TDispID _dispid(/* OnClick */ DISPID(2));
OleProcedure(_dispid);
}
void __fastcall OnCreate()
{
_TDispID _dispid(/* OnCreate */ DISPID(3));
OleProcedure(_dispid);
}
void __fastcall OnDblClick()
{
_TDispID _dispid(/* OnDblClick */ DISPID(5));
OleProcedure(_dispid);
}
void __fastcall OnDestroy()
{
_TDispID _dispid(/* OnDestroy */ DISPID(6));
OleProcedure(_dispid);
}
void __fastcall OnDeactivate()
{
_TDispID _dispid(/* OnDeactivate */ DISPID(7));
OleProcedure(_dispid);
}
void __fastcall OnKeyPress(short* Key/*[in,out]*/)
{
_TDispID _dispid(/* OnKeyPress */ DISPID(11));
TAutoArgs<1> _args;
_args[1] = Key /*[VT_I2:1]*/;
OleProcedure(_dispid, _args);
}
void __fastcall OnPaint()
{
_TDispID _dispid(/* OnPaint */ DISPID(16));
OleProcedure(_dispid);
}
};
#if !defined(__TLB_NO_INTERFACE_WRAPPERS)
// *********************************************************************//
// SmartIntf: TCOMILmNetX
// Interface: ILmNetX
// *********************************************************************//
template <class T /* ILmNetX */ >
class TCOMILmNetXT : public TComInterface<ILmNetX>, public TComInterfaceBase<IUnknown>
{
public:
TCOMILmNetXT() {}
TCOMILmNetXT(ILmNetX *intf, bool addRef = false) : TComInterface<ILmNetX>(intf, addRef) {}
TCOMILmNetXT(const TCOMILmNetXT& src) : TComInterface<ILmNetX>(src) {}
TCOMILmNetXT& operator=(const TCOMILmNetXT& src) { Bind(src, true); return *this;}
HRESULT __fastcall get_Visible(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_Visible(void);
HRESULT __fastcall set_Visible(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AutoScroll(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_AutoScroll(void);
HRESULT __fastcall set_AutoScroll(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AutoSize(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_AutoSize(void);
HRESULT __fastcall set_AutoSize(TOLEBOOL Value/*[in]*/);
HRESULT __fastcall get_AxBorderStyle(Lmnetx_tlb::TxActiveFormBorderStyle* Value/*[out,retval]*/);
Lmnetx_tlb::TxActiveFormBorderStyle __fastcall get_AxBorderStyle(void);
HRESULT __fastcall set_AxBorderStyle(Lmnetx_tlb::TxActiveFormBorderStyle Value/*[in]*/);
HRESULT __fastcall get_BorderWidth(long* Value/*[out,retval]*/);
long __fastcall get_BorderWidth(void);
HRESULT __fastcall set_BorderWidth(long Value/*[in]*/);
HRESULT __fastcall get_Caption(BSTR* Value/*[out,retval]*/);
BSTR __fastcall get_Caption(void);
HRESULT __fastcall set_Caption(BSTR Value/*[in]*/);
HRESULT __fastcall get_Color(::OLE_COLOR* Value/*[out,retval]*/);
::OLE_COLOR __fastcall get_Color(void);
HRESULT __fastcall set_Color(::OLE_COLOR Value/*[in]*/);
HRESULT __fastcall get_Font(IFontDispPtr* Value/*[out,retval]*/);
IFontDispPtr __fastcall get_Font(void);
HRESULT __fastcall set_Font(IFontDispPtr Value/*[in]*/);
HRESULT __fastcall _set_Font(IFontDispPtr* Value/*[in]*/);
HRESULT __fastcall get_KeyPreview(TOLEBOOL* Value/*[out,retval]*/);
TOLEBOOL __fastcall get_KeyPreview(void);
HRESULT __fastcall set_KeyPreview(TOLEBOOL Value/*[in]*/);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -