[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!
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.
4/20/2012 3:24:27 AM - -203.19.158.31
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 12:39:00 PM - tsahi-212.143.221.70
TODO - a short description
5/19/2010 11:52:37 PM - -131.107.0.103
Please edit this page!
Do you have...
helpful tips?
corrections to the existing content?
alternate definitions?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.