I can't argue about the M$ code being horrid at times, but the sample source files that they ship with the platform SDK all compile.... granted some with warnings... But they compile. Now the MSDN docs on the other hand. That is always a gamble.