RtSetProxyThreadPriority

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

Syntax

BOOL RtSetProxyThreadPriority(
    HANDLE hThread,
    int RtssPriority
);

Parameters

hThread

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

RtssPriority

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

Return Value

TRUE if the function succeeds, FALSE if the function fails

To get extended error information, call GetLastError.

Requirements

Minimum Supported Version RTX64 2014
Header Rtapi.h
Library RtApi.lib

See Also:

RtGetProxyThreadPriority