The buffer size of the InternetQueryOptionW function is half of its actual size if you use INTERNET_OPTION_URL as the second parameter in Internet Explorer 7
The InternetQueryOptionW function should set the fourth parameter in bytes. The fourth parameter is used to set the buffer size. However, if you use INTERNET_OPTION_URL as the second parameter in Windows Internet Explorer 7, the buffer size is set in character numbers. Therefore, the buffer size is half of its actual size.
Note: This problem does not occur in earlier versions of Internet Explorer or in the InternetQueryOptionA function.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB935777.

Start
About
FAQ
Blogroll
Shop
Tips and Tricks
Windows Updates
Hotfixes
Keyboard Shortcuts
Vista's Services
Vista's Commands
Product Reviews
Glossary
Videos
Web Links

Comments
There are no comments yet...Come on, share your thoughts!
Leave a Comment