title | description | author | ms.author | ms.topic | ms.service | ms.date | api_name | api_location | api_type | topic_type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HcsDestroyLayer |
HcsDestroyLayer |
sethmanheim |
sethm |
reference |
virtualization |
06/09/2021 |
|
|
|
|
Deletes a layer from the host.
HRESULT WINAPI
HcsDestroyLayer(
_In_ PCWSTR layerPath
);
layerPath
Path of the layer to delete.
The function returns HRESULT.
Be careful when using this API, it deletes directories using high privilege rights. This function deletes a layer from the host.
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 |