NdisCompleteUnbindAdapter (Windows CE 5.0)

Send Feedback

This function completes an unbinding operation for which the caller's ProtocolBindAdapter function previously returned NDIS_STATUS_PENDING.

VOID NdisCompleteUnbindAdapter(NDIS_HANDLEUnbindAdapterContext,NDIS_STATUSStatus);

Parameters

  • UnbindAdapterContext
    [in] Specifies the ProtocolBindingContext handle passed in to ProtocolUnbindAdapter.
  • Status
    [in] Specifies the Status of the completed unbind operation, always NDIS_STATUS_SUCCESS.

Return Values

None.

Remarks

When a protocol returns NDIS_STATUS_PENDING from its ProtocolUnbindAdapter function, that driver must eventually call NdisCompleteUnbindAdapter when the unbinding operation is completed.

When NdisCompleteUnbindAdapter is called, the protocol has finished cleaning up any state the driver maintains about the binding and released any resources it allocated to establish the binding. This call notifies the NDIS library of the completion of the unbinding operation that this driver initiated when it called NdisOpenAdapter from ProtocolBindAdapter.

On return from NdisCompleteUnbindAdapter the UnbindAdapterContext handle should be considered invalid. That is, the protocol should not pass this handle in calls to any NdisXXX function.

Requirements

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

See Also

NdisCompleteBindAdapter | NdisIMInitializeDeviceInstance | NdisOpenAdapter | NdisRequest | ProtocolBindAdapter | ProtocolUnbindAdapter

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.