Tries to delete a value from the user registry key. NOTE: if a similar value is found in the global registry key, that value is unchanged and will thus come out on the next Query! @param p_pValueName Name of value to delete. @return Result code (ERROR_SUCCESS if it worked).
| 355 | // @return Result code (ERROR_SUCCESS if it worked). |
| 356 | // |
| 357 | long UserOverrideableRegKey::DeleteValue(const wchar_t* const p_pValueName) |
| 358 | { |
| 359 | long res = ERROR_ACCESS_DENIED; |
| 360 | if (!Locked()) { |
| 361 | res = m_UserKey.DeleteValue(p_pValueName); |
| 362 | } |
| 363 | return res; |
| 364 | } |
| 365 | |
| 366 | // |
| 367 | // Opens or creates a subkey of this registry key. |
nothing calls this directly
no outgoing calls
no test coverage detected