I doubt there's any code for a window motor, but some symptoms would give it away. If your headlights dim while pushing the window switch, then the motor is trying to work. If it doesn't, could be a wiring problem either in the car or inside the motor. As far as the speed sensor goes, there is a code that the transmission sends out if the input speed sensor reading conflicts with the output speed sensor reading.
[ September 19, 2001: Message edited by: Bart ]