mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 08:39:05 +00:00
fix build for w3seek and his gcc 4.1 crew ;)
svn path=/trunk/; revision=22160
This commit is contained in:
parent
f5276cb1a9
commit
2c1f99e2c2
|
@ -122,7 +122,7 @@ DeleteDialogProc(HWND hDlg,
|
|||
{
|
||||
case IDOK:
|
||||
if (DoDeleteService(Info, hDlg))
|
||||
ListView_DeleteItem(Info->hListView,
|
||||
(void)ListView_DeleteItem(Info->hListView,
|
||||
Info->SelectedItem);
|
||||
|
||||
DestroyIcon(hIcon);
|
||||
|
|
|
@ -277,7 +277,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
ListView_SetExtendedListViewStyle(Info->hListView,
|
||||
(void)ListView_SetExtendedListViewStyle(Info->hListView,
|
||||
LVS_EX_FULLROWSELECT | LVS_EX_HEADERDRAGDROP);/*LVS_EX_GRIDLINES |*/
|
||||
|
||||
lvc.mask = LVCF_TEXT | LVCF_SUBITEM | LVCF_WIDTH | LVCF_FMT;
|
||||
|
@ -293,7 +293,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
szTemp,
|
||||
sizeof(szTemp) / sizeof(TCHAR));
|
||||
lvc.pszText = szTemp;
|
||||
ListView_InsertColumn(Info->hListView,
|
||||
(void)ListView_InsertColumn(Info->hListView,
|
||||
0,
|
||||
&lvc);
|
||||
|
||||
|
@ -305,7 +305,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
szTemp,
|
||||
sizeof(szTemp) / sizeof(TCHAR));
|
||||
lvc.pszText = szTemp;
|
||||
ListView_InsertColumn(Info->hListView,
|
||||
(void)ListView_InsertColumn(Info->hListView,
|
||||
1,
|
||||
&lvc);
|
||||
|
||||
|
@ -317,7 +317,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
szTemp,
|
||||
sizeof(szTemp) / sizeof(TCHAR));
|
||||
lvc.pszText = szTemp;
|
||||
ListView_InsertColumn(Info->hListView,
|
||||
(void)ListView_InsertColumn(Info->hListView,
|
||||
2,
|
||||
&lvc);
|
||||
|
||||
|
@ -329,7 +329,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
szTemp,
|
||||
sizeof(szTemp) / sizeof(TCHAR));
|
||||
lvc.pszText = szTemp;
|
||||
ListView_InsertColumn(Info->hListView,
|
||||
(void)ListView_InsertColumn(Info->hListView,
|
||||
3,
|
||||
&lvc);
|
||||
|
||||
|
@ -341,7 +341,7 @@ CreateListView(PMAIN_WND_INFO Info)
|
|||
szTemp,
|
||||
sizeof(szTemp) / sizeof(TCHAR));
|
||||
lvc.pszText = szTemp;
|
||||
ListView_InsertColumn(Info->hListView,
|
||||
(void)ListView_InsertColumn(Info->hListView,
|
||||
4,
|
||||
&lvc);
|
||||
|
||||
|
@ -660,7 +660,7 @@ MainWndProc(HWND hwnd,
|
|||
{
|
||||
LPNMLISTVIEW pnmv = (LPNMLISTVIEW) lParam;
|
||||
|
||||
ListView_SortItems(Info->hListView,
|
||||
(void)ListView_SortItems(Info->hListView,
|
||||
CompareFunc,
|
||||
pnmv->iSubItem);
|
||||
bSortAscending = !bSortAscending;
|
||||
|
|
|
@ -251,10 +251,10 @@ InitListViewImage(PMAIN_WND_INFO Info)
|
|||
hLgIconItem);
|
||||
|
||||
/* assign the image to the list view */
|
||||
ListView_SetImageList(Info->hListView,
|
||||
(void)ListView_SetImageList(Info->hListView,
|
||||
hSmall,
|
||||
LVSIL_SMALL);
|
||||
ListView_SetImageList(Info->hListView,
|
||||
(void)ListView_SetImageList(Info->hListView,
|
||||
hLarge,
|
||||
LVSIL_NORMAL);
|
||||
|
||||
|
@ -272,7 +272,7 @@ RefreshServiceList(PMAIN_WND_INFO Info)
|
|||
DWORD Index;
|
||||
LPCTSTR Path = _T("System\\CurrentControlSet\\Services\\%s");
|
||||
|
||||
ListView_DeleteAllItems(Info->hListView);
|
||||
(void)ListView_DeleteAllItems(Info->hListView);
|
||||
|
||||
InitListViewImage(Info);
|
||||
|
||||
|
|
Loading…
Reference in a new issue