Hmm, cause GetMenuStringW uses strlenW, so I just copy it.
2008/7/3 Juan Lang juan.lang@gmail.com:
Hi Zhangrong,
+static inline unsigned int strlenW( const WCHAR *str ) +{
- const WCHAR *s = str;
- while (*s) s++;
- return s - str;
+}
Is there some reason you can't just use lstrlenW? --Juan