HrRemoveServicePerfMon

The HrRemoveServicePerfMon function deletes a Windows NT Performance Monitor.

Quick Info

Header file: EXCHINST.H
Library: EXCHINST.LIB

HRESULT HrRemoveServicePerfMon(
  LPSTR lpszServiceName,  
  LPSTR lpszClassName,    
  BOOL * lpfUnloadCounters  
);
 

Parameters

lpszServiceName
Input parameter. Points to a null-terminated string containing the name of the service that the Windows NT performance monitor was monitoring.
lpszClassName
Input parameter. Points to a null-terminated string containing the class of service that the Windows NT performance monitor was monitoring.
lpfUnloadCounters
Output parameter. Whether the performance counters were unloaded:
TRUE
The counters were unloaded.
FALSE
The counters were not unloaded.

Return Values

See Return Values.

Remarks

For more information on this function, see Removing a Server Application.

See Also

HrInstallServicePerfMon, HrRemoveGateway, HrRemoveMailboxAgent, HrRemoveRegistry, HrRemoveService