XTaskQueueMonitorCallback
A callback that is invoked by the task queue whenever a task is submitted for execution.Syntax
Parameters
context _In_opt_Type: void* A context pointer that was passed to XTaskQueueRegisterMonitor. queue _In_
Type: XTaskQueueHandle The task queue to which the task was submitted. port _In_
Type: XTaskQueuePort The port to which the task was submitted.
Return value
Type: void None.Remarks
XTaskQueueMonitorCallback represents a callback intended for use with the XTaskQueueRegisterMonitor function. If an XTaskQueueMonitorCallback callback is registered with a task queue, this callback is invoked whenever a task is submitted to a task queue by either XTaskQueueSubmitCallback or XTaskQueueSubmitDelayedCallback. For more information about implementing an XTaskQueueMonitorCallback callback, see How to: Using events to control manual queue dispatching.
Requirements
Header: XTaskQueue.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Asynchronous Programming ModelAsync Task Queue Design
XTaskQueue Library Overview
XTaskQueue members
