NtDisableLastKnownGood - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPNPAPI_H

/**
 * The NtDisableLastKnownGood routine disables the Last Known Good (LKG) configuration boot option.
 *
 * \remarks Requires a user-mode caller with SeTcbPrivilege outside a server silo.
 * \return NTSTATUS Successful or errant status.
 */
_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDisableLastKnownGood(
    VOID
    );

#endif

View code on GitHub
#ifndef _NTZWAPI_H

_Kernel_entry_
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDisableLastKnownGood(
    VOID
    );

#endif

View code on GitHub

NtDoc

No description available.