![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Query the capabilities of a layer
int PgGetLayerCaps( int layer, 
                    int format_index,
                    PgLayerCaps_t *const caps );
This argument must not be NULL.
ph
PgGetLayerCaps() queries the capabilities of the given layer, in the given format. You can use the format_index to iterate through all of the available layer formats. An error is returned when format_index exceeds the number of supported formats.
![]()  | 
You must target this function at a device by calling PdSetTargetDevice(). | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PdSetTargetDevice(), PgLayerCaps_t
"Layers" in the Raw Drawing and Animation chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |