RtGetProxyThreadPriority

RtGetProxyThreadPriority returns the priority value of the proxy thread associated with the specified Windows thread.

In an RTSS environment, RTSS has no distinct priority classes and the priority value specified is the only determination of a thread's priority.

Syntax

INT RtGetProxyThreadPriority(
    HANDLE hThread
);

Parameters

hThread

The Windows thread identifier.

Return Value

The thread priority level if the function succeeds, the THREAD_PRIORITY_ERROR_RETURN 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:

RtSetProxyThreadPriority