42 #define IS_PRINTABLE(Byte) ((ULONG)((Byte) - ' ') <= (ULONG)('~' - ' '))
44 #define TO_HEX(Buffer, Byte) \
46 *(Buffer)++ = PhIntegerToChar[(Byte) >> 4]; \
47 *(Buffer)++ = PhIntegerToChar[(Byte) & 0xf]; \
50 #define REDRAW_WINDOW(hwnd) \
51 RedrawWindow((hwnd), NULL, NULL, RDW_INVALIDATE | RDW_UPDATENOW | RDW_ERASE)
54 _Out_ PPHP_HEXEDIT_CONTEXT *Context
58 _In_ _Post_invalid_ PPHP_HEXEDIT_CONTEXT Context
70 _In_ PPHP_HEXEDIT_CONTEXT Context,
76 _In_ PPHP_HEXEDIT_CONTEXT Context,
77 _In_ PAINTSTRUCT *PaintStruct,
83 _In_ PPHP_HEXEDIT_CONTEXT Context
87 _In_ PPHP_HEXEDIT_CONTEXT Context
90 return Context->SelStart != -1;
95 _In_ PPHP_HEXEDIT_CONTEXT Context
100 _In_ PPHP_HEXEDIT_CONTEXT Context
105 _In_ PPHP_HEXEDIT_CONTEXT Context,
111 _In_ PPHP_HEXEDIT_CONTEXT Context,
119 _In_ PPHP_HEXEDIT_CONTEXT Context,
126 _In_ PPHP_HEXEDIT_CONTEXT Context,
133 _In_ PPHP_HEXEDIT_CONTEXT Context,
139 _In_ PPHP_HEXEDIT_CONTEXT Context
144 _In_ PPHP_HEXEDIT_CONTEXT Context
149 _In_ PPHP_HEXEDIT_CONTEXT Context
154 _In_ PPHP_HEXEDIT_CONTEXT Context
159 _In_ PPHP_HEXEDIT_CONTEXT Context
164 _In_ PPHP_HEXEDIT_CONTEXT Context
169 _In_ PPHP_HEXEDIT_CONTEXT Context
174 _In_ PPHP_HEXEDIT_CONTEXT Context,
181 _In_ PPHP_HEXEDIT_CONTEXT Context,
188 _In_ PPHP_HEXEDIT_CONTEXT Context,
195 _In_ PPHP_HEXEDIT_CONTEXT Context,