testlogclient.idl
来自「中间件编写示例 COM与.NET组件服务」· IDL 代码 · 共 38 行
IDL
38 行
// TestLogClient.idl : IDL source for TestLogClient.exe
//
// This file will be processed by the MIDL tool to
// produce the type library (TestLogClient.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(5782327B-EBEC-45E9-9759-847472B1F2AF),
dual,
helpstring("ITest Interface"),
pointer_default(unique)
]
interface ITest : IDispatch
{
[id(1), helpstring("method DoSomething")] HRESULT DoSomething();
};
[
uuid(043C341E-F88C-4742-86FE-C7D84AB73A45),
version(1.0),
helpstring("TestLogClient 1.0 Type Library")
]
library TestLogClientLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(000D3642-D300-4BDA-BCD7-17CE6BAB89E0),
helpstring("TestServer Class")
]
coclass TestServer
{
[default] interface ITest;
};
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?