bitcoin/bitcoin — pull request #1178 by laanwj (2012-05-01 16:56:17+00:00)
Title: Move GetStartOnSystemStartup and SetStartOnSystemStartup to GUI code

...as this is the logical place for them.

@diapolo can you test whether this still builds on windows? I'm not sure what includes are needed for CoCreateInstance / GetModuleFileName.