Add PhDeleteValueKeyZ
@@ -1663,6 +1663,24 @@ PhDeleteValueKey(
_In_opt_ PPH_STRINGREF ValueName
);
+FORCEINLINE
+NTSTATUS
+NTAPI
+PhDeleteValueKeyZ(
+ _In_ HANDLE KeyHandle,
+ _In_ PWSTR ValueName
+ )
+{
+ PH_STRINGREF valueName;
+
+ PhInitializeStringRef(&valueName, ValueName);
+
+ return PhDeleteValueKey(
+ KeyHandle,
+ &valueName
+ );
+}
+
typedef BOOLEAN (NTAPI *PPH_ENUM_KEY_CALLBACK)(
_In_ HANDLE RootDirectory,
_In_ PVOID Information,
