SHDeleteValueSHDeleteValue*
*Contents  *Index  *Topic Contents
*Previous Topic: SHDeleteKey
*Next Topic: SHEnumKeyEx

SHDeleteValue


DWORD SHDeleteValue(
    HKEY    hkey,
    LPCTSTR pszSubKey,
    LPCTSTR pszValue
    );

Deletes a named value from the specified registry key.

hkey
Handle to the currently open key, or any of the following predefined values:
HKEY_CLASSES_ROOT
HKEY_CURRENT_CONFIG
HKEY_CURRENT_USER
HKEY_DYN_DATA (Windows 95 only)
HKEY_LOCAL_MACHINE
HKEY_PERFORMANCE_DATA (Windows NT only)
HKEY_USERS
pszSubKey
Address of a null-terminated string specifying the name of the subkey for which to change the value.
pszValue
Address of the value to be deleted.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.