Re: [2/2] oleacc: implemented GetRoleText[A/W] with some tests
25 Sep
2008
25 Sep
'08
4:33 a.m.
Nikolay Sivov <bunglehead(a)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. -- Dmitry.
6288
Age (days ago)
6288
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov