|
Public Types |
| typedef void(*) | pfnAppProc (HANDLE _hActive, HANDLE _hExit, void *_pContext) |
| | Typedef of the application's main procedure, which is called from this service.
|
Public Member Functions |
| virtual int | ProcessCommandLine (int _argc, char *_argv[]) |
| | Handles the command line arguments passed to the application.
|
Static Public Member Functions |
| static Service * | Create (string const &_serviceName, string const &_serviceDescription, pfnAppProc _pAppProc, void *_pAppProcContext) |
| | Creates the service singleton.
|
| static Service * | Get () |
| | Obtain a pointer to the service singleton.
|
| static void | Destroy () |
| | Destroys the service singleton object.
|
Friends |
| void WINAPI | ServiceMain (DWORD argc, LPTSTR *argv) |
| void WINAPI | ServiceCtrlHandler (DWORD _opcode) |