STI_DIAG structure (sti.h)

The STI_DIAG structure is used as a parameter to the IStiDevice::Diagnostic and IStiUSD::Diagnostic methods.

Syntax

typedef struct _STI_DIAG {
  DWORD          dwSize;
  DWORD          dwBasicDiagCode;
  DWORD          dwVendorDiagCode;
  DWORD          dwStatusMask;
  STI_ERROR_INFO sErrorInfo;
} STI_DIAG, *LPSTI_DIAG;

Members

dwSize

Caller-supplied size, in bytes, of the STI_DIAG structure.

dwBasicDiagCode

Bit flag indicating the type of test to be performed. Currently this must be STI_DIAGCODE_HWPRESENCE.

dwVendorDiagCode

Optional, vendor-defined diagnostic request code.

dwStatusMask

Reserved for future use.

sErrorInfo

Structure of type STI_ERROR_INFO.

Requirements

Requirement Value
Header sti.h (include Sti.h)