Wire library

When using the wire library with more than one i2c device, do you have to end the transmission from one device or can you have two 'open' at the same time?

Also, the error codes that you can get from Wire.endTransmission(), I presume: byte value = Wire.endTransmission(); is the correct way to do it.