Called by libCEC to have the client handle the command and prevent further process by libCEC Pointer to the callback struct The raw CEC data 1 when handled by the client, 0 otherwise
| 198 | /// <param name="command">The raw CEC data</param> |
| 199 | /// <return>1 when handled by the client, 0 otherwise</return> |
| 200 | static int CecCommandHandlerCB(void* cbParam, const CEC::cec_command* command) |
| 201 | { |
| 202 | struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam); |
| 203 | if (!!cb && !!cb->commandHandlerCB) |
| 204 | return cb->commandHandlerCB(command); |
| 205 | return 0; |
| 206 | } |
| 207 | |
| 208 | /// <summary> |
| 209 | /// Assign the callback methods in the g_cecCallbacks struct and return a pointer to it |
nothing calls this directly
no outgoing calls
no test coverage detected