TimIsTimer


Function

Retrieves whether the specified Timer Type is possible to use or not.

Format

Ret = TimIsTimer(TimerType, Enabled)

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

 

Enabled [ VB.NET: Short ] [ C, C++: short *] [ C#: out short ]

Is it possible to use?

 

Definition

Value

Description

TIM_USE_NG

0

Impossible to use

TIM_USE_OK

1

Possible to use

Retuen 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.

TIM_ERR_DLL_INVALID_TIMER_TYPE

10551

Timer type beyond the limit.

The others (See also:Details of Error Code)

Initial Value

None

Remarks

Retrieves whether the Timer Type specified with TimerType parameter is possible to use or not.

See Also

TimGetTimerType, TimSelectTimerType