Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 76 of file listview.c.
Referenced by MainWindowProc().
{ WCHAR Item1[MAX_STR_LEN], Item2[MAX_STR_LEN]; LVFINDINFO IndexInfo; INT Index; IndexInfo.flags = LVFI_PARAM; IndexInfo.lParam = lParam1; Index = ListView_FindItem(hListView, -1, &IndexInfo); ListView_GetItemText(hListView, Index, (INT)lParamSort, Item1, sizeof(Item1) / sizeof(WCHAR)); IndexInfo.lParam = lParam2; Index = ListView_FindItem(hListView, -1, &IndexInfo); ListView_GetItemText(hListView, Index, (INT)lParamSort, Item2, sizeof(Item2) / sizeof(WCHAR)); if (bAscending) return wcscmp(Item2, Item1); else return wcscmp(Item1, Item2); return 0; }