The HrServiceShutdown function is implemented by the server application developer to shut down a service of Windows NT Server.
Header file: | WINWRAP.H |
Library: | WINWRAP.LIB |
HRESULT HrServiceShutdown(
VOID
);
None.
See Return Values.
The Microsoft Exchange Server Code Samples folder contains two implementations of the HrServiceShutdown function:
For more information on this function, see Using WINWRAP Functions, Mandatory Entry Points and Variables, and Events Signalled.
fIsService, FServiceReportStatus, HrServiceConfirmStop, HrServiceGetArgv, HrServiceGetName, HrServiceProcessControl, HrServiceStartup, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceMain, ServiceStop