+ typedef void* (__cdecl*_LibCecInit)(const char *, CEC::cec_device_type_list);
+ _LibCecInit LibCecInit;
+ LibCecInit = (_LibCecInit) (GetProcAddress(g_libCEC, "CECInit"));
+ if (!LibCecInit)
+ return NULL;
+ return static_cast< CEC::ICECAdapter* > (LibCecInit(strDeviceName, types));
+}
+
+/*!
+ * @brief Create a new libCEC instance.
+ * @param configuration The configuration to pass to libCEC
+ * @param strLib The name of and/or path to libCEC
+ * @return An instance of ICECAdapter or NULL on error.
+ */
+CEC::ICECAdapter *LibCecInitialise(const CEC::libcec_configuration *configuration, const char *strLib = NULL)
+{