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

📄 anirremote.odl

📁 AnirOCX - An OCX to add remote control support to your Windows applications
💻 ODL
字号:
// AnirRemote.odl : type library source for OLE Control project.

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (AnirRemote.tlb) that will become a resource in
// AnirRemote.ocx.

#include <olectl.h>

[ uuid(9C325911-BF0F-11D1-81F0-7260BC000000), version(1.0),
  helpstring("Anir Remote Control"), control ]
library ANIRREMOTELib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CAnirRemoteCtrl

	[ uuid(9C325912-BF0F-11D1-81F0-7260BC000000),
	  helpstring("Dispatch interface for Anir Remote Control"), hidden ]
	dispinterface _DAnirRemote
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CAnirRemoteCtrl)
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CAnirRemoteCtrl)
			[id(1)] boolean Start(short nPort);
			[id(2)] boolean Stop();
			[id(3)] short GetPort();
			[id(4)] boolean GetIsStarted();
			//}}AFX_ODL_METHOD

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

	//  Event dispatch interface for CAnirRemoteCtrl

	[ uuid(9C325913-BF0F-11D1-81F0-7260BC000000),
	  helpstring("Event interface for Anir Remote Control") ]
	dispinterface _DAnirRemoteEvents
	{
		properties:
			//  Event interface has no properties

		methods:
			// NOTE - ClassWizard will maintain event information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_EVENT(CAnirRemoteCtrl)
			[id(1)] void ProcessReceivedData(short nData, boolean bRepeat);
			//}}AFX_ODL_EVENT
	};

	//  Class information for CAnirRemoteCtrl

	[ uuid(9C325914-BF0F-11D1-81F0-7260BC000000),
	  helpstring("Anir Remote Control"), control ]
	coclass AnirRemote
	{
		[default] dispinterface _DAnirRemote;
		[default, source] dispinterface _DAnirRemoteEvents;
	};


	//{{AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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