⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 actvoice.odl

📁 matlab 扩展编程书的代码 matlab 扩展编程书另传
💻 ODL
字号:
// ActVoice.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 (ActVoice.tlb) that will become a resource in
// ActVoice.ocx.

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

[ uuid(63A7E2B9-D047-11D5-A482-0010A4F22AD8), version(1.0),
  helpfile("ActVoice.hlp"),
  helpstring("ActVoice ActiveX Control module"),
  control ]
library ACTVOICELib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CActVoiceCtrl

	[ uuid(63A7E2BA-D047-11D5-A482-0010A4F22AD8),
	  helpstring("Dispatch interface for ActVoice Control"), hidden ]
	dispinterface _DActVoice
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CActVoiceCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CActVoiceCtrl)
			[id(1)] void start();
			[id(2)] void stop();
			[id(3)] VARIANT readwave();
			//}}AFX_ODL_METHOD
	};

	//  Event dispatch interface for CActVoiceCtrl

	[ uuid(63A7E2BB-D047-11D5-A482-0010A4F22AD8),
	  helpstring("Event interface for ActVoice Control") ]
	dispinterface _DActVoiceEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CActVoiceCtrl)
			[id(1)] void done();
			//}}AFX_ODL_EVENT
	};

	//  Class information for CActVoiceCtrl

	[ uuid(63A7E2BC-D047-11D5-A482-0010A4F22AD8),
	  helpstring("ActVoice Control"), control ]
	coclass ActVoice
	{
		[default] dispinterface _DActVoice;
		[default, source] dispinterface _DActVoiceEvents;
	};


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

⌨️ 快捷键说明

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