Prev Next
The IsDebuggerPresent function indicates whether the calling process is
running under the context of a debugger.
This function is exported from KERNEL32.DLL.
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
This function allows an application to determine whether or not it is being
debugged, so that it can modify its behavior. For example, an application
could provide additional information using the OutputDebugString
function if it is being debugged.
See Also
OutputDebugString
file: /Techref/os/win/api/win32/func/src/f52.htm,
1KB, , updated: 2000年4月7日 12:19, local time: 2025年9月8日 20:15,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/os/win/api/win32/func/src/f52.htm"> IsDebuggerPresent</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.