RTPROCESS_INFORMATION Structure
RTPROCESS_INFORMATION is a structure that specifies data to the function RtEnumProcessesEx.
Syntax
typedef struct _RTPROCESS_INFORMATION{
DWORD ProcessId;
UNSIGNED_INT64 ProcessorAffinityMask;
DWORD AffinedProcessorNumber;
DWORD ProcessFlags;
}RTPROCESS_INFORMATION, *PRTPROCESS_INFORMATION;
Fields
ProcessId
The Process ID. If the process is a Proxy Process, it is assigned to the Windows PID. Otherwise, it's a Real-Time Process ID.
ProcessorAffinityMask
A bit vector, where each bit represents an allowed processor.
AffinedProcessorNumber
The ideal processor number of the real-time process. This is the processor on which new threads begin execution. It is also the initial ideal processor for new threads. This can be set for a real-time process using the /p switch to RtssRun and the lpStartupInfo parameter to RtCreateProcess. This cannot be changed after a process has started execution.
ProcessFlags
A bit-mask flag value that contains information about a running process.
|
Value |
Description |
|---|---|
|
0x00000002 |
The process cannot be resumed. |
|
0x00000008 |
The process is under debugged. |
|
0x00000020 |
The process is an RTSS proxy process. |
|
0x00000080 |
The debugger is attaching to the process (for internal use only). |
|
0x00000100 |
The debugger has attached to the process. |
|
0x00000200 |
The process is undergoing debugging. |
|
0x00002000 |
An RTSS process triggered the watchdog timer (for internal use only). |
|
0x00040000 |
The process is linked to the TCP/IP stack (for internal use only). |
|
0x00080000 |
The process is linked to the Network Link Layer (NL2) (for internal use only). |
Requirements
| Minimum supported version | Header |
|---|---|
|
wRTOS 1.0 SDK |
RtApi.h |