Bewerken

Delen via


NdisMIndicateStatusEx function (ndis.h)

The NdisMIndicateStatusEx function reports a change in the status of a miniport adapter.

Syntax

void NdisMIndicateStatusEx(
  [in] NDIS_HANDLE             MiniportAdapterHandle,
  [in] PNDIS_STATUS_INDICATION StatusIndication
);

Parameters

[in] MiniportAdapterHandle

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

[in] StatusIndication

A pointer to an NDIS_STATUS_INDICATION structure that contains the status information.

Return value

None

Remarks

When a miniport driver calls NdisMIndicateStatusEx, NDIS calls each bound protocol driver's ProtocolStatusEx function. This allows a bound protocol driver to log the change in status of an underlying miniport adapter or to take action.

A miniport driver can call NdisMIndicateStatusEx after setting its registration attributes even if the driver is still in the context of the MiniportInitializeEx function. The driver must not call NdisMIndicateStatusEx after it returns from the MiniportHaltEx function.

Requirements

Requirement Value
Minimum supported client Supported in NDIS 6.0 and later.
Target Platform Universal
Header ndis.h (include Ndis.h)
Library Ndis.lib
IRQL <= DISPATCH_LEVEL
DDI compliance rules Irql_StatusIndication_Function(ndis), NdisMIndicateStatusEx(ndis), WlanAssociation, WlanConnectionRoaming, WlanDisassociation, WlanTimedAssociation, WlanTimedConnectionRoaming, WlanTimedConnectRequest, WlanTimedLinkQuality, WlanTimedScan

See also

MiniportHaltEx

MiniportInitializeEx

NDIS_STATUS_INDICATION

ProtocolStatusEx