code: def add_registry_entries(ns, xml):
      e = find_or_add(xml, "m:Extensions")
      e = find_or_add(e, "rescap4:Extension")
      e.set("Category", "windows.classicAppCompatKeys")
      e.set("EntryPoint", "Windows.FullTrustApplication")
      e = ET.SubElement(
          e,
          ET.QName(APPXMANIFEST_NS["rescap4"], "ClassicAppCompatKeys"),
      )
      for name, valuename, value in _get_registry_entries(ns):
          k = ET.SubElement(
              e,
              ET.QName(
                  APPXMANIFEST_NS["rescap4"], "ClassicAppCompatKey"
              ),
          )
          k.set("Name", name)
          if value:
              k.set("ValueName", valuename)
              k.set("Value", value)
              k.set("ValueType", "REG_SZ")
  
file_path: cpython/PC/layout/support/appxmanifest.py
imports: import ctypes
  import io
  import os
  from pathlib import PureWindowsPath
  from xml.etree import ElementTree
  from .constants import *
label_desc: Use image node_id 10 for calling a global function with example usage: add_registry_entries(ns, xml) without return types