Tries to save a GUID value in the registry key (as a string). 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).
| 319 | // @return Result code (ERROR_SUCCESS if it worked). |
| 320 | // |
| 321 | long UserOverrideableRegKey::SetGUIDValue(const wchar_t* const p_pValueName, |
| 322 | const GUID& p_Value) |
| 323 | { |
| 324 | long res = ERROR_ACCESS_DENIED; |
| 325 | if (!Locked()) { |
| 326 | res = m_UserKey.SetGUIDValue(p_pValueName, p_Value); |
| 327 | } |
| 328 | return res; |
| 329 | } |
| 330 | |
| 331 | // |
| 332 | // Tries to save a string value in the registry key. This will always |
nothing calls this directly
no outgoing calls
no test coverage detected