#ifndef _NTREGAPI_H
/**
* Unloads a registry key with additional flags.
*
* @param TargetKey Pointer to the object attributes of the target key.
* @param Flags Flags for the unload operation.
* @return NTSTATUS Successful or errant status.
* @remarks Valid flags are REG_FORCE_UNLOAD and REG_UNLOAD_LEGAL_FLAGS.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtUnloadKey2(
_In_ POBJECT_ATTRIBUTES TargetKey,
_In_ ULONG Flags
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwUnloadKey2(
_In_ POBJECT_ATTRIBUTES TargetKey,
_In_ ULONG Flags
);
View code on GitHub
No description available.