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 |
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de