Process Hacker
colmgr.h File Reference

Go to the source code of this file.

Data Structures

struct  _PH_CM_MANAGER
 
struct  _PH_CM_COLUMN
 

Macros

#define PH_CM_ORDER_LIMIT   160
 
#define PH_CM_COLUMN_WIDTHS_ONLY   0x1
 

Typedefs

typedef LONG(NTAPI * PPH_CM_POST_SORT_FUNCTION )(_In_ LONG Result, _In_ PVOID Node1, _In_ PVOID Node2, _In_ PH_SORT_ORDER SortOrder)
 
typedef struct _PH_CM_MANAGER PH_CM_MANAGER
 
typedef struct _PH_CM_MANAGERPPH_CM_MANAGER
 
typedef struct _PH_CM_COLUMN PH_CM_COLUMN
 
typedef struct _PH_CM_COLUMNPPH_CM_COLUMN
 

Functions

VOID PhCmInitializeManager (_Out_ PPH_CM_MANAGER Manager, _In_ HWND Handle, _In_ ULONG MinId, _In_ PPH_CM_POST_SORT_FUNCTION PostSortFunction)
 
VOID PhCmDeleteManager (_In_ PPH_CM_MANAGER Manager)
 
PPH_CM_COLUMN PhCmCreateColumn (_Inout_ PPH_CM_MANAGER Manager, _In_ PPH_TREENEW_COLUMN Column, _In_ struct _PH_PLUGIN *Plugin, _In_ ULONG SubId, _In_opt_ PVOID Context, _In_ PVOID SortFunction)
 
PPH_CM_COLUMN PhCmFindColumn (_In_ PPH_CM_MANAGER Manager, _In_ PPH_STRINGREF PluginName, _In_ ULONG SubId)
 
VOID PhCmSetNotifyPlugin (_In_ PPH_CM_MANAGER Manager, _In_ struct _PH_PLUGIN *Plugin)
 
BOOLEAN PhCmForwardMessage (_In_ HWND hwnd, _In_ PH_TREENEW_MESSAGE Message, _In_opt_ PVOID Parameter1, _In_opt_ PVOID Parameter2, _In_ PPH_CM_MANAGER Manager)
 
BOOLEAN PhCmForwardSort (_In_ PPH_TREENEW_NODE *Nodes, _In_ ULONG NumberOfNodes, _In_ ULONG SortColumn, _In_ PH_SORT_ORDER SortOrder, _In_ PPH_CM_MANAGER Manager)
 
PHAPPAPI BOOLEAN NTAPI PhCmLoadSettings (_In_ HWND TreeNewHandle, _In_ PPH_STRINGREF Settings)
 
BOOLEAN PhCmLoadSettingsEx (_In_ HWND TreeNewHandle, _In_opt_ PPH_CM_MANAGER Manager, _In_ ULONG Flags, _In_ PPH_STRINGREF Settings, _In_opt_ PPH_STRINGREF SortSettings)
 
PHAPPAPI PPH_STRING NTAPI PhCmSaveSettings (_In_ HWND TreeNewHandle)
 
PPH_STRING PhCmSaveSettingsEx (_In_ HWND TreeNewHandle, _In_opt_ PPH_CM_MANAGER Manager, _In_ ULONG Flags, _Out_opt_ PPH_STRING *SortSettings)
 

Macro Definition Documentation

#define PH_CM_COLUMN_WIDTHS_ONLY   0x1

Definition at line 92 of file colmgr.h.

#define PH_CM_ORDER_LIMIT   160

Definition at line 4 of file colmgr.h.

Typedef Documentation

typedef struct _PH_CM_COLUMN PH_CM_COLUMN
typedef struct _PH_CM_MANAGER PH_CM_MANAGER
typedef struct _PH_CM_COLUMN * PPH_CM_COLUMN
typedef struct _PH_CM_MANAGER * PPH_CM_MANAGER
typedef LONG(NTAPI * PPH_CM_POST_SORT_FUNCTION)(_In_ LONG Result, _In_ PVOID Node1, _In_ PVOID Node2, _In_ PH_SORT_ORDER SortOrder)

Definition at line 7 of file colmgr.h.

Function Documentation

PPH_CM_COLUMN PhCmCreateColumn ( _Inout_ PPH_CM_MANAGER  Manager,
_In_ PPH_TREENEW_COLUMN  Column,
_In_ struct _PH_PLUGIN Plugin,
_In_ ULONG  SubId,
_In_opt_ PVOID  Context,
_In_ PVOID  SortFunction 
)

Definition at line 73 of file colmgr.c.

VOID PhCmDeleteManager ( _In_ PPH_CM_MANAGER  Manager)

Definition at line 52 of file colmgr.c.

PPH_CM_COLUMN PhCmFindColumn ( _In_ PPH_CM_MANAGER  Manager,
_In_ PPH_STRINGREF  PluginName,
_In_ ULONG  SubId 
)

Definition at line 110 of file colmgr.c.

BOOLEAN PhCmForwardMessage ( _In_ HWND  hwnd,
_In_ PH_TREENEW_MESSAGE  Message,
_In_opt_ PVOID  Parameter1,
_In_opt_ PVOID  Parameter2,
_In_ PPH_CM_MANAGER  Manager 
)

Definition at line 152 of file colmgr.c.

BOOLEAN PhCmForwardSort ( _In_ PPH_TREENEW_NODE Nodes,
_In_ ULONG  NumberOfNodes,
_In_ ULONG  SortColumn,
_In_ PH_SORT_ORDER  SortOrder,
_In_ PPH_CM_MANAGER  Manager 
)

Definition at line 265 of file colmgr.c.

VOID PhCmInitializeManager ( _Out_ PPH_CM_MANAGER  Manager,
_In_ HWND  Handle,
_In_ ULONG  MinId,
_In_ PPH_CM_POST_SORT_FUNCTION  PostSortFunction 
)

Definition at line 37 of file colmgr.c.

PHAPPAPI BOOLEAN NTAPI PhCmLoadSettings ( _In_ HWND  TreeNewHandle,
_In_ PPH_STRINGREF  Settings 
)

Definition at line 298 of file colmgr.c.

BOOLEAN PhCmLoadSettingsEx ( _In_ HWND  TreeNewHandle,
_In_opt_ PPH_CM_MANAGER  Manager,
_In_ ULONG  Flags,
_In_ PPH_STRINGREF  Settings,
_In_opt_ PPH_STRINGREF  SortSettings 
)

Definition at line 306 of file colmgr.c.

PHAPPAPI PPH_STRING NTAPI PhCmSaveSettings ( _In_ HWND  TreeNewHandle)

Definition at line 547 of file colmgr.c.

PPH_STRING PhCmSaveSettingsEx ( _In_ HWND  TreeNewHandle,
_In_opt_ PPH_CM_MANAGER  Manager,
_In_ ULONG  Flags,
_Out_opt_ PPH_STRING SortSettings 
)

Definition at line 554 of file colmgr.c.

VOID PhCmSetNotifyPlugin ( _In_ PPH_CM_MANAGER  Manager,
_In_ struct _PH_PLUGIN Plugin 
)

Definition at line 134 of file colmgr.c.