Skip to content

Latest commit

 

History

History
133 lines (105 loc) · 3.69 KB

nf-ndis-ndisfrestartfilter.md

File metadata and controls

133 lines (105 loc) · 3.69 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:ndis.NdisFRestartFilter
NdisFRestartFilter function (ndis.h)
A filter driver calls the NdisFRestartFilter function to request NDIS to initiate a restart operation for a filter module.
netvista\ndisfrestartfilter.htm
netvista
05/02/2018
NdisFRestartFilter function
NdisFRestartFilter, NdisFRestartFilter function [Network Drivers Starting with Windows Vista], filter_ndis_functions_ref_c95250d0-3081-40cc-a39f-0d5c1ce51925.xml, ndis/NdisFRestartFilter, netvista.ndisfrestartfilter
ndis.h
Ndis.h
Desktop
Supported in NDIS 6.0 and later.
Irql_Filter_Driver_Function
Ndis.lib
<= DISPATCH_LEVEL
Windows
NdisFRestartFilter
ndis/NdisFRestartFilter
APIRef
kbSyntax
LibDef
ndis.lib
ndis.dll
NdisFRestartFilter

NdisFRestartFilter function

-description

A filter driver calls the NdisFRestartFilter function to request NDIS to initiate a restart operation for a filter module.

-parameters

-param NdisFilterHandle [in]

The NDIS handle that identifies this filter module. NDIS passed the handle to the filter driver in a call to the FilterAttach function.

-returns

NdisFRestartFilter returns one of the following status values:

Return code Description
NDIS_STATUS_SUCCESS

NdisFRestartFilter returns NDIS_STATUS_SUCCESS if it started the restart operation.

NDIS_STATUS_RESOURCES

NdisFRestartFilter failed because of insufficient resources.

NDIS_STATUS_FAILURE

NdisFRestartFilter returns NDIS_STATUS_FAILURE if none of the preceding values applies.

-remarks

The filter driver can change the filter module attributes at run time by calling the NdisFRestartFilter function. NdisFRestartFilter schedules a pause and then a restart operation for the specified filter module.

Before NDIS restarts the filter module, it calls the FilterSetModuleOptions function for the filter module. From its FilterSetModuleOptions function, the filter driver can change the data handlers for that filter module by calling the NdisSetOptionalHandlers function and specifying a new set of handlers.

-see-also

FilterAttach

FilterSetModuleOptions

NdisSetOptionalHandlers