code: def native_to_win32_pathname(name):
          
          # XXX TODO
          # There are probably some native paths that
          # won't be converted by this naive approach.
          if name.startswith(compat.b("\\")):
              if name.startswith(compat.b("\\??\\")):
                  name = name[4:]
              elif name.startswith(compat.b("\\SystemRoot\\")):
                  system_root_path = os.environ['SYSTEMROOT']
                  if system_root_path.endswith('\\'):
                      system_root_path = system_root_path[:-1]
                  name = system_root_path + name[11:]
              else:
                  for drive_number in compat.xrange(ord('A'), ord('Z') + 1):
                      drive_letter = '%c:' % drive_number
                      try:
                          device_native_path = win32.QueryDosDevice(drive_letter)
                      except WindowsError:
                          e = sys.exc_info()[1]
                          if e.winerror in (win32.ERROR_FILE_NOT_FOUND, \
                                                   win32.ERROR_PATH_NOT_FOUND):
                              continue
                          raise
                      if not device_native_path.endswith(compat.b('\\')):
                          device_native_path += compat.b('\\')
                      if name.startswith(device_native_path):
                          name = drive_letter + compat.b('\\') + \
                                                name[ len(device_native_path) : ]
                          break
          return name
docs: @type  name: str
          @param name: Native (NT) absolute pathname.
  
          @rtype:  str
          @return: Win32 absolute pathname.