WHvCreatePartition
Syntax
typedef VOID* WHV_PARTITION_HANDLE;
HRESULT
WINAPI
WHvCreatePartition(
_Out_ WHV_PARTITION_HANDLE* Partition
);
Parameters
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 WHvDeletePartition
function.
Remarks
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 configured, the WHvSetupPartition
function should be called to create the hypervisor partition.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for