Click or drag to resize
Xcalibur Systems LLC Logo

ProcessHelperThread32Next Method

Retrieves information about the next thread of any process encountered in the system memory snapshot.

Thread32Next function


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
[DllImportAttribute("kernel32.dll", SetLastError = true)]
public static bool Thread32Next(
	IntPtr snapshotHandle,
	ref ThreadEntry32 entryPoint
)

Parameters

snapshotHandle  IntPtr
A handle to the snapshot returned from a previous call to the function.
entryPoint  ThreadEntry32
A pointer to a structure.

Return Value

Boolean
Returns 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