Called by libCEC to send back a menu state change to the application Pointer to the callback struct The new menu state 1 when handled, 0 otherwise
| 171 | /// <param name="newVal">The new menu state</param> |
| 172 | /// <return>1 when handled, 0 otherwise</return> |
| 173 | static int CecMenuCB(void* cbParam, const CEC::cec_menu_state newVal) |
| 174 | { |
| 175 | struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam); |
| 176 | if (!!cb && !!cb->menuCB) |
| 177 | return cb->menuCB(newVal); |
| 178 | return 0; |
| 179 | } |
| 180 | |
| 181 | /// <summary> |
| 182 | /// Called by libCEC to notify the application that the source that is handled by libCEC was (de)activated |
nothing calls this directly
no outgoing calls
no test coverage detected