TimSelectTimerType


Function

Selects the used Timer Type.

Format

Ret = TimSelectTimerType(TimerType)

Parameters

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

Return Value

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)

Initial Value

None

Remarks

Selects the used Timer Type.

See Also

TimGetTimerType, TimSelectTimerType