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

📄 hmscanfs531.odl

📁 一个与控件的测试程序
💻 ODL
字号:
// HMScanFS531.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 (HMScanFS531.tlb) that will become a resource in
// HMScanFS531.ocx.

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

[ uuid(5C0D7D0B-02F8-4934-A2CE-7DD583D32CE8), version(1.0),
  helpfile("HMScanFS531.hlp"),
  helpstring("HMScanFS531 ActiveX Control module"),
  control ]
library HMSCANFS531Lib
{
	importlib(STDOLE_TLB);
	importlib(STDTYPE_TLB);

	//  Primary dispatch interface for CHMScanFS531Ctrl

	[ uuid(A51D3868-0E29-4C2C-86D8-8F1D7EA65ADB),
	  helpstring("Dispatch interface for HMScanFS531 Control"), hidden ]
	dispinterface _DHMScanFS531
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CHMScanFS531Ctrl)
			[id(1)] short DeviceStatus;
			//}}AFX_ODL_PROP

		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CHMScanFS531Ctrl)
			[id(2)] short InitComm();
			[id(3)] void CloseCom();
			[id(4)] short Calibrate();
			[id(5)] short IdScanRcog();
			[id(6)] short NidScanRcog();
			[id(7)] BSTR GetCardName();
			[id(8)] BSTR GetCardNum();
			[id(9)] BSTR GetCardSex();
			[id(10)] BSTR GetCardAddress();
			[id(11)] BSTR GetCardPeople();
			[id(12)] BSTR GetCardBirthday();
			[id(13)] BSTR GetCardSigndata();
			[id(14)] BSTR GetCardValidterm();
			[id(15)] BSTR GetCardOther();
			[id(16)] void CancelCom();
			[id(17)] BSTR GetEndData();
			//}}AFX_ODL_METHOD

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

	//  Event dispatch interface for CHMScanFS531Ctrl

	[ uuid(4123B8B5-2850-416B-92FE-5D1193B7EDDF),
	  helpstring("Event interface for HMScanFS531 Control") ]
	dispinterface _DHMScanFS531Events
	{
		properties:
			//  Event interface has no properties

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

	//  Class information for CHMScanFS531Ctrl

	[ uuid(A6A59FEE-54A8-4119-ABF0-30E7998CE894),
	  helpstring("HMScanFS531 Control"), control ]
	coclass HMScanFS531
	{
		[default] dispinterface _DHMScanFS531;
		[default, source] dispinterface _DHMScanFS531Events;
	};


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

⌨️ 快捷键说明

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