NAME

SHDeleteOrphanKeyA  (SHLWAPI.@)

SYNOPSIS

 DWORD SHDeleteOrphanKeyA
 (
  HKEY   hKey,
  LPCSTR lpszSubKey
 )

DESCRIPTION

Delete a registry key with no sub keys or values.

PARAMS

hKey [In] Handle to registry key.
lpszSubKey [In] Name of sub key to possibly delete.

RETURNS

Success: ERROR_SUCCESS. The key has been deleted if it was an orphan.

Failure: An error from RegOpenKeyExA, RegQueryValueExA, or RegDeleteKeyA.

IMPLEMENTATION

Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h

Implemented in "dlls/shlwapi/reg.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/reg.c

Debug channel "shell".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.