Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 |