Tao.Platform.Windows SDK Documentation

Winmm.timeEndPeriod Method 

The timeEndPeriod function clears a previously set minimum timer resolution.

[Visual Basic]
Public Shared Function timeEndPeriod( _
   ByVal period As Integer _
) As Integer
[C#]
public static int timeEndPeriod(
   int period
);

Parameters

period
Minimum timer resolution specified in the previous call to the timeBeginPeriod function.

Return Value

Returns TIMERR_NOERROR if successful or TIMERR_NOCANDO if the resolution specified in period is out of range

Remarks

Call this function immediately after you are finished using timer services.

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

Winmm Class | Tao.Platform.Windows Namespace | timeBeginPeriod