From b86dbc4c76c1da00ad46e71d7037e50a4ffd9dc0 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Thu, 18 Jun 2015 13:45:17 +0000 Subject: [PATCH] [INCLUDE] - Fix undocshell.h build without UNICODE defined svn path=/trunk/; revision=68187 --- reactos/include/reactos/undocshell.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/reactos/undocshell.h b/reactos/include/reactos/undocshell.h index a618defbfb3..5b91a4cb955 100644 --- a/reactos/include/reactos/undocshell.h +++ b/reactos/include/reactos/undocshell.h @@ -605,7 +605,7 @@ static inline void DbgDumpMenuInternal(HMENU hmenu, char* padding, int padlevel) mii.dwTypeData = label; mii.cch = _countof(label); - GetMenuItemInfo(hmenu, i, TRUE, &mii); + GetMenuItemInfoW(hmenu, i, TRUE, &mii); if (mii.fType & MFT_BITMAP) DbgPrint("%s%2d - %08x: BITMAP %08p (state=%d, has submenu=%s)\n", padding, i, mii.wID, mii.hbmpItem, mii.fState, mii.hSubMenu ? "TRUE" : "FALSE");