The 64 bits context of a syswow thread. :type: :class:`windows.exception.ECONTEXT64`
(self)
| 814 | |
| 815 | @property |
| 816 | def context_syswow(self): |
| 817 | """The 64 bits context of a syswow thread. |
| 818 | |
| 819 | :type: :class:`windows.exception.ECONTEXT64` |
| 820 | """ |
| 821 | if not self.owner.is_wow_64: |
| 822 | raise ValueError("Not a syswow process") |
| 823 | x = exception.ECONTEXT64.new_aligned() |
| 824 | x.ContextFlags = CONTEXT_ALL |
| 825 | if windows.current_process.bitness == 64: |
| 826 | winproxy.GetThreadContext(self.handle, x) |
| 827 | else: |
| 828 | windows.syswow64.NtGetContextThread_32_to_64(self.handle, x) |
| 829 | return x |
| 830 | |
| 831 | |
| 832 | def set_context(self, context): |
nothing calls this directly
no test coverage detected