docs

Home All DLL Functions Using the Template

CDGetDimmingEnabled

Read the current on/off state of dimming.

Clarion declaration

CDGetDimmingEnabled(),SIGNED,PROC,PASCAL,RAW,NAME('CDGetDimmingEnabled')

Parameters: No arguments.

Example

DimmingStatus = CDGetDimmingEnabled()

Returns 1 when enabled and 0 when disabled on a successful query. The Get Dimming Status code template can store this in a LONG variable.

For manual dim and restore calls, a positive result normally indicates an accepted state; 0 or a negative status should be checked before relying on the effect. The global template supplies the MAP and LIB linkage automatically.

See Manual Dimming, START Procedures, and Troubleshooting.

All DLL Functions Home