mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
[USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility. svn path=/trunk/; revision=46917
This commit is contained in:
parent
78db5f0d71
commit
f272498345
|
@ -170,7 +170,7 @@ UserRealizePalette ( HDC hDC )
|
||||||
static HPEN SysColorPens[COLOR_MENUBAR + 1];
|
static HPEN SysColorPens[COLOR_MENUBAR + 1];
|
||||||
static HBRUSH SysColorBrushes[COLOR_MENUBAR + 1];
|
static HBRUSH SysColorBrushes[COLOR_MENUBAR + 1];
|
||||||
|
|
||||||
DWORD
|
DWORD_PTR
|
||||||
WINAPI
|
WINAPI
|
||||||
SetSysColorsTemp(const COLORREF *pPens,
|
SetSysColorsTemp(const COLORREF *pPens,
|
||||||
const HBRUSH *pBrushes,
|
const HBRUSH *pBrushes,
|
||||||
|
@ -193,7 +193,7 @@ SetSysColorsTemp(const COLORREF *pPens,
|
||||||
SysColorBrushes[i] = pBrushes[i];
|
SysColorBrushes[i] = pBrushes[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
return (DWORD) pOldCol; /* FIXME: pointer truncation */
|
return (DWORD_PTR) pOldCol;
|
||||||
}
|
}
|
||||||
if (!pPens && !pBrushes) /* "restore" call */
|
if (!pPens && !pBrushes) /* "restore" call */
|
||||||
{
|
{
|
||||||
|
|
|
@ -4442,7 +4442,7 @@ int WINAPI SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL);
|
||||||
int WINAPI SetScrollPos(HWND,int,int,BOOL);
|
int WINAPI SetScrollPos(HWND,int,int,BOOL);
|
||||||
BOOL WINAPI SetScrollRange(HWND,int,int,int,BOOL);
|
BOOL WINAPI SetScrollRange(HWND,int,int,int,BOOL);
|
||||||
BOOL WINAPI SetSysColors(int,const INT *,const COLORREF *);
|
BOOL WINAPI SetSysColors(int,const INT *,const COLORREF *);
|
||||||
DWORD WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD);
|
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD);
|
||||||
#define SetSysModalWindow(h) (NULL)
|
#define SetSysModalWindow(h) (NULL)
|
||||||
BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
|
BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
|
||||||
BOOL WINAPI SetSystemMenu(HWND,HMENU);
|
BOOL WINAPI SetSystemMenu(HWND,HMENU);
|
||||||
|
|
Loading…
Reference in a new issue