This command changes the memory size
of the specified packet. Unlike mnSetMemorySize, the content of the
packet is not lost.
This command cannot be used to decrease
the memory size of a packet below its used size. If the specified memory
size is smaller than the used size of the packet, then the new memory
size will be equal to the used size of the packet.
To decrease the memory size below the used size, use mnSetMemorySize. Alternatively you could decrease the used size using mnErase or mnSetUsedSize before reducing the memory size.
Long long int Packet: This is the packet that the command should use.
Unsigned int Size: This is the new memory size.
0 if no error occurred
-1 if an error occurred
DBP
C++
.Net