Process Hacker
hexeditp.h File Reference

Go to the source code of this file.

Data Structures

struct  _PHP_HEXEDIT_CONTEXT
 

Macros

#define IS_PRINTABLE(Byte)   ((ULONG)((Byte) - ' ') <= (ULONG)('~' - ' '))
 
#define TO_HEX(Buffer, Byte)
 
#define REDRAW_WINDOW(hwnd)   RedrawWindow((hwnd), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE)
 

Typedefs

typedef struct _PHP_HEXEDIT_CONTEXT PHP_HEXEDIT_CONTEXT
 
typedef struct
_PHP_HEXEDIT_CONTEXT
PPHP_HEXEDIT_CONTEXT
 

Functions

VOID PhpCreateHexEditContext (_Out_ PPHP_HEXEDIT_CONTEXT *Context)
 
VOID PhpFreeHexEditContext (_In_ _Post_invalid_ PPHP_HEXEDIT_CONTEXT Context)
 
LRESULT CALLBACK PhpHexEditWndProc (_In_ HWND hwnd, _In_ UINT uMsg, _In_ WPARAM wParam, _In_ LPARAM lParam)
 
VOID PhpHexEditUpdateMetrics (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_opt_ HDC hdc)
 
VOID PhpHexEditOnPaint (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ PAINTSTRUCT *PaintStruct, _In_ HDC hdc)
 
VOID PhpHexEditUpdateScrollbars (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
FORCEINLINE BOOLEAN PhpHexEditHasSelected (_In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditCreateAddressCaret (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditCreateEditCaret (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditRepositionCaret (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG Position)
 
VOID PhpHexEditCalculatePosition (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG X, _In_ LONG Y, _Out_ POINT *Point)
 
VOID PhpHexEditMove (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG X, _In_ LONG Y)
 
VOID PhpHexEditSetSel (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG S, _In_ LONG E)
 
VOID PhpHexEditScrollTo (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG Position)
 
VOID PhpHexEditClearEdit (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditCopyEdit (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditCutEdit (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditPasteEdit (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditSelectAll (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditUndoEdit (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditNormalizeSel (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context)
 
VOID PhpHexEditSelDelete (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG S, _In_ LONG E)
 
VOID PhpHexEditSelInsert (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ LONG S, _In_ LONG L)
 
VOID PhpHexEditSetBuffer (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ PUCHAR Data, _In_ ULONG Length)
 
VOID PhpHexEditSetData (_In_ HWND hwnd, _In_ PPHP_HEXEDIT_CONTEXT Context, _In_ PUCHAR Data, _In_ ULONG Length)
 

Macro Definition Documentation

#define IS_PRINTABLE (   Byte)    ((ULONG)((Byte) - ' ') <= (ULONG)('~' - ' '))

Definition at line 42 of file hexeditp.h.

#define REDRAW_WINDOW (   hwnd)    RedrawWindow((hwnd), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE)

Definition at line 50 of file hexeditp.h.

#define TO_HEX (   Buffer,
  Byte 
)
Value:
{ \
*(Buffer)++ = PhIntegerToChar[(Byte) >> 4]; \
*(Buffer)++ = PhIntegerToChar[(Byte) & 0xf]; \
}

Definition at line 44 of file hexeditp.h.

Typedef Documentation

Function Documentation

VOID PhpCreateHexEditContext ( _Out_ PPHP_HEXEDIT_CONTEXT Context)

Definition at line 53 of file hexedit.c.

VOID PhpFreeHexEditContext ( _In_ _Post_invalid_ PPHP_HEXEDIT_CONTEXT  Context)

Definition at line 93 of file hexedit.c.

VOID PhpHexEditCalculatePosition ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  X,
_In_ LONG  Y,
_Out_ POINT *  Point 
)

Definition at line 1360 of file hexedit.c.

VOID PhpHexEditClearEdit ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1541 of file hexedit.c.

VOID PhpHexEditCopyEdit ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1555 of file hexedit.c.

VOID PhpHexEditCreateAddressCaret ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1293 of file hexedit.c.

VOID PhpHexEditCreateEditCaret ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1302 of file hexedit.c.

VOID PhpHexEditCutEdit ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1646 of file hexedit.c.

FORCEINLINE BOOLEAN PhpHexEditHasSelected ( _In_ PPHP_HEXEDIT_CONTEXT  Context)

Definition at line 86 of file hexeditp.h.

VOID PhpHexEditMove ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  X,
_In_ LONG  Y 
)

Definition at line 1436 of file hexedit.c.

VOID PhpHexEditNormalizeSel ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1748 of file hexedit.c.

VOID PhpHexEditOnPaint ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ PAINTSTRUCT *  PaintStruct,
_In_ HDC  hdc 
)

Definition at line 997 of file hexedit.c.

VOID PhpHexEditPasteEdit ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1659 of file hexedit.c.

VOID PhpHexEditRepositionCaret ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  Position 
)

Definition at line 1311 of file hexedit.c.

VOID PhpHexEditScrollTo ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  Position 
)

Definition at line 1516 of file hexedit.c.

VOID PhpHexEditSelDelete ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  S,
_In_ LONG  E 
)

Definition at line 1763 of file hexedit.c.

VOID PhpHexEditSelectAll ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1729 of file hexedit.c.

VOID PhpHexEditSelInsert ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  S,
_In_ LONG  L 
)

Definition at line 1794 of file hexedit.c.

VOID PhpHexEditSetBuffer ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ PUCHAR  Data,
_In_ ULONG  Length 
)

Definition at line 1818 of file hexedit.c.

VOID PhpHexEditSetData ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ PUCHAR  Data,
_In_ ULONG  Length 
)

Definition at line 1838 of file hexedit.c.

VOID PhpHexEditSetSel ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_ LONG  S,
_In_ LONG  E 
)

Definition at line 1488 of file hexedit.c.

VOID PhpHexEditUndoEdit ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1740 of file hexedit.c.

VOID PhpHexEditUpdateMetrics ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context,
_In_opt_ HDC  hdc 
)

Definition at line 954 of file hexedit.c.

VOID PhpHexEditUpdateScrollbars ( _In_ HWND  hwnd,
_In_ PPHP_HEXEDIT_CONTEXT  Context 
)

Definition at line 1266 of file hexedit.c.

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

Definition at line 103 of file hexedit.c.