![Xcalibur Systems LLC Logo](../icons/logo.png) |
ProcessHelperProcess32First Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax[DllImportAttribute("kernel32.dll")]
public static bool Process32First(
IntPtr snapshotHandle,
ref ProcessEntry32 entryPoint
)
<DllImportAttribute("kernel32.dll">]
Public Shared Function Process32First (
snapshotHandle As IntPtr,
ByRef entryPoint As ProcessEntry32
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll")]
static bool Process32First(
IntPtr snapshotHandle,
ProcessEntry32% entryPoint
)
[<DllImportAttribute("kernel32.dll")>]
static member Process32First :
snapshotHandle : IntPtr *
entryPoint : ProcessEntry32 byref -> bool
Parameters
- snapshotHandle IntPtr
- A handle to the snapshot returned from a previous call to the
function.
- entryPoint ProcessEntry32
- A pointer to a
structure. It contains process information such as the
name of the executable file, the process identifier, and the process identifier of the
parent process.
Return Value
BooleanReturns TRUE if the next entry of the thread list has been copied to the buffer or
FALSE otherwise. The error value is returned by the
function if no threads exist or the snapshot
does not contain thread information.
See Also