📄 toolbox.idl
字号:
// ToolBox.idl : IDL source for ToolBox
//
// This file will be processed by the MIDL tool to
// produce the type library (ToolBox.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
import "atliface.idl";
import "CpuLoad.idl";
import "Processes.idl";
import "System.idl";
[
uuid(DD8BC48F-FEF5-42C6-97F6-5B73B981679A),
version(1.0),
helpstring("ToolBox 1.0 Type Library")
]
library ToolBoxLib
{
importlib("stdole2.tlb");
[
uuid(9C6705E3-E8F9-4692-8FC8-FE15B6226022),
helpstring("_ICpuLoadEvents Interface")
]
dispinterface _ICpuLoadEvents
{
properties:
methods:
[id(1), helpstring("method Measurement")] HRESULT Measurement(LONG CpuLoad);
};
[
uuid(4B54C02B-4700-4262-95F6-FFEF1AAD345D),
helpstring("CpuLoad Class")
]
coclass CpuLoad
{
[default] interface ICpuLoad;
[default, source] dispinterface _ICpuLoadEvents;
};
[
uuid(B71F3F55-5F08-4378-833C-0167F4E5219E),
helpstring("Process Class")
]
coclass Process
{
[default] interface IProcess;
};
[
uuid(46373BBB-87B0-4000-B20A-BA05315D516D),
helpstring("ProcessList Class")
]
coclass ProcessList
{
[default] interface IProcessList;
};
[
uuid(0DE46D6F-7A22-4efd-A4DF-7DF29C7BB997),
helpstring("System Class")
]
coclass System
{
[default] interface ISystem;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -