This code sample is named tut01_createdevice. It is the first in a series of tutorials on using Direct3D Mobile. It demonstrates how to create a Direct3D object, and use it to clear ...
msdn.microsoft.com