MEDIA_SERIAL_NUMBER_DATA structure
Contains the serial number of a USB device. It is used by the IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER control code.
Syntax
typedef struct _MEDIA_SERIAL_NUMBER_DATA {
ULONG SerialNumberLength;
ULONG Result;
ULONG Reserved[2];
UCHAR SerialNumberData[];
} MEDIA_SERIAL_NUMBER_DATA, *PMEDIA_SERIAL_NUMBER_DATA;
Members
-
SerialNumberLength
-
The size of the SerialNumberData string, in bytes.
-
Result
-
The status of the request.
-
Reserved
-
Reserved.
-
SerialNumberData
-
The serial number of the device.
Remarks
No header file is available for the MEDIA_SERIAL_NUMBER_DATA structure. Include the structure definition at the top of this page in your source code.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |