Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: 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


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

This problem occurs because of an error in the Wininet.dll file.

↑ Back to the top


Resolution

Security update information

To resolve this problem, install the most current cumulative security update for Internet Explorer. To install the most current updates, visit the following Microsoft Web site: For more technical information about the most current cumulative security update for Internet Explorer, visit the following Microsoft Web site: Note This fix was first included in security update 937143 (MS07-045). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
937143 MS07-045: Cumulative Security Update for Internet Explorer

Windows Vista service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have Windows Vista, Microsoft Windows Server 2003 Service Pack 2 (SP2), or Microsoft Windows XP Service Pack 2 (SP2) installed to apply this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Amd64_52dafee8e9a83e271f6abfa479159932_31bf3856ad364e35_6.0.6000.20578_none_9879498b8d92be67.manifestNot Applicable72813-Apr-200715:53Not Applicable
Amd64_ef1c6b5444d7332d1548f5a408cd6762_31bf3856ad364e35_6.0.6000.20578_none_1fe3b4124460d158.manifestNot Applicable73013-Apr-200715:53Not Applicable
Amd64_microsoft-windows-i..tocolimplementation_31bf3856ad364e35_6.0.6000.20578_none_5c673c36765925f6.manifestNot Applicable56,67613-Apr-200716:00Not Applicable
Package_1_for_kb935776~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,81713-Apr-200715:53Not Applicable
Package_2_for_kb935776~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable2,03613-Apr-200715:53Not Applicable
Update.mumNot Applicable1,90913-Apr-200715:53Not Applicable
Jsproxy.dll7.0.6000.2057832,25613-Apr-200703:39x64
Wininet.dll7.0.6000.205781,020,92813-Apr-200703:41x64
Wininetplugin.dll1.0.0.193,18413-Apr-200703:41x64
Windows Vista, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Update.mumNot Applicable2,02513-Apr-200715:53Not Applicable
X86_52dafee8e9a83e271f6abfa479159932_31bf3856ad364e35_6.0.6000.20578_none_3c5aae07d5354d31.manifestNot Applicable72613-Apr-200715:53Not Applicable
X86_microsoft-windows-i..tocolimplementation_31bf3856ad364e35_6.0.6000.20578_none_0048a0b2bdfbb4c0.manifestNot Applicable56,60213-Apr-200715:55Not Applicable
Jsproxy.dll7.0.6000.2057827,64813-Apr-200702:37x86
Wininet.dll7.0.6000.20578823,80813-Apr-200702:38x86
Wininetplugin.dll1.0.0.164,51213-Apr-200702:38x86
Windows Server 2003, x64-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Wininet.dll7.0.6000.205791,020,92819-Apr-200705:01x64SP2Not Applicable
Wwininet.dll7.0.6000.20579823,80819-Apr-200705:01x86SP2WOW
Windows Server 2003, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Wininet.dll7.0.6000.20579823,80819-Apr-200719:13x86
Windows Server 2003, Itanium-based versions
File nameFile versionFile sizeDateTimePlatformSP requirementService branch
Wininet.dll7.0.6000.205791,859,58419-Apr-200705:04IA-64SP2Not Applicable
Wwininet.dll7.0.6000.20579823,80819-Apr-200705:04x86SP2WOW
Windows XP, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Wininet.dll7.0.6000.20579823,80819-Apr-200717:52x86

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Windows Vista Service Pack 1.

↑ Back to the top


More information

For more information about the InternetQueryOption function, visit the following Microsoft Developer Network (MSDN) Web site:For more information about option flags, visit the following MSDN Web site:For more information about the Windows Internet API, visit the following MSDN Web site: For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: KB935776, kbHotfixServer, kbqfe, kbfix, kbexpertiseadvanced, kbvistasp1fix, kbautohotfix

↑ Back to the top

Article Info
Article ID : 935776
Revision : 3
Created on : 10/8/2011
Published on : 10/8/2011
Exists online : False
Views : 567