#ifndef _NTDBG_H
/**
* Stops debugging a process.
*
* \param ProcessHandle A handle to the process.
* \param DebugObjectHandle A handle to the debug object.
* \return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtRemoveProcessDebug(
_In_ HANDLE ProcessHandle,
_In_ HANDLE DebugObjectHandle
);
View code on GitHub#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwRemoveProcessDebug(
_In_ HANDLE ProcessHandle,
_In_ HANDLE DebugObjectHandle
);
View code on GitHubNo description available.
Function NtRemoveProcessDebug detach debugger from process. It's reverse of NtDebugActiveProcess function.
HANDLE to process being debugged.
HANDLE to Debug Object.