diff --git a/programs/taskmgr/debug.c b/programs/taskmgr/debug.c index 2dfab7b8182..e6fe8a5e6f2 100644 --- a/programs/taskmgr/debug.c +++ b/programs/taskmgr/debug.c @@ -55,7 +55,7 @@ void ProcessPage_OnDebug(void) lvitem.stateMask = LVIS_SELECTED; lvitem.iItem = Index; - ListView_GetItem(hProcessPageListCtrl, &lvitem); + SendMessage(hProcessPageListCtrl, LVM_GETITEM, 0, (LPARAM) &lvitem); if (lvitem.state & LVIS_SELECTED) break;