BOOL CNdisApi::SendPacketsToAdaptersUnsorted ( PINTERMEDIATE_BUFFER* Packets, DWORD dwPacketsNum, PDWORD pdwPacketsSuccess );
Forwards the bulk of network packets to corresponding network interfaces. Adapter handle (and thus the target network adapter) for each packet should be specified by INTERMEDIATE_BUFFER::m_hAdapter
.
Return Value:TRUE
if call was successful, FALSE
otherwise
Parameters:Packets
Pointer to the user allocated array of INTERMEDIATE_BUFFER
pointers.
dwPacketsNum
Number of packets in the array above.
pdwPacketsSuccess
Returns number of packets successfully sent to the driver.
Available starting version 3.2.20. Fast I/O is supported for Windows Vista and later. WOW64 mode is not supported.
Remarks:
This member calls the driver with IOCTL_NDISRD_SEND_PACKET_TO_ADAPTER_UNSORTED
control code (see details below).
IOCTL_NDISRD_SEND_PACKET_TO_ADAPTER_UNSORTED
Input Buffer | UNSORTED_READ_SEND_REQUEST |
Input Buffer Size | sizeof (UNSORTED_READ_SEND_REQUEST) |
Output Buffer | UNSORTED_READ_SEND_REQUEST |
Output Buffer Size | sizeof (UNSORTED_READ_SEND_REQUEST) |