# TimerServicesClose

Closes the connection to a running TimerServices thread.

### Synopsis

`void TimerServicesClose(void)`

### Description

Closes your task's connection to a TimerServices thread started by some other task. Before calling this function, ensure that your task and all its child threads have called `TimerCancel()` to release any timers they were using.

### Return Value

Zero on success or a negative error code.

### Implementation

Library call implemented in lib3do.lib.

### Associated Files

lib3do.lib, timerutils.h

### See Also

`TimerServicesShutdown`