diff --git a/reactos/include/ascii.h b/reactos/include/ascii.h index d97cb38c1f0..e9667bf4a95 100644 --- a/reactos/include/ascii.h +++ b/reactos/include/ascii.h @@ -1037,7 +1037,11 @@ CreateWindowStationA( DWORD dwReserved, DWORD dwDesiredAccess, LPSECURITY_ATTRIBUTES lpsa); - + +HANDLE STDCALL CreateWaitableTimerA( LPSECURITY_ATTRIBUTES Attributes, + BOOL ManualReset, + LPCTSTR Name ); + HWINSTA STDCALL OpenWindowStationA( diff --git a/reactos/include/base.h b/reactos/include/base.h index 19856f09ca0..5781663479b 100644 --- a/reactos/include/base.h +++ b/reactos/include/base.h @@ -394,6 +394,7 @@ typedef WINBOOL CALLBACK (*ENUMWINDOWSPROC) (HWND, LPARAM); typedef WINBOOL CALLBACK (*ENUMWINDOWSTATIONPROC) (LPTSTR, LPARAM); typedef VOID CALLBACK (*SENDASYNCPROC) (HWND, UINT, DWORD, LRESULT); typedef VOID CALLBACK (*TIMERPROC) (HWND, UINT, UINT, DWORD); +typedef VOID (*PTIMERAPCROUTINE)(PVOID lpArgToCompletionRoutine,DWORD dwTimerLowValue,DWORD dwTimerHighValue); typedef FARPROC GRAYSTRINGPROC; typedef WINBOOL CALLBACK (*DRAWSTATEPROC) (HDC, LPARAM, WPARAM, int, int); typedef WINBOOL CALLBACK (*PROPENUMPROCEX) (HWND, LPCTSTR, HANDLE, DWORD); diff --git a/reactos/include/funcs.h b/reactos/include/funcs.h index b019e492f7b..77c82c287e1 100644 --- a/reactos/include/funcs.h +++ b/reactos/include/funcs.h @@ -586,6 +586,7 @@ extern "C" { #define CreateDialogIndirectParam CreateDialogIndirectParamA #define CreateDialog CreateDialogA #define CreateDialogIndirect CreateDialogIndirectA +#define CreateWaitableTimer CreateWaitableTimerA #define DialogBoxParam DialogBoxParamA #define DialogBoxIndirectParam DialogBoxIndirectParamA #define DialogBox DialogBoxA @@ -4402,7 +4403,14 @@ SetTimer( UINT uElapse, TIMERPROC lpTimerFunc); - + +BOOL STDCALL SetWaitableTimer( HANDLE Timer, + const LARGE_INTEGER *duetime, + LONG Period, + PTIMERAPCROUTINE Apcroutine, + LPVOID Param, + BOOL Resume ); + WINBOOL STDCALL KillTimer(