Device Enumeration

Added code concerning the graphics adapter and device enumeration.