3.4.5.2.29.1 IVdsDiskPartitionMF::GetPartitionFileSystemProperties (Opnum 3)

The GetPartitionFileSystemProperties method returns property details about the file system on a disk partition at a specified byte offset. This method is only supported on OEM, ESP, recovery, and unknown partitions.

 HRESULT GetPartitionFileSystemProperties(
   [in] ULONGLONG ullOffset,
   [out] VDS_FILE_SYSTEM_PROP* pFileSystemProp
 );

ullOffset: The byte offset of the partition from the beginning of the disk. This MUST be the offset at the start of a partition.

pFileSystemProp: A pointer to a VDS_FILE_SYSTEM_PROP structure that, if the operation is successfully completed, receives the properties of the file system on the partition.

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.

Note This method is not valid on CD/DVD or super floppy devices. These devices do not support partition tables.

ERROR_SUCCESS (0x00000000)

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

  • Verify that pFileSystemProp is not NULL.

  • Verify that the partition at offset ullOffset is an OEM, ESP, recovery, or unknown partition.

The server MUST populate the VDS_FILE_SYSTEM_PROP structure that pFileSystemProp references with the properties of the file system on the partition at the byte offset from the beginning of the disk that ullOffset specifies. The server MUST then return an HRESULT indicating failure or success. For more information on the VDS_FILE_SYSTEM_PROP structure, see section 2.2.1.3.17.