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

Function CecAlertCB

src/dotnetlib/CecSharpTypesUnmanaged.h:160–165  ·  view source on GitHub ↗

Called by libCEC to send back an alert message to the application Pointer to the callback struct The alert message

Source from the content-addressed store, hash-verified

158 /// <param name="cbParam">Pointer to the callback struct</param>
159 /// <param name="data">The alert message</param>
160 static void CecAlertCB(void* cbParam, const CEC::libcec_alert alert, const CEC::libcec_parameter data)
161 {
162 struct UnmanagedCecCallbacks* cb = static_cast<struct UnmanagedCecCallbacks*>(cbParam);
163 if (!!cb && !!cb->alertCB)
164 cb->alertCB(alert, data);
165 }
166
167 /// <summary>
168 /// Called by libCEC to send back a menu state change to the application

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected