Finds the EventID of an event given its name
HRESULT IRobot::GetEventIDFromName ( LPCTSTR name, PEventID id, PEventID antiID ) |
Value | Meaning |
---|---|
S_OK | Event ID returned |
E_POINTER | The id pointer is NULL |
E_INVALIDARG | One of the arguements is invalid |
E_FAIL | Cannot find the specified event |