mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[NtGdi]
- Add function for NtUser. svn path=/trunk/; revision=69819
This commit is contained in:
parent
9022021b6d
commit
a13d6bdc93
2 changed files with 16 additions and 0 deletions
|
@ -179,6 +179,7 @@ int FASTCALL GreSetStretchBltMode(HDC hdc, int iStretchMode);
|
||||||
int FASTCALL GreGetBkMode(HDC);
|
int FASTCALL GreGetBkMode(HDC);
|
||||||
int FASTCALL GreGetMapMode(HDC);
|
int FASTCALL GreGetMapMode(HDC);
|
||||||
COLORREF FASTCALL GreGetTextColor(HDC);
|
COLORREF FASTCALL GreGetTextColor(HDC);
|
||||||
|
COLORREF FASTCALL GreGetBkColor(HDC);
|
||||||
COLORREF FASTCALL IntSetDCBrushColor(HDC,COLORREF);
|
COLORREF FASTCALL IntSetDCBrushColor(HDC,COLORREF);
|
||||||
COLORREF FASTCALL IntSetDCPenColor(HDC,COLORREF);
|
COLORREF FASTCALL IntSetDCPenColor(HDC,COLORREF);
|
||||||
int FASTCALL GreGetGraphicsMode(HDC);
|
int FASTCALL GreGetGraphicsMode(HDC);
|
||||||
|
|
|
@ -46,6 +46,21 @@ GreGetBkMode(HDC hdc)
|
||||||
return lBkMode;
|
return lBkMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
COLORREF FASTCALL
|
||||||
|
GreGetBkColor(HDC hdc)
|
||||||
|
{
|
||||||
|
PDC dc;
|
||||||
|
COLORREF crBk;
|
||||||
|
if (!(dc = DC_LockDc(hdc)))
|
||||||
|
{
|
||||||
|
EngSetLastError(ERROR_INVALID_HANDLE);
|
||||||
|
return CLR_INVALID;
|
||||||
|
}
|
||||||
|
crBk = dc->pdcattr->ulBackgroundClr;
|
||||||
|
DC_UnlockDc(dc);
|
||||||
|
return crBk;
|
||||||
|
}
|
||||||
|
|
||||||
int FASTCALL
|
int FASTCALL
|
||||||
GreGetMapMode(HDC hdc)
|
GreGetMapMode(HDC hdc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue