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

The NetRequestGetAdapter method retrieves the NETADAPTER object associated with a NETREQUEST.

Warning

This method is reserved for system use. Do not call this method from your code.

Syntax

NETADAPTER NetRequestGetAdapter(
  NETREQUEST Request
);

Parameters

Request

The NETREQUEST object.

Return Value

Returns the NETADAPTER object associated with this NETREQUEST.

Remarks

The minimum version for NetRequestGetAdapter is 1.2.

Requirements

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