A state block can be used to capture all device states (see State Blocks Save and Restore State). The following state elements are included in the device state:
To capture all device states with a state block, specify D3DSBT_ALL when calling IDirect3DDevice9::CreateStateBlock.