BOOL __stdcall SendPacketsToMstcp ( HANDLE hOpen, PETH_M_REQUEST pPacket );
TRUE if call was successful,
Specifies driver object open handle.
Pointer to the user allocated and initialized ETH_M_REQUEST structure.
The following fields of ETH_M_REQUEST must be initialized:
ETH_M_REQUEST.hAdapterHandlemust be set to the interface handle (obtained via call to GetTcpipBoundAdaptersInfo) from which you would like to simulate receive.
ETH_M_REQUEST.dwPacketsNumbermust be set to the number of initialized
ETH_M_REQUEST.EthPacket.Buffermust point to the user allocated and initialized
The following fields of the INTERMEDIATE_BUFFER should be initialized:
INTERMEDIATE_BUFFER.m_IBuffershould contain Ethernet packet
INTERMEDIATE_BUFFER.m_Lengthshould be initialized to the actual length of the packet
This member is a wrapper for CNdisApi::SendPacketsToMstcp