|
ProcessHelperGetProcessIoCounters Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("kernel32.dll", SetLastError = true)]
public static bool GetProcessIoCounters(
IntPtr processHandle,
out IoCounters counters
)
<DllImportAttribute("kernel32.dll", SetLastError := true>]
Public Shared Function GetProcessIoCounters (
processHandle As IntPtr,
<OutAttribute> ByRef counters As IoCounters
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll", SetLastError = true)]
static bool GetProcessIoCounters(
IntPtr processHandle,
[OutAttribute] IoCounters% counters
)
[<DllImportAttribute("kernel32.dll", SetLastError = true)>]
static member GetProcessIoCounters :
processHandle : IntPtr *
counters : IoCounters byref -> bool
Parameters
- processHandle IntPtr
- A handle to the process. The handle must have the
or
access right.
- counters IoCounters
- A pointer to an structure that receives
the I/O accounting information for the process.
Return Value
BooleanIf the function fails, the return value is zero. To get extended error
information, call .
See Also