PtSurfaceIsEnabled()

Determine if a control surface is enabled

Synopsis:

int PtSurfaceIsEnabled( PtSurface_t *surface);

Library:

ph

Description:

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

Returns:

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

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDisableSurface(), PtDisableSurfaceByAction(), PtEnableSurface(), PtEnableSurfaceByAction(), PtSurfaceIsDisabled()

Control Surfaces chapter of the Photon Programmer's Guide