Instance Property

setMessageCallback

Sets callback for user space message routine.

Declaration

void (*setMessageCallback)(void *self, void *refCon, IOFWAVCMessageCallback callback);

Parameters

self

Pointer to IOFireWireAVCLibProtocolInterface.

refCon

RefCon to be returned as first argument of completion routine.

callback

Address of completion routine.

Discussion

In FireWire and AVC, bus status messages are delivered via IOKit's message routine. This routine is emulated in user space for AVC and FireWire messages via this callback. You should register here for bus reset and reconnect messages.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software