wfdcfg_mode_list_get_extension()

Retrieve an extension identified by a key (string) from the specified list of video modes.

Synopsis:

#include <wfdqnx/wfdcfg.h>
 
struct wfdcfg_keyval* wfdcfg_mode_list_get_extension(const struct wfdcfg_mode_list *list,
                                                     const char *key)

Arguments:

list

A handle to the list whose extension(s) you are retrieving

key

Identifier of the extension to retrieve

Library:

libwfdcfg

Description:

The extension is valid between the time you create and destroy the list.

Returns:

Pointer to wfdcfg_keyval if the extension was found; NULL if the extension was not found. It's considered acceptable for a list to have no extensions.