[ros-kernel] bug found - need help

Filip Navara xnavara at volny.cz
Mon Mar 22 10:29:40 CET 2004


Hi Royce!

Royce Mitchell III wrote:

> It seems to me that pvScan0 *must* be non-NULL before 
> DIB_4BPP_GetPixel could be assigned to a pointer for that DC.

Look at EngCreateBitmap. At least in the case when the bitmap is 
zero-sized, the pvScan0 can become NULL.

> 1) Where/how is DIB_4BPP_GetPixel getting assigned to a pointer?

subsys/win32k/eng/surface.c:150 - InitializeFuncs

> 2) Why are we creating a DIB behind a window's DC?

It's not that we create a DIB behind window DC, the window DCs are 
really screen DCs with different clipping region and origin.

Regards,
Filip



More information about the Ros-kernel mailing list