Removed DeleteObject call left over from previous patch.

This commit is contained in:
Gerard Patel 2000-01-15 22:11:21 +00:00 committed by Alexandre Julliard
parent 775a0332d6
commit 82f37be914
1 changed files with 38 additions and 2 deletions

View File

@ -614,7 +614,6 @@ HDC16 WINAPI CreateCompatibleDC16( HDC16 hdc )
HDC WINAPI CreateCompatibleDC( HDC hdc )
{
DC *dc, *origDC;
HBITMAP hbitmap;
const DC_FUNCTIONS *funcs;
if ((origDC = (DC *)GDI_GetObjPtr( hdc, DC_MAGIC ))) funcs = origDC->funcs;
@ -640,7 +639,6 @@ HDC WINAPI CreateCompatibleDC( HDC hdc )
!dc->funcs->pCreateDC( dc, NULL, NULL, NULL, NULL ))
{
WARN("creation aborted by device\n");
DeleteObject( hbitmap );
GDI_HEAP_FREE( dc->hSelf );
return 0;
}
@ -1287,6 +1285,44 @@ HCOLORSPACE WINAPI GetColorSpace(HDC hdc)
return 0;
}
/***********************************************************************
* CreateColorSpaceA (GDI32.???)
*/
HCOLORSPACE WINAPI CreateColorSpaceA( LPLOGCOLORSPACEA lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* CreateColorSpaceW (GDI32.???)
*/
HCOLORSPACE WINAPI CreateColorSpaceW( LPLOGCOLORSPACEW lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* DeleteColorSpace (GDI32.???)
*/
BOOL WINAPI DeleteColorSpace( HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return True;
}
/***********************************************************************
* SetColorSpace (GDI32.???)
*/
HCOLORSPACE WINAPI SetColorSpace( HDC hDC, HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return hColorSpace;
}
/***********************************************************************
* GetBoundsRect16 (GDI.194)
*/