SendPacketsToMstcpUnsorted

BOOL CNdisApi::SendPacketsToMstcpUnsorted ( PINTERMEDIATE_BUFFER* Packets, DWORD dwPacketsNum, PDWORD pdwPacketsSuccess );

Forwards the bulk of network packets up to MSTCP as these packets were received from the 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_MSTCP_UNSORTEDcontrol code (see details below).

IOCTL_NDISRD_SEND_PACKET_TO_MSTCP_UNSORTED

Input BufferUNSORTED_READ_SEND_REQUEST
Input Buffer Sizesizeof(UNSORTED_READ_SEND_REQUEST)
Output BufferUNSORTED_READ_SEND_REQUEST
Output Buffer Sizesizeof UNSORTED_READ_SEND_REQUEST)