DEVICE_DATA_MANAGEMENT_SET_ACTION
The following constant values are the set of possible values for the DEVICE_DATA_MANAGEMENT_SET_ACTION type, which is defined as type DWORD.
-
DeviceDsmAction_None
-
-
0
-
No action is performed.
-
-
DeviceDsmAction_Trim
-
-
1
-
A trim action is performed.
-
-
DeviceDsmAction_Notification
-
-
2 | DeviceDsmActionFlag_NonDestructive (0x80000002)
-
A notification action is performed. The parameters are in a DEVICE_DSM_NOTIFICATION_PARAMETERS structure. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
-
-
DeviceDsmAction_OffloadRead
-
-
3 | DeviceDsmActionFlag_NonDestructive (0x80000003)
-
An offload read action is performed. The parameters are in a DEVICE_DSM_OFFLOAD_READ_PARAMETERS structure. The output is in a STORAGE_OFFLOAD_READ_OUTPUT structure. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
-
DeviceDsmAction_OffloadWrite
-
-
4
-
An offload write action is performed. The parameters are in a DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS structure. The output is in a STORAGE_OFFLOAD_WRITE_OUTPUT structure.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
-
DeviceDsmAction_Allocation
-
-
5 | DeviceDsmActionFlag_NonDestructive (0x80000005)
-
An allocation bitmap is returned for the first data set range passed in. The output is in a DEVICE_DATA_SET_LB_PROVISIONING_STATE structure. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
-
DeviceDsmAction_Repair
-
-
6 | DeviceDsmActionFlag_NonDestructive (0x80000006)
-
A repair action is performed. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
-
DeviceDsmAction_Scrub
-
-
7 | DeviceDsmActionFlag_NonDestructive (0x80000007)
-
A scrub action is performed. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
-
DeviceDsmAction_Resiliency
-
-
8 | DeviceDsmActionFlag_NonDestructive (0x80000008)
-
A resiliency action is performed. The DeviceDsmActionFlag_NonDestructive (0x80000000) is a bit flag to indicate to the driver stack that this operation is non-destructive.
Windows 7 and Windows Server 2008 R2: This value is not supported before Windows 8 and Windows Server 2012.
-
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 |
Minimum supported server |
Windows Server 2008 R2 |
Header |
|