ndi_event_is_defined
if (ndi_event_is_defined(handle, cookie, NULL) != NDI_SUCCESS) {
if (ndi_event_is_defined(handle, cookie, &attributes) !=