Nikolay Sivov bunglehead@gmail.com wrote:
+UINT WINAPI GetRoleTextA(DWORD role, LPSTR lpRole, UINT rolemax) +{
- UINT length;
- WCHAR *roletext;
- INT ret;
- TRACE("%u %p %u\n", role, lpRole, rolemax);
- length = GetRoleTextW(role, NULL, 0);
- if(!length || !lpRole)
return length;
This won't work for a multibyte locale.