RtIsDebuggerPresent

RtIsDebuggerPresent determines whether a local real-time process is attached to the eRTOS Debugger.

Syntax

Copy
BOOL RtIsDebuggerPresent(
    DWORD processID, 
    BOOL *plsPresent 
);

Parameters

processID

The valid real-time process ID.

plsPresent

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

Return Value

If the function succeeds, it returns TRUE. If the function fails, it returns FALSE. To get extended error information, call GetLastError.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

Rtapi.h rtkrnl.lib