3.2.4.4.3.8 IVolumeClient3::MarkActivePartition (Opnum 10)

The MarkActivePartition method marks a specified partition as the active partition of the disk.

 HRESULT MarkActivePartition(
   [in] LdmObjectId regionId,
   [in] hyper regionLastKnownState,
   [out] TASK_INFO* tinfo
 );

regionId: Specifies the OID of the partition to activate.

regionLastKnownState: Partition's last known modification sequence number.

tinfo: Pointer to a TASK_INFO structure that the client can use to track the request's progress.

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::MarkActivePartition message, it MUST process that message, as specified in IVolumeClient::MarkActivePartition (section 3.2.4.4.1.8).