[shell32] DragQueryFile doesn't count the null terminator

Damjan Jovanovic damjan.jov at gmail.com
Fri Jul 6 00:27:56 CDT 2007


As noted in bug 8511 and my tests confirmed, DragQueryFileA and
DragQueryFileW return string lengths without counting the terminating
null. DragQueryFile16 could not  be tested, but it's a reasonable
guess...

Changelog:
* DragQueryFile doesn't count the null terminator.

Damjan Jovanovic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dragqueryfile.diff
Type: text/x-diff
Size: 1261 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070706/b6e2a9c4/dragqueryfile.bin


More information about the wine-patches mailing list