HcsSetOperationCallback
Description
Sets a callback that is invoked on completion of an operation.
Syntax
HRESULT WINAPI
HcsSetOperationCallback(
_In_ HCS_OPERATION operation,
_In_opt_ const void* context,
_In_ HCS_OPERATION_COMPLETION callback
);
Parameters
operation
The handle to an active operation.
context
Optional pointer to a context that is passed to the callback.
callback
The target HCS_OPERATION_COMPLETION
callback that is invoked on completion of an operation.
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 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈