The dmi_decoder_context function returns the context of the structure the
decoder is reading, which is where its errors are raised and its memory
comes from.
Parameters
decoder
Decoder to query.
Return value
Context of the structure, or nullptr if decoder is nullptr.