KD_DEBUGGER_NOT_PRESENT可由 Windows 或任何其他内核模式二进制文件修改。 因此,KdRefreshDebuggerNotPresent的最新返回值可能与KD_DEBUGGER_NOT_PRESENT的当前值不匹配。 以下示例演示如何使用KdRefreshDebuggerNotPresent: C++ if(KdRefreshDebuggerNotPresent() == FALSE) {// A kernel debugger is active.DbgPrint...
KD_DEBUGGER_NOT_PRESENT可由 Windows 或任何其他内核模式二进制文件修改。 因此,KdRefreshDebuggerNotPresent的最新返回值可能与KD_DEBUGGER_NOT_PRESENT的当前值不匹配。 以下示例演示如何使用KdRefreshDebuggerNotPresent: C++ if(KdRefreshDebuggerNotPresent() == FALSE) {// A kernel debugger is active.DbgPrint(...
KD_DEBUGGER_NOT_PRESENT can be modified by Windows or any other kernel-mode binary. Therefore, it is possible that the most recent return value of KdRefreshDebuggerNotPresent may not match the current value of KD_DEBUGGER_NOT_PRESENT.