Bewerken

Delen via


NDIS_PROCESS_SG_LIST callback function (ndis.h)

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

Syntax

NDIS_PROCESS_SG_LIST NdisProcessSgList;

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

Parameters

[in] DeviceObject

A pointer to a DEVICE_OBJECT structure.

[in] Reserved

Reserved for NDIS.

[in] ScatterGatherListBuffer

A pointer to a SCATTER_GATHER_LIST structure.

[in] 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

Requirement Value
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