-
Notifications
You must be signed in to change notification settings - Fork 4
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
Need AllocateReadBuffer() #125
Comments
I don't think it's needed? That's not a standard win32 function and it appears to be a helper created for pywin32 as an abstraction. Twisted is calling pywincffi also has the |
Chiming in with a note: From a quick read of Twisted's _win32serialport.py it seems to be using Overlapped I/O on ReadFile(), that's why it needs a buffer. I'm not sure the current ReadFile() implementation supports overlapped I/O, but #116 is still pending... |
Yeah I was looking at that..... |
So looking at the tests: https://github.com/opalmer/pywincffi/blob/master/tests/test_kernel32/test_overlapped.py#L20 overlapped IO is possible right now just not through As for |
In Twisted, I tried to replace pywin32 with pywincffi: twisted/twisted#920
I found that winfile.AllocateReadBuffer() is not in pywincffi.
@opalmer can you add it?
The text was updated successfully, but these errors were encountered: