Instance Property

getEventCallout

Gets the event callout.

Declaration

IOReturn (*getEventCallout)(void *self, IOHIDCallbackFunction *outCallback, void **outCallbackTarget, void **outCallbackRefcon);

Parameters

outCallback

if non-NULL is a callback to be called when data is inserted to the queue

outCallbackTarget

The callback target passed to the callback

outCallbackRefcon

The callback refcon passed to the callback

Return Value

Returns an IOReturn code.

Discussion

This callback will be called the queue transitions to non-empty.