Bewerken

Delen via


NetAdapterStop function (netadapter.h)

The NetAdapterStop function stops a NETADAPTER object.

Syntax

void NetAdapterStop(
  [_In_] NETADAPTER Adapter
);

Parameters

[_In_] Adapter

The NETADAPTER object created by a prior call to NetAdapterCreate.

Return value

None

Remarks

If the NETADAPTER object is already stopped, this function does nothing.

The system will bugcheck if supplied an invalid handle, such as if the NETADAPTER object has not been initialized and created yet.

Requirements

Requirement Value
Target Platform Universal
Minimum KMDF version 1.25
Minimum UMDF version 2.33
Header netadapter.h (include netadaptercx.h)
IRQL PASSIVE_LEVEL

See also

NetAdapterCreate

NetAdapterStart