A request to create a connection to an IOService.
- macOS 10.0+
- Mac Catalyst 13.0+
The IOService object to open a connection to, usually obtained via the IOServiceGetMatchingServices or IOServiceAddNotification APIs.
The mach task requesting the connection.
A constant specifying the type of connection to be created, interpreted only by the IOService's family.
An io_connect_t handle is returned on success, to be used with the IOConnectXXX APIs. It should be destroyed with IOServiceClose().
A return code generated by IOService::newUserClient.
A non kernel client may request a connection be opened via the IOServiceOpen() library function, which will call IOService::newUserClient in the kernel. The rules & capabilities of user level clients are family dependent, the default IOService implementation returns kIOReturnUnsupported.