MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / CecCommandCB

Function CecCommandCB

src/dotnetlib/CecSharpTypesUnmanaged.h:136–141  ·  view source on GitHub ↗

Called by libCEC to send back raw CEC data to the application Pointer to the callback struct The raw CEC data

Source from the content-addressed store, hash-verified

134 /// <param name="cbParam">Pointer to the callback struct</param>
135 /// <param name="command">The raw CEC data</param>
136 static void CecCommandCB(void* cbParam, const CEC::cec_command* command)
137 {
138 struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam);
139 if (!!cb && !!cb->commandCB)
140 cb->commandCB(command);
141 }
142
143 /// <summary>
144 /// Called by libCEC to send back an updated configuration to the application

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected