IRobot::UnregisterEvent
Removes a custom event
HRESULT IRobot::UnregisterEvent (
EventID id
)
Parameters
id
ID of the event to remove
Return Values
Value
Meaning
S_OK
Event removed successfully
E_FAIL
Cannot remove event
Remarks
If the ID specifies an event, the corresponding anti-event is removed as well. If the ID specifies an anti-event, the corresponding event is removed.
If successful, the RemoveEvent event is triggered