Process Management API
The Process Management section of the Windows API provides functions to create, control, and monitor processes. Use these APIs to launch applications, retrieve process information, manage security, and gracefully terminate processes.
| Function | Description |
|---|---|
| CreateProcess | Creates a new process and its primary thread. |
| OpenProcess | Opens an existing local process object. |
| TerminateProcess | Ends the specified process and all of its threads. |
| GetProcessId | Retrieves the process identifier of the specified process. |
| GetProcessIdOfThread | Gets the process ID for the thread specified. |
| GetProcessPriorityBoost | Retrieves the priority boost flag for a process. |
| SetProcessPriorityBoost | Sets the priority boost flag for a process. |
| GetProcessTimes | Retrieves timing information for a process. |
| EnumProcessModules | Enumerates the modules loaded into a process. |
| GetModuleFileNameEx | Retrieves the fully qualified path for the file containing the specified module. |