News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

DEVICE_MEDIA_INFO structure

Started by azdps, May 14, 2011, 07:36:53 PM

Previous topic - Next topic

azdps

EDIT: i was able to define the DEVICE_MEDIA_INFO structure properly below. No need for assistance now.

DEVICE_MEDIA_INFO STRUCT
union DeviceSpecific
STRUCT DiskInfo
Cylinders LARGE_INTEGER <>
MediaType DWORD ?
TracksPerCylinder DWORD ?
SectorsPerTrack DWORD ?
BytesPerSector DWORD ?
NumberMediaSides DWORD ?
MediaCharacteristics DWORD ?
ENDS
STRUCT RemovableDiskInfo
Cylinders LARGE_INTEGER <>
MediaType DWORD ?
TracksPerCylinder DWORD ?
SectorsPerTrack DWORD ?
BytesPerSector DWORD ?
NumberMediaSides DWORD ?
MediaCharacteristics DWORD ?
ENDS
STRUCT TapeInfo
MediaType DWORD ?
MediaCharacteristics DWORD ?
CurrentBlockSize DWORD ?
BusType DWORD ?
union BusSpecificData
STRUCT ScsiInformation
MediumType BYTE ?
DensityCode BYTE ?
ENDS
ENDS
ENDS
ENDS
DEVICE_MEDIA_INFO ENDS