// sti.h
typedef struct _STI_DIAG {
DWORD dwSize;
DWORD dwBasicDiagCode;
DWORD dwVendorDiagCode;
DWORD dwStatusMask;
STI_ERROR_INFO sErrorInfo;
} STI_DIAG, *LPSTI_DIAG;
View the official Windows Driver Kit DDI referenceNo description available.
The STI_DIAG structure is used as a parameter to the IStiDevice::Diagnostic and IStiUSD::Diagnostic methods.
dwSizeCaller-supplied size, in bytes, of the STI_DIAG structure.
dwBasicDiagCodeBit flag indicating the type of test to be performed. Currently this must be STI_DIAGCODE_HWPRESENCE.
dwVendorDiagCodeOptional, vendor-defined diagnostic request code.
dwStatusMaskReserved for future use.
sErrorInfoStructure of type STI_ERROR_INFO.