The HrServiceGetName function obtains the name of a service of Windows NT Server.
Header file: | WINWRAP.H |
Library: | WINWRAP.LIB |
HRESULT HrServiceGetName(
LPTSTR lpszName
);
See Return Values.
The HrServiceGetName function can be used by any thread to get the name of the Windows NT Server service after it has been started.
For more information on this function, see the HrServiceGetName function in WINWRAP.C under the WINWRAP code sample in Code Samples folder.
For more information on the WINWRAP library, see Using WINWRAP Functions, Mandatory Entry Points and Variables, and Events Signalled.
fIsService, FServiceReportStatus, HrServiceConfirmStop, HrServiceGetArgv, HrServiceProcessControl, HrServiceShutdown, HrServiceStartup, HrServiceWaitForContinue, HrServiceWaitForControl, HrServiceWaitForStop, HServiceCreateThread, ServiceMain, ServiceStop