class_docstr: MIME-types datastore.
  
  This datastore can handle information from mime.types-style files
  and supports basic determination of MIME type from a filename or
  URL, and can guess a reasonable extension given a MIME type.
docstr: Load the MIME types database from Windows registry.
  
  If strict is true, information will be added to
  list of standard types, else to the list of non-standard
  types.
docstr_tok: ["Load","the","MIME","types","database","from","Windows","registry",".","If","strict","is","true",",","information","will","be","added","to","list","of","standard","types",",","else","to","the","list","of","non-standard","types","."]
code: def read_windows_registry(self, strict=True):
      """
      Load the MIME types database from Windows registry.
  
      If strict is true, information will be added to
      list of standard types, else to the list of non-standard
      types.
      """
  
      if not _mimetypes_read_windows_registry and not _winreg:
          return
  
      add_type = self.add_type
      if strict:
          add_type = lambda type, ext: self.add_type(type, ext, True)
  
      # Accelerated function if it is available
      if _mimetypes_read_windows_registry:
          _mimetypes_read_windows_registry(add_type)
      elif _winreg:
          self._read_windows_registry(add_type)
  
imports: import os
  import sys
  import posixpath
  import urllib.parse
label_desc: Use image node_id 8 for calling the MimeTypes obj's underlying member method code with example usage: obj.read_windows_registry(strict) without return types