That's the whole purpose of Winelib. In code compiled using Winelib you can make both Win32 and 'native' OS calls. Any function exported through a so called '.spec' file can be used directly by a Windows application. Look for more information in docs.