[PATCH 3/3] oleacc: Add GetStateText implementation

Piotr Caban piotr.caban at gmail.com
Wed May 14 09:23:44 CDT 2014


On 05/14/14 16:13, Nikolay Sivov wrote:
>> +    ret = GetStateTextW(0, (WCHAR*)&ptr, 0);
> Why not use id symbols, instead of magic numbers?
It's quite common to use 0 as no-flag (it doesn't change anything now 
but STATE_SYSTEM_NORMAL is not defined when winuser.h is included). The 
tests are not really checking any specific flags, they are checking all 
possible values.



More information about the wine-devel mailing list