summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-27 10:52:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-27 13:19:24 +0100
commita63087f58090418b6a7c8b046698b372ddc903cf (patch)
treebe6f3b4c05f9bb03191e0cd72a6141b756413254 /shell
parentd52ea2baa0885d49f3b5eaa74d782315d01d36ea (diff)
RegCreateKeyExW etc. return LSTATUS
Change-Id: I78ebfd3e9eec9437ee405e99e2bcb96c53b1b84b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106728 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/spsupp/registrar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/source/win32/spsupp/registrar.cxx b/shell/source/win32/spsupp/registrar.cxx
index 008c2ac59c82..1d647f3a556c 100644
--- a/shell/source/win32/spsupp/registrar.cxx
+++ b/shell/source/win32/spsupp/registrar.cxx
@@ -16,7 +16,7 @@ namespace {
HRESULT RegRead(HKEY hRootKey, const wchar_t* subKey, const wchar_t* valName, wchar_t* valData, size_t cchData)
{
HKEY hKey;
- long iRetVal = RegCreateKeyExW(
+ LSTATUS iRetVal = RegCreateKeyExW(
hRootKey,
subKey,
0,
@@ -43,7 +43,7 @@ namespace {
HRESULT RegWrite(HKEY hRootKey, const wchar_t* subKey, const wchar_t* valName, const wchar_t* valData, HKEY *hKeyResult = nullptr)
{
HKEY hKey;
- long iRetVal = RegCreateKeyExW(
+ LSTATUS iRetVal = RegCreateKeyExW(
hRootKey,
subKey,
0,
@@ -72,7 +72,7 @@ namespace {
HRESULT RegDel(HKEY hRootKey, const wchar_t* subKey)
{
- long iRetVal = RegDeleteKeyW(hRootKey, subKey);
+ LSTATUS iRetVal = RegDeleteKeyW(hRootKey, subKey);
return HRESULT_FROM_WIN32(iRetVal);
}