audio.odl

来自「UDP语音通讯控件源码」· ODL 代码 · 共 73 行

ODL
73
字号
// AUDIO.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 (AUDIO.tlb) that will become a resource in
// AUDIO.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(7083C794-80CC-4BA4-9A1A-3E98E197B745), version(1.0),
  helpfile("AUDIO.hlp"),
  helpstring("AUDIO ActiveX Control module"),
  control ]
library AUDIOLib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CAUDIOCtrl

	[ uuid(230D0D27-A129-46C1-9CA6-C82EFAC2CE3D),
	  helpstring("Dispatch interface for AUDIO Control"), hidden ]
	dispinterface _DAUDIO
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CAUDIOCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CAUDIOCtrl)
			[id(1)] void Begintalk();
			[id(2)] void Endtalk();
			[id(3)] void SetIpPort(BSTR Password, BSTR Usip, long Usport, long Myport);
			//}}AFX_ODL_METHOD

			[id(DISPID_ABOUTBOX)] void AboutBox();
	};

	//  Event dispatch interface for CAUDIOCtrl

	[ uuid(8012FF32-10D0-4D2B-BE95-D5C781D766C5),
	  helpstring("Event interface for AUDIO Control") ]
	dispinterface _DAUDIOEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CAUDIOCtrl)
			//}}AFX_ODL_EVENT
	};

	//  Class information for CAUDIOCtrl

	[ uuid(B1541B0C-6629-4ECB-BAB5-59A7627A577D),
	  helpstring("AUDIO Control"), control ]
	coclass AUDIO
	{
		[default] dispinterface _DAUDIO;
		[default, source] dispinterface _DAUDIOEvents;
	};


	//{{AFX_APPEND_ODL}}
	//}}AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?