def METHOD_NAME(self, module):
    full_name = module.getFullName()
    dll_directory = self.dll_directories.get(full_name)
    if dll_directory is not None:
        for dll_filename, dll_basename in listDllFilesFromDirectory(dll_directory):
            yield self.makeDllEntryPoint(
                source_path=dll_filename,
                dest_path=os.path.join(
                    os.path.basename(dll_directory), dll_basename
                ),
                package_name=full_name,
                reason="needed by '%s'" % full_name.asString(),
            )