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
eed50a78
Commit
eed50a78
authored
May 11, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Forward SHRegSetPath() to shcore.dll.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b1c702a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
55 deletions
+2
-55
reg.c
dlls/shlwapi/reg.c
+0
-53
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+2
-2
No files found.
dlls/shlwapi/reg.c
View file @
eed50a78
...
...
@@ -48,59 +48,6 @@ INT WINAPI SHStringFromGUIDW(REFGUID,LPWSTR,INT);
HRESULT
WINAPI
SHRegGetCLSIDKeyW
(
REFGUID
,
LPCWSTR
,
BOOL
,
BOOL
,
PHKEY
);
/*************************************************************************
* SHRegSetPathA [SHLWAPI.@]
*
* Write a path to the registry.
*
* PARAMS
* hKey [I] Handle to registry key
* lpszSubKey [I] Name of sub key containing path to set
* lpszValue [I] Name of value containing path to set
* lpszPath [O] Path to write
* dwFlags [I] Reserved, must be 0.
*
* RETURNS
* Success: ERROR_SUCCESS.
* Failure: An error code from SHSetValueA().
*/
DWORD
WINAPI
SHRegSetPathA
(
HKEY
hKey
,
LPCSTR
lpszSubKey
,
LPCSTR
lpszValue
,
LPCSTR
lpszPath
,
DWORD
dwFlags
)
{
char
szBuff
[
MAX_PATH
];
FIXME
(
"(hkey=%p,%s,%s,%p,%d) - semi-stub
\n
"
,
hKey
,
debugstr_a
(
lpszSubKey
),
debugstr_a
(
lpszValue
),
lpszPath
,
dwFlags
);
lstrcpyA
(
szBuff
,
lpszPath
);
/* FIXME: PathUnExpandEnvStringsA(szBuff); */
return
SHSetValueA
(
hKey
,
lpszSubKey
,
lpszValue
,
REG_SZ
,
szBuff
,
lstrlenA
(
szBuff
));
}
/*************************************************************************
* SHRegSetPathW [SHLWAPI.@]
*
* See SHRegSetPathA.
*/
DWORD
WINAPI
SHRegSetPathW
(
HKEY
hKey
,
LPCWSTR
lpszSubKey
,
LPCWSTR
lpszValue
,
LPCWSTR
lpszPath
,
DWORD
dwFlags
)
{
WCHAR
szBuff
[
MAX_PATH
];
FIXME
(
"(hkey=%p,%s,%s,%p,%d) - semi-stub
\n
"
,
hKey
,
debugstr_w
(
lpszSubKey
),
debugstr_w
(
lpszValue
),
lpszPath
,
dwFlags
);
lstrcpyW
(
szBuff
,
lpszPath
);
/* FIXME: PathUnExpandEnvStringsW(szBuff); */
return
SHSetValueW
(
hKey
,
lpszSubKey
,
lpszValue
,
REG_SZ
,
szBuff
,
lstrlenW
(
szBuff
));
}
/*************************************************************************
* SHGetValueA [SHLWAPI.@]
*
* Get a value from the registry.
...
...
dlls/shlwapi/shlwapi.spec
View file @
eed50a78
...
...
@@ -739,8 +739,8 @@
@ stdcall SHRegQueryInfoUSKeyW ( long ptr ptr ptr ptr long )
@ stdcall SHRegQueryUSValueA ( long str ptr ptr ptr long ptr long )
@ stdcall SHRegQueryUSValueW ( long wstr ptr ptr ptr long ptr long )
@ stdcall SHRegSetPathA(long str str str long)
@ stdcall SHRegSetPathW(long wstr wstr wstr long)
@ stdcall
-import
SHRegSetPathA(long str str str long)
@ stdcall
-import
SHRegSetPathW(long wstr wstr wstr long)
@ stdcall SHRegSetUSValueA ( str str long ptr long long)
@ stdcall SHRegSetUSValueW ( wstr wstr long ptr long long)
@ stdcall SHRegWriteUSValueA (long str long ptr 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