STOR_SERIAL_NUMBER structure (storport.h)
STOR_SERIAL_NUMBER is the structure pointed to by the Parameters parameter when a miniport's HwStorAdapterControl routine is called with a ControlType of ScsiAdapterSerialNumber.
Syntax
typedef struct _STOR_SERIAL_NUMBER {
ULONG Version;
ULONG Size;
BOOLEAN Unicode;
UCHAR SerialNumber[STOR_SERIAL_NUMBER_MAX_SIZE];
} STOR_SERIAL_NUMBER, *PSTOR_SERIAL_NUMBER;
Members
Version
Version of this structure. Currently set to 1.
Size
Size of this structure, in bytes. Set to sizeof(STOR_SERIAL_NUMBER)
.
Unicode
BOOLEAN value that is set TRUE if the serial number is in Unicode or FALSE if it's in ASCII.
SerialNumber[STOR_SERIAL_NUMBER_MAX_SIZE]
NULL-terminated string representing the serial number. SerialNumber can contain up to 128 Unicode or ASCII characters (including the trailing NULL character). Even though there is enough space for 256 ASCII characters, do not return more than 128 characters.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Header | storport.h |