Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Yoann Laissus
wine
Commits
6f22d775
Commit
6f22d775
authored
23 years ago
by
Guy Albertelli
Committed by
Alexandre Julliard
23 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Partially implement SHRegWriteUSValue{A|W}.
parent
d3a52c28
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/shlwapi/reg.c
+36
-2
36 additions, 2 deletions
dlls/shlwapi/reg.c
with
36 additions
and
2 deletions
dlls/shlwapi/reg.c
+
36
−
2
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
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment