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
6d89be54
Commit
6d89be54
authored
Jan 27, 2017
by
Austin English
Committed by
Alexandre Julliard
Feb 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add a stub for NtLoadKey2.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3c640470
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
ntdll.spec
dlls/ntdll/ntdll.spec
+2
-2
reg.c
dlls/ntdll/reg.c
+10
-0
No files found.
dlls/ntdll/ntdll.spec
View file @
6d89be54
...
...
@@ -198,7 +198,7 @@
# @ stub NtIsSystemResumeAutomatic
@ stdcall NtListenPort(ptr ptr)
@ stdcall NtLoadDriver(ptr)
# @ stub NtLoadKey2
@ stdcall NtLoadKey2(ptr ptr long)
@ stdcall NtLoadKey(ptr ptr)
@ stdcall NtLockFile(long long ptr ptr ptr ptr ptr ptr long long)
# @ stub NtLockProductActivationKeys
...
...
@@ -1123,7 +1123,7 @@
# @ stub ZwIsSystemResumeAutomatic
@ stdcall -private ZwListenPort(ptr ptr) NtListenPort
@ stdcall -private ZwLoadDriver(ptr) NtLoadDriver
# @ stub Zw
LoadKey2
@ stdcall ZwLoadKey2(ptr ptr long) Nt
LoadKey2
@ stdcall -private ZwLoadKey(ptr ptr) NtLoadKey
@ stdcall -private ZwLockFile(long long ptr ptr ptr ptr ptr ptr long long) NtLockFile
# @ stub ZwLockProductActivationKeys
...
...
dlls/ntdll/reg.c
View file @
6d89be54
...
...
@@ -682,6 +682,16 @@ NTSTATUS WINAPI NtLoadKey( const OBJECT_ATTRIBUTES *attr, OBJECT_ATTRIBUTES *fil
}
/******************************************************************************
* NtLoadKey2 [NTDLL.@]
* ZwLoadKey2 [NTDLL.@]
*/
NTSTATUS
WINAPI
NtLoadKey2
(
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
);
}
/******************************************************************************
* NtNotifyChangeMultipleKeys [NTDLL.@]
* ZwNotifyChangeMultipleKeys [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