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

Method QueryValue

PathCopyCopy/src/AtlRegKey.cpp:156–162  ·  view source on GitHub ↗

Tries to load a value from the registry key. @param p_pValueName Name of value to load. @param p_pValueType If set, will receive the type of value. @param p_pValue Pointer to buffer where to store value. Can be null. @param p_pValueSize Pointer to variable containing the size of p_pValue. Upon exit, will contain the actual size of the value copied to p_pValue. Can be null only if p_pValue is too.

Source from the content-addressed store, hash-verified

154// @return Result code (ERROR_SUCCESS if it worked).
155//
156long AtlRegKey::QueryValue(const wchar_t* const p_pValueName,
157 DWORD* const p_pValueType,
158 void* const p_pValue,
159 DWORD* const p_pValueSize) const noexcept(false)
160{
161 return m_Key.QueryValue(p_pValueName, p_pValueType, p_pValue, p_pValueSize);
162}
163
164//
165// Returns a list of values in this registry key.

Calls

no outgoing calls

Tested by

no test coverage detected