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

Method CreateSubKey

PathCopyCopy/src/UserOverrideableRegKey.cpp:372–376  ·  view source on GitHub ↗

Opens or creates a subkey of this registry key. @param p_pKeyName Name of the subkey to open or create. @return Wrapper for the subkey.

Source from the content-addressed store, hash-verified

370// @return Wrapper for the subkey.
371//
372std::shared_ptr<RegKey> UserOverrideableRegKey::CreateSubKey(const wchar_t* const p_pKeyName)
373{
374 return std::make_shared<UserOverrideableRegKey>((m_KeyPath + L"\\" + p_pKeyName).c_str(),
375 (m_UserKeyPath + L"\\" + p_pKeyName).c_str());
376}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected