📄 myvoip.odl
字号:
// myvoip.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 (myvoip.tlb) that will become a resource in
// myvoip.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(3F109AAA-BB56-4336-85CB-0D888DC1D5EE), version(1.0),
helpfile("myvoip.hlp"),
helpstring("myvoip ActiveX Control module"),
control ]
library MYVOIPLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CMyvoipCtrl
[ uuid(D7D58478-5B21-4A60-A5AA-C2FA0A37AFE5),
helpstring("Dispatch interface for Myvoip Control"), hidden ]
dispinterface _DMyvoip
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CMyvoipCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CMyvoipCtrl)
[id(1)] void Record(BSTR scrIP, BSTR scrID);
[id(2)] void Stop();
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CMyvoipCtrl
[ uuid(934D56AA-188D-4B27-BABC-ADF8DD7BC5C3),
helpstring("Event interface for Myvoip Control") ]
dispinterface _DMyvoipEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CMyvoipCtrl)
//}}AFX_ODL_EVENT
};
// Class information for CMyvoipCtrl
[ uuid(AEC15949-3C64-4F55-A220-7965034C3986),
helpstring("Myvoip Control"), control ]
coclass Myvoip
{
[default] dispinterface _DMyvoip;
[default, source] dispinterface _DMyvoipEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -