CheckRemoteDebuggerPresent function Null safety kernel32
Determines whether the specified process is being debugged.
BOOL CheckRemoteDebuggerPresent(
HANDLE hProcess,
PBOOL pbDebuggerPresent
);
Implementation
int CheckRemoteDebuggerPresent(int hProcess, Pointer<Int32> pbDebuggerPresent) {
final _CheckRemoteDebuggerPresent = _kernel32.lookupFunction<
Int32 Function(IntPtr hProcess, Pointer<Int32> pbDebuggerPresent),
int Function(int hProcess,
Pointer<Int32> pbDebuggerPresent)>('CheckRemoteDebuggerPresent');
return _CheckRemoteDebuggerPresent(hProcess, pbDebuggerPresent);
}