Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 1.14 KB

File metadata and controls

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

HcsOpenProcess

Description

Opens an existing process in a compute system.

Syntax

HRESULT WINAPI
HcsOpenProcess(
    _In_ HCS_SYSTEM computeSystem,
    _In_ DWORD processId,
    _In_ DWORD requestedAccess,
    _Out_ HCS_PROCESS* process
    );

Parameters

computeSystem

The handle to the compute system in which to start the process.

processId

Specifies the Id of the process to open.

requestedAccess

Specifies the required access to the compute system.

process

Receives the handle to the process.

Return Values

The function returns HRESULT.

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