Process Hacker
hexedit.h File Reference

Go to the source code of this file.

Macros

#define PH_HEXEDIT_CLASSNAME   L"PhHexEdit"
 
#define EDIT_NONE   0
 
#define EDIT_ASCII   1
 
#define EDIT_HIGH   2
 
#define EDIT_LOW   3
 
#define HEM_SETBUFFER   (WM_USER + 1)
 
#define HEM_SETDATA   (WM_USER + 2)
 
#define HEM_GETBUFFER   (WM_USER + 3)
 
#define HEM_SETSEL   (WM_USER + 4)
 
#define HEM_SETEDITMODE   (WM_USER + 5)
 
#define HEM_SETBYTESPERROW   (WM_USER + 6)
 
#define HexEdit_SetBuffer(hWnd, Buffer, Length)   SendMessage((hWnd), HEM_SETBUFFER, (WPARAM)(Length), (LPARAM)(Buffer))
 
#define HexEdit_SetData(hWnd, Buffer, Length)   SendMessage((hWnd), HEM_SETDATA, (WPARAM)(Length), (LPARAM)(Buffer))
 
#define HexEdit_GetBuffer(hWnd, Length)   ((PUCHAR)SendMessage((hWnd), HEM_GETBUFFER, (WPARAM)(Length), 0))
 
#define HexEdit_SetSel(hWnd, Start, End)   SendMessage((hWnd), HEM_SETSEL, (WPARAM)(Start), (LPARAM)(End))
 
#define HexEdit_SetEditMode(hWnd, Mode)   SendMessage((hWnd), HEM_SETEDITMODE, (WPARAM)(Mode), 0)
 
#define HexEdit_SetBytesPerRow(hWnd, BytesPerRow)   SendMessage((hWnd), HEM_SETBYTESPERROW, (WPARAM)(BytesPerRow), 0)
 

Functions

BOOLEAN PhHexEditInitialization (VOID)
 

Macro Definition Documentation

#define EDIT_ASCII   1

Definition at line 7 of file hexedit.h.

#define EDIT_HIGH   2

Definition at line 8 of file hexedit.h.

#define EDIT_LOW   3

Definition at line 9 of file hexedit.h.

#define EDIT_NONE   0

Definition at line 6 of file hexedit.h.

#define HEM_GETBUFFER   (WM_USER + 3)

Definition at line 17 of file hexedit.h.

#define HEM_SETBUFFER   (WM_USER + 1)

Definition at line 15 of file hexedit.h.

#define HEM_SETBYTESPERROW   (WM_USER + 6)

Definition at line 20 of file hexedit.h.

#define HEM_SETDATA   (WM_USER + 2)

Definition at line 16 of file hexedit.h.

#define HEM_SETEDITMODE   (WM_USER + 5)

Definition at line 19 of file hexedit.h.

#define HEM_SETSEL   (WM_USER + 4)

Definition at line 18 of file hexedit.h.

#define HexEdit_GetBuffer (   hWnd,
  Length 
)    ((PUCHAR)SendMessage((hWnd), HEM_GETBUFFER, (WPARAM)(Length), 0))

Definition at line 28 of file hexedit.h.

#define HexEdit_SetBuffer (   hWnd,
  Buffer,
  Length 
)    SendMessage((hWnd), HEM_SETBUFFER, (WPARAM)(Length), (LPARAM)(Buffer))

Definition at line 22 of file hexedit.h.

#define HexEdit_SetBytesPerRow (   hWnd,
  BytesPerRow 
)    SendMessage((hWnd), HEM_SETBYTESPERROW, (WPARAM)(BytesPerRow), 0)

Definition at line 37 of file hexedit.h.

#define HexEdit_SetData (   hWnd,
  Buffer,
  Length 
)    SendMessage((hWnd), HEM_SETDATA, (WPARAM)(Length), (LPARAM)(Buffer))

Definition at line 25 of file hexedit.h.

#define HexEdit_SetEditMode (   hWnd,
  Mode 
)    SendMessage((hWnd), HEM_SETEDITMODE, (WPARAM)(Mode), 0)

Definition at line 34 of file hexedit.h.

#define HexEdit_SetSel (   hWnd,
  Start,
  End 
)    SendMessage((hWnd), HEM_SETSEL, (WPARAM)(Start), (LPARAM)(End))

Definition at line 31 of file hexedit.h.

#define PH_HEXEDIT_CLASSNAME   L"PhHexEdit"

Definition at line 4 of file hexedit.h.

Function Documentation

BOOLEAN PhHexEditInitialization ( VOID  )

Definition at line 29 of file hexedit.c.