system.idl

来自「wince6.0平台上的任务管理器,功能类似于windows的任务管理器. 」· IDL 代码 · 共 31 行

IDL
31
字号
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 + =
减小字号Ctrl + -
显示快捷键?