NdisMSetInformationComplete

This function returns the final status of a completed set-information request for which the driver previously returned NDIS_STATUS_PENDING.

At a Glance

Header file: Ndis.h
Windows CE versions: 2.0 and later

Syntax

VOID NdisMSetInformationComplete(
IN NDIS_HANDLE
MiniportAdapterHandle,
IN NDIS_STATUS
Status );

Parameters

MiniportAdapterHandle
Handle originally input to the MiniportInitialize function.
Status
Specifies the final status of the immediately preceding request input to MiniportSetInformation.

Remarks

A miniport calls this function after it has carried out the operation originally requested of its MiniportSetInformation function. This call releases the miniport’s ownership of all buffer addresses that were passed to MiniportSetInformation.

This function causes NDIS to return the original request to the ProtocolRequestComplete function of the driver, if any, that initiated the set-information operation when it called NdisRequest. The NDIS library can also call MiniportSetInformation directly with NDIS-initiated set-information requests, particularly during initialization just after MiniportQueryInformation returns control.

All calls to a driver’s MiniportSetInformation function are both synchronous and serialized. That is, NDIS never submits another such request until the miniport has completed the preceding request.

A driver that calls this function runs at IRQL DISPATCH_LEVEL.

See Also

NdisRequest