3.4.5.2.35.2 IVdsVolumeMF2::QueryFileSystemFormatSupport (Opnum 4)

The QueryFileSystemFormatSupport method retrieves the properties of the file systems that are supported for formatting a volume.

 HRESULT QueryFileSystemFormatSupport(
   [out, size_is(,*plNumberOfFileSystems)] 
     VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP** ppFileSystemSupportProps,
   [out] long* plNumberOfFileSystems
 );

ppFileSystemSupportProps: A pointer to an array of VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP structures which, if the operation completes successfully, receives an array of properties of each supported file-system.

plNumberOfFileSystems: A pointer to a variable which, if the operation completes successfully, receives the total number of elements returned in ppFileSystemSupportProps.

Return Values: The method MUST return zero or a non-error HRESULT (as specified in [MS-ERREF]) to indicate success, or return an implementation-specific nonzero error code to indicate failure. For the HRESULT values predefined by the Virtual Disk Service Remote Protocol, see section 2.2.3.

When the server receives this message, it MUST validate the following parameters:

  • Verify that ppFileSystemSupportProps is not NULL.

  • Verify that plNumberOfFileSystems is not NULL.

The server MUST point ppFileSystemSupportProps to an array of VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP structures that contains information about each file system that is supported for formatting the volume, point plNumberOfFileSystems to the size of the array, and return an HRESULT indicating failure or success.