Platform SDK: Exchange Server |
The ServiceMain function is implemented by the server application developer to perform processing while a service of Windows NT Server runs.
Header file: | WINWRAP.H |
Library: | WINWRAP.LIB |
VOID ServiceMain( HANDLE hShutdownEvent );
None.
ServiceMain executes in its own thread.
For more information on this function, see Using WINWRAP Functions.
For more information on the WINWRAP library, see Mandatory Entry Points and Variables and Events Signalled.
fIsService, FServiceReportStatus, HrServiceConfirmStop, HrServiceGetArgv, HrServiceGetName, HrServiceProcessControl, HrServiceShutdown, HrServiceStartup, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceStop