Process Hacker
extlv.c File Reference
#include <phgui.h>
#include <windowsx.h>

Go to the source code of this file.

Macros

#define PH_MAX_COMPARE_FUNCTIONS   16
 

Typedefs

typedef struct _PH_EXTLV_CONTEXT PH_EXTLV_CONTEXT
 
typedef struct _PH_EXTLV_CONTEXT * PPH_EXTLV_CONTEXT
 

Functions

LRESULT CALLBACK PhpExtendedListViewWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
INT PhpExtendedListViewCompareFunc (_In_ LPARAM lParam1, _In_ LPARAM lParam2, _In_ LPARAM lParamSort)
 
INT PhpExtendedListViewCompareFastFunc (_In_ LPARAM lParam1, _In_ LPARAM lParam2, _In_ LPARAM lParamSort)
 
INT PhpCompareListViewItems (_In_ PPH_EXTLV_CONTEXT Context, _In_ INT X, _In_ INT Y, _In_ PVOID XParam, _In_ PVOID YParam, _In_ ULONG Column, _In_ BOOLEAN EnableDefault)
 
INT PhpDefaultCompareListViewItems (_In_ PPH_EXTLV_CONTEXT Context, _In_ INT X, _In_ INT Y, _In_ ULONG Column)
 
VOID PhSetExtendedListView (_In_ HWND hWnd)
 Enables extended list view support for a list view control.
 
VOID PhSetHeaderSortIcon (_In_ HWND hwnd, _In_ INT Index, _In_ PH_SORT_ORDER Order)
 Visually indicates the sort order of a header control item.
 

Macro Definition Documentation

#define PH_MAX_COMPARE_FUNCTIONS   16

Definition at line 32 of file extlv.c.

Typedef Documentation

typedef struct _PH_EXTLV_CONTEXT PH_EXTLV_CONTEXT
typedef struct _PH_EXTLV_CONTEXT * PPH_EXTLV_CONTEXT

Function Documentation

static FORCEINLINE INT PhpCompareListViewItems ( _In_ PPH_EXTLV_CONTEXT  Context,
_In_ INT  X,
_In_ INT  Y,
_In_ PVOID  XParam,
_In_ PVOID  YParam,
_In_ ULONG  Column,
_In_ BOOLEAN  EnableDefault 
)

Definition at line 670 of file extlv.c.

static INT PhpDefaultCompareListViewItems ( _In_ PPH_EXTLV_CONTEXT  Context,
_In_ INT  X,
_In_ INT  Y,
_In_ ULONG  Column 
)

Definition at line 709 of file extlv.c.

static INT PhpExtendedListViewCompareFastFunc ( _In_ LPARAM  lParam1,
_In_ LPARAM  lParam2,
_In_ LPARAM  lParamSort 
)

Definition at line 613 of file extlv.c.

static INT PhpExtendedListViewCompareFunc ( _In_ LPARAM  lParam1,
_In_ LPARAM  lParam2,
_In_ LPARAM  lParamSort 
)

Definition at line 536 of file extlv.c.

LRESULT CALLBACK PhpExtendedListViewWndProc ( _In_ HWND  hwnd,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 144 of file extlv.c.

VOID PhSetExtendedListView ( _In_ HWND  hWnd)

Enables extended list view support for a list view control.

Parameters
hWndA handle to the list view control.

Definition at line 110 of file extlv.c.

VOID PhSetHeaderSortIcon ( _In_ HWND  hwnd,
_In_ INT  Index,
_In_ PH_SORT_ORDER  Order 
)

Visually indicates the sort order of a header control item.

Parameters
hwndA handle to the header control.
IndexThe index of the item.
OrderThe sort order of the item.

Definition at line 493 of file extlv.c.