Set a syswow thread's 64 context to ``context``
(self, context)
| 839 | |
| 840 | |
| 841 | def set_syswow_context(self, context): |
| 842 | """Set a syswow thread's 64 context to ``context``""" |
| 843 | if not self.owner.is_wow_64: |
| 844 | raise ValueError("Not a syswow process") |
| 845 | if windows.current_process.bitness == 64: |
| 846 | return winproxy.SetThreadContext(self.handle, context) |
| 847 | return windows.syswow64.NtSetContextThread_32_to_64(self.handle, ctypes.byref(context)) |
| 848 | |
| 849 | |
| 850 | @property |
no outgoing calls
no test coverage detected