#include "wine/test.h"
#include "winbase.h"
Go to the source code of this file.
◆ START_TEST()
Definition at line 69 of file timer.c.
70{
72}
static void test_timer(void)
◆ test_timer()
Definition at line 25 of file timer.c.
26{
33
34 pCreateWaitableTimerA = (
void*)
GetProcAddress( hker,
"CreateWaitableTimerA");
35 if( !pCreateWaitableTimerA )
36 {
37 win_skip(
"CreateWaitableTimerA is not available\n");
38 return;
39 }
40
41 pSetWaitableTimer = (
void*)
GetProcAddress( hker,
"SetWaitableTimer");
42 if( !pSetWaitableTimer )
43 {
44 win_skip(
"SetWaitableTimer is not available\n");
45 return;
46 }
47
48
50 ok(
handle !=
NULL,
"failed to create waitable timer with no name\n" );
51
54 ok(
r,
"failed to set timer\n");
55
57
58
60 ok(
handle !=
NULL,
"failed to create waitable timer with no name\n" );
61
64 ok(
r,
"failed to set timer\n");
65
67}
#define GetProcAddress(x, y)
HMODULE WINAPI DECLSPEC_HOTPATCH GetModuleHandleA(LPCSTR lpModuleName)
GLdouble GLdouble GLdouble r
void(CALLBACK * PTIMERAPCROUTINE)(PVOID, DWORD, DWORD)
Referenced by START_TEST().