Process Hacker
notifico.h File Reference

Go to the source code of this file.

Data Structures

struct  _PH_NF_POINTERS
 
struct  _PH_NF_MSG_SHOWMINIINFOSECTION_DATA
 
struct  _PH_NF_ICON
 
struct  _PH_NF_ICON_REGISTRATION_DATA
 

Macros

#define PH_ICON_MINIMUM   0x1
 
#define PH_ICON_CPU_HISTORY   0x1
 
#define PH_ICON_IO_HISTORY   0x2
 
#define PH_ICON_COMMIT_HISTORY   0x4
 
#define PH_ICON_PHYSICAL_HISTORY   0x8
 
#define PH_ICON_CPU_USAGE   0x10
 
#define PH_ICON_DEFAULT_MAXIMUM   0x20
 
#define PH_ICON_DEFAULT_ALL   0x1f
 
#define PH_ICON_LIMIT   0x80000000
 
#define PH_ICON_ALL   0xffffffff
 
#define PH_NF_UPDATE_IS_BITMAP   0x1
 
#define PH_NF_UPDATE_DESTROY_RESOURCE   0x2
 
#define PH_NF_MSG_SHOWMINIINFOSECTION   (WM_APP + 1)
 
#define PH_NF_ICON_UNAVAILABLE   0x1
 
#define PH_NF_ICON_SHOW_MINIINFO   0x2
 

Typedefs

typedef VOID(NTAPI * PPH_NF_UPDATE_REGISTERED_ICON )(_In_ struct _PH_NF_ICON *Icon)
 
typedef VOID(NTAPI * PPH_NF_BEGIN_BITMAP )(_Out_ PULONG Width, _Out_ PULONG Height, _Out_ HBITMAP *Bitmap, _Out_opt_ PVOID *Bits, _Out_ HDC *Hdc, _Out_ HBITMAP *OldBitmap)
 
typedef struct _PH_NF_POINTERS PH_NF_POINTERS
 
typedef struct _PH_NF_POINTERSPPH_NF_POINTERS
 
typedef VOID(NTAPI * PPH_NF_ICON_UPDATE_CALLBACK )(_In_ struct _PH_NF_ICON *Icon, _Out_ PVOID *NewIconOrBitmap, _Out_ PULONG Flags, _Out_ PPH_STRING *NewText, _In_opt_ PVOID Context)
 
typedef BOOLEAN(NTAPI * PPH_NF_ICON_MESSAGE_CALLBACK )(_In_ struct _PH_NF_ICON *Icon, _In_ ULONG_PTR WParam, _In_ ULONG_PTR LParam, _In_opt_ PVOID Context)
 
typedef struct
_PH_NF_MSG_SHOWMINIINFOSECTION_DATA 
PH_NF_MSG_SHOWMINIINFOSECTION_DATA
 
typedef struct
_PH_NF_MSG_SHOWMINIINFOSECTION_DATA
PPH_NF_MSG_SHOWMINIINFOSECTION_DATA
 
typedef struct _PH_NF_ICON PH_NF_ICON
 
typedef struct _PH_NF_ICONPPH_NF_ICON
 
typedef struct
_PH_NF_ICON_REGISTRATION_DATA 
PH_NF_ICON_REGISTRATION_DATA
 
typedef struct
_PH_NF_ICON_REGISTRATION_DATA
PPH_NF_ICON_REGISTRATION_DATA
 

Functions

VOID PhNfLoadStage1 (VOID)
 
VOID PhNfLoadStage2 (VOID)
 
VOID PhNfSaveSettings (VOID)
 
VOID PhNfUninitialization (VOID)
 
VOID PhNfForwardMessage (_In_ ULONG_PTR WParam, _In_ ULONG_PTR LParam)
 
ULONG PhNfGetMaximumIconId (VOID)
 
ULONG PhNfTestIconMask (_In_ ULONG Id)
 
VOID PhNfSetVisibleIcon (_In_ ULONG Id, _In_ BOOLEAN Visible)
 
BOOLEAN PhNfShowBalloonTip (_In_opt_ ULONG Id, _In_ PWSTR Title, _In_ PWSTR Text, _In_ ULONG Timeout, _In_ ULONG Flags)
 
HICON PhNfBitmapToIcon (_In_ HBITMAP Bitmap)
 
PPH_NF_ICON PhNfRegisterIcon (_In_ struct _PH_PLUGIN *Plugin, _In_ ULONG SubId, _In_opt_ PVOID Context, _In_ PWSTR Text, _In_ ULONG Flags, _In_opt_ PPH_NF_ICON_UPDATE_CALLBACK UpdateCallback, _In_opt_ PPH_NF_ICON_MESSAGE_CALLBACK MessageCallback)
 
PPH_NF_ICON PhNfGetIconById (_In_ ULONG Id)
 
PPH_NF_ICON PhNfFindIcon (_In_ PPH_STRINGREF PluginName, _In_ ULONG SubId)
 
VOID PhNfNotifyMiniInfoPinned (_In_ BOOLEAN Pinned)
 

Macro Definition Documentation

#define PH_ICON_ALL   0xffffffff

Definition at line 14 of file notifico.h.

#define PH_ICON_COMMIT_HISTORY   0x4

Definition at line 7 of file notifico.h.

#define PH_ICON_CPU_HISTORY   0x1

Definition at line 5 of file notifico.h.

#define PH_ICON_CPU_USAGE   0x10

Definition at line 9 of file notifico.h.

#define PH_ICON_DEFAULT_ALL   0x1f

Definition at line 11 of file notifico.h.

#define PH_ICON_DEFAULT_MAXIMUM   0x20

Definition at line 10 of file notifico.h.

#define PH_ICON_IO_HISTORY   0x2

Definition at line 6 of file notifico.h.

#define PH_ICON_LIMIT   0x80000000

Definition at line 13 of file notifico.h.

#define PH_ICON_MINIMUM   0x1

Definition at line 4 of file notifico.h.

#define PH_ICON_PHYSICAL_HISTORY   0x8

Definition at line 8 of file notifico.h.

#define PH_NF_ICON_SHOW_MINIINFO   0x2

Definition at line 67 of file notifico.h.

#define PH_NF_ICON_UNAVAILABLE   0x1

Definition at line 66 of file notifico.h.

#define PH_NF_MSG_SHOWMINIINFOSECTION   (WM_APP + 1)

Definition at line 57 of file notifico.h.

#define PH_NF_UPDATE_DESTROY_RESOURCE   0x2

Definition at line 37 of file notifico.h.

#define PH_NF_UPDATE_IS_BITMAP   0x1

Definition at line 36 of file notifico.h.

Typedef Documentation

typedef struct _PH_NF_ICON PH_NF_ICON
typedef VOID(NTAPI * PPH_NF_BEGIN_BITMAP)(_Out_ PULONG Width, _Out_ PULONG Height, _Out_ HBITMAP *Bitmap, _Out_opt_ PVOID *Bits, _Out_ HDC *Hdc, _Out_ HBITMAP *OldBitmap)

Definition at line 21 of file notifico.h.

typedef struct _PH_NF_ICON * PPH_NF_ICON
typedef BOOLEAN(NTAPI * PPH_NF_ICON_MESSAGE_CALLBACK)(_In_ struct _PH_NF_ICON *Icon, _In_ ULONG_PTR WParam, _In_ ULONG_PTR LParam, _In_opt_ PVOID Context)

Definition at line 47 of file notifico.h.

typedef VOID(NTAPI * PPH_NF_ICON_UPDATE_CALLBACK)(_In_ struct _PH_NF_ICON *Icon, _Out_ PVOID *NewIconOrBitmap, _Out_ PULONG Flags, _Out_ PPH_STRING *NewText, _In_opt_ PVOID Context)

Definition at line 39 of file notifico.h.

typedef struct _PH_NF_POINTERS * PPH_NF_POINTERS
typedef VOID(NTAPI * PPH_NF_UPDATE_REGISTERED_ICON)(_In_ struct _PH_NF_ICON *Icon)

Definition at line 17 of file notifico.h.

Function Documentation

HICON PhNfBitmapToIcon ( _In_ HBITMAP  Bitmap)

Definition at line 426 of file notifico.c.

PPH_NF_ICON PhNfFindIcon ( _In_ PPH_STRINGREF  PluginName,
_In_ ULONG  SubId 
)

Definition at line 502 of file notifico.c.

VOID PhNfForwardMessage ( _In_ ULONG_PTR  WParam,
_In_ ULONG_PTR  LParam 
)

Definition at line 244 of file notifico.c.

PPH_NF_ICON PhNfGetIconById ( _In_ ULONG  Id)

Definition at line 490 of file notifico.c.

ULONG PhNfGetMaximumIconId ( VOID  )

Definition at line 363 of file notifico.c.

VOID PhNfLoadStage1 ( VOID  )

Definition at line 122 of file notifico.c.

VOID PhNfLoadStage2 ( VOID  )

Definition at line 162 of file notifico.c.

VOID PhNfNotifyMiniInfoPinned ( _In_ BOOLEAN  Pinned)

Definition at line 524 of file notifico.c.

PPH_NF_ICON PhNfRegisterIcon ( _In_ struct _PH_PLUGIN Plugin,
_In_ ULONG  SubId,
_In_opt_ PVOID  Context,
_In_ PWSTR  Text,
_In_ ULONG  Flags,
_In_opt_ PPH_NF_ICON_UPDATE_CALLBACK  UpdateCallback,
_In_opt_ PPH_NF_ICON_MESSAGE_CALLBACK  MessageCallback 
)

Definition at line 443 of file notifico.c.

VOID PhNfSaveSettings ( VOID  )

Definition at line 182 of file notifico.c.

VOID PhNfSetVisibleIcon ( _In_ ULONG  Id,
_In_ BOOLEAN  Visible 
)

Definition at line 377 of file notifico.c.

BOOLEAN PhNfShowBalloonTip ( _In_opt_ ULONG  Id,
_In_ PWSTR  Title,
_In_ PWSTR  Text,
_In_ ULONG  Timeout,
_In_ ULONG  Flags 
)

Definition at line 394 of file notifico.c.

ULONG PhNfTestIconMask ( _In_ ULONG  Id)

Definition at line 370 of file notifico.c.

VOID PhNfUninitialization ( VOID  )

Definition at line 227 of file notifico.c.