Process Hacker
treenew.c File Reference
#include <phgui.h>
#include <windowsx.h>
#include <vssym32.h>
#include <treenew.h>
#include <treenewp.h>

Go to the source code of this file.

Functions

BOOLEAN PhTreeNewInitialization (VOID)
 
LRESULT CALLBACK PhTnpWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
BOOLEAN NTAPI PhTnpNullCallback (_In_ HWND hwnd, _In_ PH_TREENEW_MESSAGE Message, _In_opt_ PVOID Parameter1, _In_opt_ PVOID Parameter2, _In_opt_ PVOID Context)
 
VOID PhTnpCreateTreeNewContext (_Out_ PPH_TREENEW_CONTEXT *Context)
 
VOID PhTnpDestroyTreeNewContext (_In_ PPH_TREENEW_CONTEXT Context)
 
BOOLEAN PhTnpOnCreate (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ CREATESTRUCT *CreateStruct)
 
VOID PhTnpOnSize (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpOnSetFont (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_opt_ HFONT Font, _In_ LOGICAL Redraw)
 
VOID PhTnpOnStyleChanged (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ LONG Type, _In_ STYLESTRUCT *StyleStruct)
 
VOID PhTnpOnSettingChange (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpOnThemeChanged (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
ULONG PhTnpOnGetDlgCode (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKey, _In_opt_ PMSG Message)
 
VOID PhTnpOnPaint (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpOnPrintClient (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc, _In_ ULONG Flags)
 
BOOLEAN PhTnpOnNcPaint (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_opt_ HRGN UpdateRegion)
 
BOOLEAN PhTnpOnSetCursor (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ HWND CursorWindowHandle)
 
VOID PhTnpOnTimer (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Id)
 
VOID PhTnpOnMouseMove (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKeys, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpOnMouseLeave (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpOnXxxButtonXxx (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Message, _In_ ULONG VirtualKeys, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpOnCaptureChanged (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpOnKeyDown (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKey, _In_ ULONG Data)
 
VOID PhTnpOnChar (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Character, _In_ ULONG Data)
 
VOID PhTnpOnMouseWheel (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ LONG Distance, _In_ ULONG VirtualKeys, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpOnMouseHWheel (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ LONG Distance, _In_ ULONG VirtualKeys, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpOnContextMenu (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ LONG CursorScreenX, _In_ LONG CursorScreenY)
 
VOID PhTnpOnVScroll (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Request, _In_ USHORT Position)
 
VOID PhTnpOnHScroll (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Request, _In_ USHORT Position)
 
BOOLEAN PhTnpOnNotify (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ NMHDR *Header, _Out_ LRESULT *Result)
 
ULONG_PTR PhTnpOnUserMessage (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Message, _In_ ULONG_PTR WParam, _In_ ULONG_PTR LParam)
 
VOID PhTnpSetFont (_In_ PPH_TREENEW_CONTEXT Context, _In_opt_ HFONT Font, _In_ BOOLEAN Redraw)
 
VOID PhTnpUpdateSystemMetrics (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpUpdateTextMetrics (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpUpdateThemeData (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpInitializeThemeData (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpCancelTrack (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpLayout (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpLayoutHeader (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpSetFixedWidth (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG FixedWidth)
 
VOID PhTnpSetRedraw (_In_ PPH_TREENEW_CONTEXT Context, _In_ BOOLEAN Redraw)
 
VOID PhTnpSendMouseEvent (_In_ PPH_TREENEW_CONTEXT Context, _In_ PH_TREENEW_MESSAGE Message, _In_ LONG CursorX, _In_ LONG CursorY, _In_ PPH_TREENEW_NODE Node, _In_ PPH_TREENEW_COLUMN Column, _In_ ULONG VirtualKeys)
 
PPH_TREENEW_COLUMN PhTnpLookupColumnById (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Id)
 
BOOLEAN PhTnpAddColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_COLUMN Column)
 
BOOLEAN PhTnpRemoveColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Id)
 
BOOLEAN PhTnpCopyColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Id, _Out_ PPH_TREENEW_COLUMN Column)
 
BOOLEAN PhTnpChangeColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Mask, _In_ ULONG Id, _In_ PPH_TREENEW_COLUMN Column)
 
VOID PhTnpExpandAllocatedColumns (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpUpdateColumnMaps (_In_ PPH_TREENEW_CONTEXT Context)
 
LONG PhTnpInsertColumnHeader (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_COLUMN Column)
 
VOID PhTnpChangeColumnHeader (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Mask, _In_ PPH_TREENEW_COLUMN Column)
 
VOID PhTnpDeleteColumnHeader (_In_ PPH_TREENEW_CONTEXT Context, _Inout_ PPH_TREENEW_COLUMN Column)
 
VOID PhTnpUpdateColumnHeaders (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpProcessResizeColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_COLUMN Column, _In_ LONG Delta)
 
VOID PhTnpProcessSortColumn (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_COLUMN NewColumn)
 
BOOLEAN PhTnpSetColumnHeaderSortIcon (_In_ PPH_TREENEW_CONTEXT Context, _In_opt_ PPH_TREENEW_COLUMN SortColumnPointer)
 
VOID PhTnpAutoSizeColumnHeader (_In_ PPH_TREENEW_CONTEXT Context, _In_ HWND HeaderHandle, _In_ PPH_TREENEW_COLUMN Column, _In_ ULONG Flags)
 
BOOLEAN PhTnpGetNodeChildren (_In_ PPH_TREENEW_CONTEXT Context, _In_opt_ PPH_TREENEW_NODE Node, _Out_ PPH_TREENEW_NODE **Children, _Out_ PULONG NumberOfChildren)
 
BOOLEAN PhTnpIsNodeLeaf (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_NODE Node)
 
BOOLEAN PhTnpGetCellText (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_NODE Node, _In_ ULONG Id, _Out_ PPH_STRINGREF Text)
 
VOID PhTnpRestructureNodes (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpInsertNodeChildren (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_NODE Node, _In_ ULONG Level)
 
VOID PhTnpSetExpandedNode (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_NODE Node, _In_ BOOLEAN Expanded)
 
BOOLEAN PhTnpGetCellParts (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Index, _In_opt_ PPH_TREENEW_COLUMN Column, _In_ ULONG Flags, _Out_ PPH_TREENEW_CELL_PARTS Parts)
 
BOOLEAN PhTnpGetRowRects (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Start, _In_ ULONG End, _In_ BOOLEAN Clip, _Out_ PRECT Rect)
 
VOID PhTnpHitTest (_In_ PPH_TREENEW_CONTEXT Context, _Inout_ PPH_TREENEW_HIT_TEST HitTest)
 
VOID PhTnpSelectRange (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Start, _In_ ULONG End, _In_ ULONG Flags, _Out_opt_ PULONG ChangedStart, _Out_opt_ PULONG ChangedEnd)
 
VOID PhTnpSetHotNode (_In_ PPH_TREENEW_CONTEXT Context, _In_opt_ PPH_TREENEW_NODE NewHotNode, _In_ BOOLEAN NewPlusMinusHot)
 
VOID PhTnpProcessSelectNode (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPH_TREENEW_NODE Node, _In_ LOGICAL ControlKey, _In_ LOGICAL ShiftKey, _In_ LOGICAL RightButton)
 
BOOLEAN PhTnpEnsureVisibleNode (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Index)
 
VOID PhTnpProcessMoveMouse (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpProcessMouseVWheel (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG Distance)
 
VOID PhTnpProcessMouseHWheel (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG Distance)
 
BOOLEAN PhTnpProcessFocusKey (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKey)
 
BOOLEAN PhTnpProcessNodeKey (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKey)
 
VOID PhTnpProcessSearchKey (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG Character)
 
BOOLEAN PhTnpDefaultIncrementalSearch (_In_ PPH_TREENEW_CONTEXT Context, _Inout_ PPH_TREENEW_SEARCH_EVENT SearchEvent, _In_ BOOLEAN Partial, _In_ BOOLEAN Wrap)
 
VOID PhTnpUpdateScrollBars (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpScroll (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG DeltaRows, _In_ LONG DeltaX)
 
VOID PhTnpProcessScroll (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG DeltaRows, _In_ LONG DeltaX)
 
BOOLEAN PhTnpCanScroll (_In_ PPH_TREENEW_CONTEXT Context, _In_ BOOLEAN Horizontal, _In_ BOOLEAN Positive)
 
VOID PhTnpPaint (_In_ HWND hwnd, _In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc, _In_ PRECT PaintRect)
 
VOID PhTnpPrepareRowForDraw (_In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc, _Inout_ PPH_TREENEW_NODE Node)
 
VOID PhTnpDrawCell (_In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc, _In_ PRECT CellRect, _In_ PPH_TREENEW_NODE Node, _In_ PPH_TREENEW_COLUMN Column, _In_ LONG RowIndex, _In_ LONG ColumnIndex)
 
VOID PhTnpDrawDivider (_In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc)
 
VOID PhTnpDrawPlusMinusGlyph (_In_ HDC hdc, _In_ PRECT Rect, _In_ BOOLEAN Plus)
 
VOID PhTnpDrawSelectionRectangle (_In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc, _In_ PRECT Rect)
 
VOID PhTnpDrawThemedBorder (_In_ PPH_TREENEW_CONTEXT Context, _In_ HDC hdc)
 
VOID PhTnpInitializeTooltips (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpGetTooltipText (_In_ PPH_TREENEW_CONTEXT Context, _In_ PPOINT Point, _Out_ PWSTR *Text)
 
BOOLEAN PhTnpPrepareTooltipShow (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpPrepareTooltipPop (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpPopTooltip (_In_ PPH_TREENEW_CONTEXT Context)
 
PPH_TREENEW_COLUMN PhTnpHitTestHeader (_In_ PPH_TREENEW_CONTEXT Context, _In_ BOOLEAN Fixed, _In_ PPOINT Point, _Out_opt_ PRECT ItemRect)
 
VOID PhTnpGetHeaderTooltipText (_In_ PPH_TREENEW_CONTEXT Context, _In_ BOOLEAN Fixed, _In_ PPOINT Point, _Out_ PWSTR *Text)
 
PWSTR PhTnpMakeContextAtom (VOID)
 
LRESULT CALLBACK PhTnpHeaderHookWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
BOOLEAN PhTnpDetectDrag (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG CursorX, _In_ LONG CursorY, _In_ BOOLEAN DispatchMessages, _Out_opt_ PULONG CancelledByMessage)
 
VOID PhTnpDragSelect (_In_ PPH_TREENEW_CONTEXT Context, _In_ LONG CursorX, _In_ LONG CursorY)
 
VOID PhTnpProcessDragSelect (_In_ PPH_TREENEW_CONTEXT Context, _In_ ULONG VirtualKeys, _In_ PRECT OldRect, _In_ PRECT NewRect, _In_ PRECT TotalRect)
 
VOID PhTnpCreateBufferedContext (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpDestroyBufferedContext (_In_ PPH_TREENEW_CONTEXT Context)
 
VOID PhTnpGetMessagePos (_In_ HWND hwnd, _Out_ PPOINT ClientPoint)
 

Function Documentation

BOOLEAN PhTnpAddColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2339 of file treenew.c.

VOID PhTnpAutoSizeColumnHeader ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HWND  HeaderHandle,
_In_ PPH_TREENEW_COLUMN  Column,
_In_ ULONG  Flags 
)

Definition at line 3036 of file treenew.c.

VOID PhTnpCancelTrack ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2115 of file treenew.c.

BOOLEAN PhTnpCanScroll ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ BOOLEAN  Horizontal,
_In_ BOOLEAN  Positive 
)

Definition at line 4860 of file treenew.c.

BOOLEAN PhTnpChangeColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Mask,
_In_ ULONG  Id,
_In_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2451 of file treenew.c.

VOID PhTnpChangeColumnHeader ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Mask,
_In_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2737 of file treenew.c.

BOOLEAN PhTnpCopyColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Id,
_Out_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2435 of file treenew.c.

VOID PhTnpCreateBufferedContext ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 6592 of file treenew.c.

VOID PhTnpCreateTreeNewContext ( _Out_ PPH_TREENEW_CONTEXT Context)

Definition at line 321 of file treenew.c.

BOOLEAN PhTnpDefaultIncrementalSearch ( _In_ PPH_TREENEW_CONTEXT  Context,
_Inout_ PPH_TREENEW_SEARCH_EVENT  SearchEvent,
_In_ BOOLEAN  Partial,
_In_ BOOLEAN  Wrap 
)

Definition at line 4548 of file treenew.c.

VOID PhTnpDeleteColumnHeader ( _In_ PPH_TREENEW_CONTEXT  Context,
_Inout_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2800 of file treenew.c.

VOID PhTnpDestroyBufferedContext ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 6624 of file treenew.c.

VOID PhTnpDestroyTreeNewContext ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 343 of file treenew.c.

BOOLEAN PhTnpDetectDrag ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  CursorX,
_In_ LONG  CursorY,
_In_ BOOLEAN  DispatchMessages,
_Out_opt_ PULONG  CancelledByMessage 
)

Definition at line 6178 of file treenew.c.

VOID PhTnpDragSelect ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 6248 of file treenew.c.

VOID PhTnpDrawCell ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc,
_In_ PRECT  CellRect,
_In_ PPH_TREENEW_NODE  Node,
_In_ PPH_TREENEW_COLUMN  Column,
_In_ LONG  RowIndex,
_In_ LONG  ColumnIndex 
)

Definition at line 5269 of file treenew.c.

VOID PhTnpDrawDivider ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc 
)

Definition at line 5461 of file treenew.c.

VOID PhTnpDrawPlusMinusGlyph ( _In_ HDC  hdc,
_In_ PRECT  Rect,
_In_ BOOLEAN  Plus 
)

Definition at line 5527 of file treenew.c.

VOID PhTnpDrawSelectionRectangle ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc,
_In_ PRECT  Rect 
)

Definition at line 5573 of file treenew.c.

VOID PhTnpDrawThemedBorder ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc 
)

Definition at line 5662 of file treenew.c.

BOOLEAN PhTnpEnsureVisibleNode ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Index 
)

Definition at line 3873 of file treenew.c.

VOID PhTnpExpandAllocatedColumns ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2578 of file treenew.c.

BOOLEAN PhTnpGetCellParts ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Index,
_In_opt_ PPH_TREENEW_COLUMN  Column,
_In_ ULONG  Flags,
_Out_ PPH_TREENEW_CELL_PARTS  Parts 
)

Definition at line 3334 of file treenew.c.

BOOLEAN PhTnpGetCellText ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_NODE  Node,
_In_ ULONG  Id,
_Out_ PPH_STRINGREF  Text 
)

Definition at line 3154 of file treenew.c.

VOID PhTnpGetHeaderTooltipText ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ BOOLEAN  Fixed,
_In_ PPOINT  Point,
_Out_ PWSTR *  Text 
)

Definition at line 6005 of file treenew.c.

VOID PhTnpGetMessagePos ( _In_ HWND  hwnd,
_Out_ PPOINT  ClientPoint 
)

Definition at line 6638 of file treenew.c.

BOOLEAN PhTnpGetNodeChildren ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ PPH_TREENEW_NODE  Node,
_Out_ PPH_TREENEW_NODE **  Children,
_Out_ PULONG  NumberOfChildren 
)

Definition at line 3097 of file treenew.c.

BOOLEAN PhTnpGetRowRects ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Start,
_In_ ULONG  End,
_In_ BOOLEAN  Clip,
_Out_ PRECT  Rect 
)

Definition at line 3476 of file treenew.c.

VOID PhTnpGetTooltipText ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPOINT  Point,
_Out_ PWSTR *  Text 
)

Definition at line 5778 of file treenew.c.

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

Definition at line 6065 of file treenew.c.

VOID PhTnpHitTest ( _In_ PPH_TREENEW_CONTEXT  Context,
_Inout_ PPH_TREENEW_HIT_TEST  HitTest 
)

Definition at line 3517 of file treenew.c.

PPH_TREENEW_COLUMN PhTnpHitTestHeader ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ BOOLEAN  Fixed,
_In_ PPOINT  Point,
_Out_opt_ PRECT  ItemRect 
)

Definition at line 5951 of file treenew.c.

VOID PhTnpInitializeThemeData ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2104 of file treenew.c.

VOID PhTnpInitializeTooltips ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 5714 of file treenew.c.

LONG PhTnpInsertColumnHeader ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_COLUMN  Column 
)

Definition at line 2679 of file treenew.c.

VOID PhTnpInsertNodeChildren ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_NODE  Node,
_In_ ULONG  Level 
)

Definition at line 3228 of file treenew.c.

BOOLEAN PhTnpIsNodeLeaf ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_NODE  Node 
)

Definition at line 3128 of file treenew.c.

VOID PhTnpLayout ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2123 of file treenew.c.

VOID PhTnpLayoutHeader ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2185 of file treenew.c.

PPH_TREENEW_COLUMN PhTnpLookupColumnById ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Id 
)

Definition at line 2328 of file treenew.c.

PWSTR PhTnpMakeContextAtom ( VOID  )

Definition at line 6058 of file treenew.c.

BOOLEAN NTAPI PhTnpNullCallback ( _In_ HWND  hwnd,
_In_ PH_TREENEW_MESSAGE  Message,
_In_opt_ PVOID  Parameter1,
_In_opt_ PVOID  Parameter2,
_In_opt_ PVOID  Context 
)

Definition at line 310 of file treenew.c.

VOID PhTnpOnCaptureChanged ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 1137 of file treenew.c.

VOID PhTnpOnChar ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Character,
_In_ ULONG  Data 
)

Definition at line 1169 of file treenew.c.

VOID PhTnpOnContextMenu ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  CursorScreenX,
_In_ LONG  CursorScreenY 
)

Definition at line 1216 of file treenew.c.

BOOLEAN PhTnpOnCreate ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ CREATESTRUCT *  CreateStruct 
)

Definition at line 386 of file treenew.c.

ULONG PhTnpOnGetDlgCode ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKey,
_In_opt_ PMSG  Message 
)

Definition at line 576 of file treenew.c.

VOID PhTnpOnHScroll ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Request,
_In_ USHORT  Position 
)

Definition at line 1352 of file treenew.c.

VOID PhTnpOnKeyDown ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKey,
_In_ ULONG  Data 
)

Definition at line 1146 of file treenew.c.

VOID PhTnpOnMouseHWheel ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  Distance,
_In_ ULONG  VirtualKeys,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 1204 of file treenew.c.

VOID PhTnpOnMouseLeave ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 811 of file treenew.c.

VOID PhTnpOnMouseMove ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKeys,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 784 of file treenew.c.

VOID PhTnpOnMouseWheel ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  Distance,
_In_ ULONG  VirtualKeys,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 1183 of file treenew.c.

BOOLEAN PhTnpOnNcPaint ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ HRGN  UpdateRegion 
)

Definition at line 675 of file treenew.c.

BOOLEAN PhTnpOnNotify ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ NMHDR *  Header,
_Out_ LRESULT *  Result 
)

Definition at line 1409 of file treenew.c.

VOID PhTnpOnPaint ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 593 of file treenew.c.

VOID PhTnpOnPrintClient ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc,
_In_ ULONG  Flags 
)

Definition at line 665 of file treenew.c.

BOOLEAN PhTnpOnSetCursor ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ HWND  CursorWindowHandle 
)

Definition at line 710 of file treenew.c.

VOID PhTnpOnSetFont ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ HFONT  Font,
_In_ LOGICAL  Redraw 
)

Definition at line 536 of file treenew.c.

VOID PhTnpOnSettingChange ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 558 of file treenew.c.

VOID PhTnpOnSize ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 506 of file treenew.c.

VOID PhTnpOnStyleChanged ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  Type,
_In_ STYLESTRUCT *  StyleStruct 
)

Definition at line 547 of file treenew.c.

VOID PhTnpOnThemeChanged ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context 
)

Definition at line 568 of file treenew.c.

VOID PhTnpOnTimer ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Id 
)

Definition at line 738 of file treenew.c.

ULONG_PTR PhTnpOnUserMessage ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Message,
_In_ ULONG_PTR  WParam,
_In_ ULONG_PTR  LParam 
)

Definition at line 1613 of file treenew.c.

VOID PhTnpOnVScroll ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Request,
_In_ USHORT  Position 
)

Definition at line 1295 of file treenew.c.

VOID PhTnpOnXxxButtonXxx ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Message,
_In_ ULONG  VirtualKeys,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 841 of file treenew.c.

VOID PhTnpPaint ( _In_ HWND  hwnd,
_In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc,
_In_ PRECT  PaintRect 
)

Definition at line 4889 of file treenew.c.

VOID PhTnpPopTooltip ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 5940 of file treenew.c.

VOID PhTnpPrepareRowForDraw ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ HDC  hdc,
_Inout_ PPH_TREENEW_NODE  Node 
)

Definition at line 5162 of file treenew.c.

VOID PhTnpPrepareTooltipPop ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 5931 of file treenew.c.

BOOLEAN PhTnpPrepareTooltipShow ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 5888 of file treenew.c.

VOID PhTnpProcessDragSelect ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKeys,
_In_ PRECT  OldRect,
_In_ PRECT  NewRect,
_In_ PRECT  TotalRect 
)

Definition at line 6504 of file treenew.c.

BOOLEAN PhTnpProcessFocusKey ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKey 
)

Definition at line 4090 of file treenew.c.

VOID PhTnpProcessMouseHWheel ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  Distance 
)

Definition at line 4050 of file treenew.c.

VOID PhTnpProcessMouseVWheel ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  Distance 
)

Definition at line 3987 of file treenew.c.

VOID PhTnpProcessMoveMouse ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  CursorX,
_In_ LONG  CursorY 
)

Definition at line 3916 of file treenew.c.

BOOLEAN PhTnpProcessNodeKey ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  VirtualKey 
)

Definition at line 4264 of file treenew.c.

VOID PhTnpProcessResizeColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_COLUMN  Column,
_In_ LONG  Delta 
)

Definition at line 2862 of file treenew.c.

VOID PhTnpProcessScroll ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  DeltaRows,
_In_ LONG  DeltaX 
)

Definition at line 4789 of file treenew.c.

VOID PhTnpProcessSearchKey ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Character 
)

Definition at line 4415 of file treenew.c.

VOID PhTnpProcessSelectNode ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_NODE  Node,
_In_ LOGICAL  ControlKey,
_In_ LOGICAL  ShiftKey,
_In_ LOGICAL  RightButton 
)

Definition at line 3792 of file treenew.c.

VOID PhTnpProcessSortColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_COLUMN  NewColumn 
)

Definition at line 2924 of file treenew.c.

BOOLEAN PhTnpRemoveColumn ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Id 
)

Definition at line 2406 of file treenew.c.

VOID PhTnpRestructureNodes ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 3193 of file treenew.c.

VOID PhTnpScroll ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ LONG  DeltaRows,
_In_ LONG  DeltaX 
)

Definition at line 4732 of file treenew.c.

VOID PhTnpSelectRange ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  Start,
_In_ ULONG  End,
_In_ ULONG  Flags,
_Out_opt_ PULONG  ChangedStart,
_Out_opt_ PULONG  ChangedEnd 
)

Definition at line 3641 of file treenew.c.

VOID PhTnpSendMouseEvent ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PH_TREENEW_MESSAGE  Message,
_In_ LONG  CursorX,
_In_ LONG  CursorY,
_In_ PPH_TREENEW_NODE  Node,
_In_ PPH_TREENEW_COLUMN  Column,
_In_ ULONG  VirtualKeys 
)

Definition at line 2308 of file treenew.c.

BOOLEAN PhTnpSetColumnHeaderSortIcon ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ PPH_TREENEW_COLUMN  SortColumnPointer 
)

Definition at line 2979 of file treenew.c.

VOID PhTnpSetExpandedNode ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ PPH_TREENEW_NODE  Node,
_In_ BOOLEAN  Expanded 
)

Definition at line 3276 of file treenew.c.

VOID PhTnpSetFixedWidth ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ ULONG  FixedWidth 
)

Definition at line 2238 of file treenew.c.

VOID PhTnpSetFont ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ HFONT  Font,
_In_ BOOLEAN  Redraw 
)

Definition at line 1962 of file treenew.c.

VOID PhTnpSetHotNode ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_opt_ PPH_TREENEW_NODE  NewHotNode,
_In_ BOOLEAN  NewPlusMinusHot 
)

Definition at line 3741 of file treenew.c.

VOID PhTnpSetRedraw ( _In_ PPH_TREENEW_CONTEXT  Context,
_In_ BOOLEAN  Redraw 
)

Definition at line 2265 of file treenew.c.

VOID PhTnpUpdateColumnHeaders ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2824 of file treenew.c.

VOID PhTnpUpdateColumnMaps ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2618 of file treenew.c.

VOID PhTnpUpdateScrollBars ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 4619 of file treenew.c.

VOID PhTnpUpdateSystemMetrics ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 1999 of file treenew.c.

VOID PhTnpUpdateTextMetrics ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2018 of file treenew.c.

VOID PhTnpUpdateThemeData ( _In_ PPH_TREENEW_CONTEXT  Context)

Definition at line 2058 of file treenew.c.

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

Definition at line 85 of file treenew.c.

BOOLEAN PhTreeNewInitialization ( VOID  )

Definition at line 57 of file treenew.c.