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