Platform SDK: Exchange Server

HrServiceShutdown

The HrServiceShutdown function is implemented by the server application developer to shut down a service of Windows NT Server.

Quick Info

Header file: WINWRAP.H
Library: WINWRAP.LIB

HRESULT HrServiceShutdown(
  VOID  
);
 

Parameters

None.

Return Values

See Return Values.

Remarks

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.

See Also

fIsService, FServiceReportStatus, HrServiceConfirmStop, HrServiceGetArgv, HrServiceGetName, HrServiceProcessControl, HrServiceStartup, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceMain, ServiceStop