Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
dfe53522
Commit
dfe53522
authored
Jan 31, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Feb 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Update SHRegGetValue definition.
parent
09a78cd5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
reg.c
dlls/shlwapi/reg.c
+2
-2
shlwapi.h
include/shlwapi.h
+28
-0
No files found.
dlls/shlwapi/reg.c
View file @
dfe53522
...
...
@@ -1155,7 +1155,7 @@ DWORD WINAPI SHGetValueA(HKEY hKey, LPCSTR lpszSubKey, LPCSTR lpszValue,
* Success: ERROR_SUCCESS. Output parameters contain the details read.
* Failure: An error code from RegOpenKeyExA() or SHQueryValueExA().
*/
DWORD
WINAPI
SHRegGetValueA
(
HKEY
hKey
,
LPCSTR
lpszSubKey
,
LPCSTR
lpszValue
,
DWORD
srrfFlags
,
LSTATUS
WINAPI
SHRegGetValueA
(
HKEY
hKey
,
LPCSTR
lpszSubKey
,
LPCSTR
lpszValue
,
SRRF
srrfFlags
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pcbData
)
{
DWORD
dwRet
=
0
;
...
...
@@ -1180,7 +1180,7 @@ DWORD WINAPI SHRegGetValueA(HKEY hKey, LPCSTR lpszSubKey, LPCSTR lpszValue, DWOR
*
* See SHGetValueA.
*/
DWORD
WINAPI
SHRegGetValueW
(
HKEY
hKey
,
LPCWSTR
lpszSubKey
,
LPCWSTR
lpszValue
,
DWORD
srrfFlags
,
LSTATUS
WINAPI
SHRegGetValueW
(
HKEY
hKey
,
LPCWSTR
lpszSubKey
,
LPCWSTR
lpszValue
,
SRRF
srrfFlags
,
LPDWORD
pwType
,
LPVOID
pvData
,
LPDWORD
pcbData
)
{
DWORD
dwRet
=
0
;
...
...
include/shlwapi.h
View file @
dfe53522
...
...
@@ -85,6 +85,34 @@ DWORD WINAPI SHCopyKeyW(HKEY,LPCWSTR,HKEY,DWORD);
HKEY
WINAPI
SHRegDuplicateHKey
(
HKEY
);
/* SHRegGetValue flags */
typedef
INT
SRRF
;
#define SRRF_RT_REG_NONE 0x1
#define SRRF_RT_REG_SZ 0x2
#define SRRF_RT_REG_EXPAND_SZ 0x4
#define SRRF_RT_REG_BINARY 0x8
#define SRRF_RT_REG_DWORD 0x10
#define SRRF_RT_REG_MULTI_SZ 0x20
#define SRRF_RT_REG_QWORD 0x40
#define SRRF_RT_DWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_DWORD)
#define SRRF_RT_QWORD (SRRF_RT_REG_BINARY|SRRF_RT_REG_QWORD)
#define SRRF_RT_ANY 0xffff
#define SRRF_RM_ANY 0
#define SRRF_RM_NORMAL 0x10000
#define SRRF_RM_SAFE 0x20000
#define SRRF_RM_SAFENETWORK 0x40000
#define SRRF_NOEXPAND 0x10000000
#define SRRF_ZEROONFAILURE 0x20000000
#define SRRF_NOVIRT 0x40000000
LSTATUS
WINAPI
SHRegGetValueA
(
HKEY
,
LPCSTR
,
LPCSTR
,
SRRF
,
LPDWORD
,
LPVOID
,
LPDWORD
);
LSTATUS
WINAPI
SHRegGetValueW
(
HKEY
,
LPCWSTR
,
LPCWSTR
,
SRRF
,
LPDWORD
,
LPVOID
,
LPDWORD
);
#define SHRegGetValue WINELIB_NAME_AW(SHRegGetValue)
/* Undocumented registry functions */
DWORD
WINAPI
SHDeleteOrphanKeyA
(
HKEY
,
LPCSTR
);
...
...
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