Allows the discovery of the service record handle assigned to the service.
- macOS 10.2+
A pointer to the location that will get the found service record handle.
Returns kIOReturnSuccess if the service record handle is found.
This method will search through the attributes to find the one representing the service record handle. If one is found the outServiceRecordHandle param is set with the value. The outServiceRecordHandle value only gets set when kIOReturnSuccess is returned.