4 * Copyright 1999 Patrik Stridvall
9 #include "debugtools.h"
12 DEFAULT_DEBUG_CHANNEL(ttydrv
)
14 /***********************************************************************
15 * TTYDRV_DC_BRUSH_SelectObject
17 HBRUSH
TTYDRV_DC_BRUSH_SelectObject(DC
*dc
, HBRUSH hbrush
, BRUSHOBJ
*brush
)
19 HBRUSH hPreviousBrush
;
21 TRACE("(%p, 0x%04x, %p)\n", dc
, hbrush
, brush
);
23 hPreviousBrush
= dc
->w
.hBrush
;
24 dc
->w
.hBrush
= hbrush
;
26 return hPreviousBrush
;