Hi all,

Can anybody tell me a scenario where one *needs* to Allocate and lock a memory block/area before working with that memory block ? I often see code that allocates/block memory via the GlobalAllock & GlobalLock APIs before assigning data to variables. I am confused and would appreciate if anybody could shed some light on this.