Hi, X11DRV_DIB_[GS]etImageBits should return 0 on failure because that's what SetDIBits specifies. I was looking into bug 14536, and I noticed even though X11DRV_DIB_SetImageBits cried "out of memory", it return a value > 0 and everything continued as though no error occurred.