ReactOS 0.4.16-dev-340-g0540c21
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
15extern "C" {
16#endif
17
18#include "comctl32supp.h"
19
21
22int CALLBACK
23SortListView(LPARAM lItemParam1,
24 LPARAM lItemParam2,
25 LPARAM lPSort_S);
26
27BOOL
28ListView_SortEx(HWND hListView,
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 */
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL ListView_SortEx(HWND hListView, int iSortingColumn, int iSortedColumn)
Definition: listview.c:43
int CALLBACK SortListView(LPARAM lItemParam1, LPARAM lItemParam2, LPARAM lPSort_S)
Definition: listview.c:22
static int iSortedColumn
Definition: srvpage.cpp:27
LONG_PTR LPARAM
Definition: windef.h:208