(hFile, lpBuffer, nNumberOfBytesToRead=None, lpNumberOfBytesRead=None, lpOverlapped=None)
| 486 | |
| 487 | @Kernel32Proxy() |
| 488 | def ReadFile(hFile, lpBuffer, nNumberOfBytesToRead=None, lpNumberOfBytesRead=None, lpOverlapped=None): |
| 489 | if nNumberOfBytesToRead is None: |
| 490 | nNumberOfBytesToRead = len(lpBuffer) |
| 491 | if lpOverlapped is None and lpNumberOfBytesRead is None: |
| 492 | lpNumberOfBytesRead = ctypes.byref(gdef.DWORD()) |
| 493 | return ReadFile.ctypes_function(hFile, lpBuffer, nNumberOfBytesToRead, lpNumberOfBytesRead, lpOverlapped) |
| 494 | |
| 495 | |
| 496 | @Kernel32Proxy() |
nothing calls this directly
no outgoing calls
no test coverage detected