|  | Overview |  | 
|  | 
|  | Group |  | 
|  | 
|  | Quick Info 
 | Windows NT 
 | Yes 
 |  | Win95 
 | Yes 
 |  | Win32s 
 | Yes 
 |  | Import Library 
 | - 
 |  | Header File 
 | winbase.h 
 |  | Unicode 
 | No 
 |  | Platform Notes 
 | None 
 | 
 |  | 
 
PROCESS_INFORMATION
The 
PROCESS_INFORMATION structure is filled in by the 
CreateProcess function with information about a newly created process and its primary
thread. 
typedef struct _PROCESS_INFORMATION { // pi  
    HANDLE hProcess; 
    HANDLE hThread; 
    DWORD dwProcessId; 
    DWORD dwThreadId; 
} PROCESS_INFORMATION; 
 
Members
hProcess
Returns a handle to the newly created process. The handle is used to specify
the process in all functions that perform operations on the process object. 
hThread
Returns a handle to the primary thread of the newly created process. The
handle is used to specify the thread in all functions that perform operations on the
thread object. 
dwProcessId
Returns a global process identifier that can be used to identify a process.
The value is valid from the time the process is created until the time the
process is terminated. 
dwThreadId
Returns a global thread identifiers that can be used to identify a thread. The
value is valid from the time the thread is created until the time the thread
is terminated. 
 
See Also
CreateProcess
			
				- Software for developers
				
- 
				Delphi Components
 .Net Components
 Software for Android Developers
- More information resources
				
- 
				MegaDetailed.Net
 Unix Manual Pages
 Delphi Examples