Skip to content

Latest commit

 

History

History
76 lines (62 loc) · 1.89 KB

nf-nblapi-ndisadjustnetbuffercurrentmdl.md

File metadata and controls

76 lines (62 loc) · 1.89 KB
UID title ms.date targetos description tech.root req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:nblapi.NdisAdjustNetBufferCurrentMdl
NdisAdjustNetBufferCurrentMdl
11/30/2020
Windows
The NdisAdjustNetBufferCurrentMdl function updates a NET_BUFFER structure based on the current data offset.
netvista
function
ndis/nblapi.h
ndis.h
Any level (see Remarks section)
Ndis.lib
Supported in NDIS 6.0 and later.
Universal
apiref
LibDef
nblapi.h
NdisAdjustNetBufferCurrentMdl
NdisAdjustNetBufferCurrentMdl
nblapi/NdisAdjustNetBufferCurrentMdl
c++

NdisAdjustNetBufferCurrentMdl function

-description

The NdisAdjustNetBufferCurrentMdl function updates a NET_BUFFER structure based on the current data offset.

-parameters

-param NetBuffer [in]

A pointer to a NET_BUFFER structure.

-remarks

The NdisAdjustNetBufferCurrentMdl function recalculates and sets the CurrentMdl and CurrentMdlOffset members of a NET_BUFFER structure based on the DataOffset member of the NET_BUFFER structure.

Callers of NdisAdjustNetBufferCurrentMdl can run at any IRQL, but typically run at IRQL <= DISPATCH_LEVEL.

-see-also

NET_BUFFER