Hi,
is there any particular reason why you added the IOWIN32_USING_WINRT_API ifdefs in iowin32.c and replaced calls to CreateFile with calls to CreateFile2? This breaks compatibility with older versions of Windows such as Windows 7.
I understand this can be remedied by simply undefining IOWIN32_USING_WINRT_API. I'm just wondering it it's necessary at all, because functionality-wise CreateFile2 is virtually identical to the older CreateFile function.
Hi,
is there any particular reason why you added the
IOWIN32_USING_WINRT_APIifdefs iniowin32.cand replaced calls toCreateFilewith calls toCreateFile2? This breaks compatibility with older versions of Windows such as Windows 7.I understand this can be remedied by simply undefining
IOWIN32_USING_WINRT_API. I'm just wondering it it's necessary at all, because functionality-wiseCreateFile2is virtually identical to the olderCreateFilefunction.