HyperDbg Debugger
Loading...
Searching...
No Matches
messaging.h File Reference

headers for messaging functions More...

Go to the source code of this file.

Functions

VOID SetTextMessageCallback (PVOID Handler)
 Set the function callback that will be called if any message needs to be shown.
PVOID SetTextMessageCallbackUsingSharedBuffer (PVOID Handler)
 Set the function callback that will be called if any message needs to be shown.
VOID UnsetTextMessageCallback ()
 Unset the function callback that will be called if any message needs to be shown.

Detailed Description

headers for messaging functions

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
Version
0.19
Date
2026-05-28

Function Documentation

◆ SetTextMessageCallback()

VOID SetTextMessageCallback ( PVOID Handler)

Set the function callback that will be called if any message needs to be shown.

Parameters
HandlerFunction that handles the messages
Returns
VOID
34{
35 g_MessageHandler = Handler;
36}
PVOID g_MessageHandler
The handler for ShowMessages function this is because the user might choose not to use printf and ins...
Definition globals.h:460

◆ SetTextMessageCallbackUsingSharedBuffer()

PVOID SetTextMessageCallbackUsingSharedBuffer ( PVOID Handler)

Set the function callback that will be called if any message needs to be shown.

Parameters
HandlerFunction that handles the messages
Returns
PVOID
47{
48 g_MessageHandler = Handler;
50
52 {
54 return NULL;
55 }
56
58
60}
#define TCP_END_OF_BUFFER_CHARS_COUNT
count of characters for tcp end of buffer
Definition Constants.h:442
#define COMMUNICATION_BUFFER_SIZE
Packet size for TCP connections.
Definition Constants.h:338
PVOID g_MessageHandlerSharedBuffer
The shared buffer for the handler of ShowMessages function.
Definition globals.h:466
NULL()
Definition test-case-generator.py:530

◆ UnsetTextMessageCallback()

VOID UnsetTextMessageCallback ( )

Unset the function callback that will be called if any message needs to be shown.

Returns
VOID