Set an overlapped hEvent before calling any APCs.
[wine] / dlls / dinput / keyboard /
drwxr-xr-x   ..
-rw-r--r-- 10744 main.c