共用方式為


NdisCompleteUnbindAdapterEx (Compact 2013)

3/26/2014

A protocol driver calls this function to complete an unbind operation for which the driver's ProtocolUnbindAdapterEx function returned NDIS_STATUS_PENDING.

Syntax

VOID
  NdisCompleteUnbindAdapterEx(
    IN NDIS_HANDLE  UnbindContext
    );

Parameters

  • UnbindContext
    The handle that NDIS passed to the UnbindContext parameter of the ProtocolUnbindAdapterEx function.

Return Value

None

Remarks

When a protocol driver returns NDIS_STATUS_PENDING from its ProtocolUnbindAdapterEx function, that driver must call NdisCompleteUnbindAdapterEx after the unbind operation is complete.

When the driver calls NdisCompleteUnbindAdapterEx, the driver has finished cleaning up any per-binding context information that the driver maintains for the binding, and released any resources that it allocated to establish the binding.

On return from NdisCompleteUnbindAdapterEx the UnbindContext handle is invalid. That is, the protocol driver should not pass this handle in calls to any NdisXxx function.

Requirements

Header

ndis.h

See Also

Reference

NDIS Functions for Protocol Drivers
NdisOpenAdapterEx
ProtocolBindAdapterEx
ProtocolUnbindAdapterEx