Use this function to get access to the packets stored in a CAP file. This function may be called
only after successfull call of the HNFileAdapter.OpenFile function.
If you already read packets from certain file, and need to read the first packet, please use
HNFileAdapter.RewindFile.
Example of reading packets from CAP file using Get_NextPacket function:
// Create HNPacket object
HNPacket1 := HNPacket.Create();
HNPacket1.Handle := HNPacket1.AllocatePacket(1514);
// Open CAP file
Res = HNFileAdapter1.OpenFile("packets.cap");
...
repeat
// Read packet from file
Res = HNFileAdapter1.Get_NextPacket(hPkt);
// Getting access to the HNPacket properties and functions
...
until Res = HNERR_OK;