HrGetServiceExecutableName

The HrGetServiceExecutableName function obtains the executable name for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceExecutableName(
  LPTSTR lpszServiceName,       
  LPTSTR * lppszExecutableName  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lppszExecutableName
Output parameter. Points to the address of a null-terminated string containing the fully distinguished path to the file containing the executable program for the service.

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceCommonName, HrGetServiceDisplayName, HrGetServiceObjectGUID, HrGetServiceProductGUID, HrGetServiceServerName, HrGetServiceSiteDN