windows::Win32::System::Hypervisor

Function WHvGetCapability

pub unsafe fn WHvGetCapability(
    capabilitycode: WHV_CAPABILITY_CODE,
    capabilitybuffer: *mut c_void,
    capabilitybuffersizeinbytes: u32,
    writtensizeinbytes: Option<*mut u32>,
) -> Result<()>