// ntddndis.h
typedef enum _NDIS_HYPERVISOR_PARTITION_TYPE {
NdisHypervisorPartitionTypeUnknown,
NdisHypervisorPartitionTypeMsHvParent,
NdisHypervisorPartitionMsHvChild,
NdisHypervisorPartitionTypeMax
} NDIS_HYPERVISOR_PARTITION_TYPE, *PNDIS_HYPERVISOR_PARTITION_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
Important
Starting with Windows 10 Version 1703, NDIS_HYPERVISOR_PARTITION_TYPE is deprecated and should not be used. Drivers are encouraged to move away from it, as it may not be available in future versions of the operating system.
Drivers should instead follow a hypervisor's instructions to query hypervisor presence and capabilities. For example, Hyper-V's instructions are documented in the Top-Level Functional Specification.
The NDIS_HYPERVISOR_PARTITION_TYPE enumeration identifies the current partition type that is running on the hypervisor.
NdisHypervisorPartitionTypeUnknownThe partition type that is running on the hypervisor is not known.
Note This enumeration value is used to identify a partition type for a third-party hypervisor.
NdisHypervisorPartitionTypeMsHvParentThe parent partition (also known as the root partition) is running on the Microsoft hypervisor.
NdisHypervisorPartitionMsHvChildThe child partition is running on the Microsoft hypervisor.
NdisHypervisorPartitionTypeMaxThe maximum value for this enumeration. This value might change in future versions of the NDIS header files and binaries.
For more information about Hyper-V parent and child partitions, see Virtualized Networking Concepts and Terms.