Skip to content

gh-152433: Windows: use CreateFile2 on Windows UWP build#153021

Open
thexai wants to merge 1 commit into
python:mainfrom
thexai:uwp-createfile
Open

gh-152433: Windows: use CreateFile2 on Windows UWP build#153021
thexai wants to merge 1 commit into
python:mainfrom
thexai:uwp-createfile

Conversation

@thexai

@thexai thexai commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Windows: use CreateFile2 on Windows UWP build.

UWP does not support CreateFileW because it is only compatible with the Win32 desktop API.

CreateFile2 is available in all supported Windows versions (it could be used for everything) but for now created a wrapper to use only in UWP and avoid side effects or unexpected behavior changes on regular Windows builds.

UWP does not support ``CreateFileW`` because it is only compatible
with the Win32 desktop API.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant