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
6f22d775
Commit
6f22d775
authored
Feb 12, 2002
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Feb 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partially implement SHRegWriteUSValue{A|W}.
parent
d3a52c28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
2 deletions
+36
-2
reg.c
dlls/shlwapi/reg.c
+36
-2
No files found.
dlls/shlwapi/reg.c
View file @
6f22d775
...
...
@@ -641,8 +641,25 @@ LONG WINAPI SHRegEnumUSKeyW(
LONG
WINAPI
SHRegWriteUSValueA
(
HUSKEY
hUSKey
,
LPCSTR
pszValue
,
DWORD
dwType
,
LPVOID
pvData
,
DWORD
cbData
,
DWORD
dwFlags
)
{
FIXME
(
"(0x%lx,%s,%ld,%p,%ld,%ld): stub
\n
"
,
HKEY
dokey
;
TRACE
(
"(0x%lx,%s,%ld,%p,%ld,%ld)
\n
"
,
(
LONG
)
hUSKey
,
debugstr_a
(
pszValue
),
dwType
,
pvData
,
cbData
,
dwFlags
);
if
((
dwFlags
&
SHREGSET_FORCE_HKCU
)
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKCU
)))
{
RegSetValueExA
(
dokey
,
pszValue
,
0
,
dwType
,
pvData
,
cbData
);
}
if
((
dwFlags
&
SHREGSET_FORCE_HKLM
)
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKLM
)))
{
RegSetValueExA
(
dokey
,
pszValue
,
0
,
dwType
,
pvData
,
cbData
);
}
if
(
dwFlags
&
(
SHREGSET_FORCE_HKCU
|
SHREGSET_FORCE_HKLM
))
return
ERROR_SUCCESS
;
FIXME
(
"SHREGSET_HKCU or SHREGSET_HKLM not supported
\n
"
);
return
ERROR_SUCCESS
;
}
...
...
@@ -652,8 +669,25 @@ LONG WINAPI SHRegWriteUSValueA(HUSKEY hUSKey, LPCSTR pszValue, DWORD dwType,
LONG
WINAPI
SHRegWriteUSValueW
(
HUSKEY
hUSKey
,
LPCWSTR
pszValue
,
DWORD
dwType
,
LPVOID
pvData
,
DWORD
cbData
,
DWORD
dwFlags
)
{
FIXME
(
"(0x%lx,%s,%ld,%p,%ld,%ld): stub
\n
"
,
HKEY
dokey
;
TRACE
(
"(0x%lx,%s,%ld,%p,%ld,%ld)
\n
"
,
(
LONG
)
hUSKey
,
debugstr_w
(
pszValue
),
dwType
,
pvData
,
cbData
,
dwFlags
);
if
((
dwFlags
&
SHREGSET_FORCE_HKCU
)
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKCU
)))
{
RegSetValueExW
(
dokey
,
pszValue
,
0
,
dwType
,
pvData
,
cbData
);
}
if
((
dwFlags
&
SHREGSET_FORCE_HKLM
)
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKLM
)))
{
RegSetValueExW
(
dokey
,
pszValue
,
0
,
dwType
,
pvData
,
cbData
);
}
if
(
dwFlags
&
(
SHREGSET_FORCE_HKCU
|
SHREGSET_FORCE_HKLM
))
return
ERROR_SUCCESS
;
FIXME
(
"SHREGSET_HKCU or SHREGSET_HKLM not supported
\n
"
);
return
ERROR_SUCCESS
;
}
...
...
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