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, 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 |
|
|
|
|
|
A filter driver calls the NdisFSetAttributes function to specify a filter module context area.
The NDIS handle that identifies this filter module. NDIS passed the handle to the filter driver in a call to the FilterAttach function.
The caller-allocated context area for this filter module.
A pointer to a filter driver allocated NDIS_FILTER_ATTRIBUTES structure.
NdisFSetAttributes returns one of the following status values:
Return code | Description |
---|---|
|
NdisFSetAttributes returns NDIS_STATUS_SUCCESS if it set the filter driver attributes. |
|
NdisFSetAttributes failed because of insufficient resources. |
|
NdisFSetAttributes returns NDIS_STATUS_FAILURE if none of the preceding values applies. |
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.