src/SeeDll/Packet32.c
/*!
  \brief Sets the number of times a single packet written with PacketSendPacket() will be repeated on the network.
  \param AdapterObject Pointer to an _ADAPTER structure.
  \param nwrites Number of copies of a packet that will be physically sent by the interface.
  \return If the function succeeds, the return value is nonzero.

	See PacketSendPacket() for details.
*/
\brief Sets the number of times a single packet written with PacketSendPacket() will be repeated on the network.
\param AdapterObject Pointer to an _ADAPTER structure.
\param nwrites Number of copies of a packet that will be physically sent by the interface.
\return If the function succeeds, the return value is nonzero.

See PacketSendPacket() for details.
\ brief Sets the number of times a single packet written with PacketSendPacket () will be repeated on the network . \ param AdapterObject Pointer to an _ADAPTER structure . \ param nwrites Number of copies of a packet that will be physically sent by the interface . \ return If the function succeeds the return value is nonzero . See PacketSendPacket () for details .
BOOLEAN PacketSetNumWrites(LPADAPTER AdapterObject,int nwrites)
{
	DWORD BytesReturned;
#ifndef _WINNT4
	if(AdapterObject->Flags != INFO_FLAG_NDIS_ADAPTER)
	{
		ODS("PacketSetNumWrites: not allowed on wan adapters\n");
		return FALSE;
	}
#endif 
    return DeviceIoControl(AdapterObject->hFile,pBIOCSWRITEREP,&nwrites,4,NULL,0,&BytesReturned,NULL);
}
BOOLEAN PacketSetNumWrites ( LPADAPTER AdapterObject , int nwrites ) { DWORD BytesReturned ; #ifndef _WINNT4 if ( AdapterObject -> Flags != INFO_FLAG_NDIS_ADAPTER ) { ODS ( " \n " ) ; return FALSE ; } #endif return DeviceIoControl ( AdapterObject -> hFile , pBIOCSWRITEREP , & nwrites , 4 , NULL , 0 , & BytesReturned , NULL ) ; }
\brief Sets the number of times a single packet written with PacketSendPacket() will be repeated on the network.
\ brief Sets the number of times a single packet written with PacketSendPacket () will be repeated on the network .
// _WINNT4
