<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wts_event_flush on Remko's Blog</title><link>https://remkoweijnen.nl/blog/tags/wts_event_flush/</link><description>Recent content in Wts_event_flush on Remko's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 25 Jan 2008 18:02:13 +0000</lastBuildDate><atom:link href="https://remkoweijnen.nl/blog/tags/wts_event_flush/index.xml" rel="self" type="application/rss+xml"/><item><title>Using WTSWaitSystemEvent</title><link>https://remkoweijnen.nl/blog/2008/01/25/using-wtswaitsystemevent/</link><pubDate>Fri, 25 Jan 2008 18:02:13 +0000</pubDate><guid>https://remkoweijnen.nl/blog/2008/01/25/using-wtswaitsystemevent/</guid><description>&lt;p&gt;If you develop an application for Terminal Server you might want to react on session events. This means that your application is notified when a user logs on, logs off or becomes idle. This can be done with the &lt;a target="_blank" href="http://msdn2.microsoft.com/en-us/library/aa383856(VS.85).aspx"&gt;WTSWaitSystemEvent&lt;/a&gt; function. Implementing it is rather simple and could look something like this:&lt;/p&gt;</description></item></channel></rss>