#ifndef _NTREGAPI_H
/**
* Deletes a value from a registry key.
*
* @param[in] KeyHandle A handle to the key that contains the value to be deleted.
* @param[in] ValueName A pointer to a UNICODE_STRING structure that specifies the name of the value to be deleted.
* @return NTSTATUS Successful or errant status.
*/
NTSYSCALLAPI
NTSTATUS
NTAPI
NtDeleteValueKey(
_In_ HANDLE KeyHandle,
_In_ PUNICODE_STRING ValueName
);
View code on GitHub
#ifndef _NTZWAPI_H
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwDeleteValueKey(
_In_ HANDLE KeyHandle,
_In_ PUNICODE_STRING ValueName
);
View code on GitHub