Re: [PATCH 3/3] oleacc: Add GetStateText implementation
14 May
2014
14 May
'14
5:13 p.m.
+ ret = GetStateTextW(0, (WCHAR*)&ptr, 0); Why not use id symbols, instead of magic numbers?
14 May
14 May
5:23 p.m.
New subject: [PATCH 3/3] oleacc: Add GetStateText implementation
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.
4233
Age (days ago)
4233
Last active (days ago)
1 comments
2 participants
participants (2)
-
Nikolay Sivov -
Piotr Caban