improved coro api for win32 support