TimGetTimerType


Function

Retrieves the current Timer Type.

Format

Ret = TimGetTimerType(TimerType)

Parameters

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

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_BUFF_ADDRESS

10100

Invalid data buffer address.

The others (See also:Details of Error Code)

Initial Value

None

Remarks

Retrieves the current Timer Type.

See Also

TimIsTimer, TimSelectTimerType