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