IsDebuggerPresent

IsDebuggerPresent determines whether the calling process is being debugged by a user-mode debugger.

Syntax

Copy
BOOL IsDebuggerPresent(void);

Parameters

This function has no parameters.

Return Value

If the current process is running in the context of a debugger, the return value is nonzero.

If the current process is not running in the context of a debugger, the return value is zero.

Remarks

See the MSDN article on this function.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

windows.h

wRTOS_rtss.lib