Skip to content

Don't set dwShareMode to nonzero#222

Open
rotu wants to merge 1 commit intoserialport:mainfrom
rotu:patch-3
Open

Don't set dwShareMode to nonzero#222
rotu wants to merge 1 commit intoserialport:mainfrom
rotu:patch-3

Conversation

@rotu
Copy link
Contributor

@rotu rotu commented Jul 31, 2025

It would be nice to have non-locked files available. Unfortunately this doesn't work. Set dwShareMode to zero per documentation of CreateFile. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#communications-resources

It would be nice to have non-locked files available. Unfortunately this doesn't work. Set dwShareMode to zero per documentation of `CreateFile`. https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea#communications-resources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant