다음을 통해 공유


NdisCompleteBindAdapter (Windows CE 5.0)

Send Feedback

This function completes a binding operation for which the caller's ProtocolBindAdapter function previously returned NDIS_STATUS_PENDING.

VOID NdisCompleteBindAdapter(NDIS_HANDLEBindAdapterContext,NDIS_STATUSStatus,NDIS_STATUSOpenStatus);

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 Values

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 drivers. 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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

NdisIMInitializeDeviceInstance | NdisOpenAdapter | NdisRequest | ProtocolBindAdapter

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.