title | description | author | ms.author | ms.topic | ms.service | ms.date | api_name | api_location | api_type | topic_type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HcsCreateEmptyRuntimetStateFile |
HcsCreateEmptyRuntimetStateFile |
sethmanheim |
sethm |
reference |
virtualization |
06/09/2021 |
|
|
|
|
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.
HRESULT WINAPI
HcsCreateEmptyRuntimeStateFile(
_In_ PCWSTR runtimeStateFilePath
);
runtimeStateFilePath
Full path to the runtime-state file to create.
The function returns HRESULT.
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 |