Retrieves the current Timer Type.
Ret = TimGetTimerType(TimerType)
TimerType [ VB.NET: Short ] [ C, C++: short * ] [ C#: out 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_BUFF_ADDRESS |
10100 |
Invalid data buffer address. |
The others (See also:Details of Error Code)
None
Retrieves the current Timer Type.
TimIsTimer,
TimSelectTimerType