Selects the used Timer Type.
Ret = TimSelectTimerType(TimerType)
TimerType [ VB.NET: Short ] [ C, C++: short ] [ C#: short ]
Timer Type
Definition |
Value |
Description |
TIM_TYPE_ONBOARD |
0 |
Onboard System Timer |
TIM_TYPE_SYSTEM |
1 |
System Timer |
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]
Definition |
Value |
Description |
TIM_ERR_SUCCESS |
0 |
Normal completed |
TIM_ERR_DLL_NOT_INITIALIZED |
10010 |
It is not initialized. Please confirm whether the initialization function has completed normally. |
TIM_ERR_DLL_INVALID_TIMER_TYPE |
10551 |
Timer type beyond the limit. |
The others (See also:Details of Error Code)
None
Selects the used Timer Type.
TimGetTimerType,
TimSelectTimerType