There is an error in the 3.5 SDK EvtAddEventToQueue documentation (pp.
681-682 in the PDF).  It lists a second parameter named "error" for this
function, even though there is no error value either returned or passed.

Also, the documentation should be clear about who owns the memory passed to
this function.  From looking at examples, it seems that EvtAddEventToQueue
copies the event passed to its own private memory, meaning it is save to
pass the address of a local variable, but this isn't stated anywhere.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to