MCPcopy Create free account
hub / github.com/WinMerge/winmerge / Open

Method Open

ShellExtension/Common/RegKey.cpp:48–51  ·  view source on GitHub ↗

* @brief Opens or creates a key in given path. * @param [in] hKeyRoot Root key to open, HKLM, HKCU.. * @param [in] pszPath Path to actual registry key to access. * @return ERROR_SUCCESS or error value. */

Source from the content-addressed store, hash-verified

46 * @return ERROR_SUCCESS or error value.
47 */
48LONG CRegKeyEx::Open(HKEY hKeyRoot, LPCTSTR pszPath)
49{
50 return OpenWithAccess(hKeyRoot, pszPath, KEY_ALL_ACCESS);
51}
52
53/**
54 * @brief Opens or creates a key in given path with access control.

Callers 5

FormatCmdLineFunction · 0.45
WinMergeContextMenuMethod · 0.45
UpdateMenuStateMethod · 0.45
InvokeCommandMethod · 0.45
GetResourceStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected