Skip to content

Latest commit

 

History

History
52 lines (41 loc) · 1.19 KB

HcsCreateEmptyRuntimeStateFile.md

File metadata and controls

52 lines (41 loc) · 1.19 KB
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
HcsCreateEmptyRuntimetStateFile
computecore.dll
DllExport
apiref

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