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
6c7760f2
Commit
6c7760f2
authored
Apr 13, 2017
by
Louis Lenders
Committed by
Alexandre Julliard
Apr 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add stubs for RegSaveKeyEx{A,W}.
Signed-off-by:
Louis Lenders
<
xerox.xerox2000x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
18c94886
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
32 additions
and
10 deletions
+32
-10
advapi32.spec
dlls/advapi32/advapi32.spec
+2
-2
registry.c
dlls/advapi32/registry.c
+19
-0
api-ms-win-core-localregistry-l1-1-0.spec
...registry-l1-1-0/api-ms-win-core-localregistry-l1-1-0.spec
+2
-2
api-ms-win-core-registry-l1-1-0.spec
...core-registry-l1-1-0/api-ms-win-core-registry-l1-1-0.spec
+2
-2
api-ms-win-downlevel-advapi32-l1-1-0.spec
...advapi32-l1-1-0/api-ms-win-downlevel-advapi32-l1-1-0.spec
+2
-2
kernelbase.spec
dlls/kernelbase/kernelbase.spec
+2
-2
winreg.h
include/winreg.h
+3
-0
No files found.
dlls/advapi32/advapi32.spec
View file @
6c7760f2
...
...
@@ -680,8 +680,8 @@
@ stdcall RegRestoreKeyA(long str long)
@ stdcall RegRestoreKeyW(long wstr long)
@ stdcall RegSaveKeyA(long ptr ptr)
# @ stub RegSaveKeyExA
# @ stub RegSaveKeyExW
@ stdcall RegSaveKeyExA(long str ptr long)
@ stdcall RegSaveKeyExW(long wstr ptr long)
@ stdcall RegSaveKeyW(long ptr ptr)
@ stdcall RegSetKeySecurity(long long ptr)
@ stdcall RegSetKeyValueA(long str str long ptr long)
...
...
dlls/advapi32/registry.c
View file @
6c7760f2
...
...
@@ -2427,6 +2427,25 @@ LSTATUS WINAPI RegSaveKeyA( HKEY hkey, LPCSTR file, LPSECURITY_ATTRIBUTES sa )
return
RegSaveKeyW
(
hkey
,
fileW
->
Buffer
,
sa
);
}
/******************************************************************************
* RegSaveKeyExA [ADVAPI32.@]
*
*/
LSTATUS
WINAPI
RegSaveKeyExA
(
HKEY
hkey
,
LPCSTR
file
,
SECURITY_ATTRIBUTES
*
sa
,
DWORD
flags
)
{
FIXME
(
"(%p,%s,%p,%d) flags not handled
\n
"
,
hkey
,
debugstr_a
(
file
),
sa
,
flags
);
return
RegSaveKeyA
(
hkey
,
file
,
sa
);
}
/******************************************************************************
* RegSaveKeyExW [ADVAPI32.@]
*
*/
LSTATUS
WINAPI
RegSaveKeyExW
(
HKEY
hkey
,
LPCWSTR
file
,
SECURITY_ATTRIBUTES
*
sa
,
DWORD
flags
)
{
FIXME
(
"(%p,%s,%p,%d) flags not handled
\n
"
,
hkey
,
debugstr_w
(
file
),
sa
,
flags
);
return
RegSaveKeyW
(
hkey
,
file
,
sa
);
}
/******************************************************************************
* RegRestoreKeyW [ADVAPI32.@]
...
...
dlls/api-ms-win-core-localregistry-l1-1-0/api-ms-win-core-localregistry-l1-1-0.spec
View file @
6c7760f2
...
...
@@ -31,8 +31,8 @@
@ stdcall RegQueryValueExW(long wstr ptr ptr ptr ptr) advapi32.RegQueryValueExW
@ stdcall RegRestoreKeyA(long str long) advapi32.RegRestoreKeyA
@ stdcall RegRestoreKeyW(long wstr long) advapi32.RegRestoreKeyW
@ st
ub
RegSaveKeyExA
@ st
ub
RegSaveKeyExW
@ st
dcall RegSaveKeyExA(long str ptr long) advapi32.
RegSaveKeyExA
@ st
dcall RegSaveKeyExW(long wstr ptr long) advapi32.
RegSaveKeyExW
@ stdcall RegSetKeySecurity(long long ptr) advapi32.RegSetKeySecurity
@ stdcall RegSetValueExA(long str long long ptr long) advapi32.RegSetValueExA
@ stdcall RegSetValueExW(long wstr long long ptr long) advapi32.RegSetValueExW
...
...
dlls/api-ms-win-core-registry-l1-1-0/api-ms-win-core-registry-l1-1-0.spec
View file @
6c7760f2
...
...
@@ -34,8 +34,8 @@
@ stdcall RegQueryValueExW(long wstr ptr ptr ptr ptr) advapi32.RegQueryValueExW
@ stdcall RegRestoreKeyA(long str long) advapi32.RegRestoreKeyA
@ stdcall RegRestoreKeyW(long wstr long) advapi32.RegRestoreKeyW
@ st
ub
RegSaveKeyExA
@ st
ub
RegSaveKeyExW
@ st
dcall RegSaveKeyExA(long str ptr long) advapi32.
RegSaveKeyExA
@ st
dcall RegSaveKeyExW(long wstr ptr long) advapi32.
RegSaveKeyExW
@ stdcall RegSetKeySecurity(long long ptr) advapi32.RegSetKeySecurity
@ stdcall RegSetValueExA(long str long long ptr long) advapi32.RegSetValueExA
@ stdcall RegSetValueExW(long wstr long long ptr long) advapi32.RegSetValueExW
...
...
dlls/api-ms-win-downlevel-advapi32-l1-1-0/api-ms-win-downlevel-advapi32-l1-1-0.spec
View file @
6c7760f2
...
...
@@ -120,8 +120,8 @@
@ stdcall RegQueryValueExW(long wstr ptr ptr ptr ptr) advapi32.RegQueryValueExW
@ stdcall RegRestoreKeyA(long str long) advapi32.RegRestoreKeyA
@ stdcall RegRestoreKeyW(long wstr long) advapi32.RegRestoreKeyW
@ st
ub
RegSaveKeyExA
@ st
ub
RegSaveKeyExW
@ st
dcall RegSaveKeyExA(long str ptr long) advapi32.
RegSaveKeyExA
@ st
dcall RegSaveKeyExW(long wstr ptr long) advapi32.
RegSaveKeyExW
@ stdcall RegSetKeySecurity(long long ptr) advapi32.RegSetKeySecurity
@ stdcall RegSetValueExA(long str long long ptr long) advapi32.RegSetValueExA
@ stdcall RegSetValueExW(long wstr long long ptr long) advapi32.RegSetValueExW
...
...
dlls/kernelbase/kernelbase.spec
View file @
6c7760f2
...
...
@@ -1307,8 +1307,8 @@
@ stdcall -private RegQueryValueExW(long wstr ptr ptr ptr ptr) kernel32.RegQueryValueExW
@ stdcall -private RegRestoreKeyA(long str long) kernel32.RegRestoreKeyA
@ stdcall -private RegRestoreKeyW(long wstr long) kernel32.RegRestoreKeyW
# @ stub
RegSaveKeyExA
# @ stub
RegSaveKeyExW
@ stdcall RegSaveKeyExA(long str ptr long) advapi32.
RegSaveKeyExA
@ stdcall RegSaveKeyExW(long wstr ptr long) advapi32.
RegSaveKeyExW
@ stdcall -private RegSetKeySecurity(long long ptr) kernel32.RegSetKeySecurity
@ stdcall RegSetKeyValueA(long str str long ptr long) advapi32.RegSetKeyValueA
@ stdcall RegSetKeyValueW(long wstr wstr long ptr long) advapi32.RegSetKeyValueW
...
...
include/winreg.h
View file @
6c7760f2
...
...
@@ -168,6 +168,9 @@ WINADVAPI LSTATUS WINAPI RegRestoreKeyW(HKEY,LPCWSTR,DWORD);
WINADVAPI
LSTATUS
WINAPI
RegSaveKeyA
(
HKEY
,
LPCSTR
,
LPSECURITY_ATTRIBUTES
);
WINADVAPI
LSTATUS
WINAPI
RegSaveKeyW
(
HKEY
,
LPCWSTR
,
LPSECURITY_ATTRIBUTES
);
#define RegSaveKey WINELIB_NAME_AW(RegSaveKey)
WINADVAPI
LSTATUS
WINAPI
RegSaveKeyExA
(
HKEY
,
LPCSTR
,
LPSECURITY_ATTRIBUTES
,
DWORD
);
WINADVAPI
LSTATUS
WINAPI
RegSaveKeyExW
(
HKEY
,
LPCWSTR
,
LPSECURITY_ATTRIBUTES
,
DWORD
);
#define RegSaveKeyEx WINELIB_NAME_AW(RegSaveKeyEx)
WINADVAPI
LSTATUS
WINAPI
RegSetKeySecurity
(
HKEY
,
SECURITY_INFORMATION
,
PSECURITY_DESCRIPTOR
);
WINADVAPI
LSTATUS
WINAPI
RegSetKeyValueA
(
HKEY
,
LPCSTR
,
LPCSTR
,
DWORD
,
const
void
*
,
DWORD
);
WINADVAPI
LSTATUS
WINAPI
RegSetKeyValueW
(
HKEY
,
LPCWSTR
,
LPCWSTR
,
DWORD
,
const
void
*
,
DWORD
);
...
...
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