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 - -18.104.22.168
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 - -22.214.171.124
TODO - a short description
9/12/2022 3:17:17 AM - -126.96.36.199