Contents

IOHIDDeviceRegisterRemovalCallback

Registers a callback to be used when a IOHIDDevice is removed.

Declaration

void IOHIDDeviceRegisterRemovalCallback(IOHIDDeviceRef device, IOHIDCallback callback, void *context);

Parameters

  • device:

    Reference to an IOHIDDevice.

  • callback:

    Pointer to a callback method of type IOHIDCallback.

  • context:

    Pointer to data to be passed to the callback.

Discussion

In most cases this occurs when a device is unplugged.

See Also

Miscellaneous