HcsDestroyLayer
Description
Deletes a layer from the host.
Syntax
HRESULT WINAPI
HcsDestroyLayer(
_In_ PCWSTR layerPath
);
Parameters
layerPath
Path of the layer to delete.
Return Values
The function returns HRESULT.
Remarks
Be careful when using this API, it deletes directories using high privilege rights. This function deletes a layer from the host.
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 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈