Could not found an answer in net...

Have some strange issues in my code accessing DraDibDraw function from 2 threads simulteneously. I'm using diffrent buffers and different hdc in 2 threads, but sometimes the image (or even part of it) is misplaced.

So like to know whether the DrawDib functions are threadsafe or I should use critical sections for them?