IRobot::FireEvent
Triggers a specified event
HRESULT IRobot::FireEvent (
EventID id,
DWORD param
)
Parameters
id
ID of the event to trigger
param
Optional parameter to pass to the event handler
Return Values
Value
Meaning
S_OK
All event handlers notified
E_FAIL
Cannot notify event handlers
Remarks
Event handlers are called synchronously, so the function will block until all event handlers have returned.