using WTS_CONNETSTATE_CLASS for representing the session state