次の方法で共有


NDIS_NBL_GET_MEDIA_SPECIFIC_INFO (Compact 2013)

3/26/2014

This 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

NDIS_NBL_GET_MEDIA_SPECIFIC_INFO(_NBL, _Tag, _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. Reserved for system use.

Return Value

None.

Remarks

Any NDIS driver can use NDIS_NBL_GET_MEDIA_SPECIFIC_INFO 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 structure in the media-specific information list that has a Tag member matching the value specified in the _Tag parameter.

Requirements

Header

ndis.h

See Also

Reference

NET_BUFFER_LIST Structure Macros
NDIS_NBL_MEDIA_SPECIFIC_INFORMATION
NET_BUFFER_LIST