gevent.win32util – Error formatting function for Windows

Error formatting function for Windows.

The code is taken from twisted.python.win32 module.