* @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. */
| 46 | * @return ERROR_SUCCESS or error value. |
| 47 | */ |
| 48 | LONG 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. |
no outgoing calls
no test coverage detected