Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 1.34 KB

HcsExportLegacyWritableLayer.md

File metadata and controls

67 lines (50 loc) · 1.34 KB
title description author ms.author ms.topic ms.service ms.date api_name api_location api_type topic_type
HcsExportLegacyWritableLayer
HcsExportLegacyWritableLayer
sethmanheim
sethm
reference
virtualization
06/09/2021
HcsExportLegacyWritableLayer
computecore.dll
DllExport
apiref

HcsExportLegacyWritableLayer

Description

This function exports a legacy container writable layer.

Syntax

HRESULT WINAPI
HcsExportLegacyWritableLayer(
    _In_ PCWSTR writableLayerMountPath,
    _In_ PCWSTR writableLayerFolderPath,
    _In_ PCWSTR exportFolderPath,
    _In_ PCWSTR layerData
    );

Parameters

writableLayerMountPath

Path of the writable layer to export.

writableLayerFolderPath

Folder of the writable layer to export.

exportFolderPath

Destination folder for the exported layer.

layerData

JSON document of layerData providing the locations of the antecedent layers that are used by the exported layer.

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 ComputeStorage.h
Library ComputeStorage.lib
Dll ComputeStorage.dll