Process Hacker
dn.h File Reference
#include <phdk.h>
#include <winperf.h>

Go to the source code of this file.

Data Structures

struct  _DN_THREAD_ITEM
 
struct  _PERF_OBJECT_TYPE_INFO
 

Macros

#define PLUGIN_NAME   L"ProcessHacker.DotNetTools"
 
#define SETTING_NAME_ASM_TREE_LIST_COLUMNS   (PLUGIN_NAME L".AsmTreeListColumns")
 
#define DNTHTNC_APPDOMAIN   1
 

Typedefs

typedef struct _DN_THREAD_ITEM DN_THREAD_ITEM
 
typedef struct _DN_THREAD_ITEMPDN_THREAD_ITEM
 
typedef struct
_PERF_OBJECT_TYPE_INFO 
PERF_OBJECT_TYPE_INFO
 
typedef struct
_PERF_OBJECT_TYPE_INFO
PPERF_OBJECT_TYPE_INFO
 

Functions

BOOLEAN QueryPerfInfoVariableSize (_In_ HKEY Key, _In_ PWSTR ValueName, _Out_ PVOID *Data, _Out_opt_ PULONG DataSize)
 
PWSTR FindPerfTextInTextData (_In_ PVOID TextData, _In_ ULONG Index)
 
ULONG FindPerfIndexInTextData (_In_ PVOID TextData, _In_ PPH_STRINGREF Text)
 
BOOLEAN GetPerfObjectTypeInfo (_In_opt_ PPH_STRINGREF Filter, _Out_ PPERF_OBJECT_TYPE_INFO *Info, _Out_ PULONG Count)
 
BOOLEAN GetPerfObjectTypeInfo2 (_In_ PPH_STRINGREF NameList, _Out_ PPERF_OBJECT_TYPE_INFO *Info, _Out_ PULONG Count, _Out_opt_ PVOID *TextData)
 
VOID AddAsmPageToPropContext (_In_ PPH_PLUGIN_PROCESS_PROPCONTEXT PropContext)
 
VOID AddPerfPageToPropContext (_In_ PPH_PLUGIN_PROCESS_PROPCONTEXT PropContext)
 
VOID ProcessThreadStackControl (_In_ PPH_PLUGIN_THREAD_STACK_CONTROL Control)
 
VOID PredictAddressesFromClrData (_In_ struct _CLR_PROCESS_SUPPORT *Support, _In_ HANDLE ThreadId, _In_ PVOID PcAddress, _In_ PVOID FrameAddress, _In_ PVOID StackAddress, _Out_ PVOID *PredictedEip, _Out_ PVOID *PredictedEbp, _Out_ PVOID *PredictedEsp)
 
VOID DispatchPhSvcRequest (_In_ PVOID Parameter)
 
VOID InitializeTreeNewObjectExtensions (VOID)
 
VOID DispatchTreeNewMessage (__in PVOID Parameter)
 
VOID ThreadTreeNewInitializing (__in PVOID Parameter)
 
VOID ThreadTreeNewUninitializing (__in PVOID Parameter)
 

Variables

PPH_PLUGIN PluginInstance
 

Macro Definition Documentation

#define DNTHTNC_APPDOMAIN   1

Definition at line 106 of file dn.h.

#define PLUGIN_NAME   L"ProcessHacker.DotNetTools"

Definition at line 9 of file dn.h.

#define SETTING_NAME_ASM_TREE_LIST_COLUMNS   (PLUGIN_NAME L".AsmTreeListColumns")

Definition at line 10 of file dn.h.

Typedef Documentation

typedef struct _DN_THREAD_ITEM * PDN_THREAD_ITEM

Function Documentation

VOID AddAsmPageToPropContext ( _In_ PPH_PLUGIN_PROCESS_PROPCONTEXT  PropContext)

Definition at line 175 of file asmpage.c.

VOID AddPerfPageToPropContext ( _In_ PPH_PLUGIN_PROCESS_PROPCONTEXT  PropContext)

Definition at line 53 of file perfpage.c.

VOID DispatchPhSvcRequest ( _In_ PVOID  Parameter)

Definition at line 188 of file svcext.c.

VOID DispatchTreeNewMessage ( __in PVOID  Parameter)
ULONG FindPerfIndexInTextData ( _In_ PVOID  TextData,
_In_ PPH_STRINGREF  Text 
)

Definition at line 103 of file counters.c.

PWSTR FindPerfTextInTextData ( _In_ PVOID  TextData,
_In_ ULONG  Index 
)

Definition at line 72 of file counters.c.

BOOLEAN GetPerfObjectTypeInfo ( _In_opt_ PPH_STRINGREF  Filter,
_Out_ PPERF_OBJECT_TYPE_INFO Info,
_Out_ PULONG  Count 
)

Definition at line 140 of file counters.c.

BOOLEAN GetPerfObjectTypeInfo2 ( _In_ PPH_STRINGREF  NameList,
_Out_ PPERF_OBJECT_TYPE_INFO Info,
_Out_ PULONG  Count,
_Out_opt_ PVOID *  TextData 
)

Definition at line 224 of file counters.c.

VOID InitializeTreeNewObjectExtensions ( VOID  )

Definition at line 63 of file treeext.c.

VOID PredictAddressesFromClrData ( _In_ struct _CLR_PROCESS_SUPPORT Support,
_In_ HANDLE  ThreadId,
_In_ PVOID  PcAddress,
_In_ PVOID  FrameAddress,
_In_ PVOID  StackAddress,
_Out_ PVOID *  PredictedEip,
_Out_ PVOID *  PredictedEbp,
_Out_ PVOID *  PredictedEsp 
)
VOID ProcessThreadStackControl ( _In_ PPH_PLUGIN_THREAD_STACK_CONTROL  Control)

Definition at line 70 of file stackext.c.

BOOLEAN QueryPerfInfoVariableSize ( _In_ HKEY  Key,
_In_ PWSTR  ValueName,
_Out_ PVOID *  Data,
_Out_opt_ PULONG  DataSize 
)

Definition at line 25 of file counters.c.

VOID ThreadTreeNewInitializing ( __in PVOID  Parameter)
VOID ThreadTreeNewUninitializing ( __in PVOID  Parameter)

Variable Documentation

PPH_PLUGIN PluginInstance

Definition at line 113 of file main.c.