📄 system.idl
字号:
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(85FB51E1-CB45-4a0d-8467-365A210E27ED),
dual,
nonextensible,
helpstring("ISystem Interface"),
pointer_default(unique)
]
interface ISystem : IDispatch
{
[id(1), helpstring("Update system parameters")]
HRESULT Update(void);
[propget, id(2), helpstring("Total physical memory available.")]
HRESULT PhysicalMemoryTotal([out, retval] LONG *value);
[propget, id(3), helpstring("Current physical memory available.")]
HRESULT PhysicalAvailable([out, retval] LONG *value);
[propget, id(4), helpstring("Total page file available.")]
HRESULT PageFileTotal([out, retval] LONG *value);
[propget, id(5), helpstring("Current page file available.")]
HRESULT PageFileAvailable([out, retval] LONG *value);
[propget, id(6), helpstring("Total virtual memory available.")]
HRESULT VirtualMemoryTotal([out, retval] LONG *value);
[propget, id(7), helpstring("Current virtual memory available.")]
HRESULT VirtualMemoryAvailable([out, retval] LONG *value);
[id(8), helpstring("End a process.")]
HRESULT EndProcess([in] LONG Pid, [out, retval] VARIANT_BOOL *result);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -