mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[MAIN]
Use UlongToPtr instead of casting. svn path=/trunk/; revision=44608
This commit is contained in:
parent
068b10820f
commit
50a510c96d
1 changed files with 3 additions and 3 deletions
|
@ -384,7 +384,7 @@ ButtonProc(IN HWND hwndDlg,
|
|||
//SetDoubleClickTime(pButtonData->g_DoubleClickSpeed);
|
||||
|
||||
#if (WINVER >= 0x0500)
|
||||
SystemParametersInfo(SPI_SETMOUSECLICKLOCK, 0, (PVOID)pButtonData->g_ClickLockEnabled, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
SystemParametersInfo(SPI_SETMOUSECLICKLOCK, 0, UlongToPtr(pButtonData->g_ClickLockEnabled), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
if (pButtonData->g_ClickLockEnabled)
|
||||
SystemParametersInfo(SPI_SETMOUSECLICKLOCKTIME, pButtonData->g_ClickLockTime, NULL, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
#endif
|
||||
|
@ -1258,7 +1258,7 @@ PointerProc(IN HWND hwndDlg,
|
|||
//#if (WINVER >= 0x0500)
|
||||
if (pPointerData->bOrigCursorShadow != pPointerData->bCursorShadow)
|
||||
{
|
||||
SystemParametersInfo(SPI_SETCURSORSHADOW, 0, (PVOID)pPointerData->bCursorShadow, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
SystemParametersInfo(SPI_SETCURSORSHADOW, 0, UlongToPtr(pPointerData->bCursorShadow), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
pPointerData->bOrigCursorShadow = pPointerData->bCursorShadow;
|
||||
}
|
||||
//#endif
|
||||
|
@ -1267,7 +1267,7 @@ PointerProc(IN HWND hwndDlg,
|
|||
else if (lppsn->hdr.code == PSN_RESET)
|
||||
{
|
||||
//#if (WINVER >= 0x0500)
|
||||
SystemParametersInfo(SPI_SETCURSORSHADOW, 0, (PVOID)pPointerData->bOrigCursorShadow, SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
SystemParametersInfo(SPI_SETCURSORSHADOW, 0, UlongToPtr(pPointerData->bOrigCursorShadow), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
//#endif
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue