@rtype: str @return: The architecture in which this thread believes to be running. For example, if running a 32 bit binary in a 64 bit machine, the architecture returned by this method will be L{win32.ARCH_I386}, but the value of L{System.arch} w
(self)
| 865 | return wow64 |
| 866 | |
| 867 | def get_arch(self): |
| 868 | """ |
| 869 | @rtype: str |
| 870 | @return: The architecture in which this thread believes to be running. |
| 871 | For example, if running a 32 bit binary in a 64 bit machine, the |
| 872 | architecture returned by this method will be L{win32.ARCH_I386}, |
| 873 | but the value of L{System.arch} will be L{win32.ARCH_AMD64}. |
| 874 | """ |
| 875 | if win32.bits == 32 and not win32.wow64: |
| 876 | return win32.arch |
| 877 | return self.get_process().get_arch() |
| 878 | |
| 879 | def get_bits(self): |
| 880 | """ |
no test coverage detected