EVT_UCX_CONTROLLER_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC callback function

UCX invokes this callback to retrieves the system query performance counter (QPC) value synchronized with the frame and microframe.

Syntax

EVT_UCX_CONTROLLER_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC EvtUcxControllerGetFrameNumberAndQpcForTimeSync;

void EvtUcxControllerGetFrameNumberAndQpcForTimeSync(
  UCXCONTROLLER UcxController,
  WDFREQUEST WdfRequest,
  size_t OutputBufferLength,
  size_t InputBufferLength
)
{...}

Parameters

UcxController

A handle to the UCX controller that the client driver received in a previous call to the UcxControllerCreate method.

WdfRequest

A framework request object that contains the request to get the synchronized frame and microframe number.

OutputBufferLength

The length, in bytes, of the request's output buffer, if an output buffer is available. This value is the size of the USB_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC_INFORMATION structure.

InputBufferLength

The length, in bytes, of the request's input buffer, if an input buffer is available. This value is the size of the USB_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC_INFORMATION structure.

Return Value

This callback function does not return a value.

Requirements

   
Minimum supported client Windows 10, version 1709
Minimum supported server Windows Server 2016
Target Platform Windows
Minimum KMDF version 1.0
Minimum UMDF version 2.0
Header ucxcontroller.h (include Ucxclass.h)
IRQL PASSIVE_LEVEL

See Also

IOCTL_USB_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC