HcsWaitForComputeSystemExit
Description
Waits for a compute system to exit.
Syntax
HRESULT WINAPI
HcsWaitForComputeSystemExit(
_In_ HCS_SYSTEM computeSystem,
_In_ DWORD timeoutMs,
_Outptr_opt_ PWSTR* result
);
Parameters
computeSystem
The handle to the compute system to exit.
timeoutMs
Time to wait in milliseconds for the compute system to exit.
result
JSON document of SystemExitStatus.
The caller is responsible for releasing the returned string using LocalFree
.
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 | ComputeCore.h |
Library | ComputeCore.lib |
Dll | ComputeCore.dll |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈