A winch used to have 2 separate solenoids but now most have a solenoid pack sealed in epoxy or a similar idea. A reversing windlass can be wired with 2 separate solenoids. The solenoids are connected on one pole (end) end this is connected to positive. The output from each solenoid goes to the 2 positive connections on the motor, one for up and one for down. The foot switches are wired to each solenoid and their activation determines which positive wire to the motor becomes active.