Oh, I see, cross-test on Windows 95/98/Me maybe fail if uses lstrlenW.
See http://msdn.microsoft.com/en-us/library/ms647492(VS.85).aspx
Windows 95/98/Me: Although lstrlenW exists on Microsoft Windows 95/98/Me, it is supported by the Microsoft Layer for Unicode (MSLU) to give more consistent behavior across all Windows operating systems. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems.
2008/7/3 Huang, Zhangrong hzhrong@gmail.com:
Hmm, cause GetMenuStringW uses strlenW, so I just copy it.