* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: surface.c,v 1.45 2004/12/12 01:40:36 weiden Exp $
+/* $Id: surface.c,v 1.47 2004/12/18 17:12:32 royce Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
HBITMAP NewBitmap;
NewBitmap = IntCreateBitmap(Size, Width, Format, Flags, Bits);
+ if ( !NewBitmap )
+ return 0;
+
GDIOBJ_SetOwnership(NewBitmap, NULL);
return NewBitmap;
RECTL *Rect,
ULONG iColor)
{
+ ASSERT(Surface);
+ ASSERT(Rect);
return FillSolid(Surface, Rect, iColor);
}