This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Determine if a control surface is disabled
int PtSurfaceIsDisabled( PtSurface_t *surface)
ph
This macro evaluates to nonzero if the provided surface is currently disabled. Otherwise, it evaluates to 0.
Nonzero if the surface is disabled, 0 if it's enabled.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtDisableSurface(), PtDisableSurfaceByAction(), PtEnableSurface(), PtEnableSurfaceByAction(), PtSurfaceIsEnabled()
Control Surfaces chapter of the Photon Programmer's Guide