Process Hacker
findobj.c File Reference
#include <phapp.h>
#include <emenu.h>
#include <kphuser.h>
#include <procprpp.h>
#include <windowsx.h>

Go to the source code of this file.

Macros

#define WM_PH_SEARCH_UPDATE   (WM_APP + 801)
 
#define WM_PH_SEARCH_FINISHED   (WM_APP + 802)
 

Typedefs

typedef enum
_PHP_OBJECT_RESULT_TYPE 
PHP_OBJECT_RESULT_TYPE
 
typedef struct
_PHP_OBJECT_SEARCH_RESULT 
PHP_OBJECT_SEARCH_RESULT
 
typedef struct
_PHP_OBJECT_SEARCH_RESULT * 
PPHP_OBJECT_SEARCH_RESULT
 
typedef struct
_SEARCH_HANDLE_CONTEXT 
SEARCH_HANDLE_CONTEXT
 
typedef struct
_SEARCH_HANDLE_CONTEXT * 
PSEARCH_HANDLE_CONTEXT
 

Enumerations

enum  _PHP_OBJECT_RESULT_TYPE { HandleSearchResult, ModuleSearchResult, MappedFileSearchResult }
 

Functions

INT_PTR CALLBACK PhpFindObjectsDlgProc (_In_ HWND hwndDlg, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
NTSTATUS PhpFindObjectsThreadStart (_In_ PVOID Parameter)
 
VOID PhShowFindObjectsDialog (VOID)
 
VOID PhpInitializeFindObjMenu (_In_ PPH_EMENU Menu, _In_ PPHP_OBJECT_SEARCH_RESULT *Results, _In_ ULONG NumberOfResults)
 
INT NTAPI PhpObjectProcessCompareFunction (_In_ PVOID Item1, _In_ PVOID Item2, _In_opt_ PVOID Context)
 
INT NTAPI PhpObjectTypeCompareFunction (_In_ PVOID Item1, _In_ PVOID Item2, _In_opt_ PVOID Context)
 
INT NTAPI PhpObjectNameCompareFunction (_In_ PVOID Item1, _In_ PVOID Item2, _In_opt_ PVOID Context)
 
INT NTAPI PhpObjectHandleCompareFunction (_In_ PVOID Item1, _In_ PVOID Item2, _In_opt_ PVOID Context)
 

Variables

HWND PhFindObjectsWindowHandle = NULL
 
HWND PhFindObjectsListViewHandle = NULL
 

Macro Definition Documentation

#define WM_PH_SEARCH_FINISHED   (WM_APP + 802)

Definition at line 30 of file findobj.c.

#define WM_PH_SEARCH_UPDATE   (WM_APP + 801)

Definition at line 29 of file findobj.c.

Typedef Documentation

typedef struct _PHP_OBJECT_SEARCH_RESULT PHP_OBJECT_SEARCH_RESULT
typedef struct _PHP_OBJECT_SEARCH_RESULT * PPHP_OBJECT_SEARCH_RESULT
typedef struct _SEARCH_HANDLE_CONTEXT * PSEARCH_HANDLE_CONTEXT
typedef struct _SEARCH_HANDLE_CONTEXT SEARCH_HANDLE_CONTEXT

Enumeration Type Documentation

Enumerator:
HandleSearchResult 
ModuleSearchResult 
MappedFileSearchResult 

Definition at line 32 of file findobj.c.

Function Documentation

static INT_PTR CALLBACK PhpFindObjectsDlgProc ( _In_ HWND  hwndDlg,
_In_ UINT  uMsg,
_In_ WPARAM  wParam,
_In_ LPARAM  lParam 
)

Definition at line 191 of file findobj.c.

static NTSTATUS PhpFindObjectsThreadStart ( _In_ PVOID  Parameter)

Definition at line 784 of file findobj.c.

VOID PhpInitializeFindObjMenu ( _In_ PPH_EMENU  Menu,
_In_ PPHP_OBJECT_SEARCH_RESULT Results,
_In_ ULONG  NumberOfResults 
)

Definition at line 100 of file findobj.c.

INT NTAPI PhpObjectHandleCompareFunction ( _In_ PVOID  Item1,
_In_ PVOID  Item2,
_In_opt_ PVOID  Context 
)

Definition at line 179 of file findobj.c.

INT NTAPI PhpObjectNameCompareFunction ( _In_ PVOID  Item1,
_In_ PVOID  Item2,
_In_opt_ PVOID  Context 
)

Definition at line 167 of file findobj.c.

INT NTAPI PhpObjectProcessCompareFunction ( _In_ PVOID  Item1,
_In_ PVOID  Item2,
_In_opt_ PVOID  Context 
)

Definition at line 137 of file findobj.c.

INT NTAPI PhpObjectTypeCompareFunction ( _In_ PVOID  Item1,
_In_ PVOID  Item2,
_In_opt_ PVOID  Context 
)

Definition at line 155 of file findobj.c.

VOID PhShowFindObjectsDialog ( VOID  )

Definition at line 80 of file findobj.c.

Variable Documentation

HWND PhFindObjectsListViewHandle = NULL

Definition at line 66 of file findobj.c.

HWND PhFindObjectsWindowHandle = NULL

Definition at line 65 of file findobj.c.