3.4.5.2.40.2 IVdsVDisk::GetProperties (Opnum 4)

The GetProperties method returns details of the virtual disk.

 HRESULT GetProperties(
   [out] PVDS_VDISK_PROPERTIES pDiskProperties
 );

pDiskProperties: Receives a pointer to a VDS_VDISK_PROPERTIES (section 2.2.2.19.2.1) structure containing the disk property information.

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

The server MUST perform the following:

  • Fill all the fields of VDS_VDISK_PROPERTIES.

  • Return an HRESULT indicating failure or success.