Use native Windows events for the event loop.