wininet: Return size when buffer too small

Rotem Zach rotemz at gmail.com
Mon Sep 8 18:07:47 CDT 2008


When InternetQueryOption is called with an insufficient buffer length,
it returns the needed buffer size.
This patch implements that, and it includes a conformance test for the
changes.


Fixed the very long lines, sorry about that.


---
 dlls/wininet/http.c           |   35 ++++++---
 dlls/wininet/internet.c       |   47 +++++++++---
 dlls/wininet/tests/internet.c |  166
+++++++++++++++++++++++++++++++++++++++++
 3 files changed, 226 insertions(+), 22 deletions(-)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wininet-Return-size-when-buffer-too-small.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20080909/8c1fe58c/attachment.txt 


More information about the wine-patches mailing list