Using the eventlog API for Wine errors