HcsFormatWritableLayerVhd

Description

This function creates and formats a partition that is intended to be used as a writable layer for a container.

Syntax

HRESULT WINAPI
HcsFormatWritableLayerVhd(
    _In_ HANDLE vhdHandle
    );

Parameters

vhdHandle

The handle to an unmounted virtual hard disk.

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