wininet: Return buffer size when buffer too small

Rotem Zach rotemz at gmail.com
Sun Sep 7 09:14:10 CDT 2008


When InternetQueryOption is called with an insufficient buffer legnth,
it returns the needed buffer size.

This patch implements that for several cases, and it includes a
conformance test for the changes.

---
 dlls/wininet/internet.c       |   12 ++++++++++++
 dlls/wininet/tests/internet.c |   38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+), 0 deletions(-)

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


More information about the wine-patches mailing list