lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 11: OEM Strings Guide

OEM-defined free-form strings and their ownership rules.

Result set and ownership

lazybiosGetType11 returns a lazybiosType11Array_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 lazybiosFreeType11, or assign it to ctx->Type11 and let lazybiosCleanup own it.

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

String collection

Each lazybiosType11_t contains the number of OEM strings in string_count and an equally sized strings array. Entries retain their firmware-defined text without interpretation because SMBIOS assigns no standardized meaning or encoding beyond the ordinary string-set rules. A structure with a count of zero has no string entries.

string_count is an unrestricted SMBIOS BYTE. A value of 0xFF therefore declares 255 strings and remains present. The parser determines whether Count is available from the structure's formatted length; use LAZYBIOS_FIELD_STATUS to test it. A declared string collection that does not fit the string-set reports LAZYBIOS_FIELD_ABSENT.

Ownership

The structure array, each nested strings array, and every string entry are allocated by the parser. Release the complete result with lazybiosFreeType11 or assign it to lazybiosCTX::Type11 and use lazybiosCleanup.

See also
Type 11: OEM Strings