When I have to resize record, I use DmResizeRecord. It returns handle to
data chunk. Now, is it safe to lock that handle and do DmWrite business
with such pointer the same way I do when I lock handle gotten by
DmGetRecord? What I mean is that DmResizeRecord doesn't set busy bit (at
least I didn't find it in OS sources) like DmGetRecord and im not sure if
the pointer is valid all the time.
If not, would it be safe to remember record uniqueID, resize it, find
index by DmFindRecordByID and then use DmGetRecord and MemHandleLock?
(I'm trying to track nasty bug I mentioned a week ago and still got no
answer.)

Reply via email to