MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / SetQWORDValue

Method SetQWORDValue

PathCopyCopy/src/UserOverrideableRegKey.cpp:303–311  ·  view source on GitHub ↗

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).

Source from the content-addressed store, hash-verified

301// @return Result code (ERROR_SUCCESS if it worked).
302//
303long 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).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected