lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 46: String Property Guide

String properties attached to other SMBIOS structures.

Result set and ownership

lazybiosGetType46 returns a lazybiosType46Array_t holding every matching structure. Iterate entries using count. A non-NULL result whose count is zero means the table contains no structure of this type; NULL means the arguments were unusable or an allocation failed. Release the set with lazybiosFreeType46, or assign it to ctx->Type46 and let lazybiosCleanup own it.

Every record carries its own SMBIOS handle and the structure length the firmware reported.

Encoded fields are decoded during parsing into decoded, which mirrors the raw member names (string_property_id). The raw value stays alongside it, so both the encoding and its meaning are available.

Property identifiers

parent_handle identifies the SMBIOS structure to which string_property_value applies. Decode string_property_id with decoded.string_property_id. SMBIOS defines identifier 1 as a UTF-8 UEFI device-path string and divides the remaining identifier space among future DMTF, firmware-vendor, and OEM use. A parent handle of 0xFFFF is preserved and marked absent.

Ownership

Release the returned structure array and copied property strings with lazybiosFreeType46, or assign the result to lazybiosCTX::Type46 and use lazybiosCleanup.

See also
Type 46: String Property