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

Method SetStringValue

PathCopyCopy/src/AtlRegKey.cpp:249–253  ·  view source on GitHub ↗

Tries to save a string value in the registry 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

247// @return Result code (ERROR_SUCCESS if it worked).
248//
249long AtlRegKey::SetStringValue(const wchar_t* const p_pValueName,
250 const wchar_t* const p_pValue) noexcept(false)
251{
252 return m_Key.SetStringValue(p_pValueName, p_pValue);
253}
254
255//
256// Tries to delete a value from the registry key.

Calls

no outgoing calls

Tested by

no test coverage detected