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

Copy
INT RtGetProxyThreadPriority(
    [in]    HANDLE hThread
);

Parameters

[in] hThread

The Windows thread identifier.

Return Value

If the function succeeds, it returns the thread priority level. If the function fails, it returns THREAD_PRIORITY_ERROR_RETURN. 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: