Copy and tidy up the code from dx8 create device into wined3d. Call
[wine] / dlls / dxguid /
drwxr-xr-x   ..
-rw-r--r-- 9 .cvsignore
-rw-r--r-- 357 Makefile.in
-rw-r--r-- 1085 dx8guid.c
-rw-r--r-- 1098 dx9guid.c
-rw-r--r-- 1305 dxguid.c