Skip to content

Latest commit

 

History

History
140 lines (110 loc) · 3.61 KB

nf-ndis-ndisfsetattributes.md

File metadata and controls

140 lines (110 loc) · 3.61 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.NdisFSetAttributes
NdisFSetAttributes function (ndis.h)
A filter driver calls the NdisFSetAttributes function to specify a filter module context area.
netvista\ndisfsetattributes.htm
netvista
05/02/2018
NdisFSetAttributes function
NdisFSetAttributes, NdisFSetAttributes function [Network Drivers Starting with Windows Vista], filter_ndis_functions_ref_67ad6b8c-e7ae-45d7-9213-48e8a2b6c2ff.xml, ndis/NdisFSetAttributes, netvista.ndisfsetattributes
ndis.h
Ndis.h
Desktop
Supported in NDIS 6.0 and later.
Irql_Filter_Driver_Function
Ndis.lib
PASSIVE_LEVEL
Windows
NdisFSetAttributes
ndis/NdisFSetAttributes
APIRef
kbSyntax
LibDef
ndis.lib
ndis.dll
NdisFSetAttributes

NdisFSetAttributes function

-description

A filter driver calls the NdisFSetAttributes function to specify a filter module context area.

-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.

-param FilterModuleContext [in]

The caller-allocated context area for this filter module.

-param FilterAttributes [in]

A pointer to a filter driver allocated NDIS_FILTER_ATTRIBUTES structure.

-returns

NdisFSetAttributes returns one of the following status values:

Return code Description
NDIS_STATUS_SUCCESS
NdisFSetAttributes returns NDIS_STATUS_SUCCESS if it set the filter driver attributes.
NDIS_STATUS_RESOURCES
NdisFSetAttributes failed because of insufficient resources.
NDIS_STATUS_FAILURE
NdisFSetAttributes returns NDIS_STATUS_FAILURE if none of the preceding values applies.

-remarks

A filter driver calls NdisFSetAttributes from its FilterAttach function and passes the handle that NDIS passed to FilterAttach at the NdisFilterHandle parameter. The FilterModuleContext parameter of NdisFSetAttributes specifies the context area for this filter module. NDIS passes the context area back to the filter driver in calls to functions such as FilterSendNetBufferLists.

-see-also

FilterAttach

FilterSendNetBufferLists

NDIS_FILTER_ATTRIBUTES