IOConnectCallMethod
IOConnectCallMethod is a function from the IOKit framework that lets user-space clients invoke a method exposed by a kernel object, typically an IOUserClient implemented by a kernel extension. It enables communication between user space and a driver by supplying both scalar values and a structured input, and by receiving scalar and structured outputs.
The typical signature includes:
);
The selector selects the external method index in the kernel object's external method table. inputScalar provides
IOConnectCallMethod is often contrasted with IOConnectCallStructMethod, which provides a more specialized path when the interaction uses