NdisCompleteUnbindAdapterEx function (ndis.h)
A protocol driver calls the NdisCompleteUnbindAdapterEx 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
[in] 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 completed.
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
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Target Platform | Desktop |
Header | ndis.h (include Ndis.h) |
Library | Ndis.lib |
IRQL | <= DISPATCH_LEVEL |
DDI compliance rules | Irql_Protocol_Driver_Function(ndis) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for