WineHQ
WineHQ

5.6. Converting filenames

Suppose you want to convert incoming DOS format filenames to their Unix equivalent. Of course there is no suitable function in the true Microsoft Windows API, but wine provides a function for just this task and exports it from its copy of the kernel32 DLL. The function is wine_get_unix_file_name (defined in winbase.h).