DmaDescription參數中的ProcessSGListHandler成員會在MiniportProcessSGList函式的迷你埠驅動程式中定義進入點。 迷你埠驅動程式呼叫時NdisMAllocateNetBufferSGList, NDIS 會呼叫 HAL,以提供散佈/收集清單給迷你埠驅動程式。 HAL 會在 HAL 完成建置散佈/收集列表之後呼叫MiniportProcessSGList。 NDIS 可以在呼叫 N...
例如,因為完成傳送會在中斷 DPC 的內容中發生,所以迷你埠驅動程式可以釋出 SG 清單,而不需要引發 IRQL。註冊和取消註冊 DMA 通道NDIS 迷你埠驅動程式會從其MiniportInitializeEx函式呼叫NdisMRegisterScatterGatherDma函式,以向 NDIS 註冊 DMA 通道。迷你埠驅動程式會將 DMA 描述傳遞給DmaDescription參數中的NdisM...
MiniportAllocateSharedMemoryComplete是微型端口驱动程序的可选函数。 微型端口驱动程序在驱动程序传递给 的 NDIS_SG_DMA_DESCRIPTION 结构中注册MiniportAllocateSharedMemoryComplete函数NdisMRegisterScatterGatherDma函数。 微型端口驱动程序调用用于分配共享内存的 NdisMAllocateSharedMemoryAsyncEx。 如果NdisMAllocateShare...
NDIS_SWITCH_FORWARDING_DESTINATION_ARRAY構造体へのポインター。 この構造体は、パケットの拡張可能スイッチの宛先ポートを指定します。 戻り値 呼び出しが成功した場合、関数はNDIS_STATUS_SUCCESSを返します。 それ以外の場合は、Ndis.h で定義されているNDIS_STATUS_Xxxエラー コードが返...
Return codeDescription NDIS_STATUS_SUCCESS MiniportInitializeExconfigured and set up the miniport adapter, and allocated all the resources that the driver must have to perform network I/O operations. NDIS_STATUS_NOT_ACCEPTED MiniportInitializeExcould not get the miniport adapter to accept the configurat...
Return codeDescription NDIS_STATUS_SUCCESS The protocol has released or prepared for reuse all the resources that it originally allocated for the VC. NDIS_STATUS_NOT_ACCEPTED The VC is still active and the protocol has outstanding operations pending on the VC so it could not be destroyed. ...
Return codeDescription NDIS_STATUS_SUCCESS Indicates that the call manager successfully changed the parameters of the call with the network to the call parameters specified at CallParameters . NDIS_STATUS_PENDING Indicates that the call manager will complete the request to modify the call parameter...
之后系统HAL自动调用MpProcessSGList去慢慢发包 DmaDescription.ProcessSGListHandler= MpProcessSGList;//DmaDescription.SharedMemAllocateCompleteHandler =MPAllocateComplete; Status=NdisMRegisterScatterGatherDma( Adapter->AdapterHandle,&DmaDescription,&Adapter->NdisMiniportDmaHandle);==3. 其他慢慢补充NdisMIndicateRe...
Return codeDescription NDIS_STATUS_SUCCESS MiniportInitializeExconfigured and set up the miniport adapter, and allocated all the resources that the driver must have to perform network I/O operations. NDIS_STATUS_NOT_ACCEPTED MiniportInitializeExcould not get the miniport adapter to accept the configurat...
Ndkpi.h Netadapter.h Netadaptercxtypes.h Netadapteroffload.h Netadapterpacket.h Netconfiguration.h Netdevice.h Netdma.h Netioddk.h Netpacketqueue.h Netpnp.h Netpoweroffload.h Netpoweroffloadlist.h Netreceivescaling.h Netrxqueue.h Nettxqueue.h ...