3.2.4.4.3.3 IVolumeClient3::CreatePartition (Opnum 5)

The CreatePartition method creates a partition.

 HRESULT CreatePartition(
   [in] REGION_SPEC partitionSpec,
   [out] TASK_INFO* tinfo
 );

partitionSpec: A REGION_SPEC structure that defines the partition type and length to create.

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::CreatePartition message, it MUST process that message, as specified in 3.2.4.4.1.3.<190>