Поделиться через


NET_BUFFER_DATA_OFFSET (Compact 2013)

3/26/2014

This is a macro that NDIS drivers use to get the current offset from the beginning of the data space to the start of the used data space in a NET_BUFFER structure.

Syntax

NET_BUFFER_DATA_OFFSET(_NB)

Parameters

  • _NB
    A pointer to a NET_BUFFER structure.

Return Value

NET_BUFFER_DATA_OFFSET returns the offset, in bytes, from the beginning of the data space to the start of the used data space of the indicated NET_BUFFER structure. This value also represents the size of the unused data space (available backfill).

Remarks

NET_BUFFER_DATA_OFFSET gets the return value from the DataOffset member of the NET_BUFFER structure.

Requirements

Header

ndis.h

See Also

Reference

NET_BUFFER Structure Macros
NET_BUFFER