mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
70b2e383a0
Added SERVICE_Exit routine to kill the services thread.
31 lines
578 B
C
31 lines
578 B
C
/*
|
|
* Kernel Service Thread API
|
|
*
|
|
* Copyright 1999 Ulrich Weigand
|
|
*/
|
|
|
|
#ifndef __WINE_SERVICES_H
|
|
#define __WINE_SERVICES_H
|
|
|
|
#include "winbase.h"
|
|
|
|
BOOL SERVICE_Init( void );
|
|
|
|
void SERVICE_Exit( void );
|
|
|
|
HANDLE SERVICE_AddObject( HANDLE object,
|
|
PAPCFUNC callback, ULONG_PTR callback_arg );
|
|
|
|
HANDLE SERVICE_AddTimer( LONG rate,
|
|
PAPCFUNC callback, ULONG_PTR callback_arg );
|
|
|
|
BOOL SERVICE_Delete( HANDLE service );
|
|
|
|
BOOL SERVICE_Enable( HANDLE service );
|
|
|
|
BOOL SERVICE_Disable( HANDLE service );
|
|
|
|
|
|
#endif /* __WINE_SERVICES_H */
|
|
|