Cast CString to LPCWSTR in sprintf() calls.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24271 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Make sure buffers and variables are initialized before they're used.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24272 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Pass the string buffer in the Format() call, not the std::unique_ptr object.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24273 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac
Remove the DwmEnableComposition() method since the DwmEnableComposition-API is not available anymore on Win8.

git-svn-id: http://tortoisesvn.googlecode.com/svn/trunk/src/Utils@24274 4cfb86a4-2c7a-11df-bd14-c1e331e6ceac