HcsSetupBaseOSVolume
Description
This function sets up the base OS layer for the use on a host based on the mounted volume (VHD).
Syntax
HRESULT WINAPI
HcsSetupBaseOSVolume(
_In_ PCWSTR layerPath,
_In_ PCWSTR volumePath,
_In_ PCWSTR options
);
Parameters
layerPath
Path to the root of the base OS layer.
vhdHandle
The handle to a VHD.
options
Optional JSON document of OsLayerOptions describing options for setting up the layer.
Return Values
The function returns HRESULT.
Requirements
Parameter | Description |
---|---|
Minimum supported client | Windows 10, version 2104 |
Minimum supported server | Windows Server 2022 |
Target Platform | Windows |
Header | ComputeStorage.h |
Library | ComputeStorage.lib |
Dll | ComputeStorage.dll |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈