Adapted for new register functions support (ESP_reg in register
[wine] / include / services.h
1 /*
2  * Kernel Service Thread API
3  *
4  * Copyright 1999 Ulrich Weigand
5  */
6
7 #ifndef __WINE_SERVICES_H
8 #define __WINE_SERVICES_H
9
10 #include "winbase.h"
11
12 BOOL SERVICE_Init( void );
13
14 void SERVICE_Exit( void );
15
16 HANDLE SERVICE_AddObject( HANDLE object,
17                           PAPCFUNC callback, ULONG_PTR callback_arg );
18
19 HANDLE SERVICE_AddTimer( LONG rate,
20                          PAPCFUNC callback, ULONG_PTR callback_arg );
21
22 BOOL SERVICE_Delete( HANDLE service );
23
24 BOOL SERVICE_Enable( HANDLE service );
25
26 BOOL SERVICE_Disable( HANDLE service );
27
28
29 #endif /* __WINE_SERVICES_H */
30