Desktop Functions: Smart Device Functions:
|
Search Results for "CheckRemoteDebuggerPresent" in [All]kernel32
static extern bool CheckRemoteDebuggerPresent(SafeHandle hProcess, [MarshalAs(UnmanagedType.Bool)]ref bool isDebuggerPresent);
Declare Function CheckRemoteDebuggerPresent Lib "kernel32.dll" Checks for RemoteDebugger on the 'hProcess'. The "remote" in CheckRemoteDebuggerPresent does not imply that the debugger necessarily resides on a different computer; instead, it indicates that the debugger resides in a separate and parallel process. Use the IsDebuggerPresent function to detect whether the calling process is running under the debugger.
Declare Function CheckRemoteDebuggerPresent Lib "kernel32.dll" _
Debug.Print(CStr(CheckRemoteDebuggerPresent(proc.Handle, bool))) |