Returns the session reference to an already open device.
- macOS 10.0+
- Mac Catalyst 13.0+
Pointer to IOFireWireSBP2LibLUNInterface.
Returns a sessionRef on success.
Sometimes it is desirable to open multiple user clients on a device. In the case of FireWire sometimes we wish to have both the FireWire User Client and the SBP2 User Client open at the same time.
The technique to arbitrate this is as follows:
First open normally the device furthest from the root in the IORegistry.
Second, get its sessionRef with a call to this method.
Third open the device further up the chain by calling openWithSessionRef and passing the sessionRef returned from this call.