<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by gillsr</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/gillsr/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by gillsr</title>
		<link>http://channel9.msdn.com/Niners/gillsr/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/gillsr/Discussions</link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 04:59:53 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 04:59:53 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Tech Off - WM_GESTURECOMMAND on Windows 7</title>
		<description><![CDATA[<p>Hello, I'm trying to write a simple application that listens for WM_gesture messages in c# but don't have the PDC examples. I have got as far as (important snippets):<br /></p>
<p>[DllImport(&quot;user32&quot;)]<br />[return: MarshalAs(UnmanagedType.Bool)]<br />private static extern bool GetGestureInfo(System.IntPtr hGestureInfo, [Out]&nbsp;GESTUREINFO pGestureInfo);<br /><br /><br />private struct GESTUREINFO <br />{<br />public int cbSize;<br />public int dwFlags;<br />public int dwID;<br />public System.IntPtr hwndTarget;<br />public POINTS ptsLocation;<br />public int dwInstanceID;<br />public int dwSequenceID;<br />public&nbsp;ulong ullArguments;<br />public int cbExtraArgs;}<br /><br />GESTUREINFO gi = new GESTUREINFO();<br />gi.cbSize = Marshal.SizeOf(gi);<br />gi.dwFlags = 0;<br />gi.ptsLocation.x = 0;<br />gi.ptsLocation.y = 0;<br />gi.dwID = 0;<br />gi.dwInstanceID = 0;<br />gi.dwSequenceID = 0;</p>
<p>try<br />{<br />bResult = GetGestureInfo(m.LParam, gi);<br />}<br />catch (Exception)<br />{<br />throw;<br />}</p>
<p>But always get:<br />Attempted to read or write protected memory. This is often an indication that other memory is corrupt.<br />on the GetgestureInfo call<br /><br />Anyone have any advice?<br /><br />(Running Dell XT &amp; ntrig multitouch driver on Win7 public beta)</p>]]></description>
		<link>http://channel9.msdn.com/Forums/TechOff/442399-WMGESTURECOMMAND-on-Windows-7/3fdbc4764f3b4f96bec29deb0001414b#3fdbc4764f3b4f96bec29deb0001414b</link>
		<pubDate>Thu, 22 Jan 2009 21:41:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/TechOff/442399-WMGESTURECOMMAND-on-Windows-7/3fdbc4764f3b4f96bec29deb0001414b#3fdbc4764f3b4f96bec29deb0001414b</guid>
		<dc:creator>gillsr</dc:creator>
		<slash:comments>4</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/gillsr/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>