oleacc: implemented GetRoleText[A/W]

Dmitry Timoshkov dmitry at codeweavers.com
Sat Sep 13 02:00:52 CDT 2008


"Nikolay Sivov" <bunglehead at gmail.com> wrote:

>> Why not just use LoadStringW directly?
> Because I don't know how to get string length with LoadStringW. It 
> returns with zero when
> called with NULL buffer. I could pass a pointer to single char and 
> (buflen = = 0) maybe.
> Btw, is it normal that LoadString[A/W] differs much handling this 
> NULL-buffer cases?

A test case would tell it definitely.

>> Introducing the IDS_ROLE_SYSTEM_xxx identifiers is completely redundant,
>> use the ROLE_SYSTEM_xxx values directly instead.
>>
> You mean to use ROLE_SYSTEM_* directly in all .rc files?

Yes.

-- 
Dmitry.



More information about the wine-devel mailing list