code: def is_wow64(self):
          
          try:
              wow64 = self.__wow64
          except AttributeError:
              if (win32.bits == 32 and not win32.wow64):
                  wow64 = False
              else:
                  if win32.PROCESS_ALL_ACCESS == win32.PROCESS_ALL_ACCESS_VISTA:
                      dwAccess = win32.PROCESS_QUERY_LIMITED_INFORMATION
                  else:
                      dwAccess = win32.PROCESS_QUERY_INFORMATION
                  hProcess = self.get_handle(dwAccess)
                  try:
                      wow64 = win32.IsWow64Process(hProcess)
                  except AttributeError:
                      wow64 = False
              self.__wow64 = wow64
          return wow64
docs: Determines if the process is running under WOW64.
  
          @rtype:  bool
          @return:
              C{True} if the process is running under WOW64. That is, a 32-bit
              application running in a 64-bit Windows.
  
              C{False} if the process is either a 32-bit application running in
              a 32-bit Windows, or a 64-bit application running in a 64-bit
              Windows.
  
          @raise WindowsError: On error an exception is raised.
  
          @see: U{http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx}