![]()  | 
![]()  | 
![]()  | 
![]()  | 
![]()  | 
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Destroy a control surface
void PtDestroySurface( PtWidget_t *widget,
                       PtSurface_t *surface );
ph
This function destroys the control surface specified by surface belonging to the given widget.
![]()  | 
All surfaces of a widget are automatically destroyed when the widget is destroyed. | 
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtCreateActionSurface(), PtCreateSurface(), PtDestroyAllSurfaces(), PtDestroySurfaceById()
Control Surfaces chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |