Modifier

Partager via


HcsGrantVmGroupAccess

Description

This function adds a group of entries to a files ACL that grants access to the user account used to run the VM.

Syntax

HRESULT WINAPI
HcsGrantVmGroupAccess(
    _In_ PCWSTR filePath
    );

Parameters

filePath

Path to the file for which to update the ACL.

Return Values

The function returns HRESULT.

Requirements

Parameter Description
Minimum supported client Windows 10, version 2004
Minimum supported server Windows Server 2022
Target Platform Windows
Header ComputeCore.h
Library ComputeCore.lib
Dll ComputeCore.dll