version 1.1, 2003/01/25 14:41:33
|
version 1.2, 2003/05/27 21:37:03
|
|
|
static ReturnCode Run(SERVICE_MAIN_T service_main, DWORD flags = 0); | static ReturnCode Run(SERVICE_MAIN_T service_main, DWORD flags = 0); |
ReturnCode GetState(State *state); | ReturnCode GetState(State *state); |
static bool LogEvent(WORD event_type, DWORD event_id, const char *string); | static bool LogEvent(WORD event_type, DWORD event_id, const char *string); |
|
static void SetServiceName(char *service_name) |
|
{ |
|
g_service_name = service_name; |
|
} |
|
static char *GetServiceName(void) |
|
{ |
|
return g_service_name; |
|
} |
| |
private: | private: |
static int g_argc; | static int g_argc; |