MbbAdapterGetSessionId 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.

MBBCx is preview only in Windows 10, version 1903.

The MbbAdapterGetSessionId method retreives the data session ID represented by the given NETADAPTER object.

Syntax

ULONG MbbAdapterGetSessionId(
  NETADAPTER Adapter
);

Parameters

Adapter

A handle to a NetAdapterCx NETADAPTER object previously created with a call to NetAdapterCreate and initialized with MbbAdapterInitialize.

Return Value

Returns the data session's ID to the network interface represented by the NETADAPTER object.

Remarks

The client driver must call MbbAdapterInitialize first before calling this method.

For more information, see Creating the NetAdapter interface for the PDP context/EPS bearer.

Requirements

   
Minimum supported client Windows 10, version 1809
Target Platform Universal
Minimum KMDF version 1.27
Header mbbcx.h
Library mbbcxstub.lib
IRQL PASSIVE_LEVEL