Add Tests for InternetQueryOption - try 2
Vijay Kiran Kamuju
infyquest at gmail.com
Fri Feb 3 21:46:36 CST 2006
Hi.
I have initialized it the starting of the code.
see newlen=len=strlen(useragent)+1;
Are you talking about the first one, (i could see only one near the begining).
Thanks,
Vijay
On 2/3/06, Dmitry Timoshkov <dmitry at codeweavers.com> wrote:
> On Fri, 2006-02-03 at 15:36 +0530, Vijay Kiran Kamuju wrote:
>
> > +SetLastError(0xdeadbeef);
> > +
> retval=InternetQueryOptionA(hinet,INTERNET_OPTION_USER_AGENT,NULL,&len);
> > +err=GetLastError();
>
> You need to initialize length parameter before InternetQueryOption call.
>
> --
> Dmitry.
>
>
More information about the wine-devel
mailing list