I had looked at these a while back, and the reason I didn't wrap them is the lack of a way to pass a python function to the callback. Most of these types of callbacks have an extra "context" arg - a void pointer that we can use for that purpose. However, this one doesn't provide for a context. Maybe we could associate the callback with the file handle or the Overlapped object.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had looked at these a while back, and the reason I didn't wrap them is the lack of a way to pass a python function to the callback. Most of these types of callbacks have an extra "context" arg - a void pointer that we can use for that purpose. However, this one doesn't provide for a context. Maybe we could associate the callback with the file handle or the Overlapped object.