nextcloud-desktop/shell_integration/windows/OCUtil
Michael Schuster 2b680cadd3 Fix nullptr regression in RegistryUtil::ReadRegistry
Merging PR #2057 caused the Windows build to fail:

shell_integration\windows\OCUtil\RegistryUtil.cpp(43): error C2664: 'LSTATUS RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY)': cannot convert argument 3 from 'nullptr' to 'DWORD'

The previous implementation prior the PR supplied NULL as the argument 3 to RegOpenKeyEx,
so it was silently accepted and translated to zero, satisfying the DWORD's type requirement.

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 18:34:43 +02:00
..
CMakeLists.txt Build Explorer extension if building with MSVC 2018-01-13 13:58:17 +01:00
CommunicationSocket.cpp Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
CommunicationSocket.h shell/Windows: Convert tabs to space 2017-01-18 12:15:52 +01:00
FileUtil.cpp Fix leak in FileUtil::IsChildFile 2020-05-12 14:32:34 +02:00
FileUtil.h shell/Windows: Convert tabs to space 2017-01-18 12:15:52 +01:00
OCUtil.vcxproj shell/windows: Add missing Win32 configuration changes 2016-07-26 14:53:14 +02:00
RegistryUtil.cpp Fix nullptr regression in RegistryUtil::ReadRegistry 2020-06-09 18:34:43 +02:00
RegistryUtil.h shell/Windows: Convert tabs to space 2017-01-18 12:15:52 +01:00
RemotePathChecker.cpp Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
RemotePathChecker.h shell/Windows: Avoid memory allocations and copies when querying icons 2017-01-18 12:15:52 +01:00
stdafx.cpp [shell_integration] Setup precompiled headers properly with MSVC 2015-02-05 15:14:42 +01:00
stdafx.h Removed redundant (and wrong in terms of it's value) definitions for WINVER/_WIN32_WINNT 2019-09-07 20:58:20 +02:00
StringUtil.cpp shell/Windows: Convert tabs to space 2017-01-18 12:15:52 +01:00
StringUtil.h Windows shell extension: port to the new protocol 2018-01-23 14:02:56 +01:00
UtilConstants.h Relocate Windows shell extensions 2015-01-12 14:40:42 +01:00
Version.h shell/windows Build 46: Private links context menu 2017-07-07 18:10:48 +02:00