![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Query a graphics driver for a list of its supported video modes
int PgGetVideoModeList( PgVideoModes_t *mode_list );
ph
This function queries the graphics driver for a list of video modes that it supports. The list is an array of short entries that represent mode numbers that the drivers use to identify a video mode.
![]()  | 
You must target this function at a specific card by calling PdSetTargetDevice(). PgGetVideoModeList() blocks until the operation is complete. | 
The mode_info argument is a pointer to a PgVideoModes_t structure in which to store the mode information. This structure has at least the following members:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PdSetTargetDevice(), PgGetGraphicsHWCaps(), PgGetVideoMode(), PgGetVideoModeInfo(), PgSetVideoMode()
"Video modes" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |