wfdcfg_mode_list_get_next()

Retrieve a mode (timing) from the specified list of video modes

Synopsis:

#include <wfdqnx/wfdcfg.h>
struct wfdcfg_timing* wfdcfg_mode_list_get_next(const struct wfdcfg_mode_list *list,
                                                const struct wfdcfg_timing *prev_timing)

Arguments:

list
A handle to the list to retrieve the mode from
prev_timing
A handle to the mode (timing) in the list that precedes the one to be retrieved

Library:

libwfdcfg

Description:

Timing is mandatory component of a mode. The mode may also include extensions. If prev_timing is NULL, this function returns the first mode (timing) in the specified list. Otherwise, this function returns the next mode (timing) in the list after prev_timing.

Returns:

A pointer to the mode (wfdcfg_timing) in the list that follows the argument prev_timing; a return value of NULL indicates that the end of the list has been reached.