SES_CONFIGURATION_DIAGNOSTIC_PAGE structure (scsi.h)

The SES_CONFIGURATION_DIAGNOSTIC_PAGE structure provides enclosure descriptor information and parameters.

Syntax

typedef struct _SES_CONFIGURATION_DIAGNOSTIC_PAGE {
  UCHAR                    PageCode;
  UCHAR                    NumberOfSecondarySubEnclosures;
  UCHAR                    PageLength[2];
  UCHAR                    GenerationCode[4];
  SES_ENCLOSURE_DESCRIPTOR Descriptors[ANYSIZE_ARRAY];
} SES_CONFIGURATION_DIAGNOSTIC_PAGE, *PSES_CONFIGURATION_DIAGNOSTIC_PAGE;

Members

PageCode

Specifies the diagnostic page being sent or requested based on the value. For a Microcode Control diagnostic page, the value should be 0x01.

NumberOfSecondarySubEnclosures

Specifies the number of separate subenclosures included in the enclosure descriptor list, not including the primary subenclosure. If this is set to zero, only the primary subenclosure exists.

PageLength[2]

Specifies the length of the diagnostic page, in bytes.

GenerationCode[4]

Specifies the value of the generation code.

Descriptors[ANYSIZE_ARRAY]

Specifies the enclosure descriptors for the primary and secondary enclosures. The primary enclosure is the first index.

Requirements

Requirement Value
Minimum supported client Available in Windows 10, version 1709 and later versions of Windows.
Header scsi.h (include Minitape.h, Storport.h)