title | description | author | ms.author | ms.topic | ms.service | ms.date | api_name | api_location | api_type | topic_type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HcsWaitForProcessExit |
HcsWaitForProcessExit |
sethmanheim |
sethm |
reference |
virtualization |
12/21/2021 |
|
|
|
|
Waits for a process in a compute system to exit.
HRESULT WINAPI
HcsWaitForProcessExit(
_In_ HCS_PROCESS process,
_In_ DWORD timeoutMs,
_Outptr_opt_ PWSTR* result
);
process
The handle to the process to exit.
timeoutMs
Time to wait in milliseconds for the process to exit.
result
JSON document of ProcessStatus.
The caller is responsible for releasing the returned string using LocalFree
.
The function returns HRESULT.
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 |