Contents

IODispatchCalloutFromMessage(_:_:_:)

Dispatches callback notifications from a mach message.

Declaration

func IODispatchCalloutFromMessage(_ unused: UnsafeMutableRawPointer!, _ msg: UnsafeMutablePointer<mach_msg_header_t>!, _ reference: UnsafeMutableRawPointer!)

Parameters

  • unused:

    Not used, set to zero.

  • msg:

    A pointer to the message received.

  • reference:

    Pass the IONotificationPortRef for the object.

Discussion

A notification object may deliver notifications to a mach messaging client, which should call this function to generate the callbacks associated with the notifications arriving on the port.

See Also

Miscellaneous