diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index 6ba75fa5545..b0d351596cf 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -956,7 +956,9 @@ @ stdcall SetThreadExecutionState(long) SetThreadExecutionState # Windows 2000, Terminal Server 4.0 SP4 functions +@ stdcall CreateTimerQueue () CreateTimerQueue @ stdcall CreateTimerQueueTimer(ptr long ptr ptr long long long) CreateTimerQueueTimer +@ stdcall DeleteTimerQueueEx (long long) DeleteTimerQueueEx @ stdcall DeleteTimerQueueTimer(long long long) DeleteTimerQueueTimer @ stdcall GetCalendarInfoA(long long long ptr long ptr) GetCalendarInfoA @ stdcall GetCalendarInfoW(long long long ptr long ptr) GetCalendarInfoW diff --git a/include/winbase.h b/include/winbase.h index 2aac78eb5b7..ec54005fc7d 100644 --- a/include/winbase.h +++ b/include/winbase.h @@ -1207,6 +1207,7 @@ HANDLE WINAPI CreateSemaphoreW(LPSECURITY_ATTRIBUTES,LONG,LONG,LPCWSTR); #define CreateSemaphore WINELIB_NAME_AW(CreateSemaphore) DWORD WINAPI CreateTapePartition(HANDLE,DWORD,DWORD,DWORD); HANDLE WINAPI CreateThread(LPSECURITY_ATTRIBUTES,SIZE_T,LPTHREAD_START_ROUTINE,LPVOID,DWORD,LPDWORD); +HANDLE WINAPI CreateTimerQueue(void); BOOL WINAPI CreateTimerQueueTimer(PHANDLE,HANDLE,WAITORTIMERCALLBACK,PVOID,DWORD,DWORD,ULONG); HANDLE WINAPI CreateWaitableTimerA(LPSECURITY_ATTRIBUTES,BOOL,LPCSTR); HANDLE WINAPI CreateWaitableTimerW(LPSECURITY_ATTRIBUTES,BOOL,LPCWSTR); @@ -1216,6 +1217,7 @@ BOOL WINAPI DebugActiveProcessStop(DWORD); void WINAPI DebugBreak(void); BOOL WINAPI DebugBreakProcess(HANDLE); BOOL WINAPI DebugSetProcessKillOnExit(BOOL); +BOOL WINAPI DeleteTimerQueueEx(HANDLE,HANDLE); BOOL WINAPI DeleteTimerQueueTimer(HANDLE,HANDLE,HANDLE); BOOL WINAPI DeregisterEventSource(HANDLE); BOOL WINAPI DeviceIoControl(HANDLE,DWORD,LPVOID,DWORD,LPVOID,DWORD,LPDWORD,LPOVERLAPPED); diff --git a/scheduler/timer.c b/scheduler/timer.c index c3026e52960..41936bd9b36 100644 --- a/scheduler/timer.c +++ b/scheduler/timer.c @@ -182,6 +182,27 @@ BOOL WINAPI CancelWaitableTimer( HANDLE handle ) } +/*********************************************************************** + * CreateTimerQueue (KERNEL32.@) + */ +HANDLE WINAPI CreateTimerQueue() +{ + FIXME("stub\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; +} + + +/*********************************************************************** + * DeleteTimerQueueEx (KERNEL32.@) + */ +BOOL WINAPI DeleteTimerQueueEx(HANDLE TimerQueue, HANDLE CompletionEvent) +{ + FIXME("(%p, %p): stub\n", TimerQueue, CompletionEvent); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return 0; +} + /*********************************************************************** * CreateTimerQueueTimer (KERNEL32.@) *