Contents Index Topic Contents | ||
Previous Topic: SHRegDeleteEmptyUSKey Next Topic: SHRegEnumUSKey |
SHRegDeleteUSValue
LONG SHRegDeleteUSValue( HUSKEY hUSKey, LPCTSTR pszValue, SHREGDEL_FLAGS delRegFlags );Deletes a user-specific registry value.
- Returns ERROR_SUCCESS if successful, or a nonzero error code defined in Winerror.h otherwise. You can use the FormatMessage function with the FORMAT_MESSAGE_FROM_SYSTEM flag to get a generic description of the error.
- hUSKey
- Handle to the currently open user-specific key.
- pszValue
- Address of the null-terminated string that names the value to remove.
- delRegFlags
- One of the SHREGDEL_FLAGS that specifies from which base key the value will be deleted.
See also SHRegDeleteEmptyUSKey
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.