📄 simple17.idl
字号:
// Simple17.idl : IDL source for Simple17.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (Simple17.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(11E12297-2851-466B-96F5-96FC5D2A651D),
dual,
helpstring("IPrime Interface"),
pointer_default(unique)
]
interface IPrime : IDispatch
{
[id(1), helpstring("method GetNext")] HRESULT GetNext([out,retval] long *pVal);
};
[
uuid(26375E66-30D4-4EF6-BB4B-7F5FBEC02AA2),
version(1.0),
helpstring("Simple17 1.0 Type Library")
]
library SIMPLE17Lib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(EC540F5B-BAE8-46B7-A42D-FFE11E77DC44),
helpstring("Prime Class")
]
coclass Prime
{
[default] interface IPrime;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -