Type Alias

IOHIDElementCallbackFunction

Declaration

typedef void (*IOHIDElementCallbackFunction)(void *target, IOReturn result, void *refcon, void *sender, IOHIDElementCookie elementCookie);

Parameters

target

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.

elementCookie

Element within interface instance sending completion.

Discussion

Type and arguments of callout C function that is used when a completion routine is called, see IOHIDLib.h:setElementValue().