(self, this, job, error)
| 46 | # ctypes.WINFUNCTYPE(HRESULT, PVOID, PVOID)(4, "JobError") |
| 47 | # How should I address that ? |
| 48 | def JobError(self, this, job, error): |
| 49 | job = BitsCopyJob(job) |
| 50 | error = BitsCopyError(error) |
| 51 | errcode, errctx = error.error |
| 52 | print("Copy failed with error code <{0:#x}> (ctx={1})".format(errcode, errctx)) |
| 53 | print("see <https://msdn.microsoft.com/en-us/library/windows/desktop/aa362823(v=vs.85).aspx>") |
| 54 | self.event.set() |
| 55 | return True |
| 56 | |
| 57 | def JobTransferred(self, this, job): |
| 58 | self.event.set() |
nothing calls this directly
no test coverage detected