int GetAsyncTimerResolution (double *resolution);
Purpose
This function returns the resolution in seconds of the asynchronous timers.
Parameters
| Output |
| Name |
Type |
Description |
| resolution |
double* |
Outputs the resolution in seconds of the asynchronous timers. |
Return Value
| Name |
Type |
Description |
| status |
integer |
Return value indicating whether the function was successful. A negative number indicates that an error occurred.
| Return Values: |
| 0 | Success. |
| –1 | The system failed to allocate a timer. |
| –2 | No more IDs are available to assign to a new timer. |
| –3 | Not enough memory left for this operation. |
| –4 | The timer with the given ID was not found. |
| –5 | Initialization with a call to NewAsyncTimer was not done. |
| –6 | An internal error occurred. |
| –7 | The value of a parameter passed to this function was invalid. |
| –8 | The functionality is only available on real-time operating systems. |
| –9 | You cannot set this attribute. |
|