After you set the value of the EventMask parameter to WTS_EVENT_FLUSH in the WTSWaitSystemEvent function in Windows Vista or Windows Server 2008, you cannot receive pending WTSWaitSystemEvent function calls if the target server is running Windows XP

Article translations Article translations
Article ID: 971311 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You develop an application by using the WTSWaitSystemEvent function in Windows Vista or Windows Server 2008. You set the value of the EventMask parameter to WTS_EVENT_FLUSH in the WTSWaitSystemEvent function. The WTS_Event_Flush value enables you to receive all pending WTSWaitSystemEvent function calls on the specified terminal server handle. However, when the application runs in Windows Vista or Windows Server 2008 and the target server runs Windows XP, pending calls to the WTSWaitSystemEvent function do not return as expected.

When this problem occurs, the application that uses the WTSWaitSystemEvent function will crash. Therefore, you must end the corresponding process in Task Manager. This recovers the application.

Notes
  • In Windows Vista RTM, a function fails when the target server is a local computer, or when it is a remote computer that is running Windows XP. However, hotfix 941561 resolves this problem. After you apply hotfix 941561, the function works both locally and remotely.
  • In Windows Vista Service Pack 1 (SP1) or in Windows Server 2008, the function works locally. However, it fails if the target server is running Windows XP.

RESOLUTION

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 the problem described in this article. 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:
http://support.microsoft.com/contactus/?ws=support
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

To apply this hotfix on a computer that is running Windows Vista, you must have Windows Vista SP1 or Windows Vista Service Pack 2 (SP2) installed.

No prerequisites are required for computers that are running Windows Server 2008.

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 and Windows Server 2008 file information notes

The MANIFEST files (.manifest) and MUM files (.mum) installed for each environment are listed separately . MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files (attributes not listed) are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Winsta.dll6.0.6001.22434140,80015-May-200913:02x86
Winsta.dll6.0.6002.22137140,80015-May-200912:52x86
For all supported x64-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Winsta.dll6.0.6001.22434205,82415-May-200913:18x64
Winsta.dll6.0.6002.22137206,33615-May-200912:52x64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
941561 After you set the value of the EventMask parameter to WTS_EVENT_FLUSH in the WTSWaitSystemEvent function, no pending calls to the function return on a Windows Vista-based computer


For more information about the WTSWaitSystemEvent function, visit the following Web site:
http://msdn.microsoft.com/en-us/library/aa383856(VS.85).aspx

Additional file information for Windows Server 2008 and Windows Vista

Additional files for all supported x86-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File namePackage_for_kb971311_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,367
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,365
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,421
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,361
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,701
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,365
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,422
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameX86_4940e90bde70eb36194b426213a76a5c_31bf3856ad364e35_6.0.6001.22434_none_5f58c36963d54799.manifest
File versionNot Applicable
File size712
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameX86_e7b275b41aa15f966098617d8bec21c8_31bf3856ad364e35_6.0.6002.22137_none_2996909050b55f79.manifest
File versionNot Applicable
File size712
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameX86_microsoft-windows-t..nalservices-runtime_31bf3856ad364e35_6.0.6001.22434_none_dd4d2345e5333669.manifest
File versionNot Applicable
File size6,159
Date (UTC)15-May-2009
Time (UTC)16:45
PlatformNot Applicable
File nameX86_microsoft-windows-t..nalservices-runtime_31bf3856ad364e35_6.0.6002.22137_none_df36960be256d792.manifest
File versionNot Applicable
File size6,159
Date (UTC)15-May-2009
Time (UTC)16:44
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Server 2008 and Windows Vista
Collapse this tableExpand this table
File nameAmd64_581364f9b3e26a22b6cacf61874d3e4d_31bf3856ad364e35_6.0.6002.22137_none_9915ccbd2752ee40.manifest
File versionNot Applicable
File size1,072
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameAmd64_7c66539dc1fa0b3d9e975b6956940069_31bf3856ad364e35_6.0.6001.22434_none_a1e26fe22fd9f4c3.manifest
File versionNot Applicable
File size1,072
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameAmd64_fb43ba6cb09805b77616bbed1087f204_31bf3856ad364e35_6.0.6001.22434_none_5e6854cf2849ccc2.manifest
File versionNot Applicable
File size716
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File nameAmd64_microsoft-windows-t..nalservices-runtime_31bf3856ad364e35_6.0.6001.22434_none_396bbec99d90a79f.manifest
File versionNot Applicable
File size6,181
Date (UTC)15-May-2009
Time (UTC)16:45
PlatformNot Applicable
File nameAmd64_microsoft-windows-t..nalservices-runtime_31bf3856ad364e35_6.0.6002.22137_none_3b55318f9ab448c8.manifest
File versionNot Applicable
File size6,181
Date (UTC)15-May-2009
Time (UTC)16:43
PlatformNot Applicable
File namePackage_for_kb971311_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,375
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,373
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,369
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,711
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,373
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable
File namePackage_for_kb971311_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,438
Date (UTC)18-May-2009
Time (UTC)10:07
PlatformNot Applicable

Properties

Article ID: 971311 - Last Review: October 7, 2011 - Revision: 2.0
APPLIES TO
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Ultimate
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
Keywords: 
kbautohotfix kbexpertiseinter kbfix kbbug kbsurveynew kbqfe KB971311

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com