KillEventUtility

Disconnects a task from the event broker.

Synopsis

Err KillEventUtility( void );

Description

This is a convenience function that allows a task to easily monitor events on controller pads or mice. This function disconnects a task that was connected to the event broker with the InitEventUtility() function.

When executed, the function disconnects the task from the event broker, closes the reply port, and frees all resources used for the connection.

Return Value

This function returns a value greater than or equal to 0 if all went well or a negative error code if an error occurs.

Implementation

Convenience call implemented in input.lib V20.

Associated Files

event.h, input.lib

See Also

GetControlPad(), GetMouse(), InitEventUtilitys()