IsDebuggerPresent function Null safety kernel32

int IsDebuggerPresent ()

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

BOOL IsDebuggerPresent();

Implementation

int IsDebuggerPresent() {
  final _IsDebuggerPresent = _kernel32
      .lookupFunction<Int32 Function(), int Function()>('IsDebuggerPresent');
  return _IsDebuggerPresent();
}