mirror of
https://github.com/reactos/reactos.git
synced 2025-05-23 19:14:48 +00:00
[USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility, part 2/2. svn path=/trunk/; revision=46918
This commit is contained in:
parent
f272498345
commit
e5a3966fdd
2 changed files with 3 additions and 3 deletions
|
@ -174,7 +174,7 @@ DWORD_PTR
|
|||
WINAPI
|
||||
SetSysColorsTemp(const COLORREF *pPens,
|
||||
const HBRUSH *pBrushes,
|
||||
DWORD n)
|
||||
DWORD_PTR n)
|
||||
{
|
||||
DWORD i;
|
||||
|
||||
|
@ -183,7 +183,7 @@ SetSysColorsTemp(const COLORREF *pPens,
|
|||
/* allocate our structure to remember old colors */
|
||||
LPVOID pOldCol = HeapAlloc(GetProcessHeap(), 0, sizeof(DWORD)+n*sizeof(HPEN)+n*sizeof(HBRUSH));
|
||||
LPVOID p = pOldCol;
|
||||
*(DWORD *)p = n; p = (char*)p + sizeof(DWORD);
|
||||
*(DWORD_PTR *)p = n; p = (char*)p + sizeof(DWORD);
|
||||
memcpy(p, SysColorPens, n*sizeof(HPEN)); p = (char*)p + n*sizeof(HPEN);
|
||||
memcpy(p, SysColorBrushes, n*sizeof(HBRUSH)); p = (char*)p + n*sizeof(HBRUSH);
|
||||
|
||||
|
|
|
@ -4442,7 +4442,7 @@ int WINAPI SetScrollInfo(HWND,int,LPCSCROLLINFO,BOOL);
|
|||
int WINAPI SetScrollPos(HWND,int,int,BOOL);
|
||||
BOOL WINAPI SetScrollRange(HWND,int,int,int,BOOL);
|
||||
BOOL WINAPI SetSysColors(int,const INT *,const COLORREF *);
|
||||
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD);
|
||||
DWORD_PTR WINAPI SetSysColorsTemp(const COLORREF *, const HBRUSH *, DWORD_PTR);
|
||||
#define SetSysModalWindow(h) (NULL)
|
||||
BOOL WINAPI SetSystemCursor(HCURSOR,DWORD);
|
||||
BOOL WINAPI SetSystemMenu(HWND,HMENU);
|
||||
|
|
Loading…
Reference in a new issue