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
9eb8aa1e
Commit
9eb8aa1e
authored
Oct 05, 2015
by
Michael Müller
Committed by
Alexandre Julliard
Oct 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Mark some registry functions as hotpatchable.
Signed-off-by:
Michael Müller
<
michael@fds-team.de
>
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
parent
cde2fbb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
registry.c
dlls/advapi32/registry.c
+6
-4
No files found.
dlls/advapi32/registry.c
View file @
9eb8aa1e
...
...
@@ -23,6 +23,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
...
...
@@ -522,7 +524,7 @@ LSTATUS WINAPI RegOpenKeyExW( HKEY hkey, LPCWSTR name, DWORD options, REGSAM acc
* Unlike RegCreateKeyExA(), this function will not create the key if it
* does not exist.
*/
LSTATUS
WINAPI
RegOpenKeyExA
(
HKEY
hkey
,
LPCSTR
name
,
DWORD
options
,
REGSAM
access
,
PHKEY
retkey
)
LSTATUS
WINAPI
DECLSPEC_HOTPATCH
RegOpenKeyExA
(
HKEY
hkey
,
LPCSTR
name
,
DWORD
options
,
REGSAM
access
,
PHKEY
retkey
)
{
OBJECT_ATTRIBUTES
attr
;
STRING
nameA
;
...
...
@@ -1107,7 +1109,7 @@ LSTATUS WINAPI RegQueryInfoKeyA( HKEY hkey, LPSTR class, LPDWORD class_len, LPDW
* Success: ERROR_SUCCESS
* Failure: Error code
*/
LSTATUS
WINAPI
RegCloseKey
(
HKEY
hkey
)
LSTATUS
WINAPI
DECLSPEC_HOTPATCH
RegCloseKey
(
HKEY
hkey
)
{
if
(
!
hkey
)
return
ERROR_INVALID_HANDLE
;
if
(
hkey
>=
(
HKEY
)
0x80000000
)
return
ERROR_SUCCESS
;
...
...
@@ -1477,8 +1479,8 @@ LSTATUS WINAPI RegQueryValueExW( HKEY hkey, LPCWSTR name, LPDWORD reserved, LPDW
* MSDN states that if data is too small it is partially filled. In reality
* it remains untouched.
*/
LSTATUS
WINAPI
RegQueryValueExA
(
HKEY
hkey
,
LPCSTR
name
,
LPDWORD
reserved
,
LPDWORD
type
,
LPBYTE
data
,
LPDWORD
count
)
LSTATUS
WINAPI
DECLSPEC_HOTPATCH
RegQueryValueExA
(
HKEY
hkey
,
LPCSTR
name
,
LPDWORD
reserved
,
LPDWORD
type
,
LPBYTE
data
,
LPDWORD
count
)
{
NTSTATUS
status
;
ANSI_STRING
nameA
;
...
...
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