#ifndef _NTREGAPI_H
/**
* Deletes a registry key.
*
* @param[in] KeyHandle A handle to the key to be deleted.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDeleteKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDeleteKey(
_In_ HANDLE KeyHandle
);
View code on GitHub
This function is documented in Windows Driver Kit.
See ZwDeleteKey
in NT DDK or 2000 DDK for detailed description.