| Revision 1892,
671 bytes
checked in by chris, 5 years ago
(diff) |
|
Use the specified service name when installing and removing the service.
Pass the service name on the service command line, and use it for event
log messages.
(merges [1856])
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | //*************************************************************** |
|---|
| 2 | // From the book "Win32 System Services: The Heart of Windows 98 |
|---|
| 3 | // and Windows 2000" |
|---|
| 4 | // by Marshall Brain |
|---|
| 5 | // Published by Prentice Hall |
|---|
| 6 | // Copyright 1995 Prentice Hall. |
|---|
| 7 | // |
|---|
| 8 | // This code implements the Windows API Service interface |
|---|
| 9 | // for the Box Backup for Windows native port. |
|---|
| 10 | //*************************************************************** |
|---|
| 11 | |
|---|
| 12 | #ifndef WIN32SERVICEFUNCTIONS_H |
|---|
| 13 | #define WIN32SERVICEFUNCTIONS_H |
|---|
| 14 | |
|---|
| 15 | int RemoveService (const std::string& rServiceName); |
|---|
| 16 | int InstallService (const char* pConfigFilePath, const std::string& rServiceName); |
|---|
| 17 | int OurService (const char* pConfigFileName); |
|---|
| 18 | |
|---|
| 19 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.