配置虚拟存储设备上使用的特定于文件系统的行为。
语法
typedef enum _VIRTUAL_STORAGE_BEHAVIOR_CODE {
VirtualStorageBehaviorUndefined,
VirtualStorageBehaviorCacheWriteThrough,
VirtualStorageBehaviorCacheWriteBack,
VirtualStorageBehaviorStopIoProcessing,
VirtualStorageBehaviorRestartIoProcessing
} VIRTUAL_STORAGE_BEHAVIOR_CODE, *PVIRTUAL_STORAGE_BEHAVIOR_CODE;
常数
VirtualStorageBehaviorUndefined虚拟存储设备的行为未定义。 |
VirtualStorageBehaviorCacheWriteThrough在虚拟存储设备上使用 Write-Through 缓存。 |
VirtualStorageBehaviorCacheWriteBack在虚拟存储设备上使用 Write-Back 缓存。 |
VirtualStorageBehaviorStopIoProcessing停止虚拟存储设备上的 I/O 处理。 |
VirtualStorageBehaviorRestartIoProcessing在虚拟存储设备上启动 I/O 处理。 |
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 10 (版本 1803) |
| 标头 | ntifs.h |