GuiAddLogMessage

向日志添加消息。该消息将显示在日志窗口和 x64dbg 底部的状态栏中。消息以纯文本形式显示。如需显示格式化消息,请使用 GuiAddLogMessageHtml

void GuiAddLogMessage(
    const char* msg // 包含要添加到日志的消息的字符串
);

参数

msg 包含要添加到日志的消息的字符串。请确保字符串中包含回车符和换行符,以便正确显示。编码格式为 UTF-8。

返回值

此函数不返回值。

示例

GuiAddLogMessage("This text will be displayed in the log view.\n");
.data
szMsg db "This text will be displayed in the log view",13,10,0 ; CRLF
    
.code
Invoke GuiAddLogMessage, Addr szMsg

相关函数