Packet Sniffer SDK DLL Edition

HNPacket :: Methods :: PktCopyPacketToPacket

 Previous Next

Copies arbitrary packet to the current one.

Syntax:

DWORD __stdcall PktCopyPacketToPacket(HANDLE hDstPkt, HANDLE hSrcPkt);

Parameters:

hDstPkt

[in] Destination HNPacket object handle.

hSrcPkt

[in] Source HNPacket object handle.

Return values:

If the function succeeds, the return value is equal to the size of the data copied.

Description:

Use this function to copy data and other parameters from an arbitrary HNPacket object to the current one.

See also:HNPacket