Tries to save a QWORD 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).
| 301 | // @return Result code (ERROR_SUCCESS if it worked). |
| 302 | // |
| 303 | long UserOverrideableRegKey::SetQWORDValue(const wchar_t* const p_pValueName, |
| 304 | const ULONGLONG p_Value) |
| 305 | { |
| 306 | long res = ERROR_ACCESS_DENIED; |
| 307 | if (!Locked()) { |
| 308 | res = m_UserKey.SetQWORDValue(p_pValueName, p_Value); |
| 309 | } |
| 310 | return res; |
| 311 | } |
| 312 | |
| 313 | // |
| 314 | // Tries to save a GUID value in the registry key (as a string). |
nothing calls this directly
no outgoing calls
no test coverage detected