NET_BUFFER_FIRST_MDL macro (ndis/nblaccessors.h)
NET_BUFFER_FIRST_MDL is a macro that NDIS drivers use to get the first MDL in a NET_BUFFER structure.
Syntax
#define NET_BUFFER_FIRST_MDL(_NB) ((_NB)->MdlChain)
Parameters
_NB
A pointer to a NET_BUFFER structure.
Return value
NET_BUFFER_FIRST_MDL returns a pointer to the first MDL in a linked list of MDLs that is associated with the indicated NET_BUFFER structure.
Remarks
NET_BUFFER_FIRST_MDL gets the return value from the MdlChain member of the NET_BUFFER structure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Supported in NDIS 6.0 and later. |
Target Platform | Universal |
Header | ndis/nblaccessors.h (include ndis.h) |