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
467b7696
Commit
467b7696
authored
Mar 22, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 24, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Added SetWaitableTimerEx().
parent
3ea505bd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
1 deletion
+30
-1
api-ms-win-core-synch-l1-2-0.spec
...s-win-core-synch-l1-2-0/api-ms-win-core-synch-l1-2-0.spec
+1
-1
kernel32.spec
dlls/kernel32/kernel32.spec
+1
-0
sync.c
dlls/kernel32/sync.c
+10
-0
winbase.h
include/winbase.h
+18
-0
No files found.
dlls/api-ms-win-core-synch-l1-2-0/api-ms-win-core-synch-l1-2-0.spec
View file @
467b7696
...
...
@@ -39,7 +39,7 @@
@ stdcall SetCriticalSectionSpinCount(ptr long) kernel32.SetCriticalSectionSpinCount
@ stdcall SetEvent(long) kernel32.SetEvent
@ stdcall SetWaitableTimer(long ptr long ptr ptr long) kernel32.SetWaitableTimer
@ st
ub
SetWaitableTimerEx
@ st
dcall SetWaitableTimerEx(long ptr long ptr ptr ptr long) kernel32.
SetWaitableTimerEx
@ stdcall SignalObjectAndWait(long long long long) kernel32.SignalObjectAndWait
@ stdcall Sleep(long) kernel32.Sleep
@ stdcall SleepConditionVariableCS(ptr ptr long) kernel32.SleepConditionVariableCS
...
...
dlls/kernel32/kernel32.spec
View file @
467b7696
...
...
@@ -1191,6 +1191,7 @@
@ stub SetVolumeMountPointA
@ stub SetVolumeMountPointW
@ stdcall SetWaitableTimer(long ptr long ptr ptr long)
@ stdcall SetWaitableTimerEx(long ptr long ptr ptr ptr long)
@ stdcall SetupComm(long long long)
@ stub ShowConsoleCursor
@ stdcall SignalObjectAndWait(long long long long)
...
...
dlls/kernel32/sync.c
View file @
467b7696
...
...
@@ -1177,6 +1177,16 @@ BOOL WINAPI SetWaitableTimer( HANDLE handle, const LARGE_INTEGER *when, LONG per
return
TRUE
;
}
/***********************************************************************
* SetWaitableTimerEx (KERNEL32.@)
*/
BOOL
WINAPI
SetWaitableTimerEx
(
HANDLE
handle
,
const
LARGE_INTEGER
*
when
,
LONG
period
,
PTIMERAPCROUTINE
callback
,
LPVOID
arg
,
REASON_CONTEXT
*
context
,
ULONG
tolerabledelay
)
{
FIXME
(
"(%p, %p, %d, %p, %p, %p, %d) semi-stub
\n
"
,
handle
,
when
,
period
,
callback
,
arg
,
context
,
tolerabledelay
);
return
SetWaitableTimer
(
handle
,
when
,
period
,
callback
,
arg
,
FALSE
);
}
/***********************************************************************
* CancelWaitableTimer (KERNEL32.@)
...
...
include/winbase.h
View file @
467b7696
...
...
@@ -1512,6 +1512,23 @@ typedef PRTL_RUN_ONCE LPINIT_ONCE;
/* initialization callback prototype */
typedef
BOOL
(
WINAPI
*
PINIT_ONCE_FN
)(
PINIT_ONCE
,
PVOID
,
PVOID
*
);
typedef
struct
_REASON_CONTEXT
{
ULONG
Version
;
DWORD
Flags
;
union
{
struct
{
HMODULE
LocalizedReasonModule
;
ULONG
LocalizedReasonId
;
ULONG
ReasonStringCount
;
LPWSTR
*
ReasonStrings
;
}
Detailed
;
LPWSTR
SimpleReasonString
;
}
Reason
;
}
REASON_CONTEXT
,
*
PREASON_CONTEXT
;
WINBASEAPI
BOOL
WINAPI
ActivateActCtx
(
HANDLE
,
ULONG_PTR
*
);
WINADVAPI
BOOL
WINAPI
AddAccessAllowedAce
(
PACL
,
DWORD
,
DWORD
,
PSID
);
WINADVAPI
BOOL
WINAPI
AddAccessAllowedAceEx
(
PACL
,
DWORD
,
DWORD
,
DWORD
,
PSID
);
...
...
@@ -2363,6 +2380,7 @@ WINBASEAPI BOOL WINAPI SetVolumeMountPointA(LPCSTR,LPCSTR);
WINBASEAPI
BOOL
WINAPI
SetVolumeMountPointW
(
LPCSTR
,
LPCSTR
);
#define SetVolumeMountPoint WINELIB_NAME_AW(SetVolumeMountPoint)
WINBASEAPI
BOOL
WINAPI
SetWaitableTimer
(
HANDLE
,
const
LARGE_INTEGER
*
,
LONG
,
PTIMERAPCROUTINE
,
LPVOID
,
BOOL
);
WINBASEAPI
BOOL
WINAPI
SetWaitableTimerEx
(
HANDLE
,
const
LARGE_INTEGER
*
,
LONG
,
PTIMERAPCROUTINE
,
LPVOID
,
REASON_CONTEXT
*
,
ULONG
);
WINBASEAPI
BOOL
WINAPI
SetupComm
(
HANDLE
,
DWORD
,
DWORD
);
WINBASEAPI
DWORD
WINAPI
SignalObjectAndWait
(
HANDLE
,
HANDLE
,
DWORD
,
BOOL
);
WINBASEAPI
DWORD
WINAPI
SizeofResource
(
HMODULE
,
HRSRC
);
...
...
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