Skip to content

Latest commit

 

History

History
59 lines (45 loc) · 1.32 KB

HcsGetProcessorCompatibilityFromSavedState.md

File metadata and controls

59 lines (45 loc) · 1.32 KB
title description author ms.author ms.topic ms.service ms.date api_name api_location api_type topic_type
HcsGetProcessorCompatibilityFromSavedState
HcsGetProcessorCompatibilityFromSavedState
sethmanheim
sethm
reference
virtualization
12/21/2021
HcsGetProcessorCompatibilityFromSavedState
computecore.dll
DllExport
apiref

HcsGetProcessorCompatibilityFromSavedState

Description

Returns processor compatibility fields in JSON string format.

Syntax

HRESULT WINAPI
HcsGetProcessorCompatibilityFromSavedState(
    PCWSTR RuntimeFileName,
    _Outptr_opt_ PCWSTR* ProcessorFeaturesString
    );

Parameters

RuntimeFileName

The path to the vmrs file.

ProcessorFeaturesString

JSON document of the processor compatibilities as VmProcessorRequirements.

The caller is responsible for releasing the returned string using LocalFree.

Return Values

The function returns HRESULT.

Requirements

Parameter Description
Minimum supported client Windows 10, version 2104
Minimum supported server Windows Server 2022
Target Platform Windows
Header ComputeCore.h
Library ComputeCore.lib
Dll ComputeCore.dll