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
e740eaee
Commit
e740eaee
authored
Oct 13, 2022
by
Etaash Mathamsetty
Committed by
Alexandre Julliard
Oct 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Implement IoCreateNotificationEvent.
parent
e72a16b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
10 deletions
+26
-10
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+0
-10
sync.c
dlls/ntoskrnl.exe/sync.c
+26
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
e740eaee
...
...
@@ -4075,16 +4075,6 @@ NTSTATUS WINAPI IoCreateFile(HANDLE *handle, ACCESS_MASK access, OBJECT_ATTRIBUT
create_options
,
ea_buffer
,
ea_length
,
file_type
,
parameters
,
options
,
NULL
);
}
/***********************************************************************
* IoCreateNotificationEvent (NTOSKRNL.EXE.@)
*/
PKEVENT
WINAPI
IoCreateNotificationEvent
(
UNICODE_STRING
*
name
,
HANDLE
*
handle
)
{
FIXME
(
"stub: %s %p
\n
"
,
debugstr_us
(
name
),
handle
);
return
NULL
;
}
/**************************************************************************
* __chkstk (NTOSKRNL.@)
*/
...
...
dlls/ntoskrnl.exe/sync.c
View file @
e740eaee
...
...
@@ -232,6 +232,32 @@ PKEVENT WINAPI IoCreateSynchronizationEvent( UNICODE_STRING *name, HANDLE *ret_h
}
/***********************************************************************
* IoCreateNotificationEvent (NTOSKRNL.EXE.@)
*/
PKEVENT
WINAPI
IoCreateNotificationEvent
(
UNICODE_STRING
*
name
,
HANDLE
*
ret_handle
)
{
OBJECT_ATTRIBUTES
attr
;
HANDLE
handle
;
KEVENT
*
event
;
NTSTATUS
ret
;
TRACE
(
"(%s %p)
\n
"
,
debugstr_us
(
name
),
ret_handle
);
InitializeObjectAttributes
(
&
attr
,
name
,
0
,
0
,
NULL
);
ret
=
NtCreateEvent
(
&
handle
,
EVENT_ALL_ACCESS
,
&
attr
,
NotificationEvent
,
TRUE
);
if
(
ret
)
return
NULL
;
if
(
kernel_object_from_handle
(
handle
,
ExEventObjectType
,
(
void
**
)
&
event
))
{
NtClose
(
handle
);
return
NULL
;
}
*
ret_handle
=
handle
;
return
event
;
}
/***********************************************************************
* KeSetEvent (NTOSKRNL.EXE.@)
*/
LONG
WINAPI
KeSetEvent
(
PRKEVENT
event
,
KPRIORITY
increment
,
BOOLEAN
wait
)
...
...
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