internal struct PROCESS_INFORMATION
public IntPtr hProcess;
public IntPtr hThread;
public int dwProcessId;
public int dwThreadId;
Public hProcess As IntPtr
Public hThread As IntPtr
Public dwProcessId As Integer
Public dwThreadId As Integer
Tips & Tricks:
The handle returned in the PROCESS_INFORMATION structure should be closed explicitly.
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
Creates a new process, using the creditials supplied by hToken. The application opened is running under the credentials and authority for the user supplied to LogonUser.
10/1/2020 1:08:37 PM - -188.8.131.52
Starts a new process, opens an application in that process, and uses a passed UserID and Password. The application opened is running under the credentials and authority of the UserID passed.
7/18/2010 5:39:00 AM - -184.108.40.206
TODO - a short description
9/12/2022 3:17:17 AM - -220.127.116.11