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

另请参阅

MSFT_Volume