RTPROCESS_INFORMATION

RTPROCESS_INFORMATION is a structure that specifies data to the function RtEnumProcessesEx.

Syntax

typedef struct _RTPROCESS_INFORMATION{
    DWORD ProcessId;
    UNSIGNED_INT64 ProcessorAffinityMask;
    DWORD AffinedProcessorNumber;
    BOOL UseLocalMemory;
}RTPROCESS_INFORMATION, *PRTPROCESS_INFORMATION;

Fields

ProcessId

The Process ID. If the process is a Proxy Process it is assigned the Windows PID. Otherwise, it's a Real-Time ProcessID.

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.

UseLocalMemory

Boolean that determines whether any local memory has been used by this process.

Requirements

Minimum Supported Version RTX64 3.0
Header Rtapi.h