Nikolay Sivov : gdiplus: GdipBitmapLockBits should allow a NULL rect argument.