code: def _get_arch():
      
      try:
          si = GetNativeSystemInfo()
      except Exception:
          si = GetSystemInfo()
      try:
          return _arch_map[si.id.w.wProcessorArchitecture]
      except KeyError:
          return ARCH_UNKNOWN
docs: Determines the current processor architecture.
  
      @rtype: str
      @return:
          On error, returns:
  
           - L{ARCH_UNKNOWN} (C{"unknown"}) meaning the architecture could not be detected or is not known to WinAppDbg.
  
          On success, returns one of the following values:
  
           - L{ARCH_I386} (C{"i386"}) for Intel 32-bit x86 processor or compatible.
           - L{ARCH_AMD64} (C{"amd64"}) for Intel 64-bit x86_64 processor or compatible.
  
          May also return one of the following values if you get both Python and
          WinAppDbg to work in such machines... let me know if you do! :)
  
           - L{ARCH_MIPS} (C{"mips"}) for MIPS compatible processors.
           - L{ARCH_ALPHA} (C{"alpha"}) for Alpha processors.
           - L{ARCH_PPC} (C{"ppc"}) for PowerPC compatible processors.
           - L{ARCH_SHX} (C{"shx"}) for Hitachi SH processors.
           - L{ARCH_ARM} (C{"arm"}) for ARM compatible processors.
           - L{ARCH_IA64} (C{"ia64"}) for Intel Itanium processor or compatible.
           - L{ARCH_ALPHA64} (C{"alpha64"}) for Alpha64 processors.
           - L{ARCH_MSIL} (C{"msil"}) for the .NET virtual machine.
           - L{ARCH_SPARC} (C{"sparc"}) for Sun Sparc processors.
  
          Probably IronPython returns C{ARCH_MSIL} but I haven't tried it. Python
          on Windows CE and Windows Mobile should return C{ARCH_ARM}. Python on
          Solaris using Wine would return C{ARCH_SPARC}. Python in an Itanium
          machine should return C{ARCH_IA64} both on Wine and proper Windows.
          All other values should only be returned on Linux using Wine.