DEVICE_DATA_MANAGEMENT_SET_ACTION

下列常數值是 DEVICE_DATA_MANAGEMENT_SET_ACTION 類型的可能值集合,定義為 DWORD類型。

DeviceDsmAction_None

0

不會執行任何動作。

DeviceDsmAction_Trim

1

會執行修剪動作。

DeviceDsmAction_Notification

2 | DeviceDsmActionFlag_NonDestructive (0x80000002)

系統會執行通知動作。 參數位於 DEVICE_DSM_NOTIFICATION_PARAMETERS 結構中。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

DeviceDsmAction_OffloadRead

3 | DeviceDsmActionFlag_NonDestructive (0x80000003)

執行卸載讀取動作。 參數位於 DEVICE_DSM_OFFLOAD_READ_PARAMETERS 結構中。 輸出位於 STORAGE_OFFLOAD_READ_OUTPUT 結構中。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

DeviceDsmAction_OffloadWrite

4

執行卸載寫入動作。 參數位於 DEVICE_DSM_OFFLOAD_WRITE_PARAMETERS 結構中。 輸出位於 STORAGE_OFFLOAD_WRITE_OUTPUT 結構中。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

DeviceDsmAction_Allocation

5 | DeviceDsmActionFlag_NonDestructive (0x80000005)

系統會針對傳入的第一個資料集範圍傳回配置點陣圖。 輸出位於 DEVICE_DATA_SET_LB_PROVISIONING_STATE 結構中。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

DeviceDsmAction_Repair

6 | DeviceDsmActionFlag_NonDestructive (0x80000006)

會執行修復動作。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

DeviceDsmAction_Scrub

7 | DeviceDsmActionFlag_NonDestructive (0x80000007)

執行清除動作。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

DeviceDsmAction_Resiliency

8 | DeviceDsmActionFlag_NonDestructive (0x80000008)

會執行復原動作。 DeviceDsmActionFlag_NonDestructive (0x80000000) 是一個位旗標,可向驅動程式堆疊指出此作業非破壞性。

Windows 7 和 Windows Server 2008 R2:在 Windows 8 和 Windows Server 2012 之前,不支援此值。

規格需求

需求
最低支援的用戶端
Windows 7
最低支援的伺服器
Windows Server 2008 R2
標頭
WinIoCtl.h (包括 Windows.h)