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
bea0daa2
Commit
bea0daa2
authored
May 18, 2010
by
Vincent Povirk
Committed by
Alexandre Julliard
May 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Implement SHRegEnumUSValue.
parent
c89853eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
4 deletions
+38
-4
reg.c
dlls/shlwapi/reg.c
+38
-4
No files found.
dlls/shlwapi/reg.c
View file @
bea0daa2
...
...
@@ -331,8 +331,25 @@ LONG WINAPI SHRegEnumUSValueA(HUSKEY hUSKey, DWORD dwIndex, LPSTR pszValueName,
LPDWORD
pcchValueNameLen
,
LPDWORD
pdwType
,
LPVOID
pvData
,
LPDWORD
pcbData
,
SHREGENUM_FLAGS
enumRegFlags
)
{
FIXME
(
"(%p, 0x%08x, %s, %p, %p, %p, %p, 0x%08x) stub
\n
"
,
hUSKey
,
dwIndex
,
debugstr_a
(
pszValueName
),
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
HKEY
dokey
;
TRACE
(
"(%p, 0x%08x, %p, %p, %p, %p, %p, 0x%08x)
\n
"
,
hUSKey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
if
(((
enumRegFlags
==
SHREGENUM_HKCU
)
||
(
enumRegFlags
==
SHREGENUM_DEFAULT
))
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKCU
)))
{
return
RegEnumValueA
(
dokey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
NULL
,
pdwType
,
pvData
,
pcbData
);
}
if
(((
enumRegFlags
==
SHREGENUM_HKLM
)
||
(
enumRegFlags
==
SHREGENUM_DEFAULT
))
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKLM
)))
{
return
RegEnumValueA
(
dokey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
NULL
,
pdwType
,
pvData
,
pcbData
);
}
FIXME
(
"no support for SHREGENUM_BOTH
\n
"
);
return
ERROR_INVALID_FUNCTION
;
}
...
...
@@ -345,8 +362,25 @@ LONG WINAPI SHRegEnumUSValueW(HUSKEY hUSKey, DWORD dwIndex, LPWSTR pszValueName,
LPDWORD
pcchValueNameLen
,
LPDWORD
pdwType
,
LPVOID
pvData
,
LPDWORD
pcbData
,
SHREGENUM_FLAGS
enumRegFlags
)
{
FIXME
(
"(%p, 0x%08x, %s, %p, %p, %p, %p, 0x%08x) stub
\n
"
,
hUSKey
,
dwIndex
,
debugstr_w
(
pszValueName
),
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
HKEY
dokey
;
TRACE
(
"(%p, 0x%08x, %p, %p, %p, %p, %p, 0x%08x)
\n
"
,
hUSKey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
pdwType
,
pvData
,
pcbData
,
enumRegFlags
);
if
(((
enumRegFlags
==
SHREGENUM_HKCU
)
||
(
enumRegFlags
==
SHREGENUM_DEFAULT
))
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKCU
)))
{
return
RegEnumValueW
(
dokey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
NULL
,
pdwType
,
pvData
,
pcbData
);
}
if
(((
enumRegFlags
==
SHREGENUM_HKLM
)
||
(
enumRegFlags
==
SHREGENUM_DEFAULT
))
&&
(
dokey
=
REG_GetHKEYFromHUSKEY
(
hUSKey
,
REG_HKLM
)))
{
return
RegEnumValueW
(
dokey
,
dwIndex
,
pszValueName
,
pcchValueNameLen
,
NULL
,
pdwType
,
pvData
,
pcbData
);
}
FIXME
(
"no support for SHREGENUM_BOTH
\n
"
);
return
ERROR_INVALID_FUNCTION
;
}
...
...
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