21 #ifndef LIBUSB_EVENTS_WINDOWS_H 22 #define LIBUSB_EVENTS_WINDOWS_H 24 typedef HANDLE usbi_os_handle_t;
25 #define USBI_OS_HANDLE_FORMAT_STRING "HANDLE %p" 30 #define USBI_EVENT_OS_HANDLE(e) ((e)->hEvent) 31 #define USBI_EVENT_POLL_EVENTS 0 32 #define USBI_INVALID_EVENT { INVALID_HANDLE_VALUE } 34 #define HAVE_OS_TIMER 1 38 #define USBI_TIMER_OS_HANDLE(t) ((t)->hTimer) 39 #define USBI_TIMER_POLL_EVENTS 0 43 return timer->hTimer != NULL;
Definition: events_windows.h:35
Definition: events_posix.h:37