<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/c-plus-plus/tags/winapi</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 02:56:06 GMT</pubDate>
<item>
<title>(C++) DllMain - kitoon</title>
<link>http://snipplr.com/view/5268/dllmain/</link>
<description><![CDATA[ <p>A Windows 32-bit DLL does not require any special functions. If you want to initialize your DLL when it is loaded, you can have a function called DllMain and do your initialization, but it is not required. Windows calls the DllMain function of a DLL in four instances:

    * When a process attaches the DLL
    * When a thread attaches the DLL
    * When a process detaches the DLL
    * When a thrad detaches the DLL</p> ]]></description>
<pubDate>Tue, 04 Mar 2008 04:45:45 GMT</pubDate>
<guid>http://snipplr.com/view/5268/dllmain/</guid>
</item>
</channel>
</rss>