HcsCreateEmptyRuntimetStateFile
Description
This function creates an empty runtime-state file (.vmrs) for a VM. This file is used to save a running VM. It is specified in the options document of the HcsSaveComputeSystem
function. See sample code.
Syntax
HRESULT WINAPI
HcsCreateEmptyRuntimeStateFile(
_In_ PCWSTR runtimeStateFilePath
);
Parameters
runtimeStateFilePath
Full path to the runtime-state file to create.
Return Values
The function returns HRESULT.
Requirements
Parameter | Description |
---|---|
Minimum supported client | Windows 10, version 1809 |
Minimum supported server | Windows Server 2019 |
Target Platform | Windows |
Header | ComputeCore.h |
Library | ComputeCore.lib |
Dll | ComputeCore.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for