DXGKCB_MIRACAST_SEND_MESSAGE_CALLBACK callback function

Called in kernel mode when the message that was sent to the user-mode driver with a call to the DxgkCbMiracastSendMessage function has completed or has been canceled.

Syntax

DXGKCB_MIRACAST_SEND_MESSAGE_CALLBACK DxgkcbMiracastSendMessageCallback;

void DxgkcbMiracastSendMessageCallback(
  PVOID CallbackContext,
  PIO_STATUS_BLOCK pIoStatusBlock
)
{...}

Parameters

CallbackContext

A pointer to the driver-supplied callback context. The operating system passes this context to the driver-supplied callback routine after the operation has completed.

pIoStatusBlock

A pointer to a driver-supplied buffer to hold the returned IO_STATUS_BLOCK structure for the completed or canceled user-mode message. This structure holds the status of the I/O call and the number of bytes that the user-mode driver wrote to the output buffer.

Return Value

This callback function does not return a value.

Remarks

This function can be called simultaneously from multiple execution threads.

The operating system guarantees that this function follows the zero level synchronization mode as defined in Threading and Synchronization Zero Level.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Desktop
Header dispmprt.h (include Dispmprt.h)
IRQL PASSIVE_LEVEL

See Also

DXGK_MIRACAST_DISPLAY_CALLBACKS

DxgkCbMiracastSendMessageCallback

DxgkDdiMiracastCreateContext