PROCESS_INFORMATION (Structures)
Last changed: -97.79.160.250

.
Summary
Used with CreateProcess, CreateProcessAsUser, and CreateProcessWithLogonW to specify the window station, desktop, standard handles, and appearance of the main window for the new process.

C# Definition:

struct PROCESS_INFORMATION
{
   public int hProcess;
   public int hThread;
   public int dwProcessId;
   public int dwThreadId;
}

VB Definition:

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

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
STARTUPINFO on MSDN