Back to X64dbg

GuiExecuteOnGuiThread

docs/developers/functions/gui/GuiExecuteOnGuiThread.md

2026.04.20419 B
Original Source

GuiExecuteOnGuiThread

Execute a callback function on the GUI thread.

c++
typedef void (*GUICALLBACK)();

void GuiExecuteOnGuiThread(GUICALLBACK cbGuiThread);

Parameters

cbGuiThread A function pointer to the callback function.

Return Value

This function does not return a value.

Example

c++
Example code.