Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 1.87 KB

ns-storport-stor_serial_number.md

File metadata and controls

68 lines (55 loc) · 1.87 KB
UID tech.root title ms.date targetos description req.construct-type req.ddi-compliance req.dll req.header req.include-header req.kmdf-ver req.lib req.max-support req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.typenames req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NS:storport._STOR_SERIAL_NUMBER
storage
STOR_SERIAL_NUMBER
05/13/2021
Windows
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.
structure
storport.h
Windows 8
STOR_SERIAL_NUMBER, *PSTOR_SERIAL_NUMBER
apiref
HeaderDef
storport.h
_STOR_SERIAL_NUMBER
PSTOR_SERIAL_NUMBER
STOR_SERIAL_NUMBER
_STOR_SERIAL_NUMBER
storport/_STOR_SERIAL_NUMBER
PSTOR_SERIAL_NUMBER
storport/PSTOR_SERIAL_NUMBER
STOR_SERIAL_NUMBER
storport/STOR_SERIAL_NUMBER
c++

-description

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.

-struct-fields

-field Version

Version of this structure. Currently set to 1.

-field Size

Size of this structure, in bytes. Set to sizeof(STOR_SERIAL_NUMBER).

-field Unicode

BOOLEAN value that is set TRUE if the serial number is in Unicode or FALSE if it's in ASCII.

-field SerialNumber

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.

-see-also

HwStorAdapterControl