ITsVISTA
Information that makes life easier when it comes to installing, managing, and using Windows Vista.
Start About FAQ Blogroll Shop

ITsVISTA KB-Link: KB935776

The InternetQueryOptionW function returns a value of true when you use the INTERNET_OPTION_URL option flag as the second parameter in Internet Explorer 7

In Windows Internet Explorer 7, the Microsoft Windows Internet (WinINet) function InternetQueryOptionW returns a value of true when you use the INTERNET_OPTION_URL option flag as the second parameter of the function. This problem occurs even though the buffer is insufficient or NULL.

For example, the clause that you use resembles the following:

bRet = InternetQueryOptionW(hHttpRequest, INTERNET_OPTION_URL, NULL, &dwSize);

You expect that the InternetQueryOptionW function will return a value of false because the buffer is NULL. However, the InternetQueryOptionW function returns a value of true.

Note This problem does not occur in earlier versions of Microsoft Internet Explorer. Also, this problem does not occur if you use the InternetQueryOptionA function.

There is a download that resolves this issue. See Hotfixes for details.
64-Bit Download: Contact Microsoft
This issue is resolved in SP1.

For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB935776.

Get notified of new posts for FREE via RSS or E-mail

Subscribe to ITsVISTA!

Comments

  • There are no comments yet...Come on, share your thoughts!

Leave a Comment