RegDeleteKeyA(3w)

NAME

RegDeleteKeyA (ADVAPI32.@)

SYNOPSIS

LSTATUS RegDeleteKeyA
 (
  HKEY   hkey,
  LPCSTR name
 )

DESCRIPTION

Delete a registry key.

PARAMS

hkey [In] Handle to parent key containing the key to delete.

name [In] Name of the key user hkey to delete.

NOTES

MSDN is wrong when it says that hkey must be opened with the DELETE access right. In reality, it opens a new handle with DELETE access.

RETURNS

Success: ERROR_SUCCESS

Failure: Error code

IMPLEMENTATION

Defined in "winreg.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/advapi32/registry.c".

Debug channel "reg".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout