NetRequestGetVPortId function

Warning

Some information in this topic relates to prereleased product, which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

NetAdapterCx is preview only in Windows 10, version 1903.

Retrieves the VPortId for the NETREQUEST.

Syntax

NDIS_NIC_SWITCH_VPORT_ID NetRequestGetVPortId(
  NETREQUEST Request
);

Parameters

Request

A handle to a network request object.

Return Value

Returns an NDIS_NIC_SWITCH_VPORT_ID value that specifies the identifier associated with the net request object.

Requirements

   
Target Platform Universal
Minimum KMDF version 1.21
Header netrequest.h (include netadaptercx.h)
IRQL <= DISPATCH_LEVEL

See Also

NDIS_NIC_SWITCH_VPORT_PARAMETERS