NAME

SHDeleteKeyA  (SHLWAPI.@)

SYNOPSIS

 DWORD SHDeleteKeyA
 (
  HKEY   hKey,
  LPCSTR lpszSubKey
 )

DESCRIPTION

Delete a registry key and any sub keys/values present.

This function forwards to the unicode version directly, to avoid handling subkeys that are not representable in ASCII.

PARAMS

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

RETURNS

Success: ERROR_SUCCESS. The key is deleted.

Failure: An error code from RegOpenKeyExA, RegQueryInfoKeyA, RegEnumKeyExA or RegDeleteKeyA.

IMPLEMENTATION

Defined in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c". source.winehq.org/source/dlls/shlwapi/reg.c

Debug channel "shell".


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