Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than Structures, prefix the name with the module name and a period.
PROCESS_INFORMATION (Structures)
.
C# Definition:
[StructLayout(LayoutKind.Sequential)]
public struct PROCESS_INFORMATION
{
public IntPtr hProcess;
public IntPtr hThread;
public uint dwProcessId;
public uint dwThreadId;
}
VB Definition:
Structure PROCESS_INFORMATION
Public hProcess As IntPtr
Public hThread As IntPtr
Public dwProcessId As Integer
Public dwThreadId As Integer
End Structure
Notes:
None.
Tips & Tricks:
Some APIs need an LPPROCESS_INFORMATION instead of just a PROCESS_INFORMATION. You can obtain that with code like the following:
PROCESS_INFORMATION procInfo = new PROCESS_INFORMATION();
IntPtr lpProcInfo = procInfoHandle.AddrOfPinnedObject();
// ... use the lpProcInfo as a LPPROCESS_INFORMATION ...
}
finally
{
procInfoHandle.Free();
}
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.
10/1/2020 1:08:37 PM - -87.186.76.92
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 - -87.74.130.67
TODO - a short description
3/16/2007 8:11:30 AM - -61.11.98.124
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.