LPSTI_DIAG - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// 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 reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-sti-_sti_diag)

_STI_DIAG structure

Description

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

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.