Stub for SetDCBrushColor.

This commit is contained in:
Steve Lustbader 2002-11-21 03:56:29 +00:00 committed by Alexandre Julliard
parent 1550044e5d
commit 361b9e8763
3 changed files with 17 additions and 0 deletions

View File

@ -347,6 +347,7 @@
@ stdcall SetBrushOrgEx(long long long ptr) SetBrushOrgEx
@ stdcall SetColorAdjustment(long ptr) SetColorAdjustment
@ stdcall SetColorSpace(long long) SetColorSpace
@ stdcall SetDCBrushColor(long long) SetDCBrushColor
@ stdcall SetDIBColorTable(long long long ptr) SetDIBColorTable
@ stdcall SetDIBits(long long long long ptr ptr long) SetDIBits
@ stdcall SetDIBitsToDevice(long long long long long long long long long ptr ptr long) SetDIBitsToDevice

View File

@ -3401,6 +3401,7 @@ BOOL WINAPI SetBrushOrgEx(HDC,INT,INT,LPPOINT);
BOOL WINAPI SetColorAdjustment(HDC,const COLORADJUSTMENT*);
HCOLORSPACE WINAPI SetColorSpace(HDC,HCOLORSPACE);
BOOL WINAPI SetDeviceGammaRamp(HDC,LPVOID);
COLORREF WINAPI SetDCBrushColor(HDC,COLORREF);
UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,RGBQUAD*);
INT WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT);
INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT,

View File

@ -1360,3 +1360,18 @@ DWORD WINAPI SetLayout(HDC hdc, DWORD layout)
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
/***********************************************************************
* SetDCBrushColor (GDI32.@)
*
* Sets the current device context (DC) brush color to the specified
* color value. If the device cannot represent the specified color
* value, the color is set to the nearest physical color.
*
*/
COLORREF WINAPI SetDCBrushColor(HDC hdc, COLORREF crColor)
{
FIXME("(%08x, %08lx): stub\n", hdc, crColor);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return CLR_INVALID;
}