Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtSurfaceId()

Get the ID of a control surface

Synopsis:

unsigned char PtSurfaceId( PtSurface_t *surface);

Library:

ph

Description:

This macro retrieves the numeric ID from a control surface structure.

Returns:

The surface ID.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtSurfaceActionId()

Control Surfaces chapter of the Photon Programmer's Guide