<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Minousoft Software &#187; hxhl95</title>
	<atom:link href="http://www.minousoft.com/author/hxhl95/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.minousoft.com</link>
	<description>Software Development</description>
	<lastBuildDate>Wed, 09 Jun 2010 01:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>NtSetSystemPowerState Documented</title>
		<link>http://www.minousoft.com/2009/03/ntsetsystempowerstate-documented/</link>
		<comments>http://www.minousoft.com/2009/03/ntsetsystempowerstate-documented/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 18:18:44 +0000</pubDate>
		<dc:creator>hxhl95</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[shutdown]]></category>

		<guid isPermaLink="false">http://www.minousoft.com/?p=126</guid>
		<description><![CDATA[<p>Deep inside the Windows kernel, there crawls many, many undocumented functions. With Microsoft&#8217;s secrecy, developers have only been able to document most of them, but not all.</p>
<p>There is one function, however, that has been known to exist but is not documented anywhere (or at least not in any source I&#8217;ve seen). That function is NtSetSystemPowerState. [...]]]></description>
			<content:encoded><![CDATA[<p>Deep inside the Windows kernel, there crawls many, many undocumented functions. With Microsoft&#8217;s secrecy, developers have only been able to document most of them, but not all.</p>
<p>There is one function, however, that has been known to exist but is not documented anywhere (or at least not in any source I&#8217;ve seen). That function is NtSetSystemPowerState. It&#8217;s known that NtShutdownSystem calls NtSetSystemPowerState at the very last stages of the Windows shutdown process after flushing all Registry hives, clearing the disc cache, etc. NtSetSystemPowerState is then responsible for <span id="more-126"></span>turning off all plug-and-pray devices and either telling the system to poweroff, reboot, sleep, or hibernate.</p>
<p>The formal definition of NtSetSystemPowerState is the following:<br />
<a href="javascript:;" class="hackadelic-sliderButton auto-expand"onclick="toggleSlider('#hackadelic-sliderPanel-2')" title="click to expand/collapse slider Code">Code&raquo;</a> <span class="hackadelic-sliderPanel concealed auto-expand" id="hackadelic-sliderPanel-2"></span></p>
<p>Note that on systems with NT4.0 or earlier, NtSetSystemPowerState does nothing, and only returns a STATUS_NOT_IMPLEMENTED message.</p>
<p>Both POWER_ACTION and SYSTEM_POWER_STATE are documented on msdn, while flags is simply the reason for shutdown, also documented on msdn.</p>
<p>To read more on how to call this function by using NTDLL.DLL, visit my article on CodeProject:<br />
<a href="http://www.codeproject.com/KB/winsdk/Windows_Shutdown.aspx">http://www.codeproject.com/KB/winsdk/Windows_Shutdown.aspx</a></p>
<div id="hackadelic-sliderNote-2" class="concealed"><code>NTSYSAPI<br />
NTSTATUS<br />
NTAPI<br />
NtSetSystemPowerState(<br />
IN POWER_ACTION SystemAction,<br />
IN SYSTEM_POWER_STATE MinSystemState,<br />
IN ULONG Flags); </code><span style="display: block; margin-top: 3px; font-size: 7px"><a href="http://hackadelic.com/solutions/wordpress/sliding-notes" title="Powered by Hackadelic Sliding Notes 1.6.4">Powered by Hackadelic Sliding Notes 1.6.4</a></span></div>]]></content:encoded>
			<wfw:commentRss>http://www.minousoft.com/2009/03/ntsetsystempowerstate-documented/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>AMailSender</title>
		<link>http://www.minousoft.com/2009/02/amailsender/</link>
		<comments>http://www.minousoft.com/2009/02/amailsender/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 23:12:07 +0000</pubDate>
		<dc:creator>hxhl95</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[anonymous email]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[free]]></category>

		<guid isPermaLink="false">http://www.minousoft.com/?p=65</guid>
		<description><![CDATA[+/-&#187; 
<p>For some, this is an absolute miracle. For others, this isn&#8217;t much. Either way, I&#8217;d like to present to you AMailSender &#8211; a program to send anonymous emails from any email address you want.</p>
<p class="wp-caption-text">A screenshot of AMailSender in action</p>
<p></p>
<p>I believe the UI is pretty self-explanatory, so I&#8217;m going to leave you to figure [...]]]></description>
			<content:encoded><![CDATA[<a href="javascript:;" class="hackadelic-sliderButton auto-expand"onclick="toggleSlider('#hackadelic-sliderPanel-4')" title="click to expand/collapse slider +/-">+/-&raquo;</a> <span class="hackadelic-sliderPanel concealed auto-expand" id="hackadelic-sliderPanel-4"></span>
<p>For some, this is an absolute miracle. For others, this isn&#8217;t much. Either way, I&#8217;d like to present to you AMailSender &#8211; a program to send anonymous emails from <em>any email address you want.</em></p>
<div id="attachment_75" class="wp-caption alignnone" style="width: 221px"><a href="http://www.minousoft.com/cms/wp-content/uploads/2009/02/amailsender.png"><img class="size-medium wp-image-75" title="AMailSender" src="http://www.minousoft.com/cms/wp-content/uploads/2009/02/amailsender-211x300.png" alt="A screenshot of AMailSender in action" width="211" height="300" /></a><p class="wp-caption-text">A screenshot of AMailSender in action</p></div>
<p><span id="more-65"></span></p>
<p>I believe the UI is pretty self-explanatory, so I&#8217;m going to leave you to figure out how to use it. The only problem some users seem to have is with the SMTP server. SMTP server means <em>Local</em> SMTP server, not any SMTP server you want. For the more technologically inclined, the server has to be open-relay, which means either it has to be the one your ISP uses, or some other open-relay one (which are very rare).</p>
<p>Also, I am aware that the program crashes when trying to attach certain files of type EXE or COM. Please bear with it, I&#8217;m going to fix it as soon as I find some spare time (which&#8217;ll probably be in March/April). I&#8217;m getting swamped with schoolwork right now.</p>
<p>Finally, thanks to Oakwhiz for pointing out that the &#8220;Find&#8221; button for SMTP servers does not work. I was calling DnsQuery wrong, and will fix ASAP. Until I attempt to fix it, <a href="http://www.netmaintain.com.au/help/smtp.htm">here</a> is a tutorial on how to find your SMTP server. If you are not using MS Outlook, I recommend using <a href="http://www.supershareware.com/info/smtp-diagnostic-tool.html">this</a> to find your SMTP server.</p>
<p>If you find any other bugs, please comment. Your responses are highly appreciated. (Would someone please test this on Vista as well. Vista is allergic to many of my apps)</p>
<p><a href="http://www.minousoft.com/download/2">Download link at Minousoft</a><br />
<a href="http://forum.minousoft.com/download/file.php?id=11">Download link at Minousoft Forums</a></p>
<div id="hackadelic-sliderNote-4" class="concealed"><strong>Fixed download link! Thanks Sergi!</strong><span style="display: block; margin-top: 3px; font-size: 7px"><a href="http://hackadelic.com/solutions/wordpress/sliding-notes" title="Powered by Hackadelic Sliding Notes 1.6.4">Powered by Hackadelic Sliding Notes 1.6.4</a></span></div>]]></content:encoded>
			<wfw:commentRss>http://www.minousoft.com/2009/02/amailsender/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
