So I *think* it's safe to call DmWrite were the source and destination 
overlap, but I thought I'd ask anyway. I think it's safe because my code 
seems to work and because I figure DmWrite gets a semaphore, toggles the 
memory protection bit and then call MemMove. MemMove is documented as safe 
which I assumemeans that it checks for the direction of the overlap and 
copies top to bottom or bottom to top depending.

Does anyone know for sure? Would be nice if this was documented somewhere! 
(didn't see it in 3.5 docs or O'Reily book). Would save us developers some 
time.

Thanks,

LL


-- 
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