![Xcalibur Systems LLC Logo](../icons/logo.png) |
ProcessHelperEnumProcesses Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: 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
)
<DllImportAttribute("psapi">]
Public Shared Function EnumProcesses (
<OutAttribute> processIds As UInteger(),
arraySize As UInteger,
<OutAttribute> ByRef bytesCopied As UInteger
) As Boolean
public:
[DllImportAttribute(L"psapi")]
static bool EnumProcesses(
[InAttribute] [OutAttribute] array<unsigned int>^ processIds,
unsigned int arraySize,
[OutAttribute] unsigned int% bytesCopied
)
[<DllImportAttribute("psapi")>]
static member EnumProcesses :
processIds : uint32[] byref *
arraySize : uint32 *
bytesCopied : uint32 byref -> bool
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
BooleanIf the function fails, the return value is zero. To get extended error
information, call .
See Also