TimeEndPeriod

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Timing functions >

TimeEndPeriod

 

Description

 

Clears a previously set minimum timer resolution created using TimeBeginPeriod.

 

Syntax

 

n = TimeEndPeriod(period)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

Period

Numeric

No

Minimum timer resolution specified in the previous call to the TimeBeginPeriod function

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757624%28v=vs.85%29.aspx

 

Restrictions

 

You must match each call to TimeBeginPeriod with a call to TimeEndPeriod, specifying the same minimum resolution in both calls.

An application can make multiple TimeBeginPeriod calls as long as each call is matched with a call to TimeEndPeriod.

 

See also

 

Examples