code: def ExtractEvents(
        self, parser_mediator, registry_key, codepage='cp1252', **kwargs):
      
      self._ParseMRUListExKey(parser_mediator, registry_key, codepage=codepage)
  
      if registry_key.name == 'RecentDocs':
        # For the RecentDocs MRUListEx we also need to parse its subkeys
        # since the Registry key path does not support wildcards yet.
        for subkey in registry_key.GetSubkeys():
          self._ParseMRUListExKey(parser_mediator, subkey, codepage=codepage)
docs: Extracts events from a Windows Registry key.
  
      Args:
        parser_mediator (ParserMediator): mediates interactions between parsers
            and other components, such as storage and dfvfs.
        registry_key (dfwinreg.WinRegistryKey): Windows Registry key.
        codepage (Optional[str]): extended ASCII string codepage.