sync rosapps to r44454
[reactos.git] / rosapps / applications / devutils / gdihv / proclist.c
index 2800cd7..b6de341 100644 (file)
@@ -73,6 +73,15 @@ ProcessList_Update(HWND hListCtrl)
        wsprintf(strText, L"%#08x",1);\r
        ListView_SetItemText(hListCtrl, 1, 1, strText);\r
 \r
+       /* Insert "all" */\r
+       item.iItem = 2;\r
+       item.lParam = 2;\r
+       item.pszText = L"<all>";\r
+       (void)ListView_InsertItem(hListCtrl, &item);\r
+       item.pszText = strText;\r
+       wsprintf(strText, L"%#08x", 2);\r
+       ListView_SetItemText(hListCtrl, 1, 1, strText);\r
+\r
        if (!EnumProcesses(ProcessIds, sizeof(ProcessIds), &BytesReturned ))\r
        {\r
                return;\r