Steve Lhomme wrote: > CreateFileA and CreateFileW are forbidden calls in UWP. > CreateFile2 is close enough, some parameters are passed in a structure > and it requires a WCHAR filename.
CreateFileW has an emulation in mingw's winstorecompat: https://github.com/mirror/mingw-w64/blob/master/mingw-w64-libraries/winstorecompat/src/CreateFileW.c Can you suggest to the mingw people to add a CreateFileA emulation as well? That's IMO the better place for emulating CreateFileA on top of CreateFile2, rather than Gnulib. Bruno
