Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtSurfaceIsEnabled

PtSurfaceIsEnabled

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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