3.4.5.2.4.8 IVdsService::QueryFileSystemTypes (Opnum 11)

 The QueryFileSystemTypes method returns property details for all file systems that are known to VDS.

 HRESULT QueryFileSystemTypes(
   [out, size_is(,*plNumberOfFileSystems)] 
     VDS_FILE_SYSTEM_TYPE_PROP** ppFileSystemTypeProps,
   [out] long* plNumberOfFileSystems
 );

ppFileSystemTypeProps: A pointer to an array of VDS_FILE_SYSTEM_TYPE_PROP structures that, if the operation is successfully completed, receives the array of file system type properties.

plNumberOfFileSystems: A pointer to a variable that, if the operation is successfully completed, receives the total number of elements returned in ppFileSystemTypeProps.

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 ppFileSystemTypeProps is not NULL.

  • Verify that plNumberOfFileSystems is not NULL.

The server MUST point ppFileSystemTypeProps to an array of VDS_FILE_SYSTEM_TYPE_PROP structures containing information about each file system that VDS is aware of, point plNumberOfFileSystems to the size of the array, and return an HRESULT indicating failure or success.<72>