NDIS_PROCESS_SG_LIST callback function

The NetProcessSGList function (NDIS_PROCESS_SG_LIST_HANDLER entry point) processes a scatter/gather list.

Syntax

NDIS_PROCESS_SG_LIST NdisProcessSgList;

void NdisProcessSgList(
  PDEVICE_OBJECT DeviceObject,
  PVOID Reserved,
  PSCATTER_GATHER_LIST ScatterGatherListBuffer,
  PVOID Context
)
{...}

Parameters

DeviceObject

A pointer to a DEVICE_OBJECT structure.

Reserved

Reserved for NDIS.

ScatterGatherListBuffer

A pointer to a SCATTER_GATHER_LIST structure.

Context

A pointer to a block of driver-allocated context information that contains information about the scatter gather list. The driver provided this context information in the Context member of the NDIS_SCATTER_GATHER_LIST_PARAMETERS structure.

Return Value

None

Remarks

NDIS calls the NetProcessSGList function that is specified at the ProcessSGListHandler member of the NDIS_SCATTER_GATHER_LIST_PARAMETERS structure within the context of the NdisBuildScatterGatherList function.

The driver specified the entry point (NDIS_PROCESS_SG_LIST_HANDLER) for NetProcessSGList in the NDIS_SCATTER_GATHER_LIST_PARAMETERS structure.

Requirements

   
Minimum supported client Supported in NDIS 6.20 and later.
Target Platform Desktop
Header ndis.h (include Ndis.h)
IRQL = DISPATCH_LEVEL

See Also

DEVICE_OBJECT

NDIS_SCATTER_GATHER_LIST_PARAMETERS

NdisBuildScatterGatherList

SCATTER_GATHER_LIST