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
4b466805
Commit
4b466805
authored
Aug 19, 2022
by
Santino Mazza
Committed by
Alexandre Julliard
Sep 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Move NtLoadKey implementation to NtLoadKeyEx.
Signed-off-by:
Santino Mazza
<
smazza@codeweavers.com
>
parent
92b2329d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
22 deletions
+26
-22
registry.c
dlls/ntdll/unix/registry.c
+26
-22
No files found.
dlls/ntdll/unix/registry.c
View file @
4b466805
...
...
@@ -681,6 +681,24 @@ NTSTATUS WINAPI NtFlushKey( HANDLE key )
*/
NTSTATUS
WINAPI
NtLoadKey
(
const
OBJECT_ATTRIBUTES
*
attr
,
OBJECT_ATTRIBUTES
*
file
)
{
TRACE
(
"(%p,%p)
\n
"
,
attr
,
file
);
return
NtLoadKeyEx
(
attr
,
file
,
0
,
0
,
0
,
0
,
NULL
,
NULL
);
}
/******************************************************************************
* NtLoadKey2 (NTDLL.@)
*/
NTSTATUS
WINAPI
NtLoadKey2
(
const
OBJECT_ATTRIBUTES
*
attr
,
OBJECT_ATTRIBUTES
*
file
,
ULONG
flags
)
{
return
NtLoadKeyEx
(
attr
,
file
,
flags
,
0
,
0
,
0
,
NULL
,
NULL
);
}
/******************************************************************************
* NtLoadKeyEx (NTDLL.@)
*/
NTSTATUS
WINAPI
NtLoadKeyEx
(
const
OBJECT_ATTRIBUTES
*
attr
,
OBJECT_ATTRIBUTES
*
file
,
ULONG
flags
,
HANDLE
trustkey
,
HANDLE
event
,
ACCESS_MASK
access
,
HANDLE
*
roothandle
,
IO_STATUS_BLOCK
*
iostatus
)
{
NTSTATUS
ret
;
HANDLE
key
;
data_size_t
len
;
...
...
@@ -689,7 +707,14 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *fil
UNICODE_STRING
nt_name
;
OBJECT_ATTRIBUTES
new_attr
=
*
file
;
TRACE
(
"(%p,%p)
\n
"
,
attr
,
file
);
TRACE
(
"(%p,%p,0x%x,%p,%p,0x%x,%p,%p)
\n
"
,
attr
,
file
,
flags
,
trustkey
,
event
,
access
,
roothandle
,
iostatus
);
if
(
flags
)
FIXME
(
"flags %x not handled
\n
"
,
flags
);
if
(
trustkey
)
FIXME
(
"trustkey parameter not supported
\n
"
);
if
(
event
)
FIXME
(
"event parameter not supported
\n
"
);
if
(
access
)
FIXME
(
"access parameter not supported
\n
"
);
if
(
roothandle
)
FIXME
(
"roothandle is not filled
\n
"
);
if
(
iostatus
)
FIXME
(
"iostatus is not filled
\n
"
);
get_redirect
(
&
new_attr
,
&
nt_name
);
if
(
!
(
ret
=
nt_to_unix_file_name
(
&
new_attr
,
&
unix_name
,
FILE_OPEN
)))
...
...
@@ -719,27 +744,6 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *fil
return
ret
;
}
/******************************************************************************
* NtLoadKey2 (NTDLL.@)
*/
NTSTATUS
WINAPI
NtLoadKey2
(
const
OBJECT_ATTRIBUTES
*
attr
,
OBJECT_ATTRIBUTES
*
file
,
ULONG
flags
)
{
FIXME
(
"(%p,%p,0x%08x) semi-stub: ignoring flags
\n
"
,
attr
,
file
,
flags
);
return
NtLoadKey
(
attr
,
file
);
}
/******************************************************************************
* NtLoadKeyEx (NTDLL.@)
*/
NTSTATUS
WINAPI
NtLoadKeyEx
(
const
OBJECT_ATTRIBUTES
*
attr
,
OBJECT_ATTRIBUTES
*
file
,
ULONG
flags
,
HANDLE
trustkey
,
HANDLE
event
,
ACCESS_MASK
access
,
HANDLE
*
roothandle
,
IO_STATUS_BLOCK
*
iostatus
)
{
FIXME
(
"(%p,%p,0x%08x,%p,%p,0x%08x,%p,%p) stub
\n
"
,
attr
,
file
,
flags
,
trustkey
,
event
,
access
,
roothandle
,
iostatus
);
return
STATUS_NOT_IMPLEMENTED
;
}
/******************************************************************************
* NtUnloadKey (NTDLL.@)
*/
...
...
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