DECLARE FUNCTION DQBunpackUser (BYVAL PacketID, BYVAL DataSeg, BYVAL DataOff)
PacketID - Packet ID number
DataSeg - Segment of QB array where to hold decoded user-defined data
DataOff - Offset of QB array where to hold decoded user-defined data
An INTEGER value holding the unpacking results: > 0 Operation successful > 1 Datafile not yet opened > 2 Unknown packet ID number > 3 Bad password or unknown data
Decodes an user defined packet data identified by specified packet ID number from currently opened datafile into a QB array. User-defined packets can hold any kind of binary data, limited only by the size, which must be 64K maximum. The array where to place decoded data must be enough big to contain it, otherwise you may crash your machine.
none
See DQBopenDataFile