Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
975b270e
Commit
975b270e
authored
May 12, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Forward SHDeleteValueW() to shcore.dll.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f92a0c35
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
53 deletions
+2
-53
api-ms-win-downlevel-shlwapi-l2-1-0.spec
...l-shlwapi-l2-1-0/api-ms-win-downlevel-shlwapi-l2-1-0.spec
+0
-0
reg.c
dlls/shlwapi/reg.c
+0
-51
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+2
-2
No files found.
dlls/api-ms-win-downlevel-shlwapi-l2-1-0/api-ms-win-downlevel-shlwapi-l2-1-0.spec
View file @
975b270e
dlls/shlwapi/reg.c
View file @
975b270e
...
...
@@ -343,57 +343,6 @@ DWORD WINAPI SHDeleteOrphanKeyW(HKEY hKey, LPCWSTR lpszSubKey)
}
/*************************************************************************
* SHDeleteValueA [SHLWAPI.@]
*
* Delete a value from the registry.
*
* PARAMS
* hKey [I] Handle to registry key
* lpszSubKey [I] Name of sub key containing value to delete
* lpszValue [I] Name of value to delete
*
* RETURNS
* Success: ERROR_SUCCESS. The value is deleted.
* Failure: An error code from RegOpenKeyExA() or RegDeleteValueA().
*/
DWORD
WINAPI
SHDeleteValueA
(
HKEY
hKey
,
LPCSTR
lpszSubKey
,
LPCSTR
lpszValue
)
{
DWORD
dwRet
;
HKEY
hSubKey
;
TRACE
(
"(hkey=%p,%s,%s)
\n
"
,
hKey
,
debugstr_a
(
lpszSubKey
),
debugstr_a
(
lpszValue
));
dwRet
=
RegOpenKeyExA
(
hKey
,
lpszSubKey
,
0
,
KEY_SET_VALUE
,
&
hSubKey
);
if
(
!
dwRet
)
{
dwRet
=
RegDeleteValueA
(
hSubKey
,
lpszValue
);
RegCloseKey
(
hSubKey
);
}
return
dwRet
;
}
/*************************************************************************
* SHDeleteValueW [SHLWAPI.@]
*
* See SHDeleteValueA.
*/
DWORD
WINAPI
SHDeleteValueW
(
HKEY
hKey
,
LPCWSTR
lpszSubKey
,
LPCWSTR
lpszValue
)
{
DWORD
dwRet
;
HKEY
hSubKey
;
TRACE
(
"(hkey=%p,%s,%s)
\n
"
,
hKey
,
debugstr_w
(
lpszSubKey
),
debugstr_w
(
lpszValue
));
dwRet
=
RegOpenKeyExW
(
hKey
,
lpszSubKey
,
0
,
KEY_SET_VALUE
,
&
hSubKey
);
if
(
!
dwRet
)
{
dwRet
=
RegDeleteValueW
(
hSubKey
,
lpszValue
);
RegCloseKey
(
hSubKey
);
}
return
dwRet
;
}
/*************************************************************************
* @ [SHLWAPI.205]
*
* Get a value from the registry.
...
...
dlls/shlwapi/shlwapi.spec
View file @
975b270e
...
...
@@ -694,8 +694,8 @@
@ stdcall SHDeleteKeyW(long wstr) shcore.SHDeleteKeyW
@ stdcall SHDeleteOrphanKeyA(long str)
@ stdcall SHDeleteOrphanKeyW(long wstr)
@ stdcall
SHDeleteValueA(long str
str)
@ stdcall SHDeleteValueW(long wstr wstr)
@ stdcall
-import SHDeleteValueA(long str
str)
@ stdcall
-import
SHDeleteValueW(long wstr wstr)
@ stdcall SHEnumKeyExA(long long str ptr) shcore.SHEnumKeyExA
@ stdcall SHEnumKeyExW(long long wstr ptr) shcore.SHEnumKeyExW
@ stdcall SHEnumValueA(long long str ptr ptr ptr ptr) shcore.SHEnumValueA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment