HrGetServiceProductGUID

The HrGetServiceProductGUID function obtains the product GUID for a service.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrGetServiceProductGUID(
  LPSTR lpszServiceName,  
  LPSTR * lppszProductGUID  
);
 

Parameters

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

Return Values

See Return Values.

See Also

HrGetServiceAccountName, HrGetServiceCommonName, HrGetServiceDisplayName, HrGetServiceExecutableName, HrGetServiceObjectGUID, HrGetServiceServerName, HrGetServiceSiteDN