PROCESS_INFORMATION (Structures)
Last changed: -97.79.160.250

.
Summary

C# Signature:

[StructLayout(LayoutKind.Sequential)]
internal struct PROCESS_INFORMATION
{
   public IntPtr hProcess;
   public IntPtr hThread;
   public int dwProcessId;
   public int dwThreadId;
}

VB Signature:

Structure PROCESS_INFORMATION
   Public hProcess As IntPtr
   Public hThread As IntPtr
   Public dwProcessId As Integer
   Public dwThreadId As Integer
End Structure

User-Defined Types:

None.

Notes:

None.

Tips & Tricks:

The handle returned in the PROCESS_INFORMATION structure should be closed explicitly.

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation