<?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 Forums - Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<link>http://channel9.msdn.com/Forums</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/Forums</link>
	<language>en</language>
	<pubDate>Thu, 20 Jun 2013 04:28:05 GMT</pubDate>
	<lastBuildDate>Thu, 20 Jun 2013 04:28:05 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>10</c9:totalResults>
	<c9:pageCount>-10</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>I've run across a situation where a customer is reporting odd behavior from his system.&nbsp; The software running on his system uses the GetVolumeInformation in kernel32 to document the machine's current hard drive serial number.&nbsp; Sometimes it gets the serial number and other times it doesn't.&nbsp; The user can literally run the app and not get the number, exit, then run the app and get the number.&nbsp; Odd, just odd.&nbsp; I've run through the P/Invoke declaration and it seems right.&nbsp; I'm wondering if Trend Micro is interfering but am having a hard time understanding if it is, how.&nbsp; Can Trend Micro interfer with kernel32 API calls?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/2f556160caab47dbbadda147014461a4#2f556160caab47dbbadda147014461a4</link>
		<pubDate>Tue, 15 Jan 2013 19:41:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/2f556160caab47dbbadda147014461a4#2f556160caab47dbbadda147014461a4</guid>
		<dc:creator>Dave Williamson</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/davewill/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>Any API can be interfered with, but why would they? More importantly, why would they have it &quot;fail&quot; only some times?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/a56b06c6e7cb41dab403a147016befeb#a56b06c6e7cb41dab403a147016befeb</link>
		<pubDate>Tue, 15 Jan 2013 22:05:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/a56b06c6e7cb41dab403a147016befeb#a56b06c6e7cb41dab403a147016befeb</guid>
		<dc:creator>William Kempf</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/wkempf/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>what is trend micro? if you are detouring the calls, within an app the calls to&nbsp;<span>GetVolumeInformation could be routed to anything; it might also be faulty hardware</span></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/39cdf3704d7045489595a147016e5a07#39cdf3704d7045489595a147016e5a07</link>
		<pubDate>Tue, 15 Jan 2013 22:13:50 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/39cdf3704d7045489595a147016e5a07#39cdf3704d7045489595a147016e5a07</guid>
		<dc:creator>Ion Todirel</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ion Todirel/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#c39cdf3704d7045489595a147016e5a07">Ion Todirel</a>: Trend Micro is an AV product.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/c2189387a3c045879caba147016fd4a2#c2189387a3c045879caba147016fd4a2</link>
		<pubDate>Tue, 15 Jan 2013 22:19:13 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/c2189387a3c045879caba147016fd4a2#c2189387a3c045879caba147016fd4a2</guid>
		<dc:creator>System.UnauthorizedException: selected Species does not have access to target resource &#39;name&#39;.</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/MasterPie/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#ca56b06c6e7cb41dab403a147016befeb">wkempf</a>: That is what my brain says too.&nbsp; I probably wouldn't even consider it if I didn't have so many years experience seeing how trend micro in particular, other anti-virus to a lesser extent, has caused ... well&nbsp;just wierdness.</p><p>We created a separate app that calls the same API using the same P/Invoke and logged the results and had the user randomly run it whenever they felt like it.&nbsp; It never failed.</p><p>I'm perplexed.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/d71d37cc68744ca78cb1a14701738bbd#d71d37cc68744ca78cb1a14701738bbd</link>
		<pubDate>Tue, 15 Jan 2013 22:32:45 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/d71d37cc68744ca78cb1a14701738bbd#d71d37cc68744ca78cb1a14701738bbd</guid>
		<dc:creator>Dave Williamson</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/davewill/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#c39cdf3704d7045489595a147016e5a07">Ion Todirel</a>: Sorry about that.&nbsp; What MasterPie said.&nbsp; It is an anti-virus product.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/8e2361ed635d4cb79591a1470173febe#8e2361ed635d4cb79591a1470173febe</link>
		<pubDate>Tue, 15 Jan 2013 22:34:23 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/8e2361ed635d4cb79591a1470173febe#8e2361ed635d4cb79591a1470173febe</guid>
		<dc:creator>Dave Williamson</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/davewill/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p><span>Do you get an empty&nbsp;lpVolumeSerialNumber, when&nbsp;GetVolumeInformation returns true?</span></p><p><span>-Josh</span></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/ad7a15ec477a4e7db64ea14800540ee7#ad7a15ec477a4e7db64ea14800540ee7</link>
		<pubDate>Wed, 16 Jan 2013 05:06:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/ad7a15ec477a4e7db64ea14800540ee7#ad7a15ec477a4e7db64ea14800540ee7</guid>
		<dc:creator>Joshua Ross</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Jsoh/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#c8e2361ed635d4cb79591a1470173febe">davewill</a>: Does it also happen when the virusscanner is disabled?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/1243e02d2fa443baa2d4a14800c72f1e#1243e02d2fa443baa2d4a14800c72f1e</link>
		<pubDate>Wed, 16 Jan 2013 12:05:12 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/1243e02d2fa443baa2d4a14800c72f1e#1243e02d2fa443baa2d4a14800c72f1e</guid>
		<dc:creator>ZippyV</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ZippyV/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#cad7a15ec477a4e7db64ea14800540ee7">JoshRoss</a>: yes</p><p>@<a href="/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls#c1243e02d2fa443baa2d4a14800c72f1e">ZippyV</a>: haven't been able to determine that in this specific case.&nbsp; customer is locked down by group policy.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/10a167ddb32448fc924ea14800d74b3a#10a167ddb32448fc924ea14800d74b3a</link>
		<pubDate>Wed, 16 Jan 2013 13:03:51 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/10a167ddb32448fc924ea14800d74b3a#10a167ddb32448fc924ea14800d74b3a</guid>
		<dc:creator>Dave Williamson</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/davewill/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Trend Micro - interfering with kernel32 calls?`</title>
		<description><![CDATA[<p>The customer app that occasionally fails (and the test app that never failed) currently has the following (circa 2005) P/Invoke signature:</p><p><pre class="brush: vb">  Private Declare Function GetVolumeSerialNumber Lib &quot;kernel32.dll&quot; Alias &quot;GetVolumeInformationA&quot; (ByVal lpRootPathName As String, _
                     ByVal lpVolumeNameBuffer As String, _
                     ByVal nVolumeNameSize As Integer, _
                     ByRef lpVolumeSerialNumber As Long, _
                     ByVal lpMaximumComponentLength As Integer, _
                     ByVal lpFileSystemFlags As Integer, _
                     ByVal lpFileSystemNameBuffer As String, _
                     ByVal nFileSystemNameSize As Integer) As Long
</pre></p><p>After taking out my pencil sharpener and trying to come up with the perfect signature, we are changing to the following newer signature to see if that helps:</p><p><pre class="brush: vb">  &lt;Runtime.InteropServices.DllImport(&quot;kernel32.dll&quot;, CharSet:=Runtime.InteropServices.CharSet.Unicode, ThrowOnUnmappableChar:=True, SetLastError:=True)&gt; _
  Private Shared Function GetVolumeInformation( _
                                               ByVal lpRootPathName As System.String, _
                                               ByVal lpVolumeNameBuffer As System.Text.StringBuilder, _
                                               ByVal nVolumeNameSize As System.UInt32, _
                                               ByRef lpVolumeSerialNumber As System.UInt32, _
                                               ByRef lpMaximumComponentLength As System.UInt32, _
                                               ByRef lpFileSystemFlags As System.UInt32, _
                                               ByVal lpFileSystemNameBuffer As System.Text.StringBuilder, _
                                               ByVal nFileSystemNameSize As System.UInt32 _
                                               ) As &lt;Runtime.InteropServices.MarshalAs(Runtime.InteropServices.UnmanagedType.Bool)&gt; System.Boolean
  End Function
</pre></p><p>It isn't good to throw changes out just to see what sticks but the Trend Micro theory doesn't sound provable in this situation.&nbsp; If you feel like something wouldn't be marshalled right with the first signature it won't hurt my circa 2005 feelings to tell me.&nbsp; Same for the second signature.</p><p>&nbsp;</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/6314a49e547342d79576a14800e3817e#6314a49e547342d79576a14800e3817e</link>
		<pubDate>Wed, 16 Jan 2013 13:48:19 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Trend-Micro-interfering-with-kernel32-calls/6314a49e547342d79576a14800e3817e#6314a49e547342d79576a14800e3817e</guid>
		<dc:creator>Dave Williamson</dc:creator>
		<slash:comments>10</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/davewill/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>