   Changing D3DDevice parameters...
  I want to be able to change my device from windowed to fullscreen, change resolution from within the game, etc. Do I have to completely destroy everything that I loaded when I start the program to do this (release and create the device anew with the new settings), or is there some way to do the change that I can''t find? 
Read the FAQ.