A simple example of using Windows Hypervisor Platform (WHP)
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
https://developer.microsoft.com/windows/downloads/windows-10-sdk/
Open WHP-simple.sln
with Visual Studio (2019) and press F5 to run.
Type make
to build and ./main
to run.