NDIS_NBL_GET_MEDIA_SPECIFIC_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

void NDIS_NBL_GET_MEDIA_SPECIFIC_INFO(
  _NBL,
  _Tag,
  _MediaSpecificInfo
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndis_nbl_get_media_specific_info)

NDIS_NBL_GET_MEDIA_SPECIFIC_INFO macro

Description

[!IMPORTANT] This macro is supported in NDIS 6.0 and 6.1. For NDIS 6.20 and later, use NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX.

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

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. This member is reserved for system use.

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 structure.

Remarks

Any NDIS 6.0 or 6.1 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.

See also

NDIS_NBL_GET_MEDIA_SPECIFIC_INFO_EX

NDIS_NBL_MEDIA_SPECIFIC_INFORMATION

NET_BUFFER_LIST