RtSetProxyThreadPriority

RtSetProxyThreadPriority sets the proxy thread priority for the associated Windows thread but will not change the Windows thread priority.

Syntax

Copy
BOOL RtSetProxyThreadPriority(
    [in]    HANDLE hThread,
    [in]    int RtssPriority
);

Parameters

[in] hThread

The Windows thread whose associated proxy thread priority is to be set.

[in] RtssPriority

RTSS Environment: A priority level from 0 to 127, where 127 identifies the highest priority thread.

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. Call GetLastError to obtain an error code.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtApi.h

RtApi.lib (Windows), Startup.lib (RTSS)

See Also: