band.idl

来自「IE toolbar」· IDL 代码 · 共 58 行

IDL
58
字号
// band.idl : IDL source for band.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (band.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	

	[
		object,
		uuid(159C2E50-9823-11D2-8DDC-D84A1B4ACD4D),
		dual,
		helpstring("ICHTM Interface"),
		pointer_default(unique)
	]
	interface ICHTM : IDispatch
	{
	};
	

	
	[
		object, dual,
		uuid(159C2E52-9823-11D2-8DDC-D84A1B4ACD4D),
		helpstring("ICHTMUI Interface"),
		pointer_default(unique)
	]
	interface ICHTMUI : IDispatch
	{
		// Example method that will be called by the HTML
		HRESULT OnClick([in]IDispatch* pdispBody, [in]VARIANT varColor);
		[id(1), helpstring("method OnNag")] HRESULT OnNag(IDispatch*  pDisp, BSTR varLnk);
	};

[
	uuid(159C2E41-9823-11D2-8DDC-D84A1B4ACD4D),
	version(1.0),
	helpstring("band 1.0 Type Library")
]
library BANDLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(159C2E51-9823-11D2-8DDC-D84A1B4ACD4D),
		helpstring("&Morning Band")
	]
	coclass CHTM
	{
		[default] interface ICHTM;
		interface ICHTMUI;
	};
};

⌨️ 快捷键说明

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