NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX macro

The NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX macro gets a media-specific information data structure from a linked list of such structures that are associated with a NET_BUFFER_LIST structure.

Syntax


VOID NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX(
  PNET_BUFFER_LIST _NBL,
  ULONG _Tag,
  PNDIS_NBL_MEDIA_SPECIFIC_INFORMATION _MediaSpecificInfo
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

_Tag

A unique pre-assigned value that identifies the type of the media-specific information.

New tags can be assigned in future system releases for new media types that require additional OOB data specific to a particular media type.

_MediaSpecificInfo

A pointer to an NDIS_NBL_MEDIA_SPECIFIC_INFORMATION_EX structure.

Return value

None

Remarks

Any NDIS 6.20 or later driver can use NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX to get media-specific information from a NET_BUFFER_LIST structure. When this macro returns, the _MediaSpecificInfo parameter contains a pointer to the first NDIS_NBL_MEDIA_SPECIFIC_INFORMATION_EX structure in the media-specific information list that has a Tag member matching the value specified in the _Tag parameter.

Requirements

Version

Supported in NDIS 6.20 and later.

Header

Ndis.h (include Ndis.h)

See also

NDIS_NBL_GET_MEDIA_SPECIFIC_INFO
NDIS_NBL_MEDIA_SPECIFIC_INFORMATION_EX
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft