DEVICE_TRIM_DESCRIPTOR structure
Used in conjunction with the IOCTL_STORAGE_QUERY_PROPERTY request to retrieve the trim descriptor data for a device.
Syntax
typedef struct _DEVICE_TRIM_DESCRIPTOR { DWORD Version; DWORD Size; BOOLEAN TrimEnabled; } DEVICE_TRIM_DESCRIPTOR, *PDEVICE_TRIM_DESCRIPTOR;
Members
- Version
-
Contains the size of this structure, in bytes. The value of this member will change as members are added to the structure.
- Size
-
Specifies the total size of the data returned, in bytes. This may include data that follows this structure.
- TrimEnabled
-
Specifies whether trim is enabled for the device.
Requirements
|
Minimum supported client | Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 4/16/2013