#ifndef _NTLDR_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// rev
/**
* The LdrShutdownProcess routine forcefully terminates the calling program if it is invoked inside a loader callout. Otherwise, it has no effect.
*/
_Analysis_noreturn_
DECLSPEC_NORETURN
NTSYSAPI
VOID
NTAPI
LdrShutdownProcess(
VOID
);
View code on GitHub
No description available.
Kernel32.dll
use this after call to NtTerminateProcess
.