tcpipplugin.idl

来自「lwip tcp/ip 协议栈 adsp BF533 DSP 移植 用 visu」· IDL 代码 · 共 49 行

IDL
49
字号
// TCPIPplugin.idl : IDL source for TCPIPplugin.dll
//

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

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

	[
		object,
		uuid(0A811BA1-BB59-43C6-B4B9-54478CE92931),
		dual,
		helpstring("ITCPIPpluginIfce Interface"),
		pointer_default(unique)
	]
	interface ITCPIPpluginIfce : IDispatch
	{
		[propput, id(DISPID_CAPTION)]
		HRESULT Caption([in]BSTR strCaption);
		[propget, id(DISPID_CAPTION)]
		HRESULT Caption([out,retval]BSTR* pstrCaption);

		[id(1)] HRESULT OpenFile( BSTR FileName);
		[id(2)] HRESULT OpenFile2( LPDISPATCH FileName);
	};

[
	uuid(58525AF9-DF96-4D03-B14D-576C8D2A6971),
	version(1.0),
	helpstring("TCPIPplugin 1.0 Type Library")
]
library TCPIPPLUGINLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(F2BC34EC-FE26-48F6-B9E2-988D0AECC221),
		helpstring("TCPIPpluginIfce Class")
	]
	coclass TCPIPpluginIfce
	{
		[default] interface ITCPIPpluginIfce;
	};
};

⌨️ 快捷键说明

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