4 * Copyright 1993 Alexandre Julliard
14 #include "debugtools.h"
16 DEFAULT_DEBUG_CHANNEL(gdi);
19 /***********************************************************************
20 * WIN16DRV_SelectObject
22 HGDIOBJ WIN16DRV_SelectObject( DC *dc, HGDIOBJ handle )
24 TRACE("hdc=%04x %04x\n", dc->hSelf, handle );
26 switch(GetObjectType( handle ))
28 case OBJ_PEN: return WIN16DRV_PEN_SelectObject( dc, handle );
29 case OBJ_BRUSH: return WIN16DRV_BRUSH_SelectObject( dc, handle );
30 case OBJ_FONT: return WIN16DRV_FONT_SelectObject( dc, handle );
31 case OBJ_REGION: return (HGDIOBJ)SelectClipRgn( dc->hSelf, handle );
33 FIXME("BITMAP not implemented\n");