shell32: Remove some superfluous LPARAM/WPARAM casts.
This commit is contained in:
parent
9c15472a3b
commit
6f36945f2b
|
@ -490,7 +490,7 @@ static void BrsFolder_CheckValidSelection( browse_info *info, LPTV_ITEMDATA lptv
|
||||||
bEnabled = FALSE;
|
bEnabled = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SendMessageW(info->hWnd, BFFM_ENABLEOK, 0, (LPARAM)bEnabled);
|
SendMessageW(info->hWnd, BFFM_ENABLEOK, 0, bEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
static LRESULT BrsFolder_Treeview_Delete( browse_info *info, NMTREEVIEWW *pnmtv )
|
static LRESULT BrsFolder_Treeview_Delete( browse_info *info, NMTREEVIEWW *pnmtv )
|
||||||
|
|
|
@ -387,7 +387,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
|
||||||
ptr->wSignalledEvent |= wEventId;
|
ptr->wSignalledEvent |= wEventId;
|
||||||
|
|
||||||
if (ptr->dwFlags & SHCNRF_NewDelivery)
|
if (ptr->dwFlags & SHCNRF_NewDelivery)
|
||||||
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM) ptr, (LPARAM) GetCurrentProcessId());
|
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM) ptr, GetCurrentProcessId());
|
||||||
else
|
else
|
||||||
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM)Pidls, wEventId);
|
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM)Pidls, wEventId);
|
||||||
|
|
||||||
|
|
|
@ -956,7 +956,7 @@ static INT_PTR CALLBACK AboutDlgProc( HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
{
|
{
|
||||||
/* authors list is in utf-8 format */
|
/* authors list is in utf-8 format */
|
||||||
MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, buffer, sizeof(buffer)/sizeof(WCHAR) );
|
MultiByteToWideChar( CP_UTF8, 0, *pstr, -1, buffer, sizeof(buffer)/sizeof(WCHAR) );
|
||||||
SendMessageW( hWndCtl, LB_ADDSTRING, (WPARAM)-1, (LPARAM)buffer );
|
SendMessageW( hWndCtl, LB_ADDSTRING, -1, (LPARAM)buffer );
|
||||||
pstr++;
|
pstr++;
|
||||||
}
|
}
|
||||||
SendMessageW( hWndCtl, WM_SETREDRAW, 1, 0 );
|
SendMessageW( hWndCtl, WM_SETREDRAW, 1, 0 );
|
||||||
|
|
|
@ -1262,7 +1262,7 @@ static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dw
|
||||||
case 0x31:
|
case 0x31:
|
||||||
case 0x32:
|
case 0x32:
|
||||||
case 0x33:
|
case 0x33:
|
||||||
This->ListViewSortInfo.nHeaderID = (LPARAM) (dwCmdID - 0x30);
|
This->ListViewSortInfo.nHeaderID = dwCmdID - 0x30;
|
||||||
This->ListViewSortInfo.bIsAscending = TRUE;
|
This->ListViewSortInfo.bIsAscending = TRUE;
|
||||||
This->ListViewSortInfo.nLastHeaderID = This->ListViewSortInfo.nHeaderID;
|
This->ListViewSortInfo.nLastHeaderID = This->ListViewSortInfo.nHeaderID;
|
||||||
SendMessageA(This->hWndList, LVM_SORTITEMS, (WPARAM) &This->ListViewSortInfo, (LPARAM)ShellView_ListViewCompareItems);
|
SendMessageA(This->hWndList, LVM_SORTITEMS, (WPARAM) &This->ListViewSortInfo, (LPARAM)ShellView_ListViewCompareItems);
|
||||||
|
|
Loading…
Reference in New Issue