ReactOS  0.4.12-dev-57-g7050ac4
listview.h
Go to the documentation of this file.
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 
21 
22 int CALLBACK
23 SortListView(LPARAM lItemParam1,
24  LPARAM lItemParam2,
25  LPARAM lPSort_S);
26 
27 BOOL
29  int iSortingColumn,
30  int iSortedColumn);
31 
32 #define ListView_Sort(hListView, iSortingColumn) \
33  ListView_SortEx((hListView), (iSortingColumn), -1)
34 
36 
37 #ifdef __cplusplus
38 } // extern "C"
39 #endif
40 
41 #endif // __LISTVIEW_H__
42 
43 /* EOF */
BOOL ListView_SortEx(HWND hListView, int iSortingColumn, int iSortedColumn)
Definition: listview.c:43
#define CALLBACK
Definition: compat.h:27
LONG_PTR LPARAM
Definition: windef.h:208
static int iSortedColumn
Definition: srvpage.cpp:27
unsigned int BOOL
Definition: ntddk_ex.h:94
HWND hListView
Definition: gui.cpp:29
int CALLBACK SortListView(LPARAM lItemParam1, LPARAM lItemParam2, LPARAM lPSort_S)
Definition: listview.c:22