The "colors" parameter of SetDIBColorTable should be CONST.

This commit is contained in:
Robert Shearman 2004-10-18 19:35:50 +00:00 committed by Alexandre Julliard
parent 162171e258
commit b4eee49aa5
2 changed files with 2 additions and 2 deletions

View File

@ -308,7 +308,7 @@ INT WINAPI SetDIBitsToDevice(HDC hdc, INT xDest, INT yDest, DWORD cx,
/***********************************************************************
* SetDIBColorTable (GDI32.@)
*/
UINT WINAPI SetDIBColorTable( HDC hdc, UINT startpos, UINT entries, RGBQUAD *colors )
UINT WINAPI SetDIBColorTable( HDC hdc, UINT startpos, UINT entries, CONST RGBQUAD *colors )
{
DC * dc;
UINT result = 0;

View File

@ -3517,7 +3517,7 @@ HCOLORSPACE WINAPI SetColorSpace(HDC,HCOLORSPACE);
BOOL WINAPI SetDeviceGammaRamp(HDC,LPVOID);
COLORREF WINAPI SetDCBrushColor(HDC,COLORREF);
COLORREF WINAPI SetDCPenColor(HDC, COLORREF);
UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,RGBQUAD*);
UINT WINAPI SetDIBColorTable(HDC,UINT,UINT,CONST RGBQUAD*);
INT WINAPI SetDIBits(HDC,HBITMAP,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT);
INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT,
INT,UINT,UINT,LPCVOID,const BITMAPINFO*,UINT);