Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 1.77 KB

File metadata and controls

69 lines (50 loc) · 1.77 KB
title description author ms.author ms.topic ms.service ms.date api_name api_location api_type topic_type
HcsGetProcessInfo
HcsGetProcessInfo
sethmanheim
sethm
reference
virtualization
06/09/2021
HcsGetProcessInfo
computecore.dll
DllExport
apiref

HcsGetProcessInfo

Description

Returns the initial startup information of a process in a compute system.

Syntax

HRESULT WINAPI
HcsGetProcessInfo(
    _In_ HCS_PROCESS process,
    _In_ HCS_OPERATION operation
    );

Parameters

process

The handle to the process to query.

operation

The handle to the operation that tracks the process.

Return Values

The function returns HRESULT.

If the return value is S_OK, it means the operation started successfully. Callers are expected to get the operation's result using HcsWaitForOperationResultAndProcessInfo or HcsGetOperationResultAndProcessInfo.

Operation Results

The return value of HcsWaitForOperationResultAndProcessInfo or HcsGetOperationResultAndProcessInfo based on current operation listed as below.

Operation Result Value Description
S_OK The process information queried successfully, the process information is stored as HCS_PROCESS_INFORMATION in processInformation

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