Contents Index Topic Contents | ||
Previous Topic: SHRegCreateUSKey Next Topic: SHRegDeleteUSValue |
SHRegDeleteEmptyUSKey
LONG SHRegDeleteEmptyUSKey (HUSKEY hUSKey, LPCSTR pszValue, SHREGDEL_FLAGS delRegFlags );Deletes an empty user-specific registry key.
- 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 specifies the empty user-defined registry key to be deleted.
- delRegFlags
- One of the SHREGDEL_FLAGS that specifies from which base key the key will be deleted.
See also SHRegDeleteUSValue
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.