术语 | getprocessiocounters |
释义 | GetProcessIoCounters 语法: C++ BOOL WINAPI GetProcessIoCounters( __in HANDLE hProcess, __out PIO_COUNTERS lpIoCounters ); GetProcessIoCounters功能 检索因为我所有的会计资料/ O的指定的进程执行的操作。 参数 hProcess [in] 句柄的进程。句柄必须有PROCESS_QUERY_INFORMATION或PROCESS_QUERY_LIMITED_INFORMATION访问权限。有关更多信息,请参见过程的安全性和访问权限。 Windows Server 2003和Windows XP/2000操作系统:在处理必须有PROCESS_QUERY_INFORMATION访问权。 lpIoCounters [out] 对一个IO_COUNTERS结构,它接收的I / O进程会计信息的指针。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 要求: 最低支持:client-Windows 2000专业版 最低支持server-Windows 2000服务器 HeaderWinbase.h(头文件:winuser.h) LibraryKernel32.lib DLLKernel32.dll 参见 IO_COUNTERS 进程和线程函数 如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com) 生成日期:2009年8月27日 ==英文原文==GetProcessIoCounters Function Retrieves accounting information for all I/O operations performed by the specified process. Syntax C++ BOOL WINAPI GetProcessIoCounters( __in HANDLE hProcess, __out PIO_COUNTERS lpIoCounters ); Parameters hProcess [in] A handle to the process. The handle must have the PROCESS_QUERY_INFORMATION or PROCESS_QUERY_LIMITED_INFORMATION access right. For more information, see Process Security and Access Rights . Windows Server 2003 and Windows XP/2000: The handle must have the PROCESS_QUERY_INFORMATION access right. lpIoCounters [out] A pointer to an IO_COUNTERS structure that receives the I/O accounting information for the process. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . Requirements Minimum supported clientWindows 2000 Professional Minimum supported serverWindows 2000 Server HeaderWinbase.h (include Windows.h) LibraryKernel32.lib DLLKernel32.dll See Also IO_COUNTERS Process and Thread Functions Send comments about this topic to Microsoft Build date: 8/27/2009 ==原始网址==http://msdn.microsoft.com/en-us/library/ms683218(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。