Contents

IOHIDCallback

Declaration

typedef void (*IOHIDCallback)(void *context, IOReturn result, void *sender);

Parameters

  • context:

    void * pointer to your data, often a pointer to an object.

  • result:

    Completion result of desired operation.

  • refcon:

    void * pointer to more data.

  • sender:

    Interface instance sending the completion routine.

Discussion

Type and arguments of callout C function that is used when a completion routine is called.

See Also

Callbacks