📄 tcpipplugin.idl
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -