IsDebuggerPresent is a method that's located inside the Windows.h header. Behind the scenes, it checks a particular struct (the PEB) for the BeingDebugged flag. If it's set, then IsDebuggerPresent returns something that's not 0.
IsDebuggerPresent is a method that's located inside the Windows.h header. Behind the scenes, it checks a particular struct (the PEB) for the BeingDebugged flag. If it's set, then IsDebuggerPresent returns something that's not 0.