SendPacketsToMstcpUnsorted

BOOL __stdcall SendPacketsToMstcpUnsorted( HANDLE hOpen, 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 field.

Return Value:
TRUE if call was successful, FALSE otherwise

Parameters:
hOpen
Specifies driver object open handle.

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 is a C-wrapper for CNdisApi::SendPacketsToMstcpUnsorted.