Article ID: 249315 - Last Review: November 21, 2006 - Revision: 3.1 BUG: WTSWaitSystemEvent Returns Terminal Services Event Twice
This article was previously published under Q249315 On This PageSYMPTOMS
When using WTSWaitSystemEvent in a tight loop, events are reported twice for each actual event.
RESOLUTION
The application should expect the event twice, and filter out the second occurrence.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce BehaviorCompile a program that executes the following code: | Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top