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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for