MSFT_Volume 類別的 GetSupportedClusterSizes 方法
擷取磁碟區支援的叢集大小。
語法
UInt32 GetSupportedClusterSizes(
[in] String FileSystem,
[out] UInt32 SupportedClusterSizes[],
[out] String ExtendedStatus
);
參數
FileSystem [in]
磁碟區的文件系統。 下列其中之一:
- “ExFAT”
- “FAT”
- “FAT32”
- “NTFS”
- “ReFS”
SupportedClusterSizes [out]
值的陣列,指定磁碟區支援的叢集大小。
ExtendedStatus [out]
包含內嵌 MSFT_StorageExtendedStatus 物件的字串。
此參數可讓儲存提供者傳回擴充 (實作特定) 錯誤資訊。
傳回值
成功 (0)
不支援 (1)
未指定的錯誤 (2)
逾 時 (3)
失敗 (4)
無效的參數 (5)
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 8 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2012 [僅限傳統型應用程式] |
命名空間 | Root\Microsoft\Windows\Storage |
MOF | Storagewmi.mof |