Editar

Compartilhar via


HcsSetOperationContext

Description

Sets the context pointer on an operation.

Syntax

HRESULT WINAPI
HcsSetOperationContext(
    _In_     HCS_OPERATION operation
    _In_opt_ void*         context
    );


Parameters

operation

The handle to an active operation.

context

Optional pointer to a context that is passed to the callback.

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