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 EnableLocalMemory;
}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.

EnableLocalMemory

This field always matches the global memory allocation setting configured through the Control Panel.

Requirements

Minimum Supported Version

RTX64 3.0

API changes for RTX64 4.0

  • Field UseLocalMemory was renamed EnableLocalMemory
Header Rtapi.h