Duplicating a PDU

The SnmpDuplicatePdu function duplicates a PDU, allocating any necessary memory. To release resources allocated by SnmpDuplicatePdu for a new PDU, a WinSNMP application must call the SnmpFreePdu function.