📄 xgpscom.odl
字号:
// xGpscom.odl : type library source for ActiveX Control project.
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (xGpscom.tlb) that will become a resource in
// xGpscom.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(1CB7564A-1728-40B4-BAB9-7886A3E3A8E6), version(1.0),
helpfile("xGpscom.hlp"),
helpstring("xGpscom ActiveX Control module"),
control ]
library XGPSCOMLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CXGpscomCtrl
[ uuid(CB7886B9-3442-47CB-9B66-098C8749D3D2),
helpstring("Dispatch interface for XGpscom Control"), hidden ]
dispinterface _DXGpscom
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CXGpscomCtrl)
[id(1)] short XComName;
[id(2)] boolean XfParity;
[id(3)] short ByteSize;
[id(4)] short XParity;
[id(5)] short XStopBits;
[id(6)] long XBaudRate;
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CXGpscomCtrl)
[id(7)] boolean setupcom();
[id(8)] boolean setsystime();
[id(9)] boolean TD2000();
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CXGpscomCtrl
[ uuid(44D29056-B1FD-45E8-AAA8-AADE2BB6753E),
helpstring("Event interface for XGpscom Control") ]
dispinterface _DXGpscomEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CXGpscomCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CXGpscomCtrl
[ uuid(C4A8C6A1-7248-4878-9BB5-C1A2A1FD219D),
helpstring("XGpscom Control"), control ]
coclass XGpscom
{
[default] dispinterface _DXGpscom;
[default, source] dispinterface _DXGpscomEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -