VIODIAGNOSTICFIELD

This structure provides an extra attribute about a diagnostic code.

Syntax

typedef struct {
DWORD cbFixed;
DWORD cbData;
DWORD vdfID;
VARTYPE vdfType;
BYTE vdfData[1];
}

Members

cbFixed
Size, in bytes, of the fixed diagnostic members in the structure.
cbData
Number of bytes in the vdfData member for this diagnostic item attribute.
vdfID
Specifies the identifier of the attribute returned from IVIO_EnumDiagnosticEntry interface. It is one of the values shown in the following table.
Data value type
Value
VIODIAGENTRY_SYSTEM 0
VIODIAGENTRY_SUBSYSTEM 1
VIODIAGENTRY_SAE_CODE 2
VIODIAGENTRY_LAMP_FLAG 3

vdfType
Type of data represented in the vdfData member.
vdfData
First byte of data for the diagnostic item attribute. Number of bytes in the array set in the cbData member.