dispatch.odl

来自「讲mfc的书」· ODL 代码 · 共 43 行

ODL
43
字号
// dispatch.odl : type library source for dispatch.dll

// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (dispatch.tlb).

[ uuid(08755AA1-D365-11CF-A7B2-444553540000), version(1.0) ]
library Dispatch
{
	importlib("stdole32.tlb");
	

	//  Primary dispatch interface for CDispatcher
	
	[ uuid(08755AA4-D365-11CF-A7B2-444553540000) ]
	dispinterface IDispatcher
	{
		properties:
			// NOTE - ClassWizard will maintain property information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_PROP(CDispatcher)
			[id(1)] long BeepType;
			//}}AFX_ODL_PROP
			
		methods:
			// NOTE - ClassWizard will maintain method information here.
			//    Use extreme caution when editing this section.
			//{{AFX_ODL_METHOD(CDispatcher)
			[id(2)] void Beep();
			//}}AFX_ODL_METHOD

	};

	//  Class information for CDispatcher

	[ uuid(08755AA5-D365-11CF-A7B2-444553540000) ]
	coclass DISPATCHER
	{
		[default] dispinterface IDispatcher;
	};

	//{{AFX_APPEND_ODL}}
};

⌨️ 快捷键说明

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