Click or drag to resize
Xcalibur Systems LLC Logo

ProcessHelperEnumProcesses Method

Retrieves the process identifier for each process object in the system.

EnumProcesses function


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("psapi")]
public static bool EnumProcesses(
	uint[] processIds,
	uint arraySize,
	out uint bytesCopied
)

Parameters

processIds  UInt32
A pointer to an array that receives the list of process identifiers.
arraySize  UInt32
The size of the processIds array, in bytes.
bytesCopied  UInt32
The number of bytes returned in the processIds array.

Return Value

Boolean
If the function fails, the return value is zero. To get extended error information, call .
See Also