MINIPORT_WDI_TAL_TXRX_ADD_PORT callback function

The MiniportWdiTalTxRxAddPort handler function notifies the datapath components of the creation of a new virtual port. It is invoked after the completion of the OID_WDI_TASK_CREATE_PORT command and specifies the PortID designated by the target for the port.

It also specifies the default operation mode for the port.

This is a WDI miniport handler inside NDIS_MINIPORT_WDI_DATA_HANDLERS.

Note  You must declare the function by using the MINIPORT_WDI_TAL_TXRX_ADD_PORT type. For more information, see the following Examples section.
 

Syntax

MINIPORT_WDI_TAL_TXRX_ADD_PORT MiniportWdiTalTxrxAddPort;

void MiniportWdiTalTxrxAddPort(
  TAL_TXRX_HANDLE MiniportTalTxRxContext,
  WDI_PORT_ID PortId,
  WDI_OPERATION_MODE OpMode
)
{...}

Parameters

MiniportTalTxRxContext

TAL device handle returned by the IHV miniport in MiniportWdiTalTxRxInitialize.

PortId

Port ID designated by the target for the port.

OpMode

Default operation mode for the port.

Return Value

This callback function does not return a value.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header dot11wdi.h

See Also

NDIS_MINIPORT_WDI_DATA_HANDLERS

OID_WDI_TASK_CREATE_PORT

TAL_TXRX_HANDLE

WDI general datapath interfaces

WDI_OPERATION_MODE

WDI_PORT_ID