NdisMPauseComplete

NdisMPauseComplete function

A miniport driver must call the NdisMPauseComplete function to complete a pause operation if the driver returned NDIS_STATUS_PENDING from its MiniportPause function.

Syntax


VOID NdisMPauseComplete(
  _In_ NDIS_HANDLE MiniportAdapterHandle
);

Parameters

MiniportAdapterHandle [in]

The miniport adapter handle that NDIS passed to the MiniportAdapterHandle parameter of MiniportInitializeEx.

Return value

None

Remarks

NDIS calls a miniport driver's MiniportPause function to initiate a pause request for a miniport adapter. The miniport adapter remains in the Pausing state until the pause operation is complete.

After a miniport driver completes all outstanding send requests and NDIS returns all the network data structures in outstanding receive indications to the driver, the driver calls NdisMPauseComplete to complete the pending pause request. After the driver calls NdisMPauseComplete, the miniport adapter is in the Paused state.

NDIS calls the MiniportRestart function to initiate a restart request for a miniport adapter that is paused.

Requirements

Target platform

Universal

Version

Supported in NDIS 6.0 and later.

Header

Ndis.h (include Ndis.h)

Library

Ndis.lib

IRQL

<= DISPATCH_LEVEL

DDI compliance rules

Irql_Miniport_Driver_Function

See also

MiniportInitializeEx
MiniportPause
MiniportRestart

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft