Instance Property

setRemovalCallback

Sets callback to be used when device is removed.

Declaration

IOReturn (*setRemovalCallback)(void *self, IOHIDCallbackFunction removalCallback, void *removalTarget, void *removalRefcon);

Parameters

removalCallback

Called when the device is removed.

removalTarget

Passed to the callback.

removalRefcon

Passed to the callback.

Return Value

Returns an IOReturn code.