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
d3660e59
Commit
d3660e59
authored
Mar 11, 2019
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix event op functions declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a9d9d585
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
except.c
dlls/kernel32/except.c
+1
-2
sync.c
dlls/ntdll/sync.c
+4
-7
winternl.h
include/winternl.h
+3
-3
No files found.
dlls/kernel32/except.c
View file @
d3660e59
...
...
@@ -364,12 +364,11 @@ static BOOL start_debugger_atomic(PEXCEPTION_POINTERS epointers)
{
/* ok, our event has been set... we're the winning thread */
BOOL
ret
=
start_debugger
(
epointers
,
hRunOnce
);
DWORD
tmp
;
if
(
!
ret
)
{
/* so that the other threads won't be stuck */
NtSetEvent
(
hRunOnce
,
&
tmp
);
NtSetEvent
(
hRunOnce
,
NULL
);
}
return
ret
;
}
...
...
dlls/ntdll/sync.c
View file @
d3660e59
...
...
@@ -402,7 +402,7 @@ NTSTATUS WINAPI NtOpenEvent( HANDLE *handle, ACCESS_MASK access, const OBJECT_AT
* NtSetEvent (NTDLL.@)
* ZwSetEvent (NTDLL.@)
*/
NTSTATUS
WINAPI
NtSetEvent
(
HANDLE
handle
,
PULONG
NumberOfThreadsReleased
)
NTSTATUS
WINAPI
NtSetEvent
(
HANDLE
handle
,
LONG
*
prev_state
)
{
NTSTATUS
ret
;
...
...
@@ -421,12 +421,12 @@ NTSTATUS WINAPI NtSetEvent( HANDLE handle, PULONG NumberOfThreadsReleased )
/******************************************************************************
* NtResetEvent (NTDLL.@)
*/
NTSTATUS
WINAPI
NtResetEvent
(
HANDLE
handle
,
PULONG
NumberOfThreadsReleased
)
NTSTATUS
WINAPI
NtResetEvent
(
HANDLE
handle
,
LONG
*
prev_state
)
{
NTSTATUS
ret
;
/* resetting an event can't release any thread... */
if
(
NumberOfThreadsReleased
)
*
NumberOfThreadsReleased
=
0
;
if
(
prev_state
)
*
prev_state
=
0
;
SERVER_START_REQ
(
event_op
)
{
...
...
@@ -455,13 +455,10 @@ NTSTATUS WINAPI NtClearEvent ( HANDLE handle )
* FIXME
* PulseCount
*/
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
handle
,
PULONG
PulseCount
)
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
handle
,
LONG
*
prev_state
)
{
NTSTATUS
ret
;
if
(
PulseCount
)
FIXME
(
"(%p,%d)
\n
"
,
handle
,
*
PulseCount
);
SERVER_START_REQ
(
event_op
)
{
req
->
handle
=
wine_server_obj_handle
(
handle
);
...
...
include/winternl.h
View file @
d3660e59
...
...
@@ -2425,7 +2425,7 @@ NTSYSAPI NTSTATUS WINAPI NtPrivilegeCheck(HANDLE,PPRIVILEGE_SET,PBOOLEAN);
NTSYSAPI
NTSTATUS
WINAPI
NtPrivilegeObjectAuditAlarm
(
PUNICODE_STRING
,
HANDLE
,
HANDLE
,
ULONG
,
PPRIVILEGE_SET
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtPrivilegedServiceAuditAlarm
(
PUNICODE_STRING
,
PUNICODE_STRING
,
HANDLE
,
PPRIVILEGE_SET
,
BOOLEAN
);
NTSYSAPI
NTSTATUS
WINAPI
NtProtectVirtualMemory
(
HANDLE
,
PVOID
*
,
SIZE_T
*
,
ULONG
,
ULONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtPulseEvent
(
HANDLE
,
LONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueueApcThread
(
HANDLE
,
PNTAPCFUNC
,
ULONG_PTR
,
ULONG_PTR
,
ULONG_PTR
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryAttributesFile
(
const
OBJECT_ATTRIBUTES
*
,
FILE_BASIC_INFORMATION
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtQueryDefaultLocale
(
BOOLEAN
,
LCID
*
);
...
...
@@ -2485,7 +2485,7 @@ NTSYSAPI NTSTATUS WINAPI NtReplyWaitReceivePortEx(HANDLE,PVOID*,PPORT_MESSAGE,P
NTSYSAPI
NTSTATUS
WINAPI
NtReplyWaitReplyPort
(
HANDLE
,
PLPC_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtRequestPort
(
HANDLE
,
PLPC_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtRequestWaitReplyPort
(
HANDLE
,
PLPC_MESSAGE
,
PLPC_MESSAGE
);
NTSYSAPI
NTSTATUS
WINAPI
NtResetEvent
(
HANDLE
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtResetEvent
(
HANDLE
,
LONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtResetWriteWatch
(
HANDLE
,
PVOID
,
SIZE_T
);
NTSYSAPI
NTSTATUS
WINAPI
NtRestoreKey
(
HANDLE
,
HANDLE
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtResumeThread
(
HANDLE
,
PULONG
);
...
...
@@ -2496,7 +2496,7 @@ NTSYSAPI NTSTATUS WINAPI NtSetDefaultHardErrorPort(HANDLE);
NTSYSAPI
NTSTATUS
WINAPI
NtSetDefaultLocale
(
BOOLEAN
,
LCID
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetDefaultUILanguage
(
LANGID
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetEaFile
(
HANDLE
,
PIO_STATUS_BLOCK
,
PVOID
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetEvent
(
HANDLE
,
PULONG
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetEvent
(
HANDLE
,
LONG
*
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetHighEventPair
(
HANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetHighWaitLowEventPair
(
HANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
NtSetHighWaitLowThread
(
VOID
);
...
...
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