UcmTcpciPortControllerSetHardwareRequestQueue function (ucmtcpciportcontroller.h)
Assigns a framework queue object to which the UcmTcpciCx dispatches hardware requests for the port controller.
Syntax
void UcmTcpciPortControllerSetHardwareRequestQueue(
UCMTCPCIPORTCONTROLLER PortControllerObject,
WDFQUEUE HardwareRequestQueue
);
Parameters
PortControllerObject
Handle to the port controller object that the client driver received in the previous call to UcmTcpciPortControllerCreate.
HardwareRequestQueue
A handle to the framework queue object to assign.
Return value
None
Remarks
The client driver must call UcmTcpciPortControllerSetHardwareRequestQueue after creating the port controller object. The driver must call this method only once before calling UcmTcpciPortControllerStart.
The parent of the queue object is the port controller object.
A client driver may choose to use the same queue across multiple port controller objects. However, in that case the driver must make sure that the port controller objects do not outlive the queue object. The queue object must be deleted only after all the port controllers have been stopped. UcmTcpciCx guarantees that only one request is processed in the queue at a time per port controller object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | ucmtcpciportcontroller.h |
IRQL | <=DISPATCH_LEVEL |