At 3:04 PM -0600 2000/08/14, Jason Simpkins wrote:
>Reading the documentation about SerialSetReceiveBuffer it is explained that
>the serial manager "..
>does not free custom queues..". What exactly does this mean? If I reset
>the queue to a larger size that
>this memory never gets released?
If you mean the API call SrmSetReceiveBuffer (or its deprecated version
SerSetReceiveBuffer)... this means that the address of any replacement memory buffer
you pass in as a parameter will not be automatically freed when the port is closed.
The OS does not know if the buffer was allocated using MemPtrNew, or was allocated as
part of a larger structure, etc.
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/