DirectX 10 Sample

Pulls in and updates files from pull request #56 and brings the implementation in line with the current source tree.