Compartir a través de


estructura STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR (ntddstor.h)

Se usa junto con la solicitud IOCTL_STORAGE_QUERY_PROPERTY para describir el tipo de producto de un dispositivo de almacenamiento.

Sintaxis

typedef struct _STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR {
  ULONG Version;
  ULONG Size;
  ULONG MediumProductType;
} STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR, *PSTORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR;

Miembros

Version

Contiene el tamaño de esta estructura, en bytes, tal como se define en Sizeof(STORAGE_MEDIUM_PRODUCT_TYPE_DESCRIPTOR). El valor de este miembro cambiará a medida que se agreguen miembros a la estructura.

Size

Especifica el tamaño total de los datos devueltos, en bytes. Esto puede incluir datos que siguen a esta estructura.

MediumProductType

Especifica el tipo de producto del dispositivo de almacenamiento.

Valor mediumProductType Descripción
00h No indicado
01h CFast
02h Compactflash
03h Memoria stick
04h Multimediacard
05h Tarjeta digital segura (tarjeta SD)
06h QXD
07h Almacenamiento flash universal
08h a EFh Reservado
F0h a FFh Específico del proveedor

Requisitos

Requisito Value
Cliente mínimo compatible Windows 8.1
Servidor mínimo compatible Windows Server 2012 R2
Encabezado ntddstor.h (incluya Ntddstor.h)

Consulte también

IOCTL_STORAGE_QUERY_PROPERTY