IsDebuggerPresent (Windows Embedded CE 6.0)
1/6/2010
This function determines whether the calling process is being debugged by a user-mode debugger.
Syntax
BOOL IsDebuggerPresent (void);
Parameters
None.
Return Value
Returns TRUE is the calling process is being debugged by a user-mode debugger. Otherwise, returns FALSE.
Remarks
This function checks if the pointer to the debugger thread is a valid thread within the debugger process, and if it is valid, then it is assumed that the process is being debugged. If not, the process is assumed to be not being debugged.
Requirements
Header | winbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |