⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 processes.idl

📁 wince6.0平台上的任务管理器,功能类似于windows的任务管理器. In order to develop applications for Windows Mobile 6.x from
💻 IDL
字号:
import "oaidl.idl";
import "ocidl.idl";

[
	object,
	uuid(1AE828A9-6979-4f4b-8537-D5D6867222EB),
	dual,
	nonextensible,
	helpstring("IProcess Interface"),
	pointer_default(unique)
]
interface IProcess : IDispatch
{
    [propget, id(1), helpstring("Name of the process.")] 
        HRESULT Name([out, retval] BSTR *value);
    [propget, id(2), helpstring("Id of the process.")] 
        HRESULT Pid([out, retval] LONG *value);
    [propget, id(3), helpstring("Number of threads owned by process.")] 
        HRESULT ThreadCount([out, retval] LONG *value);
    [propget, id(4), helpstring("Process base address.")] 
        HRESULT BaseAddress([out, retval] LONG *value);
    [propget, id(5), helpstring("Process heap size.")] 
        HRESULT HeapSize([out, retval] LONG *value);
    [propget, id(6), helpstring("Process virtual memory.")] 
        HRESULT VirtualMemory([out, retval] LONG *value);
    [propget, id(7), helpstring("Process virtual memory committed.")] 
        HRESULT VirtualMemoryCommitted([out, retval] LONG *value);
    [propget, id(8), helpstring("Process virtual memory reserved.")] 
        HRESULT VirtualMemoryReserved([out, retval] LONG *value);
    [propget, id(9), helpstring("Process Dll's.")] 
        HRESULT DllCount([out, retval] LONG *value);
};

[
	object,
	uuid(CD73DB4D-192C-41ab-86DC-E8835756B159),
	dual,
	nonextensible,
	helpstring("IProcessList Interface"),
	pointer_default(unique)
]
interface IProcessList : IDispatch
{
    [id(1), helpstring("Update the process list")]
        HRESULT Update([out, retval] VARIANT_BOOL *value);
    [propget, id(2), helpstring("Number of processes in list.")] 
        HRESULT Count([out, retval] LONG *value);
    [id(DISPID_VALUE), helpstring("Return a IProcess from the list.")] 
        HRESULT Item([in] VARIANT index, [out, retval] IProcess** retval);
    [propget, restricted, id(DISPID_NEWENUM), helpstring("Return an enumeration object that holds all processes.")]
        HRESULT _NewEnum([out, retval] IUnknown** retval);
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -