[ros-dev] [ros-diffs] [cmihail] 53541: [shell32.dll] - Don't do some parameter checks, even if MSDN says they're incompatible. Winetests with windows 2003 server as reference tells us msdn lies. (Spotted by Victor Marti...

Claudiu Mihail claudiu.bogdan.mihail at gmail.com
Sat Sep 3 12:13:10 UTC 2011


Hmmm...I'll have to take your word on that. I'll refrain from any more
attacks on MSDN unless I have concrete evidence.

Kind regards,
Claudiu

On Sat, Sep 3, 2011 at 2:56 PM, Alex Ionescu <ionucu at videotron.ca> wrote:

> Just because the checks aren't in THIS api doesn't mean MSDN lies.
>
> Best regards,
> Alex Ionescu
>
>
> On Sat, Sep 3, 2011 at 11:55 AM, <cmihail at svn.reactos.org> wrote:
>
>> Author: cmihail
>> Date: Sat Sep  3 10:55:51 2011
>> New Revision: 53541
>>
>> URL: http://svn.reactos.org/svn/reactos?rev=53541&view=rev
>> Log:
>> [shell32.dll]
>> - Don't do some parameter checks, even if MSDN says they're incompatible.
>> Winetests with windows 2003 server as reference tells us msdn lies. (Spotted
>> by Victor Martinez)
>>
>> Modified:
>>    branches/shell32_new-bringup/dll/win32/shell32/shell32_main.cpp
>>
>> Modified: branches/shell32_new-bringup/dll/win32/shell32/shell32_main.cpp
>> URL:
>> http://svn.reactos.org/svn/reactos/branches/shell32_new-bringup/dll/win32/shell32/shell32_main.cpp?rev=53541&r1=53540&r2=53541&view=diff
>>
>> ==============================================================================
>> --- branches/shell32_new-bringup/dll/win32/shell32/shell32_main.cpp
>> [iso-8859-1] (original)
>> +++ branches/shell32_new-bringup/dll/win32/shell32/shell32_main.cpp
>> [iso-8859-1] Sat Sep  3 10:55:51 2011
>> @@ -330,9 +330,6 @@
>>           (flags & SHGFI_PIDL)? "pidl" : debugstr_w(path),
>> dwFileAttributes,
>>           psfi, psfi->dwAttributes, sizeofpsfi, flags);
>>
>> -    if ( (flags & SHGFI_USEFILEATTRIBUTES) &&
>> -         (flags & (SHGFI_ATTRIBUTES|SHGFI_EXETYPE|SHGFI_PIDL)))
>> -        return FALSE;
>>     if (!path)
>>          return FALSE;
>>
>>
>>
>>
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.reactos.org/pipermail/ros-dev/attachments/20110903/16ec6e06/attachment.htm>


More information about the Ros-dev mailing list