whois.idl

来自「一个简单的小程序。whois的程序」· IDL 代码 · 共 40 行

IDL
40
字号
// whois.idl : IDL source for whois.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(2A33BA7B-5110-11D3-B564-00105A0FDD58),
		dual,
		helpstring("IWho Interface"),
		pointer_default(unique)
	]
	interface IWho : IDispatch
	{
		[id(1), helpstring("method WhoIsCaller")] HRESULT WhoIsCaller([out, retval] BSTR* pval);
	};

[
	uuid(2A33BA6F-5110-11D3-B564-00105A0FDD58),
	version(1.0),
	helpstring("whois 1.0 Type Library")
]
library WHOISLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(2A33BA7C-5110-11D3-B564-00105A0FDD58),
		helpstring("Who Class")
	]
	coclass Who
	{
		[default] interface IWho;
	};
};

⌨️ 快捷键说明

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