D-Programming-Language/druntime — pull request #225 by denis-sh (2012-05-22 12:23:18+00:00)
Title: Windows improvements

* core.sys.windows.windows: add `nothrow`, `pure`, and some functions
* mark all WinAPI functions as `nothrow`
* mark all extern(D) macros-functions as `pure`
* add WinAPI functions from std.process

* core.sys.windows.windows: add loadDbgHelpDll function
This function will try to load dbghelp.dll from VS common folder instead of outdated Windows XP's *dbghelp.dll* or if there is no *dbghelp.dll* found by LoadLibrary.

Why second commit? Because it's a common situation and it took a lot of my time to understand that stack trace printing is really working but require more recent *dbghelp.dll* (my path was [Issue 1001](http://d.puremagic.com/issues/show_bug.cgi?id=1001) -> [comment 33](http://d.puremagic.com/issues/show_bug.cgi?id=1001#c33) -> [D 2.0 Stacktrace](http://3d.benjamin-thaut.de/?p=15) -> comment at the bottom of the page).