Go to the source code of this file.
|
#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) |
|
#define HEM_GETBUFFER (WM_USER + 3) |
#define HEM_SETBUFFER (WM_USER + 1) |
#define HEM_SETBYTESPERROW (WM_USER + 6) |
#define HEM_SETDATA (WM_USER + 2) |
#define HEM_SETEDITMODE (WM_USER + 5) |
#define HEM_SETSEL (WM_USER + 4) |
#define HexEdit_GetBuffer |
( |
|
hWnd, |
|
|
|
Length |
|
) |
| ((PUCHAR)SendMessage((hWnd), HEM_GETBUFFER, (WPARAM)(Length), 0)) |
#define HexEdit_SetBuffer |
( |
|
hWnd, |
|
|
|
Buffer, |
|
|
|
Length |
|
) |
| SendMessage((hWnd), HEM_SETBUFFER, (WPARAM)(Length), (LPARAM)(Buffer)) |
#define HexEdit_SetBytesPerRow |
( |
|
hWnd, |
|
|
|
BytesPerRow |
|
) |
| SendMessage((hWnd), HEM_SETBYTESPERROW, (WPARAM)(BytesPerRow), 0) |
#define HexEdit_SetData |
( |
|
hWnd, |
|
|
|
Buffer, |
|
|
|
Length |
|
) |
| SendMessage((hWnd), HEM_SETDATA, (WPARAM)(Length), (LPARAM)(Buffer)) |
#define HexEdit_SetEditMode |
( |
|
hWnd, |
|
|
|
Mode |
|
) |
| SendMessage((hWnd), HEM_SETEDITMODE, (WPARAM)(Mode), 0) |
#define HexEdit_SetSel |
( |
|
hWnd, |
|
|
|
Start, |
|
|
|
End |
|
) |
| SendMessage((hWnd), HEM_SETSEL, (WPARAM)(Start), (LPARAM)(End)) |
#define PH_HEXEDIT_CLASSNAME L"PhHexEdit" |
BOOLEAN PhHexEditInitialization |
( |
VOID |
| ) |
|