https://github.com/reactos/reactos/blob/master/win32ss/gdi/ntgdi/bitmaps.c

SetBitmapBits関数にバグがあるかも、と疑っている。間違いを発見したら、ご報告願う。