RtIsDebuggerPresent

RtIsDebuggerPresent determines whether a local real-time process is attached to the MaxRT wRTOS Real-Time Debugger.

Syntax

Copy
BOOL RtIsDebuggerPresent(
    [in]    DWORD processID, 
    [out]   BOOL *plsPresent 
);

Parameters

[in] processID

The valid real-time process ID. Note that Windows process IDs are NOT supported.

[out] plsPresent

A pointer to the API call result. plsPresent must be allocated by the caller. It can't be NULL.

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