GetPixelsState
returns flags describing state of offscreen pixel map
buffer
GetPixelsState returns the state of the pixel map's offscreen buffer. The state can be a combination of the flags pixelsPurgeable, pixelsLocked and
conjunction with SetPixelsState to save and restore the state of these flags. You can save the flags, change any of them, and then restore their original state
procedure.