NdisFDeregisterFilterDriver function (ndis.h)

A filter drivers calls the NdisFDeregisterFilterDriver function to release resources that it previously allocated with the NdisFRegisterFilterDriver function.

Syntax

void NdisFDeregisterFilterDriver(
  [in] NDIS_HANDLE NdisFilterDriverHandle
);

Parameters

[in] NdisFilterDriverHandle

The filter driver handle that identifies this filter driver. NDIS returned the handle to the filter driver in a call to NdisFRegisterFilterDriver.

Return value

None

Remarks

A filter driver must call NdisFDeregisterFilterDriver from its FilterDriverUnload routine.

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 PASSIVE_LEVEL
DDI compliance rules Irql_Filter_Driver_Function(ndis), NdisFDeregisterFilterDriver(ndis)

See also

FilterDriverUnload

NdisFRegisterFilterDriver