HrGetServiceCommonName

The HrGetServiceCommonName function obtains the common name of the object for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceCommonName(
  LPTSTR lpszServiceName,  
  LPTSTR * lppszCommonName  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lppszCommonName
Output parameter. Points to the address of a null-terminated string containing the relative distinguished name (RDN) of the object where the service is running.

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceDisplayName, HrGetServiceExecutableName, HrGetServiceObjectGUID, HrGetServiceProductGUID, HrGetServiceServerName, HrGetServiceSiteDN