Syntax

Parameters

BindAdapterContext [in]Specifies the BindContext handle passed in to ProtocolBindAdapter.

Status [in]Specifies the final status of the completed bind operation.

OpenStatus [in]Specifies the status returned by the preceding call to NdisOpenAdapter for this binding attempt.

Return value

None

Remarks

When a protocol returns NDIS_STATUS_PENDING from its ProtocolBindAdapter function, that driver must eventually call NdisCompleteBindAdapter when the binding operation is completed.

If the binding operation was successful, the protocol is ready to accept receive indications from underlying drivers and to send transmit, query, and set requests down to the underlying driver(s). If NdisCompleteBindAdapter is called with an input error Status, the binding attempt failed and the protocol has released any resources it allocated to establish the binding.

In either case, the protocol calls NdisCompleteBindAdapter to notify the NDIS library of the completion of the binding operation that this driver initiated when its ProtocolBindAdapter function called NdisOpenAdapter.