The FServiceReportStatus function updates the status of a service of Windows NT Server to the Windows NT service control manager.
Header file: | WINWRAP.H |
Library: | WINWRAP.LIB |
BOOL FServiceReportStatus(
DWORD dwCurrentState,
DWORD dwWin32ExitCode,
DWORD dwServiceSpecificExitCode,
DWORD dwCheckPoint,
DWORD dwWaitHint
);
See Return Values.
FServiceReportStatus is called by the ServiceMain function to update the service's status to the service control manager.
For more information on the WINWRAP library, see Using WINWRAP Functions, Mandatory Entry Points and Variables, and Events Signalled.
fIsService, HrServiceConfirmStop, HrServiceGetArgv, HrServiceGetName, HrServiceProcessControl, HrServiceShutdown, HrServiceStartup, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceStop