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
81256874
Commit
81256874
authored
Dec 14, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix the RtlCreateTimer() argument order.
Found by Dávid Török. Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2e569060
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sync.c
dlls/kernelbase/sync.c
+1
-1
threadpool.c
dlls/ntdll/threadpool.c
+2
-2
winternl.h
include/winternl.h
+1
-1
No files found.
dlls/kernelbase/sync.c
View file @
81256874
...
...
@@ -818,7 +818,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH CreateTimerQueueTimer( PHANDLE timer, HANDLE queue
WAITORTIMERCALLBACK
callback
,
PVOID
arg
,
DWORD
when
,
DWORD
period
,
ULONG
flags
)
{
return
set_ntstatus
(
RtlCreateTimer
(
timer
,
queue
,
callback
,
arg
,
when
,
period
,
flags
));
return
set_ntstatus
(
RtlCreateTimer
(
queue
,
timer
,
callback
,
arg
,
when
,
period
,
flags
));
}
...
...
dlls/ntdll/threadpool.c
View file @
81256874
...
...
@@ -887,8 +887,8 @@ static struct timer_queue *get_timer_queue(HANDLE TimerQueue)
* Creates a new timer associated with the given queue.
*
* PARAMS
* NewTimer [O] The newly created timer.
* TimerQueue [I] The queue to hold the timer.
* NewTimer [O] The newly created timer.
* Callback [I] The callback to fire.
* Parameter [I] The argument for the callback.
* DueTime [I] The delay, in milliseconds, before first firing the
...
...
@@ -906,7 +906,7 @@ static struct timer_queue *get_timer_queue(HANDLE TimerQueue)
* Success: STATUS_SUCCESS.
* Failure: Any NTSTATUS code.
*/
NTSTATUS
WINAPI
RtlCreateTimer
(
PHANDLE
NewTimer
,
HANDLE
TimerQueue
,
NTSTATUS
WINAPI
RtlCreateTimer
(
HANDLE
TimerQueue
,
HANDLE
*
NewTimer
,
RTL_WAITORTIMERCALLBACKFUNC
Callback
,
PVOID
Parameter
,
DWORD
DueTime
,
DWORD
Period
,
ULONG
Flags
)
...
...
include/winternl.h
View file @
81256874
...
...
@@ -4200,7 +4200,7 @@ NTSYSAPI NTSTATUS WINAPI RtlCreateProcessParameters(RTL_USER_PROCESS_PARAMETERS
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateProcessParametersEx
(
RTL_USER_PROCESS_PARAMETERS
**
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
PWSTR
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
const
UNICODE_STRING
*
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
DWORD
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateTimerQueue
(
PHANDLE
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateTimer
(
PHANDLE
,
HANDLE
,
RTL_WAITORTIMERCALLBACKFUNC
,
PVOID
,
DWORD
,
DWORD
,
ULONG
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateTimer
(
HANDLE
,
HANDLE
*
,
RTL_WAITORTIMERCALLBACKFUNC
,
PVOID
,
DWORD
,
DWORD
,
ULONG
);
NTSYSAPI
BOOLEAN
WINAPI
RtlCreateUnicodeString
(
PUNICODE_STRING
,
LPCWSTR
);
NTSYSAPI
BOOLEAN
WINAPI
RtlCreateUnicodeStringFromAsciiz
(
PUNICODE_STRING
,
LPCSTR
);
NTSYSAPI
NTSTATUS
WINAPI
RtlCreateUserProcess
(
UNICODE_STRING
*
,
ULONG
,
RTL_USER_PROCESS_PARAMETERS
*
,
SECURITY_DESCRIPTOR
*
,
SECURITY_DESCRIPTOR
*
,
HANDLE
,
BOOLEAN
,
HANDLE
,
HANDLE
,
RTL_USER_PROCESS_INFORMATION
*
);
...
...
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