PtSurfaceIsDisabled()

Determine if a control surface is disabled

Synopsis:

int PtSurfaceIsDisabled( PtSurface_t *surface);

Library:

ph

Description:

This macro evaluates to nonzero if the provided surface is currently disabled. Otherwise, it evaluates to 0.

Returns:

Nonzero if the surface is disabled, 0 if it's enabled.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDisableSurface(), PtDisableSurfaceByAction(), PtEnableSurface(), PtEnableSurfaceByAction(), PtSurfaceIsEnabled()

Control Surfaces chapter of the Photon Programmer's Guide