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 "shlwapi.h". https://source.winehq.org/source/include/shlwapi.h

Implemented in "dlls/shlwapi/reg.c". https://source.winehq.org/source/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 Mar 2024.