title | description | author | ms.author | ms.topic | ms.service | ms.date | api_name | api_location | api_type | topic_type | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
HcsSetProcessCallback |
HcsSetProcessCallback |
sethmanheim |
sethm |
reference |
virtualization |
06/09/2021 |
|
|
|
|
Registers a callback function to receive notifications for a process in a compute system.
HRESULT WINAPI
HcsSetProcessCallback(
_In_ HCS_PROCESS process,
_In_ HCS_EVENT_OPTIONS callbackOptions,
_In_ void* context,
_In_ HCS_EVENT_CALLBACK callback
);
process
The handle to the process for that the callback is registered.
callbackOptions
The option for callback, using HCS_EVENT_OPTIONS.
context
Optional pointer to a context that is passed to the callback.
callback
Callback function that is invoked for events on the process.
The function returns HRESULT.
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 |