SHDeleteOrphanKeyA(3w)

SHDeleteOrphanKeyA3w

Usage

DWORD SHDeleteOrphanKeyA
(
HKEY hKey,
LPCSTR lpszSubKey
)

Overview

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(3w), RegQueryValueExA(3w), or RegDeleteKeyA(3w).

Implementation

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/reg.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.