Tries to save a DWORD value in the registry key. This will always write the value to the user key. @param p_pValueName Name of value to save. @param p_pValue Value to save. @return Result code (ERROR_SUCCESS if it worked).
| 283 | // @return Result code (ERROR_SUCCESS if it worked). |
| 284 | // |
| 285 | long UserOverrideableRegKey::SetDWORDValue(const wchar_t* const p_pValueName, |
| 286 | const DWORD p_Value) |
| 287 | { |
| 288 | long res = ERROR_ACCESS_DENIED; |
| 289 | if (!Locked()) { |
| 290 | res = m_UserKey.SetDWORDValue(p_pValueName, p_Value); |
| 291 | } |
| 292 | return res; |
| 293 | } |
| 294 | |
| 295 | // |
| 296 | // Tries to save a QWORD value in the registry key. |
nothing calls this directly
no outgoing calls
no test coverage detected