STORAGEDEVICEINFO (Windows CE 5.0)
This structure contains information about a storage device.
typedef struct tagSTORAGEDEVICEINFO {DWORD cbSize;TCHAR szProfile[PROFILENAMESIZE];DWORD dwDeviceClass;DWORD dwDeviceType;DWORD dwDeviceFlags;} STORAGEDEVICEINFO, *PSTORAGEDEVICEINFO;
Members
cbSize
Set to sizeof(STORAGEDEVICEINFO).szProfile
Name of the profile.dwDeviceClass
Specifies the device class in the device descriptor.These are the possible values:
- STORAGE_DEVICE_CLASS_BLOCK
- STORAGE_DEVICE_CLASS_MULTIMEDIA
dwDeviceType
Specifies the device type in the device descriptor.These are the possible values:
- STORAGE_DEVICE_TYPE_PCIIDE
- STORAGE_DEVICE_TYPE_FLASH
- STORAGE_DEVICE_TYPE_ATA
- STORAGE_DEVICE_TYPE_ATAPI
- STORAGE_DEVICE_TYPE_PCCARD
- STORAGE_DEVICE_TYPE_CFCARD
- STORAGE_DEVICE_TYPE_SRAM
- STORAGE_DEVICE_TYPE_DVD
- STORAGE_DEVICE_TYPE_CDROM
- STORAGE_DEVICE_TYPE_USB
- STORAGE_DEVICE_TYPE_1394
- STORAGE_DEVICE_TYPE_DOC
- STORAGE_DEVICE_TYPE_UNKNOWN
- STORAGE_DEVICE_TYPE_REMOVABLE_DRIVE
- STORAGE_DEVICE_TYPE_REMOVABLE_MEDIA
dwDeviceFlags
Specifies additional properties of a storage device.These are the possible values:
- STORAGE_DEVICE_FLAG_READWRITE
- STORAGE_DEVICE_FLAG_READONLY
- STORAGE_DEVICE_FLAG_TRANSACTED
- STORAGE_DEVICE_FLAG_MEDIASENSE
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Storemgr.h.
See Also
Send Feedback on this topic to the authors