ReactOS  0.4.13-dev-66-gc714b7f
cardregion.cpp File Reference
#include "cardlib.h"
Include dependency graph for cardregion.cpp:

Go to the source code of this file.

Functions

HBITMAP CreateSinkBmp (HDC hdcCompat, HDC hdc, int width, int height)
 
void PaintRect (HDC hdc, RECT *rect, COLORREF colour)
 

Function Documentation

◆ CreateSinkBmp()

HBITMAP CreateSinkBmp ( HDC  hdcCompat,
HDC  hdc,
int  width,
int  height 
)

◆ PaintRect()

void PaintRect ( HDC  hdc,
RECT rect,
COLORREF  colour 
)

Definition at line 116 of file cardlib.cpp.

117 {
118  COLORREF oldcr = SetBkColor(hdc, colour);
119  ExtTextOut(hdc, 0, 0, ETO_OPAQUE, rect, TEXT(""), 0, 0);
120  SetBkColor(hdc, oldcr);
121 }
& rect
Definition: startmenu.cpp:1413
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
Definition: dc.c:975
#define ETO_OPAQUE
Definition: wingdi.h:646
DWORD COLORREF
Definition: windef.h:285
#define ExtTextOut
Definition: wingdi.h:4432
HDC hdc
Definition: main.c:9
#define TEXT(s)
Definition: k32.h:26