Stefan Dösinger : d3d9: Use a DWORD to read render states.