Bewerken

Delen via


MbbAdapterGetSessionId function (mbbcx.h)

The MbbAdapterGetSessionId method retrieves 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

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