15 Jan
2026
15 Jan
'26
11:19 a.m.
Hans Leidekker (@hans) commented about dlls/wbemprox/builtin.c:
return ret; }
+static WCHAR *get_systemenclosure_serialnumber( const char *buf, UINT len ) +{ + WCHAR *ret = get_smbios_string( SMBIOS_TYPE_SYSTEM, 0, offsetof(struct smbios_system, serial), buf, len );
That should be smbios_chassis. Note that this value is read from /sys/class/dmi/id/chassis_serial on Linux which can only be read by root and we fall back to returning the static string "Chassis Serial Number". My PC BIOS has "Default string" here which isn't very unique either so this may not be a problem in practice. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9887#note_127038