The HrServiceStartup function is implemented by the server application developer to initialize a service of Windows NT Server.
Header file: | WINWRAP.H |
Library: | WINWRAP.LIB |
HRESULT HrServiceStartup(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
HWND hwndMainWindow,
LPSTR pszCmdLine
);
See Return Values.
The Microsoft Exchange Server Code Samples folder contains two implementations of the HrServiceStartup 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, HrServiceShutdown, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceMain, ServiceStop