NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO macro

The NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO macro removes 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_REMOVE_MEDIA_SPECIFIC_INFO(
   PNET_BUFFER_LIST                     _NBL,
   PNDIS_NBL_MEDIA_SPECIFIC_INFORMATION _MediaSpecificInfo
);

Parameters

_NBL

A pointer to a NET_BUFFER_LIST structure.

_MediaSpecificInfo

A pointer to an NDIS_NBL_MEDIA_SPECIFIC_INFORMATION structure that has a Tag member matching the Tag member of the information structure that should be removed.

Return value

None.

Remarks

Any NDIS driver can use NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO to remove an NDIS_NBL_MEDIA_SPECIFIC_INFORMATION structure from a list of media-specific information. To specify the type information to remove, specify an NDIS_NBL_MEDIA_SPECIFIC_INFORMATION structure with a matching Tag member in the _MediaSpecificInfo parameter.

Requirements

Target platform

Universal

Version

Supported in NDIS 6.0 and 6.1. For NDIS 6.20 and later, use NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO_EX.

Header

Ndis.h (include Ndis.h)

See also

NDIS_NBL_MEDIA_SPECIFIC_INFORMATION
NDIS_NBL_REMOVE_MEDIA_SPECIFIC_INFO_EX
NET_BUFFER_LIST

 

 

Send comments about this topic to Microsoft

Show: