wininet: Return size when buffer too small

Rotem Zach rotemz at
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

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

More information about the wine-patches mailing list