HcsRevokeVmAccess
Description
This function removes the entry in the ACL of a file that granted access to the file for the user account used to run the VM.
Syntax
HRESULT WINAPI
HcsRevokeVmAccess(
_In_ PCWSTR vmId,
_In_ PCWSTR filePath
);
Parameters
vmId
Unique Id of the VM's compute system.
filePath
Path to teh file for which to update the ACL.
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 | ComputeCore.h |
Library | ComputeCore.lib |
Dll | ComputeCore.dll |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for