NET_BUFFER_CURRENT_MDL (Compact 7)
3/12/2014
This is a macro that NDIS drivers use to get the CurrentMdl member of a NET_BUFFER_DATA structure in a NET_BUFFER structure.
Syntax
NET_BUFFER_CURRENT_MDL(_NB)
Parameters
- _NB
A pointer to a NET_BUFFER structure.
Return Value
NET_BUFFER_CURRENT_MDL returns the value of the CurrentMdl member of the indicated NET_BUFFER structure.
Remarks
The return value is a pointer to the first MDL that the current driver is using. This pointer provides an optimization that improves performance by skipping over any MDLs that the current driver is not using.
Requirements
Header |
ndis.h |