Process Hacker
procgrp.c File Reference
#include <phapp.h>
#include <procgrp.h>

Go to the source code of this file.

Typedefs

typedef struct _PHP_PROCESS_DATA PHP_PROCESS_DATA
 
typedef struct _PHP_PROCESS_DATA * PPHP_PROCESS_DATA
 
typedef struct
_QUERY_WINDOWS_CONTEXT 
QUERY_WINDOWS_CONTEXT
 
typedef struct
_QUERY_WINDOWS_CONTEXT * 
PQUERY_WINDOWS_CONTEXT
 

Functions

PPH_LIST PhpCreateProcessDataList (_In_ PPH_LIST Processes)
 
VOID PhpDestroyProcessDataList (_In_ PPH_LIST List)
 
VOID PhpProcessDataListToLinkedList (_In_ PPH_LIST List, _Out_ PLIST_ENTRY ListHead)
 
VOID PhpProcessDataListToHashtable (_In_ PPH_LIST List, _Out_ PPH_HASHTABLE *Hashtable)
 
BOOL CALLBACK PhpQueryWindowsEnumWindowsProc (_In_ HWND hwnd, _In_ LPARAM lParam)
 
PPH_STRING PhpGetRelevantFileName (_In_ PPH_PROCESS_ITEM ProcessItem, _In_ ULONG Flags)
 
BOOLEAN PhpEqualFileNameAndUserName (_In_ PPH_STRING FileName, _In_ PPH_STRING UserName, _In_ PPH_PROCESS_ITEM ProcessItem, _In_ ULONG Flags)
 
PPHP_PROCESS_DATA PhpFindGroupRoot (_In_ PPHP_PROCESS_DATA ProcessData, _In_ PPH_HASHTABLE ProcessDataHashtable, _In_ ULONG Flags)
 
VOID PhpAddGroupMember (_In_ PPHP_PROCESS_DATA ProcessData, _Inout_ PPH_LIST List)
 
VOID PhpAddGroupMembersFromRoot (_In_ PPHP_PROCESS_DATA ProcessData, _Inout_ PPH_LIST List, _In_ PPH_HASHTABLE ProcessDataHashtable, _In_ ULONG Flags)
 
PPH_LIST PhCreateProcessGroupList (_In_opt_ PPH_SORT_LIST_FUNCTION SortListFunction, _In_opt_ PVOID Context, _In_ ULONG MaximumGroups, _In_ ULONG Flags)
 
VOID PhFreeProcessGroupList (_In_ PPH_LIST List)
 

Typedef Documentation

typedef struct _PHP_PROCESS_DATA PHP_PROCESS_DATA
typedef struct _PHP_PROCESS_DATA * PPHP_PROCESS_DATA
typedef struct _QUERY_WINDOWS_CONTEXT * PQUERY_WINDOWS_CONTEXT
typedef struct _QUERY_WINDOWS_CONTEXT QUERY_WINDOWS_CONTEXT

Function Documentation

PPH_LIST PhCreateProcessGroupList ( _In_opt_ PPH_SORT_LIST_FUNCTION  SortListFunction,
_In_opt_ PVOID  Context,
_In_ ULONG  MaximumGroups,
_In_ ULONG  Flags 
)

Definition at line 252 of file procgrp.c.

VOID PhFreeProcessGroupList ( _In_ PPH_LIST  List)

Definition at line 319 of file procgrp.c.

VOID PhpAddGroupMember ( _In_ PPHP_PROCESS_DATA  ProcessData,
_Inout_ PPH_LIST  List 
)

Definition at line 212 of file procgrp.c.

VOID PhpAddGroupMembersFromRoot ( _In_ PPHP_PROCESS_DATA  ProcessData,
_Inout_ PPH_LIST  List,
_In_ PPH_HASHTABLE  ProcessDataHashtable,
_In_ ULONG  Flags 
)

Definition at line 222 of file procgrp.c.

PPH_LIST PhpCreateProcessDataList ( _In_ PPH_LIST  Processes)

Definition at line 33 of file procgrp.c.

VOID PhpDestroyProcessDataList ( _In_ PPH_LIST  List)

Definition at line 59 of file procgrp.c.

BOOLEAN PhpEqualFileNameAndUserName ( _In_ PPH_STRING  FileName,
_In_ PPH_STRING  UserName,
_In_ PPH_PROCESS_ITEM  ProcessItem,
_In_ ULONG  Flags 
)

Definition at line 153 of file procgrp.c.

PPHP_PROCESS_DATA PhpFindGroupRoot ( _In_ PPHP_PROCESS_DATA  ProcessData,
_In_ PPH_HASHTABLE  ProcessDataHashtable,
_In_ ULONG  Flags 
)

Definition at line 171 of file procgrp.c.

PPH_STRING PhpGetRelevantFileName ( _In_ PPH_PROCESS_ITEM  ProcessItem,
_In_ ULONG  Flags 
)

Definition at line 142 of file procgrp.c.

VOID PhpProcessDataListToHashtable ( _In_ PPH_LIST  List,
_Out_ PPH_HASHTABLE Hashtable 
)

Definition at line 90 of file procgrp.c.

VOID PhpProcessDataListToLinkedList ( _In_ PPH_LIST  List,
_Out_ PLIST_ENTRY  ListHead 
)

Definition at line 74 of file procgrp.c.

BOOL CALLBACK PhpQueryWindowsEnumWindowsProc ( _In_ HWND  hwnd,
_In_ LPARAM  lParam 
)

Definition at line 114 of file procgrp.c.