C
#define RdiaGetVal(pDia) (pDia)->value
Overview
Returns the current dial value. Value is always in the 0-max range inclusive.
Input Parameters
Input Parameters |
Description |
pDia |
Pointer to the object. |
Returns
Returns the current value of the dial.
Preconditions
none
Side Effects
none
Example
WORD currVal;
ROUNDDIAL *pDia;
// assuming pDia is initialized to an existing dial Object
currVal = RdiaGetVal(pDia);