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
c05b54d9
Commit
c05b54d9
authored
Dec 04, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 04, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Forward SHRegGetIntW() to shcore.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8bda7744
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
32 deletions
+1
-32
reg.c
dlls/shlwapi/reg.c
+0
-31
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+1
-1
No files found.
dlls/shlwapi/reg.c
View file @
c05b54d9
...
...
@@ -2132,37 +2132,6 @@ DWORD WINAPI SHCopyKeyW(HKEY hKeySrc, LPCWSTR lpszSrcSubKey, HKEY hKeyDst, DWORD
*/
/*************************************************************************
* @ [SHLWAPI.280]
*
* Read an integer value from the registry, falling back to a default.
*
* PARAMS
* hKey [I] Registry key to read from
* lpszValue [I] Value name to read
* iDefault [I] Default value to return
*
* RETURNS
* The value contained in the given registry value if present, otherwise
* iDefault.
*/
int
WINAPI
SHRegGetIntW
(
HKEY
hKey
,
LPCWSTR
lpszValue
,
int
iDefault
)
{
TRACE
(
"(%p,%s,%d)
\n
"
,
hKey
,
debugstr_w
(
lpszValue
),
iDefault
);
if
(
hKey
)
{
WCHAR
szBuff
[
32
];
DWORD
dwSize
=
sizeof
(
szBuff
);
szBuff
[
0
]
=
'\0'
;
SHQueryValueExW
(
hKey
,
lpszValue
,
0
,
0
,
szBuff
,
&
dwSize
);
if
(
*
szBuff
>=
'0'
&&
*
szBuff
<=
'9'
)
return
StrToIntW
(
szBuff
);
}
return
iDefault
;
}
/*************************************************************************
* @ [SHLWAPI.343]
*
* Create or open an explorer ClassId Key.
...
...
dlls/shlwapi/shlwapi.spec
View file @
c05b54d9
...
...
@@ -277,7 +277,7 @@
277 stub -noname SHDialogBox
278 stdcall -noname SHCreateWorkerWindowW(ptr ptr long long ptr long)
279 stdcall -noname SHInvokeDefaultCommand(ptr ptr ptr)
280 stdcall -ordinal SHRegGetIntW(ptr wstr long)
280 stdcall -ordinal SHRegGetIntW(ptr wstr long)
shcore.SHRegGetIntW
281 stdcall -noname SHPackDispParamsV(ptr ptr long ptr)
282 varargs -noname SHPackDispParams(ptr ptr long)
283 stdcall -noname IConnectionPoint_InvokeWithCancel(ptr long long long long)
...
...
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