aboutsummaryrefslogtreecommitdiffstats
path: root/api/registry.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/registry.h')
-rw-r--r--api/registry.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/api/registry.h b/api/registry.h
index 2a85a06..106a79d 100644
--- a/api/registry.h
+++ b/api/registry.h
@@ -141,3 +141,15 @@ _Return_type_success_(return != FALSE) BOOL
*/
_Return_type_success_(return != FALSE) BOOL
RegistryQueryDWORDWait(_In_ HKEY Key, _In_opt_z_ const WCHAR *Name, _In_ DWORD Timeout, _Out_ DWORD *Value);
+
+/**
+ * Deletes the entire registry key subtree recursively.
+ *
+ * @param Key Handle of the registry key to at which the subtree is rooted.
+ *
+ * @param Name Name of the subtree to delete.
+ *
+ * @return If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To
+ * get extended error information, call GetLastError.
+ */
+_Return_type_success_(return != FALSE) BOOL RegistryDeleteKeyRecursive(_In_ HKEY Key, _In_z_ const WCHAR *Name);