If the friendlyNameFromEdid bit is false in DISPLAYCONFIG_TARGET_DEVICE_NAME, rather than fall back to a hardcoded "Unknown," we could use the name from EnumDisplayDevices which is what's shown in the Device Manager. This is often just "Generic PnP Monitor," but that's better than nothing. There's also a slim chance a display might have drivers installed that properly identify it in the Device Manager despite not supporting extended display identification data (EDID). Worth checking if the Settings app falls back to the same; we should copy what it does regardless.
If the
friendlyNameFromEdidbit is false inDISPLAYCONFIG_TARGET_DEVICE_NAME, rather than fall back to a hardcoded "Unknown," we could use the name fromEnumDisplayDeviceswhich is what's shown in the Device Manager. This is often just "Generic PnP Monitor," but that's better than nothing. There's also a slim chance a display might have drivers installed that properly identify it in the Device Manager despite not supporting extended display identification data (EDID). Worth checking if the Settings app falls back to the same; we should copy what it does regardless.