kernel32: Added SetWaitableTimerEx().
This commit is contained in:
parent
3ea505bdea
commit
467b769623
|
@ -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
|
||||
@ stub SetWaitableTimerEx
|
||||
@ stdcall 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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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.@)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue