Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / base / applications / msconfig_new / comctl32ex / listview.h
1 /*
2 * PROJECT: ReactOS Applications
3 * LICENSE: LGPL - See COPYING in the top level directory
4 * FILE: base/applications/msconfig_new/comctl32ex/listview.h
5 * PURPOSE: List-View helper functions.
6 * COPYRIGHT: Copyright 2011-2012 Hermes BELUSCA - MAITO <hermes.belusca@sfr.fr>
7 */
8
9 #ifndef __LISTVIEW_H__
10 #define __LISTVIEW_H__
11
12 #pragma once
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 #include "comctl32supp.h"
19
20 ///////////// ListView Sorting /////////////
21
22 int CALLBACK
23 SortListView(LPARAM lItemParam1,
24 LPARAM lItemParam2,
25 LPARAM lPSort_S);
26
27 BOOL
28 ListView_SortEx(HWND hListView,
29 int iSortingColumn,
30 int iSortedColumn);
31
32 #define ListView_Sort(hListView, iSortingColumn) \
33 ListView_SortEx((hListView), (iSortingColumn), -1)
34
35 //////////////////////////////////////////////
36
37 #ifdef __cplusplus
38 } // extern "C"
39 #endif
40
41 #endif // __LISTVIEW_H__
42
43 /* EOF */