Freigeben über


NdisAdjustNetBufferCurrentMdl (Compact 2013)

3/26/2014

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

Syntax

VOID
  NdisAdjustNetBufferCurrentMdl (
    IN PNET_BUFFER  NetBuffer
    );

Parameters

  • NetBuffer
    A pointer to a NET_BUFFER structure.

Return Value

None

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.

Requirements

Header

ndis.h

See Also

Reference

NDIS NET_BUFFER Functions
NET_BUFFER