Skip to content

Use of CreateFile2 breaks backward compatibility #22

@megakraken

Description

@megakraken

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions