-
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
High Priority Windows API Functions, Structures and Constants #69
Comments
Oliver, I'm doing progress in the implementation of GetOverlappedResult... Checkout https://github.com/exvito/pywincffi/tree/get-ov-result Most code is in place, just wrapping my head around the best way to test it. There is something there, still not working. I'm off to the airport now to fly back to Lisbon. I expect to be able to get back to it later this week. Cheers. |
Sounds good, thanks for the heads up and the help as always. In terms of testing, looks like what you have may be a pretty good start. Usually when I find it difficult to come up with a test I look to the MSDN docs for examples and go from there. |
I'm confused as to the state of this ticket wrt being a TODO list. Are there items still remaining for this (and the project getting beta status) that are not mentioned in the ticket? |
Nope there's not anything remaining....I just never got around to closed the issue. Basically I was using this issue to track the major functions necessary in order to use pywincffi to replace pywin32 in twisted. With respect to beta status, the project is probably at that stage now considering the APIs and practices in pywincffi are unlikely to be changing. |
This issue covers a list of Windows API functions which Twisted and other projects are currently using. This issue is really meant to be a TODO list of sorts to keep track of remaining work to be done.
Functions
GetOverlappedResult()
-GetOverlappedResult implementation #115ClearCommError()
-Implement ClearCommError #79CloseHandle()
-Create pywincffi.kernel32.handle module #50CreatePipe()
-Refactor kernel32 Module Structure #53CreateProcess()
-Implement CreateProcess #98CreateEvent()
-Implement CreateEvent #70DuplicateHandle()
Implement DuplicateHandle #78GetCurrentProcess()
-Implement GetProcessId() and GetCurrentProcess() #49GetExitCodeProcess()
-Implement pid_exists() #48GetHandleInformation()
-Adding GetHandleInformation and SetHandleInformation #66GetStdHandle()
-Create pywincffi.kernel32.handle module #50MsgWaitForMultipleObjects()
-Implement MsgWaitForMultipleObjects #80PeekNamedPipe()
-Refactor kernel32 Module Structure #53ResetEvent()
-Implement ResetEvent #75ReadFile()
-Anonymous Pipes #9SetNamedPipeHandleState()
-Refactor kernel32 Module Structure #53TerminateProcess()
Implement TerminateProcess #76WriteFile()
-Anonymous Pipes #9WaitForSingleObject()
-Implement pid_exists() #48WSAEventSelect()
-Implement WSAEventSelect and WSAEnumNetworkEvents #81WSAEnumNetworkEvents()
-Implement WSAEventSelect and WSAEnumNetworkEvents #81Structures
SECURITY_ATTRIBUTES
-Anonymous Pipes #9STARTUPINFO
-Implement _STARTUPINFO and associated contants #74OVERLAPPED
-Anonymous Pipes #9Constants
STARTF_USESTDHANDLES
-Implement _STARTUPINFO and associated contants #74DUPLICATE_SAME_ACCESS
-Implement DuplicateHandle #78STD_OUTPUT_HANDLE
-Support for twisted.python.lockfile #18FD_ACCEPT
-Implement WSAEventSelect and WSAEnumNetworkEvents #81FD_CLOSE
-Implement WSAEventSelect and WSAEnumNetworkEvents #81FD_CONNECT
-Implement WSAEventSelect and WSAEnumNetworkEvents #81FOREGROUND_RED
-Implement FOREGROUD_* colors #95FOREGROUND_GREEN
-Implement FOREGROUD_* colors #95FOREGROUND_BLUE
-Implement FOREGROUD_* colors #95PIPE_NOWAIT
-Pipe Enhancements #16QS_ALLINPUT
-Implement MsgWaitForMultipleObjects #80WAIT_OBJECT_0
-Implement pid_exists() #48WAIT_TIMEOUT
-Implement pid_exists() #48Excluded
The following are excluded from conversion because the surrounding code in Twisted was deprecated or other methods of performing the same task are available.
NOTE: The actual list of functions may be longer than the above. The calls are just those that are used directly. More may be required in order to properly test pywincffi's implementation.
The text was updated successfully, but these errors were encountered: