Contents

IOHIDManagerRegisterDeviceRemovalCallback

Registers a callback to be used when any enumerated device is removed.

Declaration

void IOHIDManagerRegisterDeviceRemovalCallback(IOHIDManagerRef manager, IOHIDDeviceCallback callback, void *context);

Parameters

  • manager:

    Reference to an IOHIDManagerRef.

  • callback:

    Pointer to a callback method of type IOHIDDeviceCallback.

  • context:

    Pointer to data to be passed to the callback.

Discussion

In most cases this occurs when a device is unplugged.

See Also

Miscellaneous