RTPROCESS_INFORMATION

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

Syntax

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

Fields

ProcessId

The 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 Run 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.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib