| ![[Previous]](prev.gif) | ![[Contents]](contents.gif) | ![[Index]](keyword_index.gif) | ![[Next]](next.gif) | 
Get a table of your driver's display control functions
int devg_get_modefuncs (disp_adapter_t *ctx,
                        disp_modefuncs_t *fns,
                        int tabsize);
A driver that contains a modeswitcher module must provide an entry point called devg_get_modefuncs(). The graphics framework calls it to get a table of your driver's display control functions.
The arguments are:
Use the DISP_ADD_FUNC() macro to add function pointers to the table. It checks the tabsize argument and adds a function pointer only if there's space for it in the table.
Neutrino
| Safety: | |
|---|---|
| Interrupt handler | Not applicable | 
| Signal handler | Not applicable | 
| Thread | Not applicable | 
disp_adapter_t, DISP_ADD_FUNC(), disp_modefuncs_t
| ![[Previous]](prev.gif) | ![[Contents]](contents.gif) | ![[Index]](keyword_index.gif) | ![[Next]](next.gif) |