Platform SDK: Exchange Server

HrGetServiceDisplayName

The HrGetServiceDisplayName function obtains the display name for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceDisplayName(
  LPTSTR lpszServiceName,  
  LPTSTR * lppszDisplayName  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lppszDisplayName
Output parameter. Points to the address of a null-terminated string containing the name that the Microsoft Exchange Server Administrator program displays for the service.

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceCommonName, HrGetServiceExecutableName, HrGetServiceObjectGUID, HrGetServiceProductGUID, HrGetServiceServerName, HrGetServiceSiteDN