summaryrefslogtreecommitdiff
path: root/frontends/windows/windbg.h
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/windows/windbg.h')
-rw-r--r--frontends/windows/windbg.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/frontends/windows/windbg.h b/frontends/windows/windbg.h
index 6cd9f97f8..f09cea9e6 100644
--- a/frontends/windows/windbg.h
+++ b/frontends/windows/windbg.h
@@ -16,20 +16,25 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _NETSURF_WINDOWS_WINDBG_H_
-#define _NETSURF_WINDOWS_WINDBG_H_
+#ifndef NETSURF_WINDOWS_WINDBG_H
+#define NETSURF_WINDOWS_WINDBG_H
#include "utils/log.h"
const char *msg_num_to_name(int msg);
void win_perror(const char *lpszFunction);
+/**
+ * log windows message
+ *
+ * log a windows message with symbols converted to human redable
+ */
#define LOG_WIN_MSG(h, m, w, l) \
if (((m) != WM_SETCURSOR) && \
((m) != WM_MOUSEMOVE) && \
((m) != WM_NCHITTEST) && \
((m) != WM_ENTERIDLE)) \
- NSLOG(netsurf, INFO, \
+ NSLOG(netsurf, DEBUG, \
"%s, hwnd %p, w 0x%x, l 0x%Ix", \
msg_num_to_name(m), h, w, l)