3.2.4.4.3.49 IVolumeClient3::QueryChangePartitionNumbers (Opnum 52)

The QueryChangePartitionNumbers method retrieves information about the partition number change that results when a boot partition is encapsulated.

 HRESULT QueryChangePartitionNumbers(
   [out] int* oldPartitionNumber,
   [out] int* newPartitionNumber
 );

oldPartitionNumber: Pointer to the partition number of the boot volume before the encapsulation operation.

newPartitionNumber: Pointer to the partition number of the boot volume after the encapsulation operation.

Return Values: The method MUST return 0 or a nonerror HRESULT on success, or an implementation-specific nonzero error code on failure (as specified in [MS-ERREF]; see also section 2.2.1 for HRESULT values predefined by the Disk Management Remote Protocol).

When the server receives an IVolumeClient3::QueryChangePartitionNumbers message, it MUST process that message, as specified in IVolumeClient::QueryChangePartitionNumbers (section 3.2.4.4.1.46).