![]()  | 
![]()  | 
![]()  | 
![]()  | 
Determine if a control surface is enabled
int PtSurfaceIsEnabled( PtSurface_t *surface);
ph
This macro evaluates to nonzero if the provided surface is currently enabled. Otherwise, it evaluates to 0.
Nonzero if the surface is enabled, 0 if it's disabled.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | No | 
PtDisableSurface(), PtDisableSurfaceByAction(), PtEnableSurface(), PtEnableSurfaceByAction(), PtSurfaceIsDisabled()
Control Surfaces chapter of the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |