Oh, I forgot to write: I used files from w32api-3.18.2-mingw32-dev.tar.xz
W32API: bad value of IOCTL_DISK_BASE
incorrect definitions (WINEVENTPROC, SetTimer) in header files