Platform SDK: Exchange Server

HrGetServiceServerName

The HrGetServiceServerName function obtains the server name for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceServerName(
  LPSTR lpszServiceName,  
  LPSTR * lppszServerName  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service.
lppszServerName
Output parameter. Points to the address of a null-terminated string containing the name of the server where the service is running.

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceCommonName, HrGetServiceDisplayName, HrGetServiceExecutableName, HrGetServiceObjectGUID, HrGetServiceProductGUID, HrGetServiceSiteDN