?? sendmsgocx.odl
字號:
// SendMsgOCX.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 (SendMsgOCX.tlb) that will become a resource in
// SendMsgOCX.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(9BF6004C-F284-4EFA-BFCF-227F6C34651D), version(1.0),
helpfile("SendMsgOCX.hlp"),
helpstring("SendMsgOCX ActiveX Control module"),
control ]
library SENDMSGOCXLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CSendMsgOCXCtrl
[ uuid(6AA45237-9F03-4EAD-9663-E9B7BF46F935),
helpstring("Dispatch interface for SendMsgOCX Control"), hidden ]
dispinterface _DSendMsgOCX
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CSendMsgOCXCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CSendMsgOCXCtrl)
[id(1)] short OpenCom(short portNo);
[id(2)] short SendMessage(BSTR lpcszPhoneNumber, short msgType, BSTR* lpData, long dwDataSize);
[id(3)] short SetSMSCenter(BSTR lpcszPhoneNumber);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CSendMsgOCXCtrl
[ uuid(2C61C23A-20E7-40E7-AE6C-163DB16A7EB7),
helpstring("Event interface for SendMsgOCX Control") ]
dispinterface _DSendMsgOCXEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CSendMsgOCXCtrl)
[id(1)] void MsgAnswer(long MsgNo, BSTR AnswerNo);
[id(2)] void MsgAnswer1(long MsgNo, BSTR AnswerNo);
//}}AFX_ODL_EVENT
};
// Class information for CSendMsgOCXCtrl
[ uuid(A8E11689-EA8F-403D-B144-AEF9E9F8C25B),
helpstring("SendMsgOCX Control"), control ]
coclass SendMsgOCX
{
[default] dispinterface _DSendMsgOCX;
[default, source] dispinterface _DSendMsgOCXEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -