PtSurfaceActionId()

Get the action ID for a surface

Synopsis:

int PtSurfaceActionId( PtSurface_t *surface);

Library:

ph

Description:

This macro retrieves the numeric action ID associated with the provided surface.

Returns:

The action ID, or -1 if the provided surface isn't an action surface.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtSurfaceId()

Control Surfaces chapter of the Photon Programmer's Guide