Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of CreateFile2 breaks backward compatibility #22

Open
megakraken opened this issue Jul 8, 2023 · 0 comments
Open

Use of CreateFile2 breaks backward compatibility #22

megakraken opened this issue Jul 8, 2023 · 0 comments

Comments

@megakraken
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant