SHDeleteEmptyKeyA(3w)

NAME

SHDeleteEmptyKeyA (SHLWAPI.@)

SYNOPSIS

DWORD SHDeleteEmptyKeyA
 (
  HKEY   hKey,
  LPCSTR lpszSubKey
 )

DESCRIPTION

Delete a registry key with no sub keys.

PARAMS

hKey [In] Handle to registry key.

lpszSubKey [In] Name of sub key to delete.

RETURNS

Success: ERROR_SUCCESS. The key is deleted.

Failure: If the key is not empty, returns ERROR_KEY_HAS_CHILDREN. Otherwise returns an error code from RegOpenKeyExA(3w), RegQueryInfoKeyA(3w) or RegDeleteKeyA().

IMPLEMENTATION

Defined in "shlwapi.h".

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

Debug channel "shell".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout