typedef VOID* WHV_PARTITION_HANDLE; HRESULT WINAPI WHvCreatePartition( _Out_ WHV_PARTITION_HANDLE* Partition );
Receives the partition handle to the newly created partition object. All operations on the partition are performed through this handle.
To delete a partition created by
WHvCreatePartition, use the
WHvCreatePartition function creates a new partition object.
WHvCreatePartition only creates the partition object and does not yet create the actual partition in the hypervisor. After creation of the partition object, the partition object should be configured using
WHvSetPartitionProperty. After the partition object is confgiured, the
WHvSetupPartition function should be called to create the hypervisor partition.